X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_63,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <4A1F1066.9030509@cornell.edu> Date: Thu, 28 May 2009 18:29:58 -0400 From: Ken Brown User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: emacs -nw keypad, tpu-edt.el, and C-h References: <4A168F2B DOT 4020805 AT cornell DOT edu> <4A1D9D05 DOT 40407 AT cornell DOT edu> <838wkhsm5e DOT fsf AT gnu DOT org> <4A1E7C50 DOT 8020505 AT cornell DOT edu> <416096c60905280702m6e4cb748ic305be3592d81c70 AT mail DOT gmail DOT com> <4A1EA704 DOT 3040500 AT cornell DOT edu> <17393e3e0905280907s4cdf3c4ek9b8896dbba69cb48 AT mail DOT gmail DOT com> <416096c60905281010t7538d5c5secacd14b87139b86 AT mail DOT gmail DOT com> <4A1EE154 DOT 2090603 AT cornell DOT edu> <416096c60905281414v292e9f06pa19ef3294415e1de AT mail DOT gmail DOT com> <4A1F02EB DOT 70404 AT cornell DOT edu> <4A1F0501 DOT 8080701 AT cygwin DOT com> In-Reply-To: <4A1F0501.8080701@cygwin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 On 5/28/2009 5:41 PM, Larry Hall (Cygwin) wrote: > Ken Brown wrote: >> On 5/28/2009 5:14 PM, Andy Koppe wrote: >>> And then there's the problem that the Cygwin console can't be >>> changed to ^?. >> >> Emacs doesn't work well in the Cygwin console anyway, for a variety of >> reasons. I'll add that to the README and to the announcement when I >> release the next version. (FWIW, I'd much rather have mintty be the >> default cygwin terminal; but that's a topic for a different time and >> place.) > > Along that line, does it make a difference in all this if 'tty' is > set in the CYGWIN environment variable? I'm not an emacs user but I > seem to recall that this is a requirement to get emacs to behave as > expected from the console. Is this just one more proof of that? If you want to use emacs in the Cygwin console, you have to set tty in CYGWIN. Otherwise, emacs doesn't see control-c, which is heavily used. (The first time I tried emacs in the console, years ago, it was hard to figure out how to exit emacs. The key sequence for this is control-x control-c.) But even with CYGWIN=tty, other keys don't work as expected. So the best advice for emacs users at present is: - For best results, use emacs under X. - If you don't want to do that, use mintty or rxvt (but remember that F1 is the help key). Ken -- 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/