As described previously in #6820, nano
gets "\r\n" when typing a newline, but it has '\n' bound for a different purpose. Luckily, this is now only present when we ssh into SerenityOS and run nano there. A quick investigation shows that nano sets different termios settings when running over SSH or running in the Terminal.
Over SSH:
[#0 nano(44:44)]: /dev/pts/1 set_termios: ECHO=false, ISIG=true, ICANON=false, ECHOE=true, ECHOK=true, ECHONL=false, ISTRIP=false, ICRNL=false, INLCR=false, IGNCR=false, OPOST=true, ONLCR=true
In Terminal:
[#0 nano(47:47)]: /dev/pts/0 set_termios: ECHO=false, ISIG=false, ICANON=false, ECHOE=true, ECHOK=true, ECHONL=false, ISTRIP=false, ICRNL=false, INLCR=false, IGNCR=false, OPOST=false, ONLCR=false
When running over SSH, the debug console will display warnings about unimplemented termios
flags, but they are unrelated.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too