Date: Thu, 29 Jul 1999 18:23:00 -0700 (PDT) From: rdm@cfcl.com To: freebsd-gnats-submit@freebsd.org Subject: bin/12877: interactive /bin/sh ignores ^C and ^Z in while loops Message-ID: <19990730012300.770A614EFD@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 12877 >Category: bin >Synopsis: interactive /bin/sh ignores ^C and ^Z in while loops >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 29 18:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Rich Morin >Release: 2.2.8 (also broken in 3.2) >Organization: Canta Forda Computer Laboratory >Environment: FreeBSD cfcl.com 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Fri Jan 15 18:39:18 PST 1999 rdm@cfcl.com:/usr/src/sys/compile/FREEBIE i386 >Description: If I type a while loop into sh, then try to ^C or ^Z out, the shell refuses to go away. FWIW, the session below is being run in a telnet window from a Mac, using tcsh as the login shell, but folks on other systems have replicated the problem. The bug is present in both FreeBSD 2.2.8 and 3.2. >How-To-Repeat: % sh $ while :; do > echo foo > sleep 60 > done foo [Interrupt Process] <- ^C hit [Interrupt Process] <- ^C hit ^Z%1 Suspended <- ^Z hit foo ^Z%2 Suspended <- ^Z hit foo >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990730012300.770A614EFD>