From unknown Wed Jun 25 03:52:23 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18506 <18506@debbugs.gnu.org> To: bug#18506 <18506@debbugs.gnu.org> Subject: Status: stty dsusp undef fails. Reply-To: bug#18506 <18506@debbugs.gnu.org> Date: Wed, 25 Jun 2025 10:52:23 +0000 retitle 18506 stty dsusp undef fails. reassign 18506 coreutils submitter 18506 Edward Huff severity 18506 normal tag 18506 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 00:38:03 2014 Received: (at submit) by debbugs.gnu.org; 19 Sep 2014 04:38:03 +0000 Received: from localhost ([127.0.0.1]:45058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUpxJ-00078h-6r for submit@debbugs.gnu.org; Fri, 19 Sep 2014 00:38:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35048) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUne6-0002dj-EB for submit@debbugs.gnu.org; Thu, 18 Sep 2014 22:10:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUne4-0003iw-Ob for submit@debbugs.gnu.org; Thu, 18 Sep 2014 22:10:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUne4-0003i2-LA for submit@debbugs.gnu.org; Thu, 18 Sep 2014 22:10:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUndy-0001At-JS for bug-coreutils@gnu.org; Thu, 18 Sep 2014 22:09:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUndq-0003fl-QZ for bug-coreutils@gnu.org; Thu, 18 Sep 2014 22:09:54 -0400 Received: from mail-oa0-x22e.google.com ([2607:f8b0:4003:c02::22e]:45012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUndq-0003eF-L2 for bug-coreutils@gnu.org; Thu, 18 Sep 2014 22:09:46 -0400 Received: by mail-oa0-f46.google.com with SMTP id m1so712280oag.19 for ; Thu, 18 Sep 2014 19:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=e30itKBfCxdWldggckedLGksvFUD6jCAoreX8SCS9LQ=; b=tzyJqimxS2s530Zsd+zHldXfYhSfcjzFb7cuivspwahwVsMjyg0dh25xHGfo7CXr0v Hmg6dKvJWW31Yi2qpeF4YU6O3iDQ4ZwbliXlQSxMXCUcRfShHlrg9BuhG8BSD4+C7HVj 3xZ88symupNdjsvvR9BLSgiod7lH03+ovUKhtpfri7HUHpnU7c3iy16jMOnQe2BG0kb6 ngXe6l+6nOfGlSMTl4nMGKsnTj5L6jjOEWBzwwgsjzRgW1iuC9uaOHka8fDOO+W9G6a7 SLjScUeVLNm1klw5UE7su9c1Urok5H3lJ3vdo3/JD7p5j4VBcVH7N/TVW8F5SiUhhy6V 1HsQ== MIME-Version: 1.0 X-Received: by 10.182.102.98 with SMTP id fn2mr4111267obb.13.1411092580649; Thu, 18 Sep 2014 19:09:40 -0700 (PDT) Received: by 10.202.215.10 with HTTP; Thu, 18 Sep 2014 19:09:40 -0700 (PDT) Date: Thu, 18 Sep 2014 22:09:40 -0400 Message-ID: Subject: stty dsusp undef fails. From: Edward Huff To: bug-coreutils@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 19 Sep 2014 00:37:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) $ stty dsusp undef stty: invalid argument =E2=80=98dsusp=E2=80=99 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 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. $ From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 05:05:43 2014 Received: (at 18506) by debbugs.gnu.org; 19 Sep 2014 09:05:43 +0000 Received: from localhost ([127.0.0.1]:45175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUu8M-0005OI-Or for submit@debbugs.gnu.org; Fri, 19 Sep 2014 05:05:42 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:6255) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUu8G-0005O4-Lj for 18506@debbugs.gnu.org; Fri, 19 Sep 2014 05:05:37 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApUBAFPxG1RtTESQ/2dsb2JhbAANU4c4ywyDIAGBGAGEfQEBBCMPAUYQCw0BCgICBRYLAgIJAwIBAgFFBg0BBwEBiD+rIHiWQAEXgSyOSweCeIFTAQSkfpE1gzUBAQE Received: from unknown (HELO [192.168.1.79]) ([109.76.68.144]) by mail2.vodafone.ie with ESMTP; 19 Sep 2014 10:05:33 +0100 Message-ID: <541BF1DC.6030902@draigBrady.com> Date: Fri, 19 Sep 2014 10:05:32 +0100 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Edward Huff Subject: Re: bug#18506: stty dsusp undef fails. References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18506 Cc: 18506@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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. thanks, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 05:24:53 2014 Received: (at control) by debbugs.gnu.org; 19 Sep 2014 09:24:53 +0000 Received: from localhost ([127.0.0.1]:45183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUuQv-0005qC-3b for submit@debbugs.gnu.org; Fri, 19 Sep 2014 05:24:53 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:28078) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUuQs-0005q4-ID for control@debbugs.gnu.org; Fri, 19 Sep 2014 05:24:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuIBAP31G1RtTESQ/2dsb2JhbAANU4Qagx6KTKk3giaXfIEiAYUcCn4NAgUWCwILAwIBAgE/BAgNCAEBiD+rJ3iWVoEskUqBUwEEpH6RNYM1AgEC Received: from unknown (HELO [192.168.1.79]) ([109.76.68.144]) by mail2.vodafone.ie with ESMTP; 19 Sep 2014 10:24:49 +0100 Message-ID: <541BF661.2030306@draigBrady.com> Date: Fri, 19 Sep 2014 10:24:49 +0100 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: GNU bug tracker automated control server Subject: a X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tag 18506 notabug close 18506 stop From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 12:24:12 2014 Received: (at 18506) by debbugs.gnu.org; 19 Sep 2014 16:24:12 +0000 Received: from localhost ([127.0.0.1]:45982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV0yg-0001uB-HA for submit@debbugs.gnu.org; Fri, 19 Sep 2014 12:24:11 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:2582) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV0yd-0001ty-O8 for 18506@debbugs.gnu.org; Fri, 19 Sep 2014 12:24:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As8CALpXHFRtTESQ/2dsb2JhbAANU4NgUwSDAYVbwReHUQGBGAGEfAEBAQQjRBIQCw0BAwMBAgEJIQICDwI+CAYNAQUCAQGIPwOsF3iWMAEXj3AMBQeCeIFTBY8+hB+BS2SIaIYUhxqKH2uBBiOBIQEBAQ Received: from unknown (HELO [192.168.1.79]) ([109.76.68.144]) by mail2.vodafone.ie with ESMTP; 19 Sep 2014 16:19:11 +0100 Message-ID: <541C496E.808@draigBrady.com> Date: Fri, 19 Sep 2014 16:19:10 +0100 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Edward Huff Subject: Re: bug#18506: stty dsusp undef fails. References: <541BF1DC.6030902@draigBrady.com> In-Reply-To: <541BF1DC.6030902@draigBrady.com> X-Enigmail-Version: 1.6 Content-Type: multipart/mixed; boundary="------------030701050400000509000401" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18506 Cc: 18506@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --------------030701050400000509000401 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. thanks, Pádraig. --------------030701050400000509000401 Content-Type: text/x-patch; name="stty-elide-unsupported.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="stty-elide-unsupported.diff" >From be1e555db9cfd7e82a0a26e1a612a65ebe93d789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Fri, 19 Sep 2014 16:15:04 +0100 Subject: [PATCH] stty: only list supported options in --help and man pages * src/stty.c (usage): Exclude unsupported options from --help, which only impacts the "dsusp" option on GNU/Linux. Fixes http://bugs.gnu.org/18506 --- src/stty.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 173 insertions(+), 4 deletions(-) diff --git a/src/stty.c b/src/stty.c index 9e4c530..e306672 100644 --- a/src/stty.c +++ b/src/stty.c @@ -539,45 +539,84 @@ settings. The underlying system defines which settings are available.\n\ "), stdout); fputs (_("\ \n\ -Special characters:\n\ +Special characters:\n"), stdout); +#ifdef VDSUSP + fputs (_("\ * dsusp CHAR CHAR will send a terminal stop signal once input flushed\n\ +"), stdout); +#endif + fputs (_("\ eof CHAR CHAR will send an end of file (terminate the input)\n\ eol CHAR CHAR will end the line\n\ "), stdout); +#ifdef VEOL2 fputs (_("\ * eol2 CHAR alternate CHAR for ending the line\n\ +"), stdout); +#endif + fputs (_("\ erase CHAR CHAR will erase the last character typed\n\ intr CHAR CHAR will send an interrupt signal\n\ kill CHAR CHAR will erase the current line\n\ "), stdout); +#ifdef VLNEXT fputs (_("\ * lnext CHAR CHAR will enter the next character quoted\n\ +"), stdout); +#endif + fputs (_("\ quit CHAR CHAR will send a quit signal\n\ +"), stdout); +# ifdef CREPRINT /* HPUX 10.20 needs this */ + fputs (_("\ * rprnt CHAR CHAR will redraw the current line\n\ - start CHAR CHAR will restart the output after stopping it\n\ "), stdout); +#endif fputs (_("\ + start CHAR CHAR will restart the output after stopping it\n\ stop CHAR CHAR will stop the output\n\ susp CHAR CHAR will send a terminal stop signal\n\ +"), stdout); +#ifdef VSWTCH + fputs (_("\ * swtch CHAR CHAR will switch to a different shell layer\n\ +"), stdout); +#endif +#ifdef VWERASE + fputs (_("\ * werase CHAR CHAR will erase the last word typed\n\ "), stdout); +#endif fputs (_("\ \n\ Special settings:\n\ N set the input and output speeds to N bauds\n\ +"), stdout); +#ifdef TIOCGWINSZ + fputs (_("\ * cols N tell the kernel that the terminal has N columns\n\ * columns N same as cols N\n\ "), stdout); +#endif fputs (_("\ ispeed N set the input speed to N\n\ +"), stdout); +#ifdef HAVE_C_LINE + fputs (_("\ * line N use line discipline N\n\ +"), stdout); +#endif + fputs (_("\ min N with -icanon, set N characters minimum for a completed read\n\ ospeed N set the output speed to N\n\ "), stdout); +#ifdef TIOCGWINSZ fputs (_("\ * rows N tell the kernel that the terminal has N rows\n\ * size print the number of rows and columns according to the kernel\n\ +"), stdout); +#endif + fputs (_("\ speed print the terminal speed\n\ time N with -icanon, set read timeout of N tenths of a second\n\ "), stdout); @@ -586,8 +625,18 @@ Special settings:\n\ Control settings:\n\ [-]clocal disable modem control signals\n\ [-]cread allow input to be received\n\ +"), stdout); +#ifdef CRTSCTS + fputs (_("\ * [-]crtscts enable RTS/CTS handshaking\n\ +"), stdout); +#endif +#ifdef CDTRDSR + fputs (_("\ * [-]cdtrdsr enable DTR/DSR handshaking\n\ +"), stdout); +#endif + fputs (_("\ csN set character size to N bits, N in [5..8]\n\ "), stdout); fputs (_("\ @@ -596,8 +645,12 @@ Control settings:\n\ [-]hupcl same as [-]hup\n\ [-]parenb generate parity bit in output and expect parity bit in input\n\ [-]parodd set odd parity (or even parity with '-')\n\ +"), stdout); +#ifdef CMSPAR + fputs (_("\ * [-]cmspar use \"stick\" (mark/space) parity\n\ "), stdout); +#endif fputs (_("\ \n\ Input settings:\n\ @@ -605,20 +658,34 @@ Input settings:\n\ [-]icrnl translate carriage return to newline\n\ [-]ignbrk ignore break characters\n\ [-]igncr ignore carriage return\n\ + [-]ignpar ignore characters with parity errors\n\ "), stdout); +#ifdef IMAXBEL fputs (_("\ - [-]ignpar ignore characters with parity errors\n\ * [-]imaxbel beep and do not flush a full input buffer on a character\n\ +"), stdout); +#endif + fputs (_("\ [-]inlcr translate newline to carriage return\n\ [-]inpck enable input parity checking\n\ [-]istrip clear high (8th) bit of input characters\n\ "), stdout); +#ifdef IUTF8 fputs (_("\ * [-]iutf8 assume input characters are UTF-8 encoded\n\ "), stdout); +#endif +#ifdef IUCLC fputs (_("\ * [-]iuclc translate uppercase characters to lowercase\n\ +"), stdout); +#endif +#ifdef IXANY + fputs (_("\ * [-]ixany let any character restart output, not only start character\n\ +"), stdout); +#endif + fputs (_("\ [-]ixoff enable sending of start/stop characters\n\ [-]ixon enable XON/XOFF flow control\n\ [-]parmrk mark parity errors (with a 255-0-character sequence)\n\ @@ -627,59 +694,151 @@ Input settings:\n\ fputs (_("\ \n\ Output settings:\n\ +"), stdout); +#ifdef BSDLY + fputs (_("\ * bsN backspace delay style, N in [0..1]\n\ +"), stdout); +#endif +#ifdef CRDLY + fputs (_("\ * crN carriage return delay style, N in [0..3]\n\ +"), stdout); +#endif +#ifdef FFDLY + fputs (_("\ * ffN form feed delay style, N in [0..1]\n\ +"), stdout); +#endif +#ifdef NLDLY + fputs (_("\ * nlN newline delay style, N in [0..1]\n\ "), stdout); +#endif +#ifdef OCRNL fputs (_("\ * [-]ocrnl translate carriage return to newline\n\ +"), stdout); +#endif +#ifdef OFDEL + fputs (_("\ * [-]ofdel use delete characters for fill instead of NUL characters\n\ +"), stdout); +#endif +#ifdef OFILL + fputs (_("\ * [-]ofill use fill (padding) characters instead of timing for delays\n\ +"), stdout); +#endif +#ifdef OLCUC + fputs (_("\ * [-]olcuc translate lowercase characters to uppercase\n\ +"), stdout); +#endif +#ifdef ONLCR + fputs (_("\ * [-]onlcr translate newline to carriage return-newline\n\ +"), stdout); +#endif +#ifdef ONLRET + fputs (_("\ * [-]onlret newline performs a carriage return\n\ "), stdout); +#endif +#ifdef ONOCR fputs (_("\ * [-]onocr do not print carriage returns in the first column\n\ +"), stdout); +#endif + fputs (_("\ [-]opost postprocess output\n\ +"), stdout); +#if defined TABDLY || defined OXTABS + fputs (_("\ * tabN horizontal tab delay style, N in [0..3]\n\ * tabs same as tab0\n\ * -tabs same as tab3\n\ +"), stdout); +#endif +#ifdef VTDLY + fputs (_("\ * vtN vertical tab delay style, N in [0..1]\n\ "), stdout); +#endif fputs (_("\ \n\ Local settings:\n\ [-]crterase echo erase characters as backspace-space-backspace\n\ +"), stdout); +#ifdef ECHOKE + fputs (_("\ * crtkill kill all line by obeying the echoprt and echoe settings\n\ * -crtkill kill all line by obeying the echoctl and echok settings\n\ "), stdout); +#endif +#ifdef ECHOCTL fputs (_("\ * [-]ctlecho echo control characters in hat notation ('^c')\n\ +"), stdout); +#endif + fputs (_("\ [-]echo echo input characters\n\ +"), stdout); +#ifdef ECHOCTL + fputs (_("\ * [-]echoctl same as [-]ctlecho\n\ +"), stdout); +#endif + fputs (_("\ [-]echoe same as [-]crterase\n\ [-]echok echo a newline after a kill character\n\ "), stdout); +#ifdef ECHOKE fputs (_("\ * [-]echoke same as [-]crtkill\n\ +"), stdout); +#endif + fputs (_("\ [-]echonl echo newline even if not echoing other characters\n\ +"), stdout); +#ifdef ECHOPRT + fputs (_("\ * [-]echoprt echo erased characters backward, between '\\' and '/'\n\ +"), stdout); +#endif + fputs (_("\ [-]icanon enable erase, kill, werase, and rprnt special characters\n\ [-]iexten enable non-POSIX special characters\n\ "), stdout); fputs (_("\ [-]isig enable interrupt, quit, and suspend special characters\n\ [-]noflsh disable flushing after interrupt and quit special characters\n\ +"), stdout); +#ifdef ECHOPRT + fputs (_("\ * [-]prterase same as [-]echoprt\n\ +"), stdout); +#endif +#ifdef TOSTOP + fputs (_("\ * [-]tostop stop background jobs that try to write to the terminal\n\ +"), stdout); +#endif +#ifdef XCASE + fputs (_("\ * [-]xcase with icanon, escape with '\\' for uppercase characters\n\ "), stdout); +#endif fputs (_("\ \n\ Combination settings:\n\ +"), stdout); +#if defined XCASE && defined IUCLC && defined OLCUC + fputs (_("\ * [-]LCASE same as [-]lcase\n\ +"), stdout); +#endif + fputs (_("\ cbreak same as -icanon\n\ -cbreak same as icanon\n\ "), stdout); @@ -692,13 +851,23 @@ Combination settings:\n\ fputs (_("\ dec same as echoe echoctl echoke -ixany intr ^c erase 0177\n\ kill ^u\n\ +"), stdout); +#ifdef IXANY + fputs (_("\ * [-]decctlq same as [-]ixany\n\ +"), stdout); +#endif + fputs (_("\ ek erase and kill characters to their default values\n\ evenp same as parenb -parodd cs7\n\ + -evenp same as -parenb cs8\n\ "), stdout); +#if defined XCASE && defined IUCLC && defined OLCUC fputs (_("\ - -evenp same as -parenb cs8\n\ * [-]lcase same as xcase iuclc olcuc\n\ +"), stdout); +#endif + fputs (_("\ litout same as -parenb -istrip -opost cs8\n\ -litout same as parenb istrip opost cs7\n\ nl same as -icrnl -onlcr\n\ -- 1.7.7.6 --------------030701050400000509000401-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 14:45:32 2014 Received: (at 18506) by debbugs.gnu.org; 19 Sep 2014 18:45:32 +0000 Received: from localhost ([127.0.0.1]:46031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV3BT-0006Yh-LR for submit@debbugs.gnu.org; Fri, 19 Sep 2014 14:45:32 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:55331) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV3BP-0006YV-62 for 18506@debbugs.gnu.org; Fri, 19 Sep 2014 14:45:28 -0400 Received: from [192.168.1.10] (pD957CBB4.dip0.t-ipconnect.de [217.87.203.180]) by mrelayeu.kundenserver.de (node=mreue005) with ESMTP (Nemesis) id 0MR93L-1Xsrpz2zR1-00Ud4e; Fri, 19 Sep 2014 20:45:24 +0200 Message-ID: <541C79C4.8040308@bernhard-voelker.de> Date: Fri, 19 Sep 2014 20:45:24 +0200 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= , Edward Huff Subject: Re: bug#18506: stty dsusp undef fails. References: <541BF1DC.6030902@draigBrady.com> <541C496E.808@draigBrady.com> In-Reply-To: <541C496E.808@draigBrady.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:/0A7M7xxNKGstQIrBPkvtRQp9ZEgjv35Zj1YJ0h5Yzj /TppllV7ntdL8nUd7RgU7U7aUAZDkvcmctMJPYVlCyfd/b4897 8Po4jPvuxHbGX7TsCL5xKCsWTWVfuPwLvkhgPkCfsjTXu95Iia dB9h/KXTMMgWQwvwiBx1t+hwhD3grLANjt0JUjEEh3bpOcZ2x+ 9riRzuZdW6H85YWJ+ZXYa5eNCFJyYaww5Ns8/sbhvZAg3QjiLD SVCD4G/pdd/x9lEOGxv6jY20mZLLZ+BrtkXGYwBdfwqbdUPyOI Il30YqWt11osXsCaJbGQTOHXdh+qEa8iutCrUpZWidZBNV2lil scNbgfHvSelqdfLWCPX4cDzqtBWA8rmIPivjnQD/4 X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18506 Cc: 18506@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 09/19/2014 05:19 PM, Pádraig Brady wrote: > From be1e555db9cfd7e82a0a26e1a612a65ebe93d789 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?P=C3=A1draig=20Brady?= > Date: Fri, 19 Sep 2014 16:15:04 +0100 > Subject: [PATCH] stty: only list supported options in --help and man pages > > * src/stty.c (usage): Exclude unsupported options from --help, > which only impacts the "dsusp" option on GNU/Linux. that one, too: -* [\-]cdtrdsr -enable DTR/DSR handshaking -.TP A slightly different idea: as this can only happen for non-POSIX options, we could change the '*' symbol to e.g. 'S' ("supported non-POSIX option) and 'U' (unsupported non-POSIX option). WDYT? The cleanest solution probably would be to distinguish between distinguish "invalid argument" from "not supported" errors, as you aleady said. I'm not sure if it's worthwhile. Otherwise: +1 Thanks & have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 15:13:46 2014 Received: (at 18506) by debbugs.gnu.org; 19 Sep 2014 19:13:46 +0000 Received: from localhost ([127.0.0.1]:46036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV3cn-0007Da-I5 for submit@debbugs.gnu.org; Fri, 19 Sep 2014 15:13:46 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:54348) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV3cl-0007DS-LC for 18506@debbugs.gnu.org; Fri, 19 Sep 2014 15:13:44 -0400 Received: from [192.168.1.10] (pD957CBB4.dip0.t-ipconnect.de [217.87.203.180]) by mrelayeu.kundenserver.de (node=mreue003) with ESMTP (Nemesis) id 0MdqUD-1XfKcD3RT3-00PdFS; Fri, 19 Sep 2014 21:13:40 +0200 Message-ID: <541C8064.6030205@bernhard-voelker.de> Date: Fri, 19 Sep 2014 21:13:40 +0200 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= , Edward Huff Subject: Re: bug#18506: stty dsusp undef fails. References: <541BF1DC.6030902@draigBrady.com> <541C496E.808@draigBrady.com> <541C79C4.8040308@bernhard-voelker.de> In-Reply-To: <541C79C4.8040308@bernhard-voelker.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:JttDOCN/Ca5FIpqsICl1DuwRTDvdsl8IuYBvvRwEeZW an1j4fFTCiPIfbUpdMVDqiW1J6LbHShvBPXJdVfC7WSvkk4ZrK 8iR/nGPNp0unNC/l4rMl4FA9sq5o0nPL5WK0DzeZgQtmfJ0dHn crDUnKkBuorzi1tmCSk6YFZxAEQHsGa/UigSATQN7/2055sFfg 0EdvjxtKY3L8qH9XUHYu0eTemfgWb59gskuNvDBbOYknUON8dJ myDhhcWXxcoHff16KWWM4Nuso9BCiZbXtMkAYKYczBhU6IM1R2 1me5y22ysaViEx6ao/vh3WCRSsfwaDPg19byiTvs492QhtProB mY/iQjvLdEwyfBXQy5KqZOF6xupYzge96FZbCdxab X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18506 Cc: 18506@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 09/19/2014 08:45 PM, Bernhard Voelker wrote: > On 09/19/2014 05:19 PM, Pádraig Brady wrote: >> From be1e555db9cfd7e82a0a26e1a612a65ebe93d789 Mon Sep 17 00:00:00 2001 >> From: =?UTF-8?q?P=C3=A1draig=20Brady?= >> Date: Fri, 19 Sep 2014 16:15:04 +0100 >> Subject: [PATCH] stty: only list supported options in --help and man pages oops, the syntax-check doesn't pass: cppi: src/stty.c: line 570: not properly indented maint.mk: incorrect preprocessor indentation make: *** [sc_preprocessor_indentation] Error 1 sed -i -e '570 s/^# ifdef/#ifdef/' src/stty.c Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 18:42:00 2014 Received: (at 18506) by debbugs.gnu.org; 19 Sep 2014 22:42:00 +0000 Received: from localhost ([127.0.0.1]:46134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV6sK-0003xp-1z for submit@debbugs.gnu.org; Fri, 19 Sep 2014 18:42:00 -0400 Received: from mail2.vodafone.ie ([213.233.128.44]:54743) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XV6sH-0003xa-9K for 18506@debbugs.gnu.org; Fri, 19 Sep 2014 18:41:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwBANivHFRtTESQ/2dsb2JhbAANU4Q3gwHORQGBGQGEfAEBAQMBIw8BRgULCw0BAwMBAgECAgUWCwICCQMCAQIBPQgGDQEFAgEBF4gbDawWeJV8AReBLI5VB4J4gVMBBI8+lUqROmuCSgEBAQ Received: from unknown (HELO [192.168.1.79]) ([109.76.68.144]) by mail2.vodafone.ie with ESMTP; 19 Sep 2014 23:41:56 +0100 Message-ID: <541CB134.8020709@draigBrady.com> Date: Fri, 19 Sep 2014 23:41:56 +0100 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Bernhard Voelker Subject: Re: bug#18506: stty dsusp undef fails. References: <541BF1DC.6030902@draigBrady.com> <541C496E.808@draigBrady.com> <541C79C4.8040308@bernhard-voelker.de> In-Reply-To: <541C79C4.8040308@bernhard-voelker.de> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18506 Cc: Edward Huff , 18506@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 09/19/2014 07:45 PM, Bernhard Voelker wrote: > On 09/19/2014 05:19 PM, Pádraig Brady wrote: >> From be1e555db9cfd7e82a0a26e1a612a65ebe93d789 Mon Sep 17 00:00:00 2001 >> From: =?UTF-8?q?P=C3=A1draig=20Brady?= >> Date: Fri, 19 Sep 2014 16:15:04 +0100 >> Subject: [PATCH] stty: only list supported options in --help and man pages >> >> * src/stty.c (usage): Exclude unsupported options from --help, >> which only impacts the "dsusp" option on GNU/Linux. > > that one, too: > > -* [\-]cdtrdsr > -enable DTR/DSR handshaking > -.TP Oh right, I was comparing against an older stty without that support. > A slightly different idea: as this can only happen for non-POSIX > options, we could change the '*' symbol to e.g. 'S' ("supported > non-POSIX option) and 'U' (unsupported non-POSIX option). > WDYT? I did think about that, but err'd on side of less information, rather than more. > The cleanest solution probably would be to distinguish between > distinguish "invalid argument" from "not supported" errors, as you > aleady said. I'm not sure if it's worthwhile. I thought of that too, but thought the doc changes enough. I'll sleep on this one before pushing. thanks for all the reviews! Pádraig. From unknown Wed Jun 25 03:52:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 18 Oct 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator