command line editing and line length problems with serial port

Mike Frysinger vapier at gentoo.org
Thu Jun 29 23:02:56 UTC 2006


On Thursday 29 June 2006 09:06, Paul Fox wrote:
>  > >This really sounds like a bug in your xterm.  Can you try it from a
>  > > text console (ctrl-alt-f1) or a different xterm (the gnome or kde
>  > > ones, or the actual "xterm" command if you're already using one of
>  > > those...?)
>  >
>  > I can reproduce this in Hyperterm on a windose box with terminal
>  > settings of a vt100 with 132 column mode.
>
> busybox cmdedit can only handle long lines properly if it knows
> how wide the screen is.  if you use a 132 column emulator, but linux
> thinks the window is only 80 columns wide, i suspect you'll get
> that behavior.

in a serial console, the size is never known (stty size will tell you 0 0)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060629/ebdbcd1c/attachment-0002.pgp 


More information about the busybox mailing list