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]

Promoting rxvt (non-X11)


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/


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