bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42795: stty settings


From: Pádraig Brady
Subject: bug#42795: stty settings
Date: Mon, 10 Aug 2020 11:20:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Thunderbird/80.0

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]