delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4AE86A9D.2050905@cygwin.com> |
Date: | Wed, 28 Oct 2009 12:00:29 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: text emacs issues and solution |
References: | <e031e5e10910272252x70706a91p19989ede6e3bb324 AT mail DOT gmail DOT com> |
In-Reply-To: | <e031e5e10910272252x70706a91p19989ede6e3bb324@mail.gmail.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 10/28/2009 01:52 AM, Kurt Harriger wrote: > I was having some trouble with text based emacs under cygwin. > The C-x C-c to exit was for some reason being interpreted as C-x C-g. > After some googling around I found that export CYGWIN=tty seemed to fix the key > sequence, however this also introduced new problems. Namely, after exiting > emacs my input is no longer echoed back and reset doesn't seem to work > either. I had about given up on it, but I started using screen for > copy and paste > and I found that while I was using screen emacs key bindings now > worked correctly and there was no weird side effects after leaving emacs as > before so I though I would post this really quick so that if/when others > have this problem they will have a better solution those I found. Emacs in a Windows console won't work correctly because emacs wants a tty.. That's why setting 'tty' in your Cygwin environment variable (and reloading cygwin1.dll to be safe) works. Using rxvt, mintty, xterm, or other terminal program will work too. Not sure about your post-emacs problems, unless they're referring to interactions with pure Win32 console programs. If not and you have unloaded and reloaded cygwin1.dll after adding 'tty' to your CYGWIN environment variable, that may be an emacs bug. If you want to report that, see <cygwin.com/problems.html>. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |