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: | <200507200438.j6K4csKE027602@scanner2.ics.uci.edu> |
To: | Cygwin List <cygwin AT cygwin DOT com> |
Subject: | Re: emacs issues |
References: | <200507200139 DOT j6K1d8KE021783 AT scanner2 DOT ics DOT uci DOT edu> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050719220830 DOT 05668e88 AT pop DOT prospeed DOT net> |
From: | Dan Nicolaescu <dann AT ics DOT uci DOT edu> |
In-Reply-To: | <6.2.1.2.0.20050719220830.05668e88@pop.prospeed.net> (Larry Hall's message of "Tue, 19 Jul 2005 22:12:09 -0400") |
Lines: | 32 |
MIME-Version: | 1.0 |
Date: | Tue, 19 Jul 2005 21:38:51 -0700 |
X-ICS-MailScanner: | Found to be clean |
X-ICS-MailScanner-SpamCheck: | not spam (whitelisted), SpamAssassin (score=-99.323, required 5, J_CHICKENPOX_63, TW_RX, USER_IN_WHITELIST) |
Larry Hall <lh-no-personal-replies-please AT cygwin DOT com> writes: > At 09:39 PM 7/19/2005, you 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: > > #!/bin/bash > # maybe add a test and do this iff $TERM == cygwin > CYGWIN=tty /usr/bin/libexec/emacs $* > > > > I don't think you'll find this to be an adequate solution either. > Quoting from the Cygwin User's Guide: > > (no)tty - if set, Cygwin enables extra support (i.e., termios) for UNIX-like > ttys in the Windows console. It is not compatible with some Windows > programs. Defaults to not set, in which case the tty is opened in text mode. > Note that this has been changed such that ^D works as expected instead of > ^Z, and is settable via stty. This option must be specified before starting > a Cygwin shell and it cannot be changed in the shell. It should not be set > when using other terminals (i.e., rxvt or xterm). The script above seems to work for me... I might be missing something, but all the things I tried work as expected. Maybe the documentation is not up to date... --dan -- 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 |