delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/17/22:14:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Jelks Cabaniss" <jelks AT jelks DOT nu>
To: <cygwin AT cygwin DOT com>
Subject: Re: Emacs and 'tty'
Date: Sat, 17 Aug 2002 22:14:04 -0400
Message-ID: <000f01c2465c$ed16b8a0$6701a8c0@blackie>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Joe Buehler wrote:

> set CYGWIN=codepage:oem tty
> 
> Notice the lack of quotes -- don't add any.  You might have 
> interesting results without "binmode" also -- I haven't tried it.
> 
> I believe the CYGWIN variable is documented on a page on the 
> cygwin site somewhere.

I found it with a Google search, then saw Mark Harig had already done
the work :) ...

	http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html

... where it says:

  (no)tty - if set, Cygwin enables extra support (i.e.,
  termios) for UNIX-like ttys. It is not compatible with some
  Windows programs. Defaults to not set, in which case the tty
  is opened in text mode with ^Z as EOF. 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.

Hmm, I wonder what win progs don't work.  It's somewhat of a drag that
it can't be changed in the shell, otherwise one could just create a
function in the .bashrc to export tty then call emacs. 

(I also notice that codepage:* is not mentioned on that page, yet it
seems to be needed IIRC for rxvt.  Any reason *not* to have the standard
distribution put 'set CYGWIN=codepage:oem' in cygwin.bat?)


/Jelks


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019