Anybody want to fix ash's backspace line wrap?

Cathey, Jim jcathey at ciena.com
Wed May 13 22:36:34 UTC 2009


>The reason it needs to keep track of this is that unix terminals suck.

That suckage predates Unix by a fair amount.
But Unix was certainly caught up in it.

>However, if your shell prompt didn't start at the left edge of the
>screen (which happens surprisingly often), the resulting line editing
>is completely horked once you go past the right edge of the screen.

Which is why many (most?) shells accept a ^L to repaint the
entire prompt line, if they've got that special width logic.

-- Jim






More information about the busybox mailing list