Unix-like Script Command

Robert.Cross@scottish-newcastle.co.uk Robert.Cross@scottish-newcastle.co.uk
Mon Jul 13 03:13:00 GMT 1998


#Greg wrote:

#I'm looking for something that logs the entire shell (tcsh) session to a
#file, like 'script' does in Unix.  I've tried messing a little with the
#script.c source code, but it was written for /dev/pty....  Any ideas?

'tee' command, piped through the shell of your choice, perhaps?

tee scriptfile | /bin/bash

I'm not sure whether more qualifiers are required, maybe a bash-er/tcsh-er could
pick this up?

Bob Cross.

==Thought for the day ==
"If knowledge is power, how come librarians don't rule the universe?"


More information about the Cygwin mailing list