Thanks to Thomas Köhler, Dan Mahoney and Jan Thomas Moldung! You've all
given me some good ideas. Maybe I should explain in more detail what it
is I am working on.
I am the system manager for a growing number of UNIX servers, and
instead of having ever more terminals in the serverroom, I want
ls" output and allows to
screen -r foobar
to find the correct screen session for the host you are looking
for?
> > What I want to achieve is the following:
> >
> > 1: I want to turn on logging in screen, but not until after
> > minicom's expect script ha
I want to turn on logging in screen, but not until after minicom's
expect script has run - otherwise the server's output seems to get
caught in the screen log and not in the expect script. I have tried to
achieve this by getting the script to send a "^A:", but this just go
;
> Minicom runs an initialisation script through 'expect' - the script captures
> the log on prompt from the server at the other end, extracts the server name
> and saves in a file; I use this to correlate
> the screen sessions with server names.
>
> What I want to
prompt from the server at the other end, extracts
the server name and saves in a file; I use this to correlate the screen
sessions with server names.
What I want to achieve is the following:
1: I want to turn on logging in screen, but not until after minicom's
expect script has run - ot