Hi,

Regarding rxvt and ^H verses ^? a better solution
is to start rvxt with a command line that includes
the option -backspacekey ^H rather than use stty.

You can do this in a windows shortcut and also in
a shell alias.

I also have a file in my home directory called .inputrc which
is used to configure the key used by bash, ftp, and some other
programs, I use the following entries (literal text) which mean
I can use the delete key as well as the backspace key, and other
keys, try it and see

"\e[3~": delete-char
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[H": beginning-of-line
"\e[F": end-of-line
"\e[7~": beginning-of-line
"\e[8~": end-of-line
set convert-meta off
set output-meta on

The convert-meta and output-meta settings are used so I
can use the (£) UK pound symbol. I am in the UK and have
a UK keyboard.

I hope this is helpful.

/John Vincent.


>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Promoting rxvt (non-X11)
>Date: Mon, 23 Sep 2002 10:06:40 +1000 (EST)
>
>Suggestion: include a shortcut for rxvt as well as for Cygwin, as part
>of setup.exe?
>
>rxvt is an excellent replacement for the Windows command window -
>except that programs like vi seem to be expecting ^H for backspace,
>whereas the key is actually sending a Del (^?), it seems.
>
>The solution seems simple: just execute stty -erase ^?.
>
>So, I have set up a shortcut for rxvt:
>
>     C:\cygwin\bin\rxvt.exe -sr -sk -title rxvt -e bash --login
>
>and modified my .profile to include:
>
>       if [ "$COLORTERM" = "rxvt-xpm" ]
>       then
>           stty erase ^?
>       fi
>
>That covers everything except rxvt windows started from the command
>line.  Does anyone know why rxvt has this ^H vs ^? behaviour, and xterm
>doesn't?
>
>luke
>
>
>
>
>
>--
>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/




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

Reply via email to