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>?


On Thu, 21 Nov 2002, Tackett, Galen wrote:

> > 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

Does this mean the rxvt termcap/terminfo entries are incorrect?  If rxvt
sends ^? for backspace by default, shouldn't the termcap/terminfo entries
reflect that and interpret ^? as <backspace>?  If this only happens in
W11 mode, should the rxvt-cygwin-native entry be corrected?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
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]