(Malcolm Dew-Jones) wrote:
> Alexander Newald () wrote:
> : Hello,
>
> : is their any way to access a screen session and output the content of the
> : session with perl.
>
> : In addition I wonder if it is possible to send back an input to the screen
> : session making a perl program be "interactive" with the screen.
>
> Could `expect' do anything useful in this situation?
>
> Perl has an expect module, (it might be called Expect.pm or such like).
Even if it doesn't, the standard answer to this sort of question is
'use a pty'. This Is Nothing To Do With Perl

.
Ben
--
We do not stop playing because we grow old;
we grow old because we stop playing.