in reply to Perl::Expect - DataTrack Escape Sequence

If I were trying to solve this, I would use strace(1) or truss(1) to see what tip is reading when it works and when it doesn't, and figure out how it's different between the two. Maybe it requires a short pause between the two, or requires them to be in two different read statements, or something; see what pattern of reads you get when it works, then dink with your program until you can get it to do the same thing.
  • Comment on Re: Perl::Expect - DataTrack Escape Sequence

Replies are listed 'Best First'.
Re: Re: Perl::Expect - DataTrack Escape Sequence
by set_uk (Pilgrim) on Oct 31, 2003 at 00:14 UTC
    I need some help on that one. I know how to truss a process which doesn't require input - but for the manual trace where I can disconnect how do I set that truss up to trace and allow me to enter input?
      Start it up in one window, get the PID, and then use truss -fp in another window.
        doh - should have worked that one out myself

        thanks