summaryrefslogtreecommitdiff
path: root/emulators/bochs
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-01-14 09:06:32 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-01-14 09:06:32 +0000
commit3c503805d73a6986857b556c13c7a2bc735048ea (patch)
tree9d0035d9d5f819c0b493e9007be9e80ea075a734 /emulators/bochs
parentUpdate to 1.0.1 (diff)
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>
Notes
Notes: svn path=/head/; revision=24716
Diffstat (limited to 'emulators/bochs')
-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