[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie, Emacs won't quit
From: |
Matthew Huggett |
Subject: |
Re: Newbie, Emacs won't quit |
Date: |
Tue, 25 Jan 2005 01:03:47 +0900 (JST) |
From: "YL" <elim.qiu@gmail.com>
> > I figured it out by accident. In trying to get sshd working under
> > cygwin (which I haven't done yet) I set the environment variable
> >
> > CYGWIN=binmode ntsec tty
> >
> > This fixes this problem for me, and I believe it is the tty portion
> of
> > that environment variable that is the key one to changing the
> > behaviour.
> >
> > ~>Bill
>
> It worked for me. Thanks. But after exit emacs and back to cygwin
> shell,
> any command typed won't shown (they still work though). Also, I don't
> know where and how to put 'CYGWIN=binmode ntsec tty' so that emacs can
> work correctly without set this environment everytime.
It goes in your cygwin.bat file in the root of your cygwin
installation.
It should look something like:
@echo off
set CYGWIN=binmode tty ntsec
C:
chdir \cygwin\bin
bash --login -i
Reference: http://ist.uwaterloo.ca/~kscully/SSH/CygwinSSHD_W2K3.html
Matt