Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3B15EFBE.13499686@lucent.com> Date: Thu, 31 May 2001 00:16:14 -0700 From: "Victor M. Esquivel" Organization: NetworkCare Professional Services X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: pdykes AT us DOT ibm DOT com CC: cygwin AT cygwin DOT com, "Victor M. Esquivel" Subject: Re: need unix script utility to record terminal session Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hey Perry, When ever I need to capture a session, I redirect I/O and pipe it to "tee". I can't remember the last time that I was not able to capture everything in a session (including passwords and such). Examples from a BASH prompt: === tnhp.sh input.txt 2>&1 | tee output.log chksnmpstp.sh 10.2.200.57 2>&1 | tee stpchk-10.2.200.57.txt Note: The tnhp.sh example is a BASH script that calls an Expect script (which then does a telnet to various devices). HTH, -victor > I need the unix script utility that records terminal input and output > as user creates it for cygwin. No luck searching archives. > > Does anyone know if and or where this exists? > > Thanks, > Perry > > Perry Dykes -- /---------------------------\ /----------------------------------\ | Victor M. Esquivel | NetworkCare Professional Services | | Network Systems Consultant | 2377 Gold Meadow Way, Suit 230 | | vesquivel AT lucent DOT com | Gold River, CA 95670 | | (916) 859-5200 x338 | FAX (916) 859-5201 | \---------------------------/ \----------------------------------/ \ Disclaimer: Standard disclaimer applies. / \------------------------------------------------------------/ -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple