147 lines
3.9 KiB
HTML
147 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="MontaukOS manual page: man(1) - display manual pages">
|
|
<title>man(1) - MontaukOS Manual</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
font-family: 'Open Sans', Arial, sans-serif;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 1em;
|
|
line-height: 1.5;
|
|
display: flex;
|
|
gap: 2em;
|
|
}
|
|
p { margin: 0 0 0.5em; }
|
|
h2 { margin: 0.5em 0; }
|
|
.sidebar {
|
|
width: 160px;
|
|
flex-shrink: 0;
|
|
}
|
|
.sidebar ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
.sidebar li {
|
|
margin: 0.5em 0;
|
|
}
|
|
.sidebar a {
|
|
color: #0066CC;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
.sidebar a:hover {
|
|
color: #004499;
|
|
text-decoration: underline;
|
|
}
|
|
.sidebar .current {
|
|
color: #004499;
|
|
}
|
|
.sidebar hr {
|
|
border: none;
|
|
border-top: 1px solid #999;
|
|
margin: 0.75em 0;
|
|
}
|
|
.main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
a { color: #0000EE; }
|
|
a:visited { color: #0066CC; }
|
|
hr { border-style: solid; border-width: 1px 0 0 0; border-color: #999; }
|
|
pre { background: #f0f0f0; padding: 0.5em; overflow-x: auto; }
|
|
code { background: #f0f0f0; padding: 0 0.15em; }
|
|
pre code { padding: 0; }
|
|
.center { text-align: center; }
|
|
.box {
|
|
border: 1px solid #999;
|
|
padding: 0.5em;
|
|
margin: 0.5em 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="sidebar">
|
|
<ul>
|
|
<li><a href="../../index.html">Home</a></li>
|
|
<li><a href="../index.html">Documentation</a></li>
|
|
</ul>
|
|
<hr>
|
|
<ul>
|
|
<li><a href="index.html" class="current">Man Pages</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="main">
|
|
<div class="center">
|
|
<h1>man(1)</h1>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<pre><code><strong>NAME</strong>
|
|
man - display manual pages
|
|
|
|
<strong>SYNOPSIS</strong>
|
|
<strong> man topic</strong>
|
|
<strong> man section topic</strong>
|
|
|
|
<strong>DESCRIPTION</strong>
|
|
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.
|
|
|
|
<strong>KEY BINDINGS</strong>
|
|
|
|
<strong>Navigation</strong>
|
|
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
|
|
|
|
<strong>SECTIONS</strong>
|
|
1 User commands and programs
|
|
2 System calls (kernel interface)
|
|
3 Library functions (userspace libraries)
|
|
7 Miscellaneous (legal, conventions)
|
|
|
|
<strong>FILES</strong>
|
|
Man pages are stored on the ramdisk at:
|
|
|
|
0:/man/<topic>.<section>
|
|
|
|
For example, man intro reads 0:/man/intro.1
|
|
|
|
<strong>EXAMPLES</strong>
|
|
man intro View the introduction
|
|
man 2 syscalls View syscall overview (section 2)
|
|
man malloc View malloc documentation
|
|
man legal View copyright information
|
|
|
|
<strong>SEE ALSO</strong>
|
|
intro(1), shell(1), syscalls(2)</code></pre>
|
|
|
|
<hr>
|
|
|
|
<div class="center">
|
|
<a href="../index.html">Back to Documentation Index</a>
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|