This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: tty and 1.1.0
- To: "'Brad Porter'" <bporter at NETdelivery dot com>
- Subject: RE: tty and 1.1.0
- From: Andrew Dalgleish <andrewd at axonet dot com dot au>
- Date: Mon, 15 May 2000 15:33:40 +1000
- Cc: cygwin at sourceware dot cygnus dot com
> -----Original Message-----
> From: Brad Porter [SMTP:bporter@NETdelivery.com]
> Sent: Thursday, May 11, 2000 08:07
> To: cygwin@sourceware.cygnus.com
> Subject: tty and 1.1.0
>
> Hello. Since moving to version 1.1.0 from the CD version (under NT
> 4.0sp5),
> if I have the 'tty' setting in the CYGWIN env. var., then startup or
> completion of every command takes about 1-2 seconds longer. This gets
> frustrating when you have a queue of commands to do.
>
> Does anyone have any insight to this? Should I rebuild the tty
> package with
> 1.1.0?
[Andrew Dalgleish]
I have a delay of about 2 seconds occuring after the completion of any
external command.
This occurs regardless of whether bash is started as "bash" or "sh", and
regardless of "--login" and/or "-i'.
This occurs on multiple machines.
These are all NT - I haven't updated any Win9X boxes yet.
According to TaskMan bash uses 98% CPU.
It only occurs for the first shell - if I start another shell within the
first shell I do not get any delay.
I've modified cygwin.bat like this:
@echo off
set MAKE_MODE=unix
set PATH=c:\cygwin\bin;c:\cygwin\usr\local\bin;%PATH%
set CYGWIN=tty ntea ntsec
set USER=%USERNAME%
set HOME=/home/%USER%
bash %1 %2 %3
And I launch a bash prompt with a shortcut like this:
c:\cygwin\bin\cygwin.bat -c bash
I don't know what is the best solution, but maybe this helps.
Regards,
Andrew Dalgleish
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com