Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: wizard definition (was "Re: what to call a female wizard") Message-ID: <6537@mimsy.UUCP> Date: Sun, 3-May-87 15:48:52 EDT Article-I.D.: mimsy.6537 Posted: Sun May 3 15:48:52 1987 Date-Received: Sun, 3-May-87 21:58:47 EDT References: <7129@brl-adm.ARPA> <2654@phri.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 37 >In article <7129@brl-adm.ARPA> dsill@NSWC-OAS.arpa writes: >>... a wizard, [...] someone who could write a device driver >>using only the cat command. (You mean the cat editor? :-) ) In article <2654@phri.UUCP> roy@phri.UUCP (Roy Smith) writes: >... I once saw a place where /dev/tty.c was a link to /dev/tty. >The idea was that to run quickie test programs, you just do "cc >/dev/tty.c" and type in your program followed by a ^D! % ln -s /dev/tty foo.c % cc foo.c ^D Actually, I prefer /lib/cpp | /lib/ccom | /lib/c2 | as -o foo.o but this does not work on Suns. Most often, though, a simple /lib/ccom or if you need to see what the optimiser does, /lib/ccom | /lib/c2 suffices to test `features' like this one in the Sun compilers: f(){register char c= -1;register i; i=(int)(char)c;i=(int)(char)-1;i=(int)(char)(int)-1;} which puts the values -1, 255, and -1 (respectively) into i. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: seismo!mimsy!chris