delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/15/00:29:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <00F8D6E8AB0DD3118F1A006008186C960F347A@server1.axonet.com.au>
From: Andrew Dalgleish <andrewd AT axonet DOT com DOT au>
To: "'Brad Porter'" <bporter AT NETdelivery DOT com>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: RE: tty and 1.1.0
Date: Mon, 15 May 2000 15:33:40 +1000
X-Priority: 3
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1458.49)


> -----Original Message-----
> From:	Brad Porter [SMTP:bporter AT NETdelivery DOT com]
> Sent:	Thursday, May 11, 2000 08:07
> To:	cygwin AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


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