Bug 753 - sh: backspace broken in the single user mode
Summary: sh: backspace broken in the single user mode
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: initscripts (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Dmitry V. Levin
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-26 09:28 MSK by Mikhail Zabaluev
Modified: 2003-08-25 15:18 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Zabaluev 2002-03-26 09:28:32 MSK
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.

---

---

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.