bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 117/177] man/curs_mouse.3x: Add "HISTORY" section.


From: G. Branden Robinson
Subject: [PATCH 117/177] man/curs_mouse.3x: Add "HISTORY" section.
Date: Mon, 13 Jan 2025 11:33:41 -0600

...consisting of material hived off of "PORTABILITY" section.

Content:
* When discussing terminfo capabilities, use both full name and
  cap-code.

Markup:
* Favor man(7) font macros over roff(7) font selection escape sequences,
  except for man page cross references (because man/make_sed.sh
  recognizes only certain patterns when rewriting such cross references)
  and terms in the "NAME" section (because the generated edit_man.sh
  script expects font selection escape sequences when scraping terms
  thence to gather names for man page aliases).
---
 man/curs_mouse.3x | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/man/curs_mouse.3x b/man/curs_mouse.3x
index 9f28735be..14c5a8f07 100644
--- a/man/curs_mouse.3x
+++ b/man/curs_mouse.3x
@@ -568,11 +568,14 @@ .SH PORTABILITY
 removes the definitions for reserved events.
 The mask uses 29 bits.
 .RE
+.SH HISTORY
+SVr4 (1989) added mouse support to its variant of \fI\%xterm\fP(1).
 It is mentioned in a few places,
 with little supporting documentation.
 .bP
 Its \*(``libcurses\*('' manual page lists functions for this feature
-prototyped in \fI\%curses.h\fP.
+prototyped in
+.IR \%curses.h "."
 .PP
 .RS 8
 .EX
@@ -587,6 +590,7 @@ .SH PORTABILITY
 .RE
 .bP
 Its \*(``terminfo\*('' manual page lists capabilities for the feature.
+.PP
 .\" These don't appear in in the SVID 4th edition, Volume 3,
 .\" terminfo(TI_ENV) man page.  They can be found in, e.g., the "z/OS
 .\" V1R1.0 C Curses" book, Chapter 17, pp. 179-186 (PDF 213-220).
@@ -619,11 +623,17 @@ .SH PORTABILITY
 For instance,
 the SVr4
 .I curses
-library used the \fB\%get_mouse\fP capability to tell the terminal which
+library used the
+.B \%get_mouse
+.RB ( getm )
+capability to tell the terminal which
 mouse button events it should send,
 passing the mouse-button bit mask to the terminal.
 Also, it could ask the terminal
-where the mouse was using the \fB\%req_mouse_pos\fP capability.
+where the mouse was using the
+.B \%req_mouse_pos
+.RB ( reqmp )
+capability.
 .IP
 Those features required a terminal program that had been modified
 to work with SVr4
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]