[comp.sources.wanted] Photo utility wanted

jl42+@andrew.cmu.edu (Jay Mathew Libove) (08/01/87)

I am looking for a utility (or help in writing it) that "photographs"
everything that is output (whether it is the result of a program or
the echoing of a keystroke) between the invocation of the program and
its termination. On Carnegie Mellon University's Dec Tops20 and VMS
systems we have a utility called 'PHOTO' which does just this. It records
verbatim everything that is sent to the tty. We do not have this utility
on our Unix systems. I would like this for a Xenix system or SysV.
If anyone knows where I could find it or could suggest how I might write
it, I'd be most grateful.
Thanks!


Jay Libove
Arpa:   jl42@andrew.cmu.edu	Bitnet: jl42@drycas.bitnet
UUCP:   ...!{seismo, ucbvax, harvard}!andrew.cmu.edu!jl42
UUCP:   ...!{pitt | bellcore} !darth!libove!libove

Disclaimer: I don't tell my employers what I think...

bob%aargh.cis.ohio-state.edu@osu-eddie.UUCP (Bob Sutterfield) (08/03/87)

In article <4V4YbIy00WAR81g07j@andrew.cmu.edu> jl42+@andrew.cmu.edu (Jay Mathew Libove) writes:
>I am looking for a utility ... that "photographs" everything that is
>output ... between the invocation of the program and its termination.
>... Tops20 and VMS have a utility called 'PHOTO' ... We do not have
>this utility on our Unix systems.

You do on your BSD systems:  look at script(1).

>I would like this for a Xenix system or SysV.

This may be more of a problem, depending upon how much pty weirdness
Berkeley's `script' does to you, and how much of that is supported in
your particular SysV-like port.
-=-
 Bob Sutterfield, Department of Computer and Information Science
 The Ohio State University; 2036 Neil Ave. Columbus OH USA 43210-1277
 bob@ohio-state.{arpa,csnet} or ...!cbosgd!osu-eddie!bob
 soon: bob@aargh.cis.ohio-state.edu