>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




_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to