From 2c8507ea9764efcea78645d459e93fc072d0e9a6 Mon Sep 17 00:00:00 2001 From: Landon Fuller Date: Tue, 16 Oct 2012 21:17:38 -0400 Subject: [PATCH] Set tty raw mode when using a pty. --- BasiliskII/src/Unix/serial_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasiliskII/src/Unix/serial_unix.cpp b/BasiliskII/src/Unix/serial_unix.cpp index de80520d..81922b43 100644 --- a/BasiliskII/src/Unix/serial_unix.cpp +++ b/BasiliskII/src/Unix/serial_unix.cpp @@ -222,7 +222,7 @@ int16 XSERDPort::open(uint16 config) } // Configure port for raw mode - if (protocol == serial) { + if (protocol == serial || protocol == pty) { if (tcgetattr(fd, &mode) < 0) goto open_error; cfmakeraw(&mode);