summaryrefslogtreecommitdiffstats
path: root/man/man1/devdraw.1
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/man1/devdraw.1
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/man1/devdraw.1')
-rw-r--r--man/man1/devdraw.118
1 files changed, 9 insertions, 9 deletions
diff --git a/man/man1/devdraw.1 b/man/man1/devdraw.1
index e606b3e2..d6148667 100644
--- a/man/man1/devdraw.1
+++ b/man/man1/devdraw.1
@@ -5,7 +5,7 @@ devdraw \- draw device simulator
invoked via
.I initdraw
(see
-.MR graphics (3) )
+.MR graphics 3 )
.SH DESCRIPTION
.I Devdraw
serves a custom graphics protocol and is the only program
@@ -17,7 +17,7 @@ On macOS, because a laptop trackpad click only has one button (the trackpad itse
Option-click is button 2, and Command-click is button 3.
While the main mouse button is held down,
Control, Option, and Command serve as simulated buttons 1, 2, 3 for chording in
-.MR acme (4) .
+.MR acme 4 .
For example, the 1-3 pasting chord in acme can be executed by
highlighting text while holding down the trackpad button
and then, while still holding down the button, pressing the Command key.
@@ -28,7 +28,7 @@ Two-finger scrolling on the trackpad sends those button events.
Holding down shift while clicking adds 5 to the button number.
For example, Command-Click is button 3, so Command-Shift-Click is button 8.
Most programs do not respond to those buttons; one notable exception is
-.MR acme (1) ,
+.MR acme 1 ,
which interprets button 8 (shifted button 3) as a reverse search.
.PP
Typing Command-F toggles full screen mode.
@@ -53,14 +53,14 @@ On Unix systems, Control-click is mouse button 2,
and Alt-click is mouse button 3.
While the main mouse button is held down,
Control and Alt serve as simulated buttons 2, 3 for chording in
-.MR acme (4) .
+.MR acme 4 .
For example, the 1-3 pasting chord in acme can be executed by
highlighting text while holding down the trackpad button
and then, while still holding down the button, pressing the Alt key.
.PP
Because the Control and Alt keys have other meanings
(see
-.MR keyboard (7)
+.MR keyboard 7
for the Alt key's meaning)
and there is no third modifier key like on the Mac,
there is no way to type
@@ -71,10 +71,10 @@ undo, redo, cut, and paste.
.SH SOURCE
.B \*9/src/cmd/devdraw
.SH "SEE ALSO
-.MR draw (3) ,
-.MR drawfcall (3) ,
-.MR graphics (3) ,
-.MR keyboard (7)
+.MR draw 3 ,
+.MR drawfcall 3 ,
+.MR graphics 3 ,
+.MR keyboard 7
.SH BUGS
.I Devdraw
should probably present a standard 9P server