From: Pádraig Brady
Date: Fri, 23 Jan 2015 01:26:29 +0000 (+0000) Subject: stty: document the 'status' character where supported X-Git-Tag: v8.24~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6a722946d9868b49fa363dc6e562c39ac8e9de7;p=thirdparty%2Fcoreutils.git stty: document the 'status' character where supported * src/stty.c (usage): On systems that support this setting (BSD), display 'status' in the list of adjustable special characters. * doc/coreutils.texi (stty invocation): Mention the option, and that it's not currently supported on Linux. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 078bca3404..1d6f9d86b1 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -14447,6 +14447,10 @@ Alternate character to toggle discarding of output. Non-POSIX. @opindex swtch Switch to a different shell layer. Non-POSIX. +@item status +@opindex status +Send an info signal. Not currently supported on Linux. Non-POSIX. + @item start @opindex start Restart the output after stopping it. diff --git a/src/stty.c b/src/stty.c index f3fb714b3e..ecff2d3591 100644 --- a/src/stty.c +++ b/src/stty.c @@ -573,6 +573,11 @@ Special characters:\n"), stdout); fputs (_("\ * lnext CHAR CHAR will enter the next character quoted\n\ "), stdout); +#endif +#ifdef VSTATUS + fputs (_("\ + * status CHAR CHAR will send an info signal\n\ +"), stdout); #endif fputs (_("\ quit CHAR CHAR will send a quit signal\n\