Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-22-2004, 06:01 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 7

Rep: Reputation: 0
Unhappy Line wrap errors with ssh / xterm / bash and up-arrow to edit

I'm having persistent problems on several machines with line wrapping, on ssh sessions :-(. I might type:

[bryce@foo]$ echo "This is a long line that goes on and on without really saying anything at all, it just sort of repeats and wanders and eventually gets back to the same subject, the long line."

If I press the "up arrow" key, I can edit that command line. But over an ssh session it screws up:

[bryce@foo] ssh fum
[bryce@fum] echo "This is a long line that goes oe@fum bryce]$ echo "This is a long line that goes ots and wanders and eventually gets bacine that goes onts and wanders and
eventually gets baine that goes on ts and wanders and eventually gets bine that goes on ats and wanders and eventually gets ine that goes on ants
> d wanders and eventually getsine that goes on andts and wanders and eventually getine that goes on and ts and wanders and eventually geine that g
> s on and ots and wanders and eventually gine that goes on and onts and wanders and eventually s on and on ts and wanders and eventualg line that g

Everything seems OK with the terminal types:

[bryce@foo]$ echo $TERM
[bryce@foo]$ tset
Erase is delete.
Kill is control-U (^U).
Interrupt is control-C (^C).
[bryce@foo]$ echo $PS1

All machines are assorted 6 & 7 revisions of Redhat. Any clues for me?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash shell script read file line by line. Darren[UoW] Programming 57 04-17-2016 06:07 PM
VI wrap line Ephracis Linux - Newbie 4 11-17-2005 05:46 PM
need a command line program that doesn't screen wrap paperdiesel Linux - Software 1 10-04-2004 12:30 PM
bash does not wrap long lines correctly monkeyman2000 Linux - General 8 09-08-2004 09:30 PM
Line wrap with ximian evolution nouse66 Linux - Software 3 06-18-2004 08:33 AM

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration