GNU bug report logs - #20127
bug in stty

Previous Next

Package: coreutils;

Reported by: Morris Keesan <mkeesan <at> post.harvard.edu>

Date: Tue, 17 Mar 2015 19:40:02 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 20127 in the body.
You can then email your comments to 20127 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#20127; Package coreutils. (Tue, 17 Mar 2015 19:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Morris Keesan <mkeesan <at> post.harvard.edu>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 17 Mar 2015 19:40:02 GMT) Full text and rfc822 format available.

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

From: Morris Keesan <mkeesan <at> post.harvard.edu>
To: bug-coreutils <at> gnu.org
Subject: bug in stty
Date: Tue, 17 Mar 2015 15:33:03 -0400
stty --version:
stty (GNU coreutils) 8.13

uname -a:
Linux ice4 3.2.0-75-generic #110-Ubuntu SMP Tue Dec 16 19:11:55 UTC 
2014 x86_64 x86_64 x86_64 GNU/Linux
==================================================================
bug:
      stty erase ''
sets erase to <undef>.  This may be intentional, but seems like a bug, since
this behavior is undocumented, and the stty man page says,
"special values ^- or undef used to disable special characters."

I haven't bothered testing, but I assume that an empty argument gets treated
as undef for all special characters.


-- 
Morris Keesan -- mkeesan <at> post.harvard.edu





Information forwarded to bug-coreutils <at> gnu.org:
bug#20127; Package coreutils. (Wed, 18 Mar 2015 10:18:02 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: Morris Keesan <mkeesan <at> post.harvard.edu>, 20127 <at> debbugs.gnu.org
Subject: Re: bug#20127: bug in stty
Date: Wed, 18 Mar 2015 10:17:34 +0000
tag 20127 notabug
close 20127
stop

On 17/03/15 19:33, Morris Keesan wrote:
> stty --version:
> stty (GNU coreutils) 8.13
> 
> uname -a:
> Linux ice4 3.2.0-75-generic #110-Ubuntu SMP Tue Dec 16 19:11:55 UTC 
> 2014 x86_64 x86_64 x86_64 GNU/Linux
> ==================================================================
> bug:
>        stty erase ''
> sets erase to <undef>.  This may be intentional, but seems like a bug, since
> this behavior is undocumented, and the stty man page says,
> "special values ^- or undef used to disable special characters."
> 
> I haven't bothered testing, but I assume that an empty argument gets treated
> as undef for all special characters.

Yes, that's the same for all special characters.
Also Solaris and FreeBSD have the same behavior.
However I'm not sure it should be documented,
as the NUL character is being taken literally in this case,
and it happens to match the _POSIX_VDISABLE character.
This may change in future, so I would stick to the
documented interfaces.

thanks,
Pádraig.




Added tag(s) notabug. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Wed, 18 Mar 2015 10:18:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 20127 <at> debbugs.gnu.org and Morris Keesan <mkeesan <at> post.harvard.edu> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Wed, 18 Mar 2015 10:18:03 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. (Wed, 15 Apr 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 70 days ago.

Previous Next


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