From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: KKramsch Newsgroups: gmane.emacs.help Subject: Keyboard annoyances on Cygwin+Emacs Date: Tue, 26 Oct 2004 19:07:27 +0000 (UTC) Organization: none Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1098817951 4148 80.91.229.6 (26 Oct 2004 19:12:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2004 19:12:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 26 21:12:24 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CMWk3-00038s-00 for ; Tue, 26 Oct 2004 21:12:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMWrl-0001N8-OI for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Oct 2004 15:20:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader1.panix.com 1098817647 23619 166.84.1.3 (26 Oct 2004 19:07:27 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 26 Oct 2004 19:07:27 +0000 (UTC) X-No-Confirm: yes User-Agent: nn/6.6.5 Original-Xref: shelby.stanford.edu gnu.emacs.help:126085 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21464 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21464 I just installed Cygwin on my desktop. Everything works OK, except Emacs. If I invoke Emacs in a Cygwin terminal as 'emacs -nw', the backspace key behaves as C-h (C-h still behaves as C-h). More bizarrely, when I hit the combination C-x C-c, Emacs sees C-x C-g. If I ssh into a Linux host, and run 'emacs -nw', the situation is more bizarre. In *some* cases Emacs sees both backspace and C-h as C-h. In other cases, it sees both backspace and C-h as "delete to the left of the cursor". I haven't been able to figure out what determines which of the two (mis)behaviors Emacs will exhibit, although I think it has to do with the details of how the remote shell is started. (It definitely does not depend on the remote host.) In these remote-host operations, C-x C-c quits Emacs as usual. If I start Emacs as an X application, whether on the local workstation or on a remote host, backspace, C-h, and C-x C-c work perfectly. Backspace works fine in every other situation and application (e.g. interactive bash, vi, etc.). How can I fix this mess? I should point out that I log into remote hosts from many other systems other than the Cygwin system described here, so I need a solution that will not screw up the behavior of Emacs on remote hosts when I access them from local hosts other than Cygwin. Thanks! Karl -- Sent from a spam-bucket account; I check it once in a blue moon. If you still want to e-mail me, cut out the extension from my address, and make the obvious substitutions on what's left.