Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <19990809141812.A1067@ba.best.com> Date: Mon, 9 Aug 1999 14:18:12 -0400 From: Glenn Spell To: cygdev Subject: Re: little Ctrl-C inconvenience Mail-Followup-To: cygdev References: <37AA0833 DOT 2EB7632D AT vinschen DOT de> <19990805182423 DOT A4366 AT cygnus DOT com> <19990805222033 DOT A5609 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990805222033.A5609@cygnus.com>; from "Chris Faylor" on Thu, Aug 05, 1999 at 10:20PM Organization: the aerie This is not a complaint but merely an observation being reported in case it may be helpful. The following applies to both the 990807 and 990808 snapshots with "tty" set on Win95. By "login shell", I mean the parent shell started from "cygnus.bat". Using bash as login shell, a Ctrl-C will return a prompt every time. The "Use exit to leave the shell" message no longer appears. In a bash sub-shell, Ctrl-C doesn't seem to do anything but once Ctrl-C is pressed, the subsequent returns of the prompt are slowed but not nearly as slow as the previous snapshot. Using ash as login shell, a Ctrl-C will return a prompt every time. In an ash sub-shell, only one Ctrl-C will return a prompt. Afterwards (in that sub-shell) Ctrl-C doesn't seem to do anything. If the ash sub-shell was called from a bash sub-shell, the prompt returns slowly in the bash sub-shell after exiting ash (if Ctrl-C was pressed while in ash) even if Ctrl-C was never pressed in the bash sub-shell. Upon logging in with any shell, running Mickey's heredoc test (first thing) will cause *all* Ctrl-C's in any shell to return a prompt and there is no slowing of anything... anywhere. ------------heredoc test script--------------------- #! /bin/sh cat <