On Tuesday 28 March 2006 02:04 pm, Andrew Lentvorski wrote: > boblq wrote: > > Hi guys, > > > > I would like to capture an interactive session at the keyboard, > > using bash to exercise a small C program that I have written. > > Ideally I would get a text file that had a copy of the session, > > like what I see when I do shift page up ... > > > > How do I do that? > > I believe that "expect" has a command which also records a session for > later use in playback. > > -a
Hmmm .. I had not thought about "expect" but that is a very interesting idea. I probably last used something like that when building modem scripts "back in the day." With "expect" I can do a lot more than just capture. Thanks for the suggestion. BobLQ -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
