diff options
author | B. Watson <yalhcru@gmail.com> | 2019-03-13 02:50:42 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2019-03-13 02:50:42 -0400 |
commit | 2973d0c78e9b8eed3c5af239927c6bd36af64604 (patch) | |
tree | a0fdfe7201303edd11c6d86015ef4f79796fcf0f /src/slattach_rts.diff | |
download | fujichat-2973d0c78e9b8eed3c5af239927c6bd36af64604.tar.gz |
initial commit
Diffstat (limited to 'src/slattach_rts.diff')
-rw-r--r-- | src/slattach_rts.diff | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/slattach_rts.diff b/src/slattach_rts.diff new file mode 100644 index 0000000..d14afe1 --- /dev/null +++ b/src/slattach_rts.diff @@ -0,0 +1,26 @@ +--- net-tools-1.60/slattach.c 2008-11-01 12:29:56.000000000 -0400 ++++ net-tools-1.60.patched/slattach.c 2008-10-31 21:41:43.000000000 -0400 +@@ -347,6 +347,7 @@ + tty->c_cflag |= CLOCAL; + else + tty->c_cflag |= CRTSCTS; ++ tty->c_cflag &= ~CRTSCTS; /* 20081031 bkw: need or not? */ + tty->c_cflag |= speed; /* restore speed */ + return(0); + } +@@ -723,6 +724,15 @@ + (void) signal(SIGQUIT, sig_catch); + (void) signal(SIGTERM, sig_catch); + ++ /* 20081031 bkw: force RTS off (Tucker sio2pc) */ ++ { ++ int tstatus; ++ fprintf(stderr, "slattach: RTS forced off (Tucker SIO2PC)\n"); ++ ioctl(tty_fd, TIOCMGET, &tstatus); ++ tstatus &= ~TIOCM_RTS; ++ ioctl(tty_fd, TIOCMSET, &tstatus); ++ } ++ + /* Wait until we get killed if hanging on a terminal. */ + if (opt_e == 0) { + while(1) { |