This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: emacs issues
- From: Dan Nicolaescu <dann at ics dot uci dot edu>
- To: Cygwin List <cygwin at cygwin dot com>
- Date: Tue, 19 Jul 2005 21:38:51 -0700
- Subject: Re: emacs issues
- References: <200507200139.j6K1d8KE021783@scanner2.ics.uci.edu> <6.2.1.2.0.20050719220830.05668e88@pop.prospeed.net>
Larry Hall <lh-no-personal-replies-please@cygwin.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/