Xref: utzoo comp.sys.att:5126 comp.unix.questions:10990 Path: utzoo!attcan!uunet!tank!uxc!csd4.milw.wisc.edu!mailrus!ames!pacbell!att!mtuxo!mtgzz!avr From: avr@mtgzz.att.com (a.v.reed) Newsgroups: comp.sys.att,comp.unix.questions Subject: Re: Terminal emulator for 6386 under UNIX(r) Keywords: 6386, UNIX, cu Message-ID: <4861@mtgzz.att.com> Date: 8 Jan 89 02:09:35 GMT References: <9877@drutx.ATT.COM> Distribution: comp Organization: AT&T, Middletown NJ Lines: 16 In article <9877@drutx.ATT.COM>, csr@drutx.ATT.COM (Steve Roush) writes: > For strictly interactive use, I use "cu". .... > I do not know of any UNIX programs outside of AT&T that allow scripting > of sessions as can be done under DOS. Oh yes you do, unless you've never heard of "tee". Here is how you use tee to "script" a cu session: $ cu | tee -ia script.out And here is how you script a local sh session: $ tee -ia script.out | sh -is 2>&1 | tee -ia script.out Adam Reed (avr@mtgzz.ATT.COM)