Using emacs in a terminal window

Mark Harig idirectscm@aim.com
Sat Jun 6 02:51:00 GMT 2009


An alternative to providing instructions for a workaround would be to
modify the default initialization files that are provided with the terminal
emulators.

For example, rxvt comes with the following file:

  $ cygcheck -l rxvt | grep app-defaults
  /etc/defaults/etc/X11/app-defaults/Rxvt

The post-installation script of rxvt could be changed to install the 
default, system
initialization file 'Rxvt' into the directory /etc/X11/app-defaults/.  
That file could
be modified to include the following lines:

   Rxvt.backspacekey:  ^?
   Rxvt.ttyModes: erase ^?

With those changes (modifying the file and copying it into 
/etc/X11/app-defaults),
rxvt should give the behavior that is expected for the backspace key and 
the Control-H
key combination, both at the shell prompt and in terminal-mode Emacs.

Similar solutions can likely be devised for xterm and mintty, but I do not
have those packages installed.  These solutions would need to be 
incorporated
into new versions of the terminal emulator packages, which would require 
the
agreement of those package maintainers.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list