Re: Linux Man = DOS Text
Tomas == Tomas Petersson [EMAIL PROTECTED] writes: Tomas Hello, how can I convert man pages to DOS-text so I can Tomas print them from my NT. If I just pipe to a file I get a Tomas lot of unwanted characters, is there a utiliy for this? There's a nifty utility called 'col' which was designed just for that. Try piping the output from 'man' to 'col -b' before saving it, like: man man | col -b man.txt Of course, 'man col' is somthing you'll want to do. :{) -- Benoit Goudreault-Emond Reply to: [EMAIL PROTECTED] PGP public key fingerprint: 11 43 A9 04 7C 11 41 44 5F FC 69 B1 B6 0A ED 78 E-mail me to receive the actual public key. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Linux Man = DOS Text
Hello, how can I convert man pages to DOS-text so I can print them from my NT. If I just pipe to a file I get a lot of unwanted characters, is there a utiliy for this? /Tomas Petersson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Linux Man = DOS Text
Tomas Petersson wrote: Hello, how can I convert man pages to DOS-text so I can print them from my NT. If I just pipe to a file I get a lot of unwanted characters, is there a utiliy for this? You can turn a manual into a postscript file with the -t option: man -t ls ls.ps gives you a postscript file with a nicely formatted copy of the ls man page. If you printer doesn't understand postscript, you can use gs to convert to your printer's native format, e.g. man -t ls | gs -q -sDEVICE=laserjet -dSAFER -dNOPAUSE -sOutputFile=ls.prn - (dont't forget the trailing '-'). This should give you a file `ls.prn' that can be printed on a laserjet. Eric Meijer -- E.L. Meijer ([EMAIL PROTECTED]) | tel. office +31 40 2472189 Eindhoven Univ. of Technology | tel. lab. +31 40 2475032 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax+31 40 2455054 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: Linux Man = DOS Text
On 03-Jun-98 Tomas Petersson wrote: Hello, how can I convert man pages to DOS-text so I can print them from my NT. If I just pipe to a file I get a lot of unwanted characters, is there a utiliy for this? man whatever | col -b filename will output the man page for whatever as very plain text and place in filename. Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Date: 03-Jun-98 Time: 13:39:43 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]