Re: script command question

1999-09-15 Thread Rob Browning
Mark Wagnon [EMAIL PROTECTED] writes: Cool. Thanks. I needed an example of how to get the script to receive the text to be filtered. This'll help a lot. Thanks again. You might also be interested in the filterm program from the konwert package. I came across that today and from a brief

Re: script command question

1999-09-02 Thread Mark Wagnon
On Wed 09/01/99 01:30PM, Marc Mongeon wrote: I'm trying to improve my shell programming skills anyway, so I made a first pass at a program that will strip backspaces from an input file. I stopped short of making it robust enough to handle edits that cross a newline; for example, the following

Re: script command question

1999-09-01 Thread Mark Wagnon
On Tue 08/31/99 09:46AM, Michael Stenner wrote: I use ls with color and also use a cool prompt setting in bash (see below) which does REALLY nasty things to script. If you find a clever way to keep the colors and fix the script output, I'd be happy to hear it! I'm not sure what kind of stuff

Re: script command question

1999-09-01 Thread Marc Mongeon
I'm trying to improve my shell programming skills anyway, so I made a first pass at a program that will strip backspaces from an input file. I stopped short of making it robust enough to handle edits that cross a newline; for example, the following backspaces will be left in the output: Here

script command question

1999-08-31 Thread Mark Wagnon
Hi all: I'm taking a C class this semester and my instructer want us to use the script command to verify our work: cat the program, compile it, and enter test data while scripting. The program itself is easy to use, but I get control codes embedded in the file. Things like ^G, ^H, and ^M. Has

Re: script command question

1999-08-31 Thread Brad
-BEGIN PGP SIGNED MESSAGE- On Mon, 30 Aug 1999, Mark Wagnon wrote: I'm taking a C class this semester and my instructer want us to use the script command to verify our work: cat the program, compile it, and enter test data while scripting. i'm hoping you don't have to print it all

Re: script command question

1999-08-31 Thread Mark Wagnon
On Tue 08/31/99 01:58AM, Brad wrote: i'm hoping you don't have to print it all out then... That's a huge pain, and waste of paper! (if you do, look into a2ps or mpage to put multiple pages on one sheet) Unfortunately I do, but at this stage, the programs are very short. I've been using a2ps,

Re: script command question

1999-08-31 Thread Michael Stenner
On Mon, Aug 30, 1999 at 09:17:38PM -0700, Mark Wagnon wrote: I'm taking a C class this semester and my instructer want us to use the script command to verify our work: cat the program, compile it, and enter test data while scripting. The program itself is easy to use, but I get control codes