fork timing hole? (nope)

Howard Johnson howard at cyb-eng.UUCP
Fri Aug 16 17:10:38 AEST 1985


Explanation:  If you look closely at the sh/csh code, you'll find cases
where sh and/or csh catch SIGINT and emit a newline.  Specifically, it's
the parent shell which does this if it's interrupted while waiting for
the child to terminate.  By the way, receipt of the interrupt character
generates a SIGINT for every process in the controlling terminal's
process group.

> The Scenario:
> 	"ls<ret><del>"
> What happens? 1 of 3 things
> 
> 1) 
> 
> $ ls
> 
> $
> 
> 2)
> 
> $ ls
> $
> 
> 3)
> 
> $ ls
> my
> local
> files
> $

>	... [wild speculation]

> Finally, my question ..... Is this a bug??
> 		Paul Campbell
> 		..!ucbvax!unisoft!paul

In the shell, yes; in the kernel, no.  (Just a little tip from
one of your customers, Paul.)
-- 
..!{seismo,topaz,mordor,harvard,gatech,nbires,ihnp4}!ut-sally!cyb-eng!howard
(ordered best to worst); also ..!{ut-ngp,shell}!cyb-eng!howard  +1 512 458 6609



More information about the Comp.unix.wizards mailing list