delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-ID: | <42DDB838.39F53C69@dessent.net> |
Date: | Tue, 19 Jul 2005 19:34:32 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: emacs issues |
References: | <200507200139 DOT j6K1d8KE021783 AT scanner2 DOT ics DOT uci DOT edu> |
X-Spam-Report: | -5.9/5.0 ---- Start SpamAssassin results * -3.3 ALL_TRUSTED Did not pass through any untrusted hosts * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 0.0 AWL AWL: From: address is in the auto white-list ---- End SpamAssassin results |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Dan Nicolaescu wrote: > One of them is that C-x C-c does not work by default when emacs is run > in the Cygwin terminal. It seems that to solve this CYGWIN needs to > contain "tty", but that does not work by default. > One way to solve this would be to move the emacs binary to > /usr/libexec and make /usr/bin/emacs a shell script: This is documented in the emacs README. Setting CYGWIN=tty by default would have various other unwanted side effects (such as poor interactions with pure windows console programs.) So, the user has to set it himself. > #!/bin/bash > # maybe add a test and do this iff $TERM == cygwin > CYGWIN=tty /usr/bin/libexec/emacs $* > # reset is needed because otherwise the terminal seems to be left > # in a strange state after exiting emacs. > reset No, this will not work. The setting must be made before the session is started, i.e. before the first bash is executed. Otherwise, the console is already created and it's too late to change that. > C-SPC does not work in a Cygwin terminal. Is there a way to fix this? I would suggest rxvt. Personally, I use the "CMD.EXE prompt" as little as possible (i.e., not at all) with Cygwin because frankly, it sucks hard. I suspect that I am not alone. Brian -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |