command line editing and line length problems with serial port

Rob Landley rob at landley.net
Thu Jun 29 19:11:01 UTC 2006


On Thursday 29 June 2006 10:05 am, Dave Bruce wrote:
> stty cols 132 did the trick!!

Can't really see much of a workaround for needing that.  Most linux terminals 
unconditionally refuse to back up past the left edge of the screen with 
either "\b" or "\e[C".  (Just spent a couple minutes playing around in a 
command line window.)  You have to do some variant of "\e[A\e[79C" at the 
appropriate time.

Rob

(Why yes, I did write my own ANSI escape code interpreter that did direct 
screen writes back under DOS, why do you ask? :)
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list