bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 1/3] man/curs_add{,_w}ch.3x: Drop claim.


From: G. Branden Robinson
Subject: [PATCH 1/3] man/curs_add{,_w}ch.3x: Drop claim.
Date: Sat, 16 Mar 2024 17:21:36 -0500

X/Open Curses Issue 7 says:

"§3.4.3  Special Characters

Some functions process special characters as specified below.  In
functions that do not move the cursor based on the information placed in
the window, these special characters would only be used within a string
in order to affect the placement of subsequent characters; the cursor
movement specified below does not persist in the visible cursor beyond
the end of the operation.  In functions that do move the cursor, these
special characters can be used to affect the placement of subsequent
characters and to achieve movement of the visible cursor.

...

<carriage-return>  Unless the cursor was already in column 0,
                   <carriage-return> moves the cursor to the start of
                   the current line.  Any characters after the
                   <carriage-return> are added or inserted starting
                   there.

...

add_wch()

These functions add information to the current or specified window at
the current or specified position, and then advance the cursor.  These
functions perform special character processing.

...

addch()

The addch(), mvaddch(), mvwaddch(), and waddch() functions place ch into
the current or specified window at the current or specified position,
and then advance the window’s cursor position.  These functions perform
special character processing."

pp. 20-21, 33, 36
---
 man/curs_add_wch.3x | 6 ------
 man/curs_addch.3x   | 6 ------
 2 files changed, 12 deletions(-)

diff --git a/man/curs_add_wch.3x b/man/curs_add_wch.3x
index bebf2fff9..86255c2bd 100644
--- a/man/curs_add_wch.3x
+++ b/man/curs_add_wch.3x
@@ -325,12 +325,6 @@ .SH NOTES
 .SH PORTABILITY
 These functions are described in the XSI Curses standard, Issue 4.
 The defaults specified for line-drawing characters apply in the POSIX locale.
-.PP
-If \fIwch\fP is a carriage return,
-.I curses
-moves the cursor to the beginning of the current row of the window.
-This is true of other implementations,
-but is not documented.
 .SS "WACS Symbols"
 X/Open Curses makes it clear that the WACS_ symbols should be defined as
 a pointer to \fBcchar_t\fP data, e.g., in the discussion of \fBborder_set\fP.
diff --git a/man/curs_addch.3x b/man/curs_addch.3x
index 98d091dff..8aa830cec 100644
--- a/man/curs_addch.3x
+++ b/man/curs_addch.3x
@@ -209,12 +209,6 @@ .SH NOTES
 .SH PORTABILITY
 These functions are described in the XSI Curses standard, Issue 4.
 The defaults specified for forms-drawing characters apply in the POSIX locale.
-.PP
-If \fIch\fP is a carriage return,
-.I curses
-moves the cursor to the beginning of the current row of the window.
-This is true of other implementations,
-but is not documented.
 .SS "ACS Symbols"
 X/Open Curses states that the \fBACS_\fP definitions are \fBchar\fP constants.
 For the wide-character implementation (see \fBcurs_add_wch\fP),
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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