[lemay -at- slack -dot- lne -dot- com: Re: Bold text in man pages]

Subject: [lemay -at- slack -dot- lne -dot- com: Re: Bold text in man pages]
From: Laura Lemay <lemay -at- lne -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Mon, 14 Apr 2003 18:20:54 -0700

> Anyone know why words in bold text print out with duplicate characters
> when the man page is exported to a text file, and what can be done about
> it?
> For example when I do "man ssh > ssh.txt" and open the file in BBEdit or
> TextEdit (Mac OS X) bold words come out as "NNAAMMEE",

"man ssh" doesn't produce text. It produces terminal output. That
output includes control characters to produce boldface in a terminal
emulator. Its duplicate characters to you, I guess; it looks just
fine to me. :)

The command you're looking for is "nroff -man ssh" That'll give you
plain text.

I knew writing man pages 400 years ago would come in handy someday

Purchase RoboHelp X3 in April and receive a $100 mail-in
rebate, plus FREE RoboScreenCapture and WebHelp Merge Module.
Order here: http://www.ehelp.com/techwr-l/

Help celebrate TECHWR-L's 10th Anniversary starting this month!
Check out the contests at http://www.raycomm.com/techwhirl/special/contests/
Happy birthday to you, happy birthday to you, happy birthday TECHWR-L....

You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.

Previous by Author: Re: Slightly off-topic but, I hope, not unwelcome
Next by Author: new blood
Previous by Thread: RE: certification
Next by Thread: RE: Bold text in man pages

What this post helpful? Share it with friends and colleagues:

Sponsored Ads

Sponsored Ads