This is the mail archive of the cygwin 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: Using emacs in a terminal window


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/


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