Re: [SLE] backspace key and TERM var



Colin Fraser wrote:
Mark Hounschell wrote:
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.

From memory (you'll have to check the syntax):
stty erase '?H'

Cheers,

Colin


Actually that would be

$stty erase "^h"

but that no longer does it.

To see what is returned, Enter ^V then the key. The value returned will
be displayed.

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



Relevant Pages

  • Re: [SLE] backspace key and TERM var
    ... Mark Hounschell wrote: ... that would give be an 0x08 instead of a 0x7f when I hit the backspace ... In konsole when I select the vt420pc terminal type it ...
    (SuSE)
  • Re: tcl8.3 on linux
    ... >history either. ... I had to do a stty erase ^H to get the backspace to ... Term type is vt100. ...
    (comp.lang.tcl)
  • Re: command line editing in cshell
    ... Kumaran Selvaratnam wrote: ... >I know how to do backspace with stty erase ^h ... >I want to know how to insert, add, delete characters in commandline... ...
    (comp.unix.shell)
  • Re: how to backspace in vi?
    ... when I press backspace. ... How do I tell vi to accept a regular backspace? ... Did you try anything with "stty erase"? ... I think you may be having a stty problem, ...
    (comp.os.linux.misc)
  • Re: putty x11 forwarding
    ... I suggest the OP try playing with stty before launching the program: ... Java have anything to do with it? ... With the standard x apps the backspace works ... One thing I did notice is that even though I had "stty erase ^x" set at ...
    (comp.security.ssh)