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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42795 in the body.
You can then email your comments to 42795 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#42795; Package coreutils. (Mon, 10 Aug 2020 10:14:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Владимир Гультяев <bobgul <at> mail.ru>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 10 Aug 2020 10:14:01 GMT) Full text and rfc822 format available.

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

From: Владимир Гультяев <bobgul <at> mail.ru>
To: bug-coreutils <at> gnu.org
Subject: stty settings
Date: Mon, 10 Aug 2020 09:42:39 +0300
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#42795; Package coreutils. (Mon, 10 Aug 2020 10:22:01 GMT) Full text and rfc822 format available.

Message #8 received at 42795 <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




Added tag(s) notabug. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Mon, 10 Aug 2020 10:22:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 42795 <at> debbugs.gnu.org and Владимир Гультяев <bobgul <at> mail.ru> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Mon, 10 Aug 2020 10:22:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 07 Sep 2020 11:24:11 GMT) Full text and rfc822 format available.

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.