* [9fans] Plan9 port man pages
@ 2004-05-19 0:54 Ishwar Rattan
2004-05-19 16:50 ` Lyndon Nerenberg
2004-05-19 17:00 ` William Josephson
0 siblings, 2 replies; 4+ messages in thread
From: Ishwar Rattan @ 2004-05-19 0:54 UTC (permalink / raw)
To: 9fans
System is Linux Mandrake-9.1
Just adding /usr/local/plan9/man to MANPATH only works for
man page entries that are unique to plan9 but all others
have matches in linux man pages or ones that start with a digit
(9c etc.) man command treats it as a section #.
So, what os the correct way to handle it?
-ishwar
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] Plan9 port man pages
2004-05-19 0:54 [9fans] Plan9 port man pages Ishwar Rattan
@ 2004-05-19 16:50 ` Lyndon Nerenberg
2004-05-19 17:03 ` Scott Schwartz
2004-05-19 17:00 ` William Josephson
1 sibling, 1 reply; 4+ messages in thread
From: Lyndon Nerenberg @ 2004-05-19 16:50 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> Just adding /usr/local/plan9/man to MANPATH only works for
> man page entries that are unique to plan9 but all others
> have matches in linux man pages or ones that start with a digit
> (9c etc.) man command treats it as a section #.
>
> So, what os the correct way to handle it?
cat > $HOME/bin/9man << EOF
#!/bin/sh
exec man -M /usr/local/plan9/man $*
EOF
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] Plan9 port man pages
2004-05-19 0:54 [9fans] Plan9 port man pages Ishwar Rattan
2004-05-19 16:50 ` Lyndon Nerenberg
@ 2004-05-19 17:00 ` William Josephson
1 sibling, 0 replies; 4+ messages in thread
From: William Josephson @ 2004-05-19 17:00 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Tue, May 18, 2004 at 08:54:23PM -0400, Ishwar Rattan wrote:
> Just adding /usr/local/plan9/man to MANPATH only works for
> man page entries that are unique to plan9 but all others
> have matches in linux man pages or ones that start with a digit
> (9c etc.) man command treats it as a section #.
>
> So, what os the correct way to handle it?
There's a script called 9man (or man9 if you want history
expansion to work) that looks up plan 9 man pages. It also
adds some troff magic to make the pages render better, at
least under FreeBSD. I haven't ported over the stuff I
added to my version of the Plan 9 port yet, but it brings
in lookman and friends, too. Probably not worth the effort.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] Plan9 port man pages
2004-05-19 16:50 ` Lyndon Nerenberg
@ 2004-05-19 17:03 ` Scott Schwartz
0 siblings, 0 replies; 4+ messages in thread
From: Scott Schwartz @ 2004-05-19 17:03 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
| > So, what os the correct way to handle it?
I think man should return all matching pages by default
(the -a option.) In linux you can set MANOPT=-a.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-05-19 17:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-19 0:54 [9fans] Plan9 port man pages Ishwar Rattan
2004-05-19 16:50 ` Lyndon Nerenberg
2004-05-19 17:03 ` Scott Schwartz
2004-05-19 17:00 ` William Josephson
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).