summaryrefslogtreecommitdiffstats
path: root/man/man7/keyboard.7
diff options
context:
space:
mode:
authorDmitri Vereshchagin <dmitri.vereshchagin@gmail.com>2024-01-31 20:47:13 +0300
committerDan Cross <crossd@gmail.com>2025-07-27 09:58:50 -0400
commit10564b11755ff2d48d0f5073c46571e806fa6fb4 (patch)
tree229252742051d83558fff2352642d0f57ba66615 /man/man7/keyboard.7
parent00446db7d8fdb3ea56fa104643b34823960f7be2 (diff)
downloadplan9port-10564b11755ff2d48d0f5073c46571e806fa6fb4.tar.gz
plan9port-10564b11755ff2d48d0f5073c46571e806fa6fb4.zip
tmac/tmac.an: define .MR in a groff compatible way
groff 1.23.0 added .MR to its -man macro package. The NEWS file states that the inclusion of the macro "was prompted by its introduction to Plan 9 from User Space's troff in August 2020." From d32deab it seems that the name for Plan 9 from User Space's implementation was suggested by groff maintainer G. Brandon Robinson. Not sure if the intention was to make these definitions compatible, but it would be nice if they were. Currently, Plan 9 from User Space's .MR expects its second argument to be parenthesized. groff's .MR does not. This results in extra parentheses appearing in manual references when viewing Plan 9 from User Space's manual pages on a system using groff.
Diffstat (limited to 'man/man7/keyboard.7')
-rw-r--r--man/man7/keyboard.728
1 files changed, 14 insertions, 14 deletions
diff --git a/man/man7/keyboard.7 b/man/man7/keyboard.7
index 933cdde2..157a9408 100644
--- a/man/man7/keyboard.7
+++ b/man/man7/keyboard.7
@@ -49,15 +49,15 @@ in particular, control-J is a line feed and control-M a carriage return.
.PP
The down arrow,
used by
-.MR 9term (1) ,
-.MR acme (1) ,
+.MR 9term 1 ,
+.MR acme 1 ,
and
-.MR sam (1) ,
+.MR sam 1 ,
causes windows to scroll forward.
The up arrow scrolls backward.
.PP
Characters in Plan 9 are runes (see
-.MR utf (7) ).
+.MR utf 7 ).
Any rune can be typed using a compose key followed by several
other keys.
The compose key is also generally near the lower right of the main key area:
@@ -87,11 +87,11 @@ the compose key followed by a two- or three-character sequence.
The full list is too long to repeat here, but is contained in the file
.L \*9/lib/keyboard
in a format suitable for
-.MR grep (1)
+.MR grep 1
or
-.MR look (1) .
+.MR look 1 .
To add a sequence, edit that file and then rebuild
-.MR devdraw (1) .
+.MR devdraw 1 .
.PP
There are several rules guiding the design of the sequences, as
illustrated by the following examples.
@@ -230,10 +230,10 @@ to run them automatically at startup.
sorted table of characters and keyboard sequences
.PD
.SH "SEE ALSO"
-.MR intro (1) ,
-.MR ascii (1) ,
-.MR tcs (1) ,
-.MR 9term (1) ,
-.MR acme (1) ,
-.MR sam (1) ,
-.MR utf (7)
+.MR intro 1 ,
+.MR ascii 1 ,
+.MR tcs 1 ,
+.MR 9term 1 ,
+.MR acme 1 ,
+.MR sam 1 ,
+.MR utf 7