Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
Ratazong takes a cookie from the platter on the sideboard.
Ratazong adds shortbread cookies to the platter on the sideboard.
[Lady_Aleena]: Hi Ratazong.
[Ratazong]: Hi Lady Aleena
Ratazong just learned about free cookies ;-)
shmem rolls a barrel of beer into the refectorium at the request of jedikaiti

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2017-04-26 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (471 votes). Check out past polls.