From: Giacomo Tesio <giacomo@tesio.it>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>,
9front@9front.org
Subject: Re: [9fans] unexpected tabs in man pages after font change
Date: Thu, 5 Mar 2015 01:02:46 +0100 [thread overview]
Message-ID: <CAHL7psETK_KjbGaupWwkHpLL9aZuUiFWOhz9UB1LR4W=pF4mYA@mail.gmail.com> (raw)
In-Reply-To: <CAHL7psF5PCDpS_M9u2hztErKb0HaOskya5FUAVid59Ot57iXzw@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 679 bytes --]
Hi, I've finally fixed the issue by adding the following line at the
beginning /rc/bin/man
fn col { builtin col -x $* }
Turn out that that the culprit was not troff, but col(1) that man uses as a
post processor.
Attached you can compare the versions with and without the fix.
This fix should works with any non-monospaced font.
Giacomo
2015-03-05 0:09 GMT+01:00 Giacomo Tesio <giacomo@tesio.it>:
> Well, while a bit offtopic... what do you mean by "programmatically".
>
> And btw, programs don't write man pages... yet.
>
>
> Giacomo
>
> 2015-03-04 23:39 GMT+01:00 Stanley Lieber <sl@9front.org>:
> > troff is great. easy to maintain programmatically.
> >
> > sl
> >
>
[-- Attachment #1.2: Type: text/html, Size: 1412 bytes --]
[-- Attachment #2: fix-man.png --]
[-- Type: image/png, Size: 110855 bytes --]
parent reply other threads:[~2015-03-05 0:02 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CAHL7psF5PCDpS_M9u2hztErKb0HaOskya5FUAVid59Ot57iXzw@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHL7psETK_KjbGaupWwkHpLL9aZuUiFWOhz9UB1LR4W=pF4mYA@mail.gmail.com' \
--to=giacomo@tesio.it \
--cc=9fans@9fans.net \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).