delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/13/12:22:30

From: Robert DOT Cross AT scottish-newcastle DOT co DOT uk
Subject: Re: Unix-like Script Command
13 Jul 1998 12:22:30 -0700 :
Message-ID: <01IZCHB8MWKA0000EP.cygnus.gnu-win32@scottish-newcastle.co.uk>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

--Boundary_(ID_Ui/0UEdn6tnlVYhRnDGYHg)
Content-type: TEXT/PLAIN

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

--Boundary_(ID_Ui/0UEdn6tnlVYhRnDGYHg)--
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019