l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Aug 18 13:30

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] help with script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] help with script

On Thu, Oct 03, 2002 at 04:51:02PM -0700, Harry S wrote:
> On Thu, Oct 03, 2002 at 12:14:51PM -0700, Micah J. Cowan wrote:
> > > While looking up "script" I came across "replay". It allows you to play
> > > back "script" files (must have same terminal or results aren't
> > > guaranteed) with key timings.
> > 
> > "key timings"? those aren't stored in the file by *my* script...
> This might only apply to Debian. The "-t" option outputs timing data to
> standard error. You would do something like:
> script -t 2> my_timing_file
> and to play it back:
> replay my_timing_file

On mine, -t is for setting the interval between explicit flushes to
the output file.

> You can specify a specific script file otherwise it uses the default
> "typescript".
> > As for viewing, what's wrong with cat or less -r?
> I tried that and strings and a few other things. Cat spews out gibberish
> as does less. The gibberish isn't interpretted.

Wha? Not if you run 'em on the same terminal, they aren't (not on the
scripts I've seen, anyway). The gibberish is terminal codes. Of
course, if it includes timing info, I imagine all bets are off.

Note that the -r option to less is important; it lets the raw terminal
codes through.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!