Commit Graph

15 Commits

Author SHA1 Message Date
Dmitri Vereshchagin
10564b1175 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.
2025-07-27 09:58:50 -04:00
Russ Cox
d32deab17b tmac: rename IM (italic manual) to MR (manual reference)
Suggested by G. Brandon Robinson.
2020-08-15 20:09:40 -04:00
Russ Cox
977b25a76a tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links.
But not all such IR invocations should be manual links;
those had to be written to avoid the IR macro before.
Worse, the \X'...' ending the IR causes troff to emit only a single space after a period.

Defining a new IM macro for manual references fixes both problems.

Fixes #441.
2020-08-13 23:43:43 -04:00
Fazlul Shahriar
a4e59b3702 9term: add a "look" menu item (#299)
Add a menu item which functions similar to acme's `Look` command.

This is copied from 9front. See:
https://code.9front.org/hg/plan9front/rev/1f1596dbca51
https://code.9front.org/hg/plan9front/rev/d2de1d2f7b48
2020-01-07 15:02:01 -05:00
Russ Cox
35abfa1b39 man1: document mouse keystrokes in acme, sam, 9term
Change-Id: Id99ce9a143a21009d93a1c6ba2d1f84a3588649f
Reviewed-on: https://plan9port-review.googlesource.com/2942
Reviewed-by: Russ Cox <rsc@swtch.com>
2017-07-16 02:24:45 +00:00
Russ Cox
b3a110affa man: document font syntaxes
Change-Id: Id441d4df192c47388af6b5da306f14d90f066d18
Reviewed-on: https://plan9port-review.googlesource.com/1173
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 20:53:15 +00:00
Russ Cox
ba31ab3044 9term, acme: autoscroll
Ignore scroll/noscroll window setting.
Instead, scroll when the write begins in
or immediately after the displayed window content.

In the new scrolling discipline, executing
"Noscroll" is replaced by typing Page Up or
using the mouse to scroll higher in the buffer,
and executing "Scroll" is replaced by typing End
or using the mouse to scroll to the bottom of
the buffer.

R=r, r2
http://codereview.appspot.com/4433060
2011-04-27 13:18:07 -04:00
David Swasey
670f730113 9term: add -c to force cooked mode
R=rsc
CC=codebot
http://codereview.appspot.com/1044043
2010-05-19 18:27:05 -07:00
Russ Cox
9b4a2324d3 merge 2009-07-08 21:43:14 -07:00
rsc
7b14c113de update 2005-08-11 17:06:25 +00:00
rsc
76164c00c3 document bash stupidity 2005-02-08 18:36:25 +00:00
rsc
c8b6342d3c Many small edits. 2005-01-13 04:49:19 +00:00
rsc
c3674de413 use macro for /usr/local/plan9 2005-01-11 17:37:33 +00:00
rsc
058b0118a5 Some man pages. 2005-01-03 06:40:20 +00:00
rsc
ba19f6b5b4 some needed manual pages 2004-04-19 15:51:52 +00:00