Re: [SLE] backspace key and TERM var
- From: Mark Hounschell <dmarkh@xxxxxxxxxx>
- Date: Fri, 31 Mar 2006 06:04:21 -0500
Mark Hounschell wrote:
Can anyone tell me which terminal type to set the env TERM variable to
that would give be an 0x08 instead of a 0x7f when I hit the backspace
key on SuSE-10.0? In konsole when I select the vt420pc terminal type it
does the job. I need to do the same thing on a normal linux console.
Thanks
Mark
I ran across this little expect script that does this
#!/usr/bin/expect
eval spawn -noecho $argv
interact {
\177 {send "\010"}
"\033\[3~" {send "\177"}
}
When I start my program using this script "script program" it works. The
backspace key gives me 0x08 an the delete key gives me 0x7f. However I'm
looking for bash commands that will do the same thing for me? The TERM
variable I mentioned above come to find out is pretty much useless these
days anyway. So any keybrd experts out there?
Thanks
Mark
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- Follow-Ups:
- Re: [SLE] backspace key and TERM var
- From: Colin Fraser
- Re: [SLE] backspace key and TERM var
- References:
- [SLE] backspace key and TERM var
- From: Mark Hounschell
- [SLE] backspace key and TERM var
- Prev by Date: [SLE] YAST2/YOU Control
- Next by Date: Re: [SLE] Just installed SuSE 10
- Previous by thread: [SLE] backspace key and TERM var
- Next by thread: Re: [SLE] backspace key and TERM var
- Index(es):
Relevant Pages
|