Subject: bug#42795: stty settings

From: Владимир Гультяев <[email-masked]>
Date: Mon, 10 Aug 2020 09:42:39 +0300

Looks like “-” is not_optoinal but mandatory for stty settings
> man stty | grep icrnl “ [-]icrnl translate carriage return to newline”
 
effects some applications using tty
described on  https://stackoverflow.com/questions/7812142/how-to-toggle-cr-lf-in-gnu-screen
in my case problems with vi(elvis) in ssh session to Slackware 14.2
--------------------------------
before correction ( “icrnl” without “-” => problem exists )
# stty -a
speed 38400 baud; rows 43; columns 101; line = 0;
***-istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel
***
--------------------------------------------
after ‘stty -icrnl’ ( vi works without the problem )
# stty -a
speed 38400 baud; rows 43; columns 101; line = 0;
*** -istrip -inlcr -igncr -icrnl ixon -ixoff -iuclc -ixany -imaxbel
***

WBR
Vladimir