[bug #24182] (Wishlist) stty -a Behavior Documentation
From:
David L. Craig
Subject:
[bug #24182] (Wishlist) stty -a Behavior Documentation
Date:
Mon, 01 Sep 2008 16:31:43 +0000
User-agent:
Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.0.1) Gecko/20080528 Epiphany/2.22
URL:
<http://savannah.gnu.org/bugs/?24182>
Summary: (Wishlist) stty -a Behavior Documentation
Project: GNU Core Utilities
Submitted by: dlcusa
Submitted on: Mon 01 Sep 2008 04:31:33 PM GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
On different platforms stty -a doesn't like being invoked inside a pipeline;
e.g.,
address@hidden:~$ cat /dev/null | stty -a
stty: standard input: Invalid argument
address@hidden:~$ stty -a </dev/null
stty: standard input: Inappropriate ioctl for device
address@hidden:~$ cat /dev/null | : `stty -a`
stty: standard input: Invalid argument
address@hidden:~$ cat /dev/null | : `stty -a </dev/tty`
address@hidden:~$
Note the last example worked. This was on a Debian Sid system.
Please document this behavior.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?24182>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/