GNU bug report logs - #42795
stty settings

Previous Next

Package: coreutils;

Reported by: Владимир Гультяев <bobgul <at> mail.ru>

Date: Mon, 10 Aug 2020 10:14:01 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Владимир Гультяев
 <bobgul <at> mail.ru>, 42795 <at> debbugs.gnu.org
Subject: Re: bug#42795: stty settings
Date: Mon, 10 Aug 2020 11:20:57 +0100
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




This bug report was last modified 4 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.