newbie
Hi
After doing stty erase "^B", it is not not erasing after I do ctrl-B.
Is anything wrong the way I am doing, to set "^B" to be the erase key.
Please mail to [email protected], I didn't subscribe to this list.
Regards
Raghava.
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
Quoted 2 lines · Raghava Raju
After doing stty erase "^B", it is not not erasing after I do ctrl-B.
What isn't erasing? bash?
Quoted 2 lines
Is anything wrong the way I am doing, to set "^B"
to be the erase key.
"stty erase ..." sets the erase key which is used by the kernel's tty driver. It will work for programs which leave the tty in "cooked" (ICANON) mode. Try running "cat" without arguments to check the behaviour of the tty driver.
However, a program which sets the tty to "raw" mode will receive all key codes immediately; if it wants line editing, it must implement it itself. The GNU readline library (normally used by bash and several other programs) does this, so you will probably need to configure readline separately, via the ~/.inputrc file. See the readline(3) manpage for details.
Signature · 1 line
Glynn Clements <[email protected]>