bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 014/100] man/curs_inopts.3x: Recast discussion of nl/nonl history


From: G. Branden Robinson
Subject: [PATCH 014/100] man/curs_inopts.3x: Recast discussion of nl/nonl history.
Date: Sat, 30 Mar 2024 16:48:59 -0500

---
 man/curs_inopts.3x | 37 +++++++++++++++++++++++++++----------
 1 file changed, 27 insertions(+), 10 deletions(-)

diff --git a/man/curs_inopts.3x b/man/curs_inopts.3x
index 0ec008db2..d7f368b27 100644
--- a/man/curs_inopts.3x
+++ b/man/curs_inopts.3x
@@ -515,18 +515,35 @@ .SH PORTABILITY
 key definition,
 the later definition is the one used.
 .SH HISTORY
-From the outset,
-\fI\%ncurses\fP used \fBnl\fP/\fBnonl\fP to control the conversion of
-newlines to carriage return/line-feed on output as well as input.
-XSI Curses documents only the use of these functions for input.
-This difference arose from converting the \fIpcurses\fP source
-(which used \fBioctl\fP calls with the \fBsgttyb\fP structure)
-to termios (i.e., the POSIX terminal interface).
-In the former, both input and output were controlled via a single
-option \fBCRMOD\fP,
+Formerly,
+.I \%ncurses
+used
+.B \%nl
+and
+.B \%nonl
+to control the conversion of newlines to carriage return/line feed
+on output as well as input.
+X/Open Curses documents the use of these functions only for input.
+This difference arose from converting the
+.I \%pcurses
+source (1986),
+which used
+\fI\%ioctl\fP(2) calls and the
+.I \%sgttyb
+structure,
+to
+.I \%termios
+(the POSIX terminal API).
+In the former,
+both input and output were controlled via a single option
+.BR \%CRMOD ,
 while the latter separates these features.
 Because that conversion interferes with output optimization,
-\fBnl\fP/\fBnonl\fP were amended after \fI\%ncurses\fP 6.2
+.I \%ncurses
+6.2 (2020) amended
+.B \%nl
+and
+.B \%nonl
 to eliminate their effect on output.
 .SH SEE ALSO
 \fB\%curses\fP(3X),
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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