in reply to Re: Wanted: humanly readable `script` output
in thread Wanted: humanly readable `script` output
Then look in typescript. You'll see what I mean. Actually, there is a semi-passable solution that does not involve perl:script ls exit
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. I had a look at Term::Cap, but I fail to understand how to use it. I feel there must be a solution because, after all, I can see the very text I want on the terminal screen -- it's all right there! -- until my buffer size is reached. Usually copy/paste with the mouse from terminal to emacs works ok, but it didn't work the other night when I was compiling a kernel -- the output exceeded my buffer size.TERM=dumb script ls exit cat typescript | col -b > readable.txt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Wanted: humanly readable `script` output
by pc88mxer (Vicar) on May 04, 2008 at 20:33 UTC | |
by mrslopenk (Acolyte) on May 04, 2008 at 20:46 UTC | |
|
Re^3: Wanted: humanly readable `script` output
by mrslopenk (Acolyte) on May 04, 2008 at 20:25 UTC | |
by loris (Hermit) on May 05, 2008 at 06:23 UTC | |
|
Re^3: Wanted: humanly readable `script` output
by ikegami (Patriarch) on May 05, 2008 at 06:40 UTC |