diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-08-09 12:49:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-08-09 12:49:04 +0000 |
commit | 81f15bc561ffaad5b45de87b0e8c25e6070c2930 (patch) | |
tree | 21d323e708420a3b2c566b2fc2e031cecfcf6401 | |
parent | 7b008767fddd66f8809d11828d6e6fe115c44dac (diff) | |
download | mandoc-81f15bc561ffaad5b45de87b0e8c25e6070c2930.tar.gz |
Explain how to transform markup for the terminal when not using a
pager, and how to remove markup. Add related cross references.
While here, as suggested by jmc@, replace the excessive cross
references to the intro pages by a more relevant one to mandoc(1).
Triggered by a question from, using feedback from, and OK jmc@.
-rw-r--r-- | man.1 | 26 |
1 files changed, 16 insertions, 10 deletions
@@ -78,6 +78,18 @@ Copy the manual page to the standard output instead of using .Xr more 1 to paginate it. This is done by default if the standard output is not a terminal device. +.Pp +When using +.Fl c , +most terminal devices are unable to show the markup. +To print the output of +.Nm +to the terminal with markup but without using a pager, pipe it to +.Xr ul 1 . +To remove the markup, pipe the output to +.Xr col 1 +.Fl b +instead. .It Fl f A synonym for .Xr whatis 1 . @@ -303,18 +315,12 @@ See for details. .Sh SEE ALSO .Xr apropos 1 , -.Xr intro 1 , +.Xr col 1 , +.Xr mandoc 1 , +.Xr ul 1 , .Xr whereis 1 , -.Xr intro 2 , -.Xr intro 3 , -.Xr intro 4 , -.Xr intro 5 , .Xr man.conf 5 , -.Xr intro 6 , -.Xr intro 7 , -.Xr mdoc 7 , -.Xr intro 8 , -.Xr intro 9 +.Xr mdoc 7 .Sh STANDARDS The .Nm |