ALT Linux Bugzilla – #753
sh: backspace broken in the single user mode
Last modified: 2003-08-25 15:18:29
You need to
before you can comment on or make changes to this bug.
Do a \"telinit 1\", then try to enter things in the shell prompt,
then try to delete with backspace. Ctrl-H seems to do erase the previous
symbol, but it\'s getting echoed itself.
In the ordinary root/user environment, backspace works in sh.
/bin/sh have been built without readline support.
Single mode should run /bin/bash instead of /bin/sh.
The issue is that /bin/sh gets strange keybindings or keycodes in the single
user mode. In a user profile, /bin/sh handles backspace properly.
OK, the default shell is now bash, but the terminal echo is still broken in sh.
Yes, /bin/sh have been built without readline and termcap/terminfo support.