Re: How to log telnet session?

From: Icarus Sparry (usenet_at_icarus.freeuk.com)
Date: 07/13/05


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.



Relevant Pages

  • Re: Modifying page output using Session data?
    ... based on a memory stream to the base.Render method. ... with accessing the session either. ... I must be able to manipulate ... >If I can only manipulate the page in a filter, that would be OK, as long ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Modifying page output using Session data?
    ... > with accessing the session either. ... I must be able to manipulate ... >>If I can only manipulate the page in a filter, that would be OK, as long ... which is before the response filters ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to log telnet session?
    ... > I would like to run a telnet session, ... I want to manipulate the contents of the ... When you have taken care of basics like using a real newsreader, ... Google is for reading the Archives. ...
    (comp.unix.shell)
  • How to log telnet session?
    ... I would like to run a telnet session, ... I want to manipulate the contents of the ... session log with a text editor while the session is still ... manipulated by shell scripts. ...
    (comp.unix.shell)
  • Modifying page output using Session data?
    ... I must have access to the Session ... I must be able to manipulate ... If I can only manipulate the page in a filter, that would be OK, as long ... which is before the response filters ...
    (microsoft.public.dotnet.framework.aspnet)