From: utzoo!decvax!harpo!eagle!mhuxt!mhuxj!cbosgd!mark
Newsgroups: net.unix-wizar
Title: Re: RE: redo - (nf)
Article-I.D.: cbosgd.2478
Posted: Sun Aug  1 13:59:42 1982
Received: Mon Aug  2 03:23:09 1982
References: pur-ee.477

Another alternative is, instead of putting the output of ex into
a file and sourcing it, to use the "typein" command.  (I found
typein.c in /usr/guest on my 4.1BSD system, if you don't have it,
it just uses TIOCSTI to "type in" its arguments, as though you
had typed them on the keyboard.)  If you do it this way, it goes
on your history list.  typein does not type the newline for you,
presumably to let you continue typing more stuff, although I
personally would prefer the newline.  TIOCSTI is in 4.1BSD and
presumably 2.8BSD, but no other version of UNIX that I know of.

	Mark