This is the mail archive of the 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: Promoting rxvt (non-X11)


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.

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" ]
	    stty erase ^?

That covers everything except rxvt windows started from the command
line.  Does anyone know why rxvt has this ^H vs ^? behaviour, and xterm


Unsubscribe info:
Bug reporting:

MSN Photos is the easiest way to share and print your photos:

Unsubscribe info:
Bug reporting:

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