Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <cb51e2e0507060013129da8eb@mail.gmail.com>
Date: Wed, 6 Jul 2005 00:13:03 -0700
From: Joshua Daniel Franklin <joshuadfranklin@gmail.com>
Reply-To: Joshua Daniel Franklin <joshuadfranklin@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Exiting Emacs (Attn: User's Guide maintainer)
In-Reply-To: <Pine.GSO.4.61.0507051239490.7386@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <1151EBFEB760994A96A622B835374E0F13849A@PA-ECLUSTER1.vmware.com> 	 <Pine.GSO.4.61.0507051239490.7386@slinky.cs.nyu.edu>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j667DOHM008917

On 7/5/05, Igor Pechtchanski wrote:
> On Tue, 5 Jul 2005, David Masterson wrote:
> > > On Sat, 2 Jul 2005, Nick Kirchner wrote:
> > >
> > >> I just installed Cygwin on my Windows 98 computer and tried playing
> > >> around with Emacs. Having toyed with it a little in the past, I know
> > >> that C-x C-c is supposed to exit the program. As you may have
> > >> guessed, C-x C-c did nothing other than beep.
> > >>
> > >> What exactly is going wrong here?
> > >
> > > As mentioned in the announcement
> > > (<http://cygwin.com/ml/cygwin-announce/2004-04/msg00000.html>), you
> > > need to have "tty" in your CYGWIN environment variable.  This needs
> > > to be set *before* the shell is started, so good places would be
> > > /Cygwin.bat or the system environment (i.e., don't do this in shell
> > > startup files).
> >
> > Does this apply to using (X)Emacs under X?
> 
> Good question.  No, it doesn't.  As should be described in the User's
> Guide[1], the 'tty' setting in $CYGWIN serves only to compensate for the
> deficiencies of the Windows console terminal handling (Ctrl-C and NUL).
> If emacs is invoked in any terminal other than the cmd.exe "console"
> (e.g., rxvt, or xterm), no special settings are needed.  Neither does this
> apply to windowed modes of emacs, which do their own keyboard input
> handling.
>         Igor
> [1] <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>


Huh, I could have sworn I'd added a note about rxvt and CYGWIN=tty once 
before, but obviously not. It'll be in the next update.

--
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/


