Path: utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!mailrus!uflorida!haven!adm!xadmx!rbj@dsys.icst.nbs.gov From: rbj@dsys.icst.nbs.gov (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: What \"isatty\"? Message-ID: <19756@adm.BRL.MIL> Date: 25 May 89 16:29:49 GMT Sender: news@adm.BRL.MIL Lines: 22 ? From: Chris Torek ? In article <2421@Portia.Stanford.EDU> joe@hanauma (Joe Dellinger) writes: ? > I have a graphics driver program which has 2 basic behaviours. ? >If you do ? > pspen < plot.data > file ? >it writes postscript code to "file". If you do ? > pspen < plot.data ? >it spools the postscript for you. ? Yuck. ? Programs that produce output should produce the output to stdout. I agree completely, Chris. Now get cracking on `cc', so that `cc prog.c' writes to stdout instead of `a.out' :-) ? In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) ? Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris Root Boy Jim is what I am Are you what you are or what?