Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^3: Wanted: humanly readable `script` output

by ikegami (Pope)
on May 05, 2008 at 06:40 UTC ( #684555=note: print w/replies, xml ) Need Help??

in reply to Re^2: Wanted: humanly readable `script` output
in thread Wanted: humanly readable `script` output

This seems to work as long as all the commands you type after script work on a dumb terminal. I was just wondering if perl had a more robust solution

How could removing terminal-specific control sequences be any more robust than not having them in the first place?

The next best solution would be to have some program which process's your terminal's control sequences to generated a flat file. However, emulating a devices is rather complex and error-prone (hardly robust), and you'll have to make some concession or another in order to handle text being overwritten.

  • Comment on Re^3: Wanted: humanly readable `script` output

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://684555]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2016-10-28 19:54 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.