summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-01-23 01:26:29 +0000
committerPádraig Brady <P@draigBrady.com>2015-01-24 01:07:00 +0000
commitc6a722946d9868b49fa363dc6e562c39ac8e9de7 (patch)
tree11f015ea44edae844c92149cd99059ef2c1ede46
parent81e5b59d8cedd1afb185ec5147ab25ed509ff80c (diff)
downloadcoreutils-c6a722946d9868b49fa363dc6e562c39ac8e9de7.tar.xz
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.
-rw-r--r--doc/coreutils.texi4
-rw-r--r--src/stty.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 078bca340..1d6f9d86b 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 f3fb714b3..ecff2d359 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -574,6 +574,11 @@ Special characters:\n"), stdout);
* 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\
"), stdout);