X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A29D9A7.1020004@aim.com> Date: Fri, 05 Jun 2009 22:51:19 -0400 From: Mark Harig User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: The Cygwin Mailing List Subject: Re: Using emacs in a terminal window Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 64.12.78.138 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/