author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 17 Mar 2010 15:24:36 +0200 | |
changeset 347 | 8ae88e9dd05d |
parent 293 | 69ddc7efeb14 |
child 366 | 237b5baa819d |
permissions | -rw-r--r-- |
14 | 1 |
-*- outline -*- |
2 |
||
111
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
3 |
* Man sections. |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
4 |
|
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
5 |
1 Executable programs or shell commands. |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
6 |
2 System calls (functions provided by the kernel). |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
7 |
3 Library calls (functions within program libraries). |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
8 |
4 Special files (usually found in /dev). |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
9 |
5 File formats and conventions eg /etc/passwd. |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
10 |
6 Games. |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
11 |
7 Miscellaneous (including macro packages and conventions). |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
12 |
8 System administration commands (usually only for root). |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
13 |
|
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
14 |
* Invoking man. |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
15 |
|
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
16 |
** Search for prog, func, conf file. |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
17 |
|
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
18 |
$ man [<section>] <item> |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
19 |
|
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
20 |
** Search by specific keywords. |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
21 |
|
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
22 |
$ man -k <keywords> |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
23 |
|
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
24 |
** Throw Emacs. |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
25 |
|
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
26 |
M-x man RET [<section>] <item> |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
27 |
|
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
28 |
M-x man RET -k SPACE <keywords> |
3bd7637e1f68
Update doc about man.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
14
diff
changeset
|
29 |
|
14 | 30 |
* Sections order. |
31 |
||
32 |
NAME - brief prog description |
|
33 |
SYNOPSIS (USAGE) - command line options in BNF |
|
34 |
DESCRIPTION - long prog description |
|
35 |
OPTIONS - long option descriptions |
|
36 |
... misc sections ... |
|
37 |
EXAMPLES |
|
38 |
EXIT STATUS |
|
39 |
ENVIRONMENT |
|
40 |
AVAILABILITY - whare search source, where home page |
|
41 |
FILES - list of files that has effect on program working |
|
42 |
AUTHORS |
|
43 |
COPYRIGHT |
|
44 |
SEE ALSO |
|
45 |
BUGS - know issue, how report bug |
|
46 |
HISTORY |
|
47 |
||
293 | 48 |
* Man page showing. |
49 |
||
50 |
TODO |
|
51 |
Bolt by print char, back one char and print same char. |
|
52 |
Underscore by printing undescore, back one char and print char. |