tag 42795 notabug
close 42795
stop
On 10/08/2020 07:42, Владимир Гультяев via GNU coreutils Bug Reports wrote:
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
I think there is a misunderstanding as to what "-" means.
The man page states: "Optional - before SETTING indicates negation".
thanks,
Pádraig