summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/texinfo
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-03-10 15:04:46 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-03-10 15:04:46 +0000
commit5ce45bfdc3680a8c288b7cd4196859cd4303eadd (patch)
tree24bde079d824a8ef2911749a86b8457006ab951e /gnu/usr.bin/texinfo
parenta202a756655cd0dc936513f75b946f4f680cb6ae (diff)
various formatting fixes;
Diffstat (limited to 'gnu/usr.bin/texinfo')
-rw-r--r--gnu/usr.bin/texinfo/doc/infokey.1104
1 files changed, 54 insertions, 50 deletions
diff --git a/gnu/usr.bin/texinfo/doc/infokey.1 b/gnu/usr.bin/texinfo/doc/infokey.1
index 38d2d56ca86..6a9e9f27b14 100644
--- a/gnu/usr.bin/texinfo/doc/infokey.1
+++ b/gnu/usr.bin/texinfo/doc/infokey.1
@@ -38,7 +38,7 @@ containing
customizations into a binary format
.Po Pa $HOME/.info
by default
-.Pc .
+.Pc .
.Xr info 1
reads the binary file at startup to override the
default key bindings and variable definitions.
@@ -65,26 +65,25 @@ source file suitable for aficionados of
.Xr vi 1
or
.Xr less 1 :
-.Pp
.Bd -literal -offset indent
#info
j next-line
k prev-line
l forward-char
h backward-char
-\\kd next-line
-\\ku prev-line
-\\kr forward-char
-\\kl backward-char
-\\ scroll-forward
-\\kD scroll-forward-page-only
+\ekd next-line
+\eku prev-line
+\ekr forward-char
+\ekl backward-char
+\e scroll-forward
+\ekD scroll-forward-page-only
b scroll-backward
-\\kU scroll-backward-page-only
+\ekU scroll-backward-page-only
g beginning-of-node
-\\kh beginning-of-node
+\ekh beginning-of-node
G end-of-node
-\\ke end-of-node
-\\t select-reference-this-line
+\eke end-of-node
+\et select-reference-this-line
- history-node
n next-node
p prev-node
@@ -98,7 +97,6 @@ scroll-step=1
The source file consists of one or more "sections".
Each section starts with a line that identifies the type of section.
Possible sections are:
-.Pp
.Bl -tag -width Ds
.It #info
Key bindings for
@@ -109,9 +107,10 @@ by itself.
If this is the first section in the source file,
the `#info' line can be omitted.
The rest of this section consists of lines of the form:
-
- STRING whitespace ACTION [ whitespace [ # comment ] ] newline
-
+.Bd -literal -offset 3n
+STRING whitespace ACTION [ whitespace [ # comment ] ] newline
+.Ed
+.Pp
Whitespace is any sequence of one or more spaces and/or tabs.
Comment is any sequence of any characters, excluding newline.
.Pp
@@ -123,42 +122,44 @@ The characters in STRING are interpreted literally or prefixed by a
caret (`^') to indicate a control character.
A backslash followed by certain characters specifies input keystrokes
as follows:
-.Pp
-`\\b' Backspace
-.Pp
-`\\e' Escape (ESC)
-.Pp
-`\\n' Newline
-.Pp
-`\\r' Return
-.Pp
-`\\t' Tab
-.Pp
-`\\ku' Up arrow
-.Pp
-`\\kd' Down arrow
-.Pp
-`\\kl' Left arrow
.Pp
-`\\kr' Right arrow
-.Pp
-`\\kU' Page Up
-.Pp
-`\\kD' Page Down
-.Pp
-`\\kh' HOME
-.Pp
-`\\ke' END
-.Pp
-`\\kx' Delete (DEL)
-.Pp
-`\\mX' Meta-X where X is any character as described above.
+.Bl -tag -width Ds -offset indent -compact
+.It \eb
+Backspace
+.It \ee
+Escape (ESC)
+.It \en
+Newline
+.It \er
+Return
+.It \et
+Tab
+.It \eku
+Up arrow
+.It \ekd
+Down arrow
+.It \ekl
+Left arrow
+.It \ekr
+Right arrow
+.It \ekU
+Page Up
+.It \ekD
+Page Down
+.It \ekh
+HOME
+.It \eke
+END
+.It \ekx
+Delete (DEL)
+.It \emX
+Meta-X, where X is any character as described above
+.El
.Pp
Backslash followed by any other character indicates that character
is to be taken literally.
Characters which must be preceded by a backslash include
caret, space, tab, and backslash itself.
-.Pp
.It #echo-area
Key bindings for the echo area.
The start of this section is indicated by a line containing just
@@ -167,7 +168,6 @@ The rest of this section has a syntax identical to that for the key
definitions for the
.Xr info 1
area, described above.
-.Pp
.It #var
Variable initializations.
The start of this section is indicated by a line containing just `#var'
@@ -197,7 +197,7 @@ default key bindings can be disabled by adding this line
.Em anywhere
in the relevant section:
.Pp
- #stop
+.Dl #stop
.Pp
This will cause
.Xr info 1
@@ -217,8 +217,12 @@ file is not important, except that the command summary produced by the
.Em first
key that is bound to each command.
.Sh FILES
-$HOME/.infokey Default souce file for customizations.
-$HOME/.info Default binary file for customizations.
+.Bl -tag -width "$HOME/.infokeyXX" -compact
+.It $HOME/.infokey
+Default souce file for customizations.
+.It $HOME/.info
+Default binary file for customizations.
+.El
.Sh SEE ALSO
.Xr info 1
.Sh BUGS