This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Unix-like Script Command


#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?"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]