Re: ATerm backspace/delete quesion

Geoff Wing (gcw@pobox.com)
Fri, 8 Jan 1999 21:27:35 +1100


Randall Hopper <aa8vb@vislab.epa.gov> typed:
:Geoff Wing:
: |Ah, _do not_ include --disable-backspace-key and --disable-delete-key in the
: |configure.  To get all you rxvt/aterm terms to do the same thing, put:
: |    XTerm*backspacekey:  "\177"
: |    XTerm*deletekey:     "\033[3~"
: |in your ~/.Xdefaults (or ~/.Xresources if you don't have ~/.Xdefaults)
: |Change to suit your tastes, eg. from memory, Linux users might like:
: |    XTerm*backspacekey:  "\008"
:You sure this isn't "\011" (octal)?

Quite right, that's octal so it's "\010" (not \008 or \011)

: |    XTerm*deletekey:     "\177"
:This seems backwards.  BS=0x08, DEL=0x7F.

Quite possibly.  Though I said backspacekey(BS)=0x08, deletekey(DEL)=0x7F
and you said the same thing, so I'm not sure what you're saying.  XTerm gives
BS=0x08, DEL=0x7F under XFree86 3.3.3 on my machine.  I've got no idea what
Linux does... looking up the termcap for Linux on my system says:
BS="\177", DEL="\033[3~" (== "\E[3~") so I suppose it's whether you want to
use settings like Linux console or like XTerm.

Regards,
-- 
Geoff Wing   <gcw@pobox.com>            Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html