bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 06/30] man/curs_inopts.3x: Document inapplicability of `nl()` and


From: G. Branden Robinson
Subject: [PATCH 06/30] man/curs_inopts.3x: Document inapplicability of `nl()` and `nonl()` to cooked mode.
Date: Sat, 8 Jun 2024 07:16:42 -0500

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

diff --git a/man/curs_inopts.3x b/man/curs_inopts.3x
index 4f4c25549..2320cd8e7 100644
--- a/man/curs_inopts.3x
+++ b/man/curs_inopts.3x
@@ -320,12 +320,15 @@ .SS "nl, nonl"
 Initially,
 whether the terminal reports a carriage return
 using the character code for a line feed
+in cbreak or raw modes
 depends on the configuration of the terminal driver;
 see \fI\%termios\fP(3).
 .B nl
 configures the terminal to perform this translation.
 .B nonl
 disables it.
+In normal (or \*(``cooked\*('') mode,
+the terminal driver always translates carriage returns to line feeds.
 .\"
 .SS nodelay
 .B \%nodelay
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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