2

Why wget prints many new lines, when connecting to an Ubuntu machine via a remote terminal session like PuTTY?

The issue is not just in wget but in byobu as well. Both programs behave queer. I assume the trouble is somewhere in config of the system.

enter image description here

enter image description here

How can I fix this issue?

closed as off-topic by chaskes, Wilf, muru, Sylvain Pineau, Luis Alvarado Jul 31 '14 at 18:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – chaskes, Wilf, muru, Sylvain Pineau, Luis Alvarado
If this question can be reworded to fit the rules in the help center, please edit the question.

  • The program you are using for connecting probably doesn't understand some keycodes. – muru Jul 30 '14 at 14:17
  • 2
    This looks like windows to me? – Tim Jul 30 '14 at 15:30
  • 1
    @Tim It's a remote session with a Windows client; the server appears to be Ubuntu. The problem might lie with PuTTY (or whatever PuTTY-like client is being used, but the interface and application icon look like PuTTY to me), but I recall there are environment variables (TERM, perhaps) that can be changed in the Ubuntu session to fix many such problems, so I'd be somewhat reluctant to close this until we know a fix in the Ubuntu system is impractical or otherwise unreasonable. – Eliah Kagan Jul 31 '14 at 7:47
  • After your comment I tested my issue directly on the pc and all looks fine. So the trouble is somewhere around Putty. I'm using the same environment (windows, putty) to work with a few another linux servers but issue appeared just in the last case with Ubuntu 14 so I decided the trouble is in the new OS. Thanks for help. – Alexandr Potapenko Jul 31 '14 at 9:07
  • When connecting with PuTTY, try export TERM=vt100; tset before issuing the command. Seems like PuTTY terminal misinterpret the codes to overwrite the last line. You can even try TERM=dumb (can't check now, no Windows installation arounde here :-)) – Rmano Jul 31 '14 at 9:39

Browse other questions tagged or ask your own question.