From 3e05a5780de1ea0d8e527719f72aa1816e84056a Mon Sep 17 00:00:00 2001
From: curt <curt>
Date: Fri, 4 Dec 1998 01:24:35 +0000
Subject: [PATCH] Tweak for SGI portability.

---
 Serial/serial.cxx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Serial/serial.cxx b/Serial/serial.cxx
index 3be1e1c23..01bd9d863 100644
--- a/Serial/serial.cxx
+++ b/Serial/serial.cxx
@@ -80,12 +80,14 @@ bool fgSERIAL::open_port(const string& device) {
 
     // software flow control on
     config.c_iflag |= IXON;
-    config.c_iflag |= IXOFF;
+    // config.c_iflag |= IXOFF;
 
     // config.c_cflag |= CLOCAL;
 
+#if ! defined( sgi )    
     // disable hardware flow control
     config.c_cflag &= ~(CRTSCTS);
+#endif
 
     // cout << "config.c_iflag = " << config.c_iflag << endl;
 
@@ -204,6 +206,9 @@ int fgSERIAL::write_port(const string& value) {
 
 
 // $Log$
+// Revision 1.7  1998/12/04 01:24:35  curt
+// Tweak for SGI portability.
+//
 // Revision 1.6  1998/11/30 17:15:29  curt
 // Having the class destructor close the fd was a bad idea ... especially if you
 // ever make a copy of the instance and then subsequently destroy either.