Files
MontaukOS/programs/man/man.1
T

50 lines
1.3 KiB
Groff

.TH MAN 1
.SH NAME
man - display manual pages
.SH SYNOPSIS
.BI man topic
.BI man section topic
.SH DESCRIPTION
The man command displays manual pages from the ramdisk in a
fullscreen pager. Pages are stored as plain text files with
simple formatting directives.
If no section is specified, sections 1 through 7 are searched
in order. If a section number is given, only that section is
checked.
.SH KEY BINDINGS
.B Navigation
j, Down Arrow Scroll down one line
k, Up Arrow Scroll up one line
Space, Page Down Scroll down one page
b, Page Up Scroll up one page
g, Home Go to top
G, End Go to bottom
q Quit
.SH SECTIONS
1 User commands and programs
2 System calls (kernel interface)
3 Library functions (userspace libraries)
7 Miscellaneous (legal, conventions)
.SH FILES
Man pages are stored on the ramdisk at:
0:/man/<topic>.<section>
For example, man intro reads 0:/man/intro.1
.SH EXAMPLES
man intro View the introduction
man 2 syscalls View syscall overview (section 2)
man malloc View malloc documentation
man legal View copyright information
.SH SEE ALSO
intro(1), shell(1), syscalls(2)