Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-07-28 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (204 votes), past polls