Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Kevin Wright" To: Subject: RE: cygwin programs won't end! Date: Thu, 27 Apr 2000 13:22:25 -0600 Message-ID: <004901bfb07d$eb55c2d0$701661c7@holstein-mobile.ASPECTDV.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Importance: Normal In-Reply-To: <20000427193334.16201.qmail@web125.yahoomail.com> Ernie, I agree with you. And that is where I set it. (in the cygwin.bat file) However, for some reason, on my new laptop, where I have cleanly installed the new net release (cygwin 1.1.0), If I set CYGWIN=tty (with any other combination), I get a delay of around 10 to 15 seconds for any command to complete. So I decided just to leave it unset and take the defaults. So far, I haven't had any problems as a result (actually, as I found out, this caused bash in xterms not to exit properly.) The reason I tried this in the first place was to trouble shoot my rxvt+vim+backspace problem. (which was solved by Chuck Wilson by having me rebuild rxvt with the --disable-backspace-key) UPDATE: before I sent this message, I just read a reply to your mail from Bob McGowan who said: > I did a short test of the new net release and also noticed this slow > return to the prompt after completion. One added piece of info that may > help is that it seems to be specific to the DOS console. I have X11 > setup and when bash was running in an xterm, there was no slow exit > problem. I have 'tty' set in my CYGWIN variable. I got the same results as Bob. No problem in X; only with a console window. This also fixed a "bash not exiting properly" problem I had with an Xterm. If I leave CYGWIN unset, when I exit an Xterm, I have to manually kill the window and the bash process shows up as "". However, if I set CYGWIN=tty. It exits properly. Thanks, Bob! --Kevin Wright Mountain View, CA > -----Original Message----- > From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com] > Sent: Thursday, April 27, 2000 1:34 PM > To: Vincent_Virgilio AT nmss DOT com; Kevin Wright > Cc: cygwin AT sourceware DOT cygnus DOT com > Subject: RE: cygwin programs won't end! > > > The proper place to set the CYGWIN environment variable is BEFORE > starting a > cygwin process. Setting it after you've started BASH, especially for tty, > binmode, ntsec, ntea will not do what you expect. > > Earnie. > > --- Vincent_Virgilio AT nmss DOT com wrote: > > > > > > Thanks Kevin, that did it. > > > > First I exported the new value of CYGWIN from within bash, to > no avail. Then > > I > > set it in .bashrc and restarted. Success. The console is now very > > responsive. > > > > I still have a minimal understanding of the CYGWIN flag "tty". > > > > Thanks again, > > > > Vince Virgilio > > > > > > > > > > > > "Kevin Wright" on 04/27/2000 12:03:55 PM > > > > To: Vincent Virgilio/Natural MicroSystems/US AT Natural MicroSystems > > cc: > > Subject: RE: cygwin programs won't end! > > > > > > > > Vincent, > > > > As a test, try changing the value of your CYGWIN variable to notty or > > just don't set it at all and see if this speeds up your response time. > > I had a similar experience when I set the CYGWIN variable to tty. > > > > --Kevin > > > > > -----Original Message----- > > > From: cygwin-owner AT sourceware DOT cygnus DOT com > > > [mailto:cygwin-owner AT sourceware DOT cygnus DOT com]On Behalf Of > > > Vincent_Virgilio AT nmss DOT com > > > Sent: Thursday, April 27, 2000 11:42 AM > > > To: cygwin AT sourceware DOT cygnus DOT com > > > Subject: Re: cygwin programs won't end! > > > > > > > > > > > > > > > This is a "me too", with cygcheck and strace output. I > installed the net > > > release yesterday, and notice a delay after every cygwin command; > > > a symptom > > > other's also experienced. > > > > > > Perhaps the below output can serve as a cross-check on other's output. > > > > > > "cygcheck -r -s -v" produces: > > > > > > ========== BEGIN cygcheck ============== > > > > > > Cygnus Win95/NT Configuration Diagnostics > > > Current System Time: Thu Apr 27 12:23:14 2000 > > > > > > WinNT Ver 4.0 build 1381 Service Pack 4 > > > > > > Path: /cygdrive/c/winnt/system32 > > > /cygdrive/c/winnt > > > /usr/bin > > > /bin > > > > > > SysDir: C:\WINNT\System32 > > > WinDir: C:\WINNT > > > > > > CYGWIN = `tty' > > > HOME = `/cygdrive/h' > > > PWD = `/usr/info' > > > > > > !EXITCODE = `00000000' > > > !C: = `C:\cygwin\usr\info' > > > !H: = `H:\' > > > BASEDIR = `C:\msdev\ddk\' > > > COMPUTERNAME = `VVIRGILIO2' > > > __________________________________________________ > Do You Yahoo!? > Talk to your friends online and get email alerts with Yahoo! Messenger. > http://im.yahoo.com/ > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com