shell preprocessor for history & alias

cottrell at nbs-vms.ARPA cottrell at nbs-vms.ARPA
Sat Jan 5 02:28:25 AEST 1985


/*
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 at md on this one.

"feets dont fail me now" -- bokonan

piggyback ack: hello bro!
*/



More information about the Comp.unix.wizards mailing list