Re: How to log telnet session?
From: Icarus Sparry (usenet_at_icarus.freeuk.com)
Date: 07/13/05
- Next message: juicymixx_at_mailinator.com: "Re: bash prompt stuff"
- Previous message: PM: "Re: ls all invisible/hidden files only"
- In reply to: Ralph A. Moeritz: "How to log telnet session?"
- Next in thread: Alan Connor: "Re: How to log telnet session?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 13 Jul 2005 13:31:02 GMT
On Wed, 13 Jul 2005 01:14:24 -0700, Ralph A. Moeritz wrote:
> Hi everyone,
>
> I would like to run a telnet session, and have the session
> logged to a file. I want to manipulate the contents of the session log
> with a text editor while the session is still active, so I can
> copy/paste lines into files to then be manipulated by shell scripts.
> I've tried the following:
>
>
> Ralph
Three things come to mind.
1) 'script'. This program will log output, but because of buffering the
output file will not have the last output.
2) Since you mention 'cut and paste', you may well be using something like
'xterm'. If so xterm can log all output to a file.
3) 'expect', which is almost certainly the tool you want. It will even be
able to automate the cut and paste.
- Next message: juicymixx_at_mailinator.com: "Re: bash prompt stuff"
- Previous message: PM: "Re: ls all invisible/hidden files only"
- In reply to: Ralph A. Moeritz: "How to log telnet session?"
- Next in thread: Alan Connor: "Re: How to log telnet session?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|