Anybody want to fix ash's backspace line wrap?

Denys Vlasenko vda.linux at googlemail.com
Sun May 17 16:14:06 UTC 2009


On Sunday 17 May 2009 17:16, Matthew Hiles wrote:
> I don't think adding a whole lot of iffy terminal stuff is the best 
> approach. If you're in the middle of typing a command and can't get back 
> to the first line in bash, just hit ctrl-u, ctrl-y. I assume it wouldn't 
> be too difficult to add ctrl-y (paste) to bb shells?
> 
> Besides that, what's wrong with just pressing enter once if your prompt 
> didn't start at the first column?

When AIX people said "what's the problem in running eval `resize`
once in a while?" when I complained that when I log in to AIX via
ssh, the damn thing doesn't know what my terminal window size is,
I responded by starting a search for a new job, where I won't be
forced to do such idiotic things, especially that other OSes
manage to do that for me automatically.

> And thirdly, what about prefixing your prompt with a \n?

Rob disagrees. He says information gets lost that way.
--
vda


More information about the busybox mailing list