Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!wanginst!ucadmus!harvard!seismo!brl-tgr!tgr!cottrell@nbs-vms.ARPA From: cottrell@nbs-vms.ARPA Newsgroups: net.unix-wizards Subject: shell preprocessor for history & alias Message-ID: <6986@brl-tgr.ARPA> Date: Fri, 4-Jan-85 11:28:25 EST Article-I.D.: brl-tgr.6986 Posted: Fri Jan 4 11:28:25 1985 Date-Received: Sun, 6-Jan-85 00:02:48 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 16 /* let's start a new discussion... we just received sys v here on a vme10 (bfd). of course there is no csh. in the fabled oct bstj kernighan (or was it ritchie) decries the practice of history (& alias?) only for csh commands. he says why not for *all* input, including that for programs. okay, bizarre idea time. how about writing a filter that only does aliases & history & pipes the transformed output to sh! so far so good, *but* then interactive progs like vi (yes, its in sys v) won't run because they attempt to do ioctl/stty on a pipe. this means i have to save the stdin fd & exec vi directly. any suggestions, comments? maybe i can get a rise out of chris@md on this one. "feets dont fail me now" -- bokonan piggyback ack: hello bro! */