9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] unexpected tabs in man pages after font change
@ 2015-03-04 16:13 Giacomo Tesio
  2015-03-04 17:11 ` Giacomo Tesio
  2015-03-04 21:31 ` Aram Hăvărneanu
  0 siblings, 2 replies; 12+ messages in thread
From: Giacomo Tesio @ 2015-03-04 16:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


[-- Attachment #1.1: Type: text/plain, Size: 477 bytes --]

Hi, I've just installed a compact sans font (from
http://input.fontbureau.com/ ) and manual pages started to look broken.

As you can see in the screenshot (man 2 control), there are white spaces
that looks like tabs in the middle of the text with apparently no reason.
Even in the troff source (why the hell we still use troff for manual pages?
:-D) I can see no command that explain this behaviour.

Any tip to fix them?


Giacomo

[image: Immagine in linea 1]

[-- Attachment #1.2: Type: text/html, Size: 719 bytes --]

[-- Attachment #2: unexpected-man-tabs.png --]
[-- Type: image/png, Size: 42340 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [9fans] unexpected tabs in man pages after font change
@ 2015-03-04 23:56 sl
  2015-03-05  0:17 ` Giacomo Tesio
  2015-03-05 14:10 ` erik quanstrom
  0 siblings, 2 replies; 12+ messages in thread
From: sl @ 2015-03-04 23:56 UTC (permalink / raw)
  To: 9fans

> Well, while a bit offtopic... what do you mean by "programmatically".

Programmatically = using a program.

If you arrange your troff sources in a thoughtful way, you can perform
changes using scripts or other programs without needing to stare at each
line of source individually. (I realize that not all man pages conform
to such a style). For example, changing all instances of bold text to
italic, without needing to hand-edit each instance manually. This is
the opposite of "what you see is all you get."


> And btw, programs don't write man pages... yet.

Are you familiar with the conventions that power godoc?

sl



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-03-05 15:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-04 16:13 [9fans] unexpected tabs in man pages after font change Giacomo Tesio
2015-03-04 17:11 ` Giacomo Tesio
2015-03-05 14:15   ` erik quanstrom
2015-03-05 15:22     ` Giacomo Tesio
2015-03-04 21:31 ` Aram Hăvărneanu
2015-03-04 22:29   ` Giacomo Tesio
2015-03-04 22:39     ` Stanley Lieber
2015-03-04 23:09       ` Giacomo Tesio
2015-03-05  0:02         ` Giacomo Tesio
2015-03-04 23:56 sl
2015-03-05  0:17 ` Giacomo Tesio
2015-03-05 14:10 ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).