weepin' in the corner (was: remote background jobs)

Maarten Litmaath maart at cs.vu.nl
Tue Dec 13 05:20:48 AEST 1988


levy at ttrdc.UUCP (Daniel R. Levy) writes:

\In article <1776 at solo11.cs.vu.nl>, maart at cs.vu.nl (Maarten Litmaath) writes:
\> fcntl(fd, F_SETFL, FNDELAY):          |Maarten Litmaath @ VU Amsterdam:
\>       let's go weepin' in the corner! |maart at cs.vu.nl, mcvax!botter!maart

\What's to weep about?  I'm curious.

Execute the following little program in the Bourne shell:

----snip----snip----snip----snip----snip----snip----snip----snip----snip----
#include	<fcntl.h>


main()
{
	if (fcntl(0, F_SETFL, FNDELAY) != 0)
		perror("fcntl");
}
----snip----snip----snip----snip----snip----snip----snip----snip----snip----

Imagine what csh's got to do to prevent the `cute' effect...
-- 
fcntl(fd, F_SETFL, FNDELAY):          |Maarten Litmaath @ VU Amsterdam:
      let's go weepin' in the corner! |maart at cs.vu.nl, mcvax!botter!maart



More information about the Comp.unix.questions mailing list