NetBSD Problem Report #8377

Received: (qmail 1746 invoked from network); 11 Sep 1999 17:31:26 -0000
Message-Id: <199909111730.NAA04004@bikini.ihack.net>
Date: Sat, 11 Sep 1999 13:30:41 -0400 (EDT)
From: "Charles M. Hannum" <root@ihack.net>
Reply-To: mycroft@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: Problem with pdksh, ^Z, and backquotes
X-Send-Pr-Version: 3.95

>Number:         8377
>Category:       bin
>Synopsis:       Problem with pdksh, ^Z, and backquotes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 11 10:35:00 +0000 1999
>Closed-Date:    
>Last-Modified:  Mon Mar 29 19:32:19 +0000 2004
>Originator:     Charles M. Hannum
>Release:        -current as of 19990817
>Organization:
        Internetwork Hacker
>Environment:
        n/a


>Description:
	pdksh can become wedged when ^Z is typed while executing a backquote
	expression interactively.

>How-To-Repeat:
        $ sleep 600 `jot 1000000`

	Type ^Z while jot(1) is running.  jot(1) will be suspended.  ksh will
	now ignore ^C.  The only way I found to wake it up was to `kill -9'
	the jot(1).

>Fix:
        None supplied.
>Release-Note:
>Audit-Trail:

From: "Charles M. Hannum" <root@ihack.net>
To: gnats-bugs@gnats.netbsd.org
Cc:  Subject: Re: bin/8377
Date: Sat, 11 Sep 1999 13:53:51 -0400 (EDT)

 Addendum, to document behavior of other shells:

 /bin/sh (ours): The ^Z has no apparent effect, and the ^C kills the
 jot(1) and goes back to a shell prompt `instantly'.

 csh, tcsh, zsh: Similar to /bin/sh, but takes a Long Time to get a
 shell prompt again if the jot(1) had output a lot of data.  When
 linked with the old malloc(3), csh is much faster; I haven't tried
 this with the others.

 bash: Same problem as pdksh.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.