[Top][All Lists]

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

bug#18506: stty dsusp undef fails.

From: Pádraig Brady
Subject: bug#18506: stty dsusp undef fails.
Date: Fri, 19 Sep 2014 16:19:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 09/19/2014 10:05 AM, Pádraig Brady wrote:
> tag 18506 notabug
> close 18506
> stop
> On 09/19/2014 03:09 AM, Edward Huff wrote:
>> $ stty dsusp undef
>> stty: invalid argument ‘dsusp’
>> Try 'stty --help' for more information.
>> $ stty --help | grep dsusp
>>  * dsusp CHAR    CHAR will send a terminal stop signal once input flushed
>> $ stty --version
>> stty (GNU coreutils) 8.21
> The dsusp entry is tagged with "*" to indicate it's not a POSIX setting,
> and just above the --help says: "The underlying system defines which settings 
> are available."
> So it's just the case that this setting is not available on your system,
> which is the case for Linux for example. Ideally the listed options would
> be dynamic and not list this as an option for you, but this would complicate
> the man page generation.

However man pages are generated at build time now,
so we might consider eliding non applicable items?

The caveat to that is that man pages generated and
then copied on the web somewhere would be less general.

I'm leaning towards that actually as currently we
don't distinguish "invalid argument" from "not supported" errors.

Proposed patch attached.


Attachment: stty-elide-unsupported.diff
Description: Text Data

reply via email to

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