From 1ce284ecb0ad3663be1bd69f2d980946ba8db5e9 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 15 Jun 2007 19:55:07 +0000 Subject: [PATCH] Reformatted headings --- man4/sk98lin.4 | 2 +- man5/charmap.5 | 6 +++--- man5/ftpusers.5 | 2 +- man7/charsets.7 | 20 ++++++++++---------- man7/glob.7 | 18 ++++++++++++------ man7/mq_overview.7 | 2 +- 6 files changed, 28 insertions(+), 22 deletions(-) diff --git a/man4/sk98lin.4 b/man4/sk98lin.4 index 57c418b9d..d2db892a4 100644 --- a/man4/sk98lin.4 +++ b/man4/sk98lin.4 @@ -158,7 +158,7 @@ which can be found on the Internet: Note that Marvell/SysKonnect does not offer any support for these open source modules and does not take the responsibility for any kind of failures or problems arising when using these modules. -.SH PARAMETERS +.SS Parameters .TP .BI Speed_A= i,j,... This parameter is used to set the speed capabilities of port A of an diff --git a/man5/charmap.5 b/man5/charmap.5 index ff23b955f..2f0fdf609 100644 --- a/man5/charmap.5 +++ b/man5/charmap.5 @@ -33,7 +33,7 @@ as a proper subset. .\" .I /usr/lib/nls/charmap/POSIX .\" .I /usr/share/i18n/charmap/POSIX .\" for reference purposes. -.SH SYNTAX +.SS Syntax The charmap file starts with a header, that may consist of the following keywords: .TP @@ -88,7 +88,7 @@ multibyte-characters, which are currently not implemented. .PP The last line in a charmap-definition file must contain .B END CHARMAP. -.SH "SYMBOLIC NAMES" +.SS "Symbolic Names" A .B symbolic name for a character contains only characters of the @@ -101,7 +101,7 @@ are interpreted as itself; for example, the sequence represents the symbolic name .B '\\\\>' enclosed in angle brackets. -.SH "CHARACTER ENCODING" +.SS "Character Encoding" The encoding may be in each of the following three forms: .TP diff --git a/man5/ftpusers.5 b/man5/ftpusers.5 index b704d62d6..b8bdb0891 100644 --- a/man5/ftpusers.5 +++ b/man5/ftpusers.5 @@ -36,7 +36,7 @@ block access for certain users. Washington University FTP server Daemon (wuftpd) and Professional FTP Daemon (proftpd) are known to make use of .BR ftpusers . -.SH FORMAT +.SS Format The format of .B ftpusers is very simple. diff --git a/man7/charsets.7 b/man7/charsets.7 index 209b8e3f3..12d2db857 100644 --- a/man7/charsets.7 +++ b/man7/charsets.7 @@ -35,7 +35,7 @@ A complete list of charsets used in a officially supported locale in glibc KOI8-{R,U}, GB2312, GB18030, GBK, BIG5, BIG5-HKSCS and TIS-620 (in no particular order.) (Romanian may be switching to ISO-8859-16.) -.SH ASCII +.SS ASCII ASCII (American Standard Code For Information Interchange) is the original 7-bit character set, originally designed for American English. It is currently described by the ECMA-6 standard. @@ -50,7 +50,7 @@ relative of ASCII that permitted replacing these characters.) .LP As Linux was written for hardware designed in the US, it natively supports ASCII. -.SH ISO 8859 +.SS ISO 8859 ISO 8859 is a series of 15 8-bit character sets all of which have US ASCII in their low (7-bit) half, invisible control characters in positions 128 to 159, and 96 fixed-width graphics in positions 160-255. @@ -153,7 +153,7 @@ Latin-1. 8859-16 (Latin-10) This set covers many of the languages covered by 8859-2, and supports Romanian more completely then that set does. -.SH KOI8-R +.SS KOI8-R KOI8-R is a non-ISO character set popular in Russia. The lower half is US ASCII; the upper is a Cyrillic character set somewhat better @@ -168,7 +168,7 @@ utilities that modify keyboard bindings and the EGA graphics table, and employ the "user mapping" font table in the console driver. .\" Thanks to Tomohiro KUBOTA for the following sections about .\" national standards. -.SH JIS X 0208 +.SS JIS X 0208 JIS X 0208 is a Japanese national standard character set. Though there are some more Japanese national standard character sets (like JIS X 0201, JIS X 0212, and JIS X 0213), this is the most important one. @@ -185,7 +185,7 @@ and includes US ASCII and JIS X 0208. In EUC-JP, JIS X 0208 characters are expressed in two bytes, each of which is the JIS X 0208 code plus 0x80. -.SH KS X 1001 +.SS KS X 1001 KS X 1001 is a Korean national standard character set. Just as JIS X 0208, characters are mapped into a 94x94 two-byte matrix. @@ -194,7 +194,7 @@ to construct encodings such as EUC-KR, Johab, and ISO-2022-KR. EUC-KR is the most important encoding for Linux and includes US ASCII and KS X 1001. KS C 5601 is an older name for KS X 1001. -.SH GB 2312 +.SS GB 2312 GB 2312 is a mainland Chinese national standard character set used to express simplified Chinese. Just like JIS X 0208, characters are @@ -203,7 +203,7 @@ EUC-CN is the most important encoding for Linux and includes US ASCII and GB 2312. Note that EUC-CN is often called as GB, GB 2312, or CN-GB. -.SH Big5 +.SS Big5 Big5 is a popular character set in Taiwan to express traditional Chinese. (Big5 is both a character set and an encoding.) @@ -212,14 +212,14 @@ Non-ASCII characters are expressed in two bytes. Bytes 0xa1-0xfe are used as leading bytes for two-byte characters. Big5 and its extension is widely used in Taiwan and Hong Kong. It is not ISO 2022-compliant. -.SH TIS 620 +.SS TIS 620 TIS 620 is a Thai national standard character set and a superset of US ASCII. Like ISO 8859 series, Thai characters are mapped into 0xa1-0xfe. TIS 620 is the only commonly used character set under Linux besides UTF-8 to have combining characters. -.SH UNICODE +.SS UNICODE Unicode (ISO 10646) is a standard which aims to unambiguously represent every character in every human language. Unicode's structure permits 20.1 bits to encode every character. @@ -292,7 +292,7 @@ At the current time, the console driver does not handle combining characters. So Thai, Sioux and any other script needing combining characters can't be handled on the console. -.SH "ISO 2022 AND ISO 4873" +.SS "ISO 2022 and ISO 4873" The ISO 2022 and 4873 standards describe a font-control model based on VT100 practice. This model is (partially) supported diff --git a/man7/glob.7 b/man7/glob.7 index 29a701b70..16f79fb13 100644 --- a/man7/glob.7 +++ b/man7/glob.7 @@ -36,7 +36,7 @@ These days there is also a library routine that will perform this function for a user program. The rules are as follows (POSIX.2, 3.13). -.SH "WILDCARD MATCHING" +.SS "Wildcard Matching" A string is a wildcard pattern if it contains one of the characters `?', `*' or `['. Globbing is the operation @@ -48,7 +48,9 @@ A `?' (not between brackets) matches any single character. A `*' (not between brackets) matches any string, including the empty string. -.SS "Character classes" +.PP +.B "Character classes" +.sp An expression `[...]' where the first character after the leading `[' is not an `!' matches a single character, namely any of the characters enclosed by the brackets. @@ -56,7 +58,9 @@ The string enclosed by the brackets cannot be empty; therefore `]' can be allowed between the brackets, provided that it is the first character. (Thus, `[][!]' matches the three characters `[', `]' and `!'.) -.SS Ranges +.PP +.B Ranges +.sp There is one special convention: two characters separated by `\-' denote a range. (Thus, `[A\-Fa\-f0\-9]' is equivalent to `[ABCDEFabcdef0123456789]'.) @@ -65,7 +69,9 @@ first or last character between the brackets. (Thus, `[]\-]' matches just the two characters `]' and `\-', and `[\-\-0]' matches the three characters `\-', `.', `0', since `/' cannot be matched.) -.SS Complementation +.PP +.B Complementation +.sp An expression `[!...]' matches a single character, namely any character that is not matched by the expression obtained by removing the first `!' from it. @@ -76,7 +82,7 @@ preceding them by a backslash, or, in case this is part of a shell command line, enclosing them in quotes. Between brackets these characters stand for themselves. Thus, `[[?*\e]' matches the four characters `[', `?', `*' and `\e'. -.SH PATHNAMES +.SS Pathnames Globbing is applied on each of the components of a pathname separately. A `/' in a pathname cannot be matched by a `?' or `*' @@ -87,7 +93,7 @@ explicit `/' character; this would lead to a syntax error. If a filename starts with a `.', this character must be matched explicitly. (Thus, `rm *' will not remove .profile, and `tar c *' will not archive all your files; `tar c .' is better.) -.SH "EMPTY LISTS" +.SS "Empty Lists" The nice and simple rule given above: `expand a wildcard pattern into the list of matching pathnames' was the original Unix definition. diff --git a/man7/mq_overview.7 b/man7/mq_overview.7 index 2b57ee20b..a4bb4e64e 100644 --- a/man7/mq_overview.7 +++ b/man7/mq_overview.7 @@ -86,7 +86,7 @@ an implementation to support priorities in the range 0 to 31; some implementations only provide this range. .PP The remainder of this section describes some specific details -of the Linux implementation of message queues. +of the Linux implementation of POSIX message queues. .SS Library interfaces and system calls In most cases the .B mq_*()