aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-01-14 17:06:32 +0800
committerobrien <obrien@FreeBSD.org>2000-01-14 17:06:32 +0800
commitbe4bc83f4a3363d217919debf8354a983815f427 (patch)
tree79ac73251578ef13f1410497835ef92da91c5720 /emulators
parentde48bb6674df477bf7eea69b4ed19b1875f25cb3 (diff)
downloadfreebsd-ports-gnome-be4bc83f4a3363d217919debf8354a983815f427.tar.gz
freebsd-ports-gnome-be4bc83f4a3363d217919debf8354a983815f427.tar.zst
freebsd-ports-gnome-be4bc83f4a3363d217919debf8354a983815f427.zip
There's a bug in bochs that's been annoying me for a while. I have found a
fix, but, as I don't fully understand *why* the fix works (and doesn't break anything else). When bochs is run from an xterm it leaves the xterm in an unstable state after exiting (if bochs is started in the background the xterm is unstable as soon as the prompt returns). By unstable I mean: Nothing you tyoe is echoed, and commands don't work (``ls'' gives no output, for example). Ctrl-C and Ctrl-D behave like RETURN; you get a line feed and a new prompt, and the DEL and INS keys do a destructive back-space over the prompt. Submitted by: Mark Ovens <mark@dogma.freebsd-uk.eu.org>
Diffstat (limited to 'emulators')
-rw-r--r--emulators/bochs/files/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/bochs/files/patch-ac b/emulators/bochs/files/patch-ac
new file mode 100644
index 000000000000..90b82bbf2ab3
--- /dev/null
+++ b/emulators/bochs/files/patch-ac
@@ -0,0 +1,13 @@
+--- iodev/serial.cc.orig Thu Nov 11 21:44:52 1999
++++ iodev/serial.cc Fri Jan 14 00:59:57 2000
+@@ -75,8 +75,8 @@
+ term_new.c_iflag |= IGNBRK;
+ term_new.c_iflag &= ~BRKINT;
+ #endif
+- term_new.c_iflag |= IXOFF;
+- tcsetattr(0, TCSAFLUSH, &term_new);
++ // term_new.c_iflag |= IXOFF;
++ // tcsetattr(0, TCSAFLUSH, &term_new);
+ #endif
+ // nothing for now
+ #if USE_RAW_SERIAL