[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stty: problem if IXON enabled and DC3 char was received
From: |
Jim Meyering |
Subject: |
Re: stty: problem if IXON enabled and DC3 char was received |
Date: |
Mon, 4 Jan 2016 07:10:44 -0800 |
On Mon, Jan 4, 2016 at 7:07 AM, Bernhard Voelker
<address@hidden> wrote:
> On 01/04/2016 01:34 PM, Pádraig Brady wrote:
>>
>> --- a/NEWS
>> +++ b/NEWS
>> @@ -47,6 +47,9 @@ GNU coreutils NEWS
>> -*- outline -*-
>> is reusable by most shells, with non-printable characters escaped
>> with the POSIX proposed $'...' syntax.
>>
>> + stty now supports the -i, --immediate option, to apply settings
>> + without waiting for transmission of any pending output.
>> +
>
>
> s/-i/-I/
>
>> --- a/src/stty.c
>> +++ b/src/stty.c
>
> ...
>>
>> @@ -522,7 +523,7 @@ usage (int status)
>> else
>> {
>> printf (_("\
>> -Usage: %s [-F DEVICE | --file=DEVICE] [SETTING]...\n\
>> +Usage: %s [-F DEVICE | --file=DEVICE] [-I] [SETTING]...\n\
>> or: %s [-F DEVICE | --file=DEVICE] [-a|--all]\n\
>> or: %s [-F DEVICE | --file=DEVICE] [-g|--save]\n\
>> "),
>> @@ -538,6 +539,9 @@ Print or change terminal characteristics.\n\
>> -g, --save print all current settings in a stty-readable
>> form\n\
>> -F, --file=DEVICE open and use the specified DEVICE instead of
>> stdin\n\
>> "), stdout);
>> + fputs (_("\
>> + -i, --immediate apply setting without waiting for pending
>> transmission\n\
>> +"), stdout);
>
>
> Likewise.
>
> Otherwise +1.
Patch looks fine.
You might want to add a URL linking to this discussion in the commit log;
it provides a fine "why would I want this" use case.
- stty: problem if IXON enabled and DC3 char was received, Tomas Krcka, 2016/01/04
- Re: stty: problem if IXON enabled and DC3 char was received, Pádraig Brady, 2016/01/04
- Re: stty: problem if IXON enabled and DC3 char was received, Pádraig Brady, 2016/01/04
- Re: stty: problem if IXON enabled and DC3 char was received, Bernhard Voelker, 2016/01/04
- Re: stty: problem if IXON enabled and DC3 char was received,
Jim Meyering <=
- Re: stty: problem if IXON enabled and DC3 char was received, Tomas Krcka, 2016/01/04
- Re: stty: problem if IXON enabled and DC3 char was received, Pádraig Brady, 2016/01/06
- Re: stty: problem if IXON enabled and DC3 char was received, Tomas Krcka, 2016/01/06
- Re: stty: problem if IXON enabled and DC3 char was received, Bernhard Voelker, 2016/01/06
- Re: stty: problem if IXON enabled and DC3 char was received, Pádraig Brady, 2016/01/06