Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'how to change the font with "man -t"' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
how to change the font with "man -t"
Authored by: mjd3566 on May 17, '11 08:13:13AM
I really like this hint, but I was wondering if there is a way to make the font fixed width?

I am using a combination of what neslob and bglnelissen suggested, and I tried piping it through textutil to change the font, but then nothing happened at all (Preview opened, but nothing else):

function pman () {
      man -t "$1" | textutil -stdin -stdout -font "Courier New" | open -f -a preview
}

Am I doing something wrong? Or should I just not bother?

[ Reply to This | # ]
how to change the font with "man -t"
Authored by: jecwobble on May 18, '11 01:42:05PM

The output from man is PostScript. Textutil will be transforming the text of that PostScript, not setting any PostScript font settings.



[ Reply to This | # ]