l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social Gathering
Next Installfest:
Sat. Sept. 27, 10am-6pm [Tentative]
Latest News:
Aug. 19: Siafoo slides and photos online
Page last updated:
2006 Aug 18 13:30
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


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.

-Micah
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



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

CD Burns Wanted!

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
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:
VA Software
Who donated a computer, books and much more!