This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Another less/rxvt prob: Not interpreting <backspace>?


> If you are not totally happy about the 'stty erase blah' approach to
solving
> your problem, you could try adding the switch '-backspacekey ^H' to your
> rxvt command line, so that it reads <something like>

> C:\Cygwin\bin\rxvt.exe -geometry 80x58+0+0 -tn cygwin -backspacekey ^H -e
/bin/bash --login -i

I hope this won't be just reiterating something everyone already knew, but--

If you'd like to shorten up that command line you can also put the following
in ~/.Xdefaults:

*backspacekey: ^H

(The asterisk is required.)

Here's an excerpt from the rxvt manpage:

--begin excerpt--

backspacekey: string
              The string  to  send  when  the  backspace  key  is
              pressed.   If  set  to  DEC  or  unset it will send
              Delete (code 127) or, if shifted,  Backspace  (code
              8) - which can be reversed with the appropriate DEC
              private mode escape sequence.

--end excerpt--

For fuller documentation of rxvt (including many more resource settings)
take a look at:

http://www-ucjf.troja.mff.cuni.cz/cgi-bin/dwww?type=man&location=/usr/share/
man/man1/rxvt.1.gz

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]