casaroli opened a new pull request, #21326:
URL: https://github.com/apache/nuttx/pull/21326

   ## Summary
   
   Documentation for apache/nuttx-apps#3953: the NxInit `console` option now 
also makes the console the controlling terminal of the service (`TIOCSCTTY` 
with the PID of the service). This PR describes what this gives: Ctrl-C and 
Ctrl-Z reach the service, and a shell finds its foreground process group with 
`tcgetpgrp()`. It also says that the NSH `sh` program gives up the terminal at 
its prompt, so Ctrl-C at the prompt does not end it. Please merge it after that 
apps PR.
   
   ## Impact
   
   Documentation only (`Documentation/applications/system/nxinit/index.rst`).
   
   ## Testing
   
   The behaviour is tested in apache/nuttx-apps#3953 (`nxctty.c` on 
qemu-armv8a:knsh, Ctrl-C on qemu-armv8a:nsh). On NuttX master 5c441693fa8 
(2026-11-01), Sphinx (9.2) builds the page alone with no warning.
   
   `tools/checkpatch.sh -c -u -m -g` passes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to