Subject: bin/1788: /bin/sh -c signal handling error
To: None <>
From: Shinya Taniguchi <>
List: netbsd-bugs
Date: 11/25/1995 21:44:56
>Number:         1788
>Category:       bin
>Synopsis:       /bin/sh -c signal handling error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 25 08:05:02 1995
>Originator:     Shinya Taniguchi
<                    Shinya Taniguchi ( >
<----- Department of Physics, Faculty of Science, Osaka University ------>
<--- Tel : +81 6-850-5346 (dial in)    Fax : +81 6-850-5529 ------------->
< Mosaic : ________________>
>Release:        NetBSD-current as of Nov. 3
System: NetBSD 1.1_ALPHA NetBSD 1.1_ALPHA (PETA) #0: Fri Nov 3 23:38:22 JST 1995 i386

When we make command "/bin/sh -c <any executable command>" and hit Ctrl-c,
sometimes the bad situation occur that the process "/bin/sh" is killed unexpectably.
Then we can`t access the command and lose controll.
For example, if you make command "/bin/sh -c vi" and Ctrl-c, then "/bin/sh" is killed  
and the terminali`s behavior becomes strange.
env EDITOR=vi crontab -e and hit Ctrl-c