Add %S substitutions to Compose man page

Commit 9df349a789 added support for %S
in Compose file include statements - this documents it in the Compose
file man page.

Also changes the existing substitution documentation to list format
instead of a paragraph format to allow easier adding of %S.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
This commit is contained in:
Alan Coopersmith 2010-01-14 08:28:22 -08:00
parent 94b45db930
commit 1aaa7c0358

View file

@ -56,18 +56,24 @@ instruction. This allows local modifications to be made to existing compose
files without including all of the content directly. For example, the
system's iso8859-1 compose file can be included with a line like this:
.RS 4
.BI "include \*q" __xlocaledir__/iso8859-1/Compose \*q
.BI "include \*q" %S/iso8859-1/Compose \*q
.RE
.PP
There are two substitutions that can be made in the file name of the
include instruction.
There are several substitutions that can be made in the file name of the
include instruction:
.TP 4
.I %H
expands to the user's home directory (the
.B $HOME
environment variable), and
environment variable)
.TP 4
.I %L
expands to the name of the locale specific Compose file (i.e.,
.RI \*q __xlocaledir__/<localename>/Compose \*q).
.RI \*q __xlocaledir__/<localename>/Compose \*q)
.TP 4
.I %S
expands to the name of the system directory for Compose files (i.e.,
.RI \*q __xlocaledir__ \*q)
.PP
For example, you can include in your compose file the default Compose file
by using: