summaryrefslogtreecommitdiffstats
path: root/bin/stty/modes.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-04-29 15:17:17 +0000
committerbde <bde@FreeBSD.org>1995-04-29 15:17:17 +0000
commitc6d77acc4398534b4d12fd1c7714897281e09abb (patch)
tree0df7c35dec2718d5a57c8476b779ea561c5bcc62 /bin/stty/modes.c
parentd0845530dbf56ea91017619d52bffb06af3c2a5d (diff)
downloadFreeBSD-src-c6d77acc4398534b4d12fd1c7714897281e09abb.zip
FreeBSD-src-c6d77acc4398534b4d12fd1c7714897281e09abb.tar.gz
Support nonstandard (not yet all supported) flow control options. `ctsflow'
and `rtsflow' are the components of `crtscts'. `dtrflow' and `dsrflow' are new and not yet supported. `dtrflow' may be useful for Cyclades serial careds, which have h/w support for it and no h/w support for `rtsflow'. print.c: Report NTTYDISC in case the line is in this obsolescent state.
Diffstat (limited to 'bin/stty/modes.c')
-rw-r--r--bin/stty/modes.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/stty/modes.c b/bin/stty/modes.c
index 31e716b..0aa7438 100644
--- a/bin/stty/modes.c
+++ b/bin/stty/modes.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: modes.c,v 1.2 1994/09/24 02:58:59 davidg Exp $
*/
#ifndef lint
@@ -81,6 +81,14 @@ struct modes cmodes[] = {
{ "-clocal", 0, CLOCAL },
{ "crtscts", CRTSCTS, 0 },
{ "-crtscts", 0, CRTSCTS },
+ { "ctsflow", CCTS_OFLOW, 0 },
+ { "-ctsflow", 0, CCTS_OFLOW },
+ { "dsrflow", CDSR_OFLOW, 0 },
+ { "-dsrflow", 0, CDSR_OFLOW },
+ { "dtrflow", CDTR_IFLOW, 0 },
+ { "-dtrflow", 0, CDTR_IFLOW },
+ { "rtsflow", CRTS_IFLOW, 0 },
+ { "-rtsflow", 0, CRTS_IFLOW },
{ "mdmbuf", MDMBUF, 0 },
{ "-mdmbuf", 0, MDMBUF },
{ NULL },
OpenPOWER on IntegriCloud