Bug 753

Summary: sh: backspace broken in the single user mode
Product: Sisyphus Reporter: Mikhail Zabaluev <mhz>
Component: initscriptsAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P5    
Version: unstable   
Hardware: all   
OS: Linux   

Description Mikhail Zabaluev 2002-03-26 09:28:32 MSK
Do a \&quot;telinit 1\&quot;, 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.

---

---

Comment 1 Dmitry V. Levin 2002-03-26 14:19:56 MSK
/bin/sh have been built without readline support.
Single mode should run /bin/bash instead of /bin/sh.
Comment 2 Dmitry V. Levin 2002-03-26 14:19:56 MSK
/bin/sh have been built without readline support.
Single mode should run /bin/bash instead of /bin/sh.
Comment 3 Mikhail Zabaluev 2002-03-27 01:03:37 MSK
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.
Comment 4 Mikhail Zabaluev 2002-03-27 01:03:37 MSK
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.
Comment 5 Dmitry V. Levin 2002-04-15 21:00:35 MSD
Fixed in
5.49-ipl40mdk
Comment 6 Dmitry V. Levin 2002-04-15 21:00:35 MSD
Fixed in
5.49-ipl40mdk
Comment 7 Mikhail Zabaluev 2002-04-16 01:23:03 MSD
OK, the default shell is now bash, but the terminal echo is still broken in sh.
Comment 8 Mikhail Zabaluev 2002-04-16 01:23:03 MSD
OK, the default shell is now bash, but the terminal echo is still broken in sh.
Comment 9 Dmitry V. Levin 2002-04-16 12:23:54 MSD
Yes, /bin/sh have been built without readline and termcap/terminfo support.
Comment 10 Dmitry V. Levin 2002-04-16 12:23:54 MSD
Yes, /bin/sh have been built without readline and termcap/terminfo support.