This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 0fceff5748ea513ffa2eb06fbb35bc7030d45d97 Author: Marco Casaroli <[email protected]> AuthorDate: Tue Nov 3 13:46:02 2026 +0100 Documentation: Describe the telnet window size ioctls and SIGWINCH. The telnet driver now supports TIOCSWINSZ and sends SIGWINCH for a new window size. Describe it in the NAWS paragraph of the telnetd page. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- Documentation/applications/netutils/telnetd/index.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/applications/netutils/telnetd/index.rst b/Documentation/applications/netutils/telnetd/index.rst index 23d5468a62d..d07ac14aaf5 100644 --- a/Documentation/applications/netutils/telnetd/index.rst +++ b/Documentation/applications/netutils/telnetd/index.rst @@ -109,8 +109,10 @@ control sequences transparently: - **Subnegotiation (SB / SE)**: Handles option subnegotiation sequences bracketed by ``IAC SB`` and ``IAC SE``. - **Window Size Negotiation (NAWS)**: When ``CONFIG_TELNET_SUPPORT_NAWS`` is enabled, the - driver negotiates window dimensions (:rfc:`1073`) and provides window size queries - via terminal ``ioctl()`` calls (such as ``TIOCGWINSZ``). + driver negotiates window dimensions (:rfc:`1073`). ``TIOCGWINSZ`` returns the window + size and ``TIOCSWINSZ`` sets it. A new size from the client or from ``TIOCSWINSZ`` + sends ``SIGWINCH`` to the foreground process (the PID given with ``TIOCSCTTY``) when + ``CONFIG_TTY_SIGINT`` or ``CONFIG_TTY_SIGTSTP`` is enabled. - **Line Ending Handling**: Adheres to :rfc:`854` end-of-line conventions. On the transmit path, outgoing newline characters (``\n``) are automatically formatted as standard network ``CR LF`` pairs. If an application outputs a carriage return alone, the driver defers
