Path: utzoo!attcan!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions Subject: weepin' in the corner (was: remote background jobs) Message-ID: <1800@solo9.cs.vu.nl> Date: 12 Dec 88 19:20:48 GMT References: <1103@smidefix.liu.se> <1776@solo11.cs.vu.nl> <3082@ttrdc.UUCP> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 25 levy@ttrdc.UUCP (Daniel R. Levy) writes: \In article <1776@solo11.cs.vu.nl>, maart@cs.vu.nl (Maarten Litmaath) writes: \> fcntl(fd, F_SETFL, FNDELAY): |Maarten Litmaath @ VU Amsterdam: \> let's go weepin' in the corner! |maart@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 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@cs.vu.nl, mcvax!botter!maart