From 8911721efbf3b3721376e2baa30bae002c2975c2 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Mon, 15 Jan 2007 21:04:26 +0000 Subject: 20070115 --- man/1/emu | 22 +++++++++++++++++++++- man/1/man | 39 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 59 insertions(+), 2 deletions(-) (limited to 'man/1') diff --git a/man/1/emu b/man/1/emu index 8f0e794d..54451ee5 100644 --- a/man/1/emu +++ b/man/1/emu @@ -119,7 +119,7 @@ will serve as its root. The default value is .B /usr/inferno on most systems, but -.BR \eusers\einferno +.BR \einferno on Windows. .TP .B \-s @@ -180,6 +180,26 @@ Print version data: edition and revision date. Options may also be set in the host operating system's environment variable .BR EMU ; they are overridden by options supplied on the command line. +.PP +.I Emu +finds the host system directory that will serve as its Inferno root directory +as the last value found as follows: +it is the value built-in to the executable, by default; or +the value of the host system's environment variable +.BR INFERNO ; +or the value of the environment variable +.BR ROOT ; +or the value of a +.B -r +option in the environment variable +.BR EMU ; +or the +.I rootpath +set by a +.B -r +option to the +.I emu +command itself. .SH EXAMPLE To start .B wm/logon diff --git a/man/1/man b/man/1/man index f9138900..4c25f40c 100644 --- a/man/1/man +++ b/man/1/man @@ -5,6 +5,17 @@ print or find manual pages .SH SYNOPSIS .B man [ +.B -b +] [ +.B -n +] [ +.B -p +] [ +.B -S +] [ +.B -w +] +[ .I section ... ] .I title ... @@ -81,6 +92,30 @@ some detail is lost in conversion to plain text. displays the pages in a graphical Wm window, providing a more faithful reproduction of the intended layout. .PP +.I Man +also accepts the following options: +.TP +.B -b +Print the pages and send them to +.IR plumber (1) +for display in an editor. +.TP +.B -n +Use +.I man2txt +to format the pages (default). +.TP +.B -p +Display the pages using +.IR wm/man . +.TP +.B -S +Do not search the manual indices for the names: only print pages whose file names match the +.IR titles . +.TP +.B -w +Print the names of the man page source files instead of formatting them. +.PP .I Man2html converts .B "troff -man" @@ -151,7 +186,9 @@ index. .SH SOURCE .B /appl/wm/man.b .br -.B /appl/cmd/man.b +.B /dis/man +.IR sh (1) +script .br .B /appl/cmd/man2txt.b .br -- cgit v1.2.3