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
  • bug#42795:... Владимир Гультяев via GNU coreutils Bug Reports

Reply via email to