From 3c503805d73a6986857b556c13c7a2bc735048ea Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 14 Jan 2000 09:06:32 +0000 Subject: 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 --- emulators/bochs/files/patch-ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 emulators/bochs/files/patch-ac (limited to 'emulators/bochs/files/patch-ac') 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 -- cgit v1.2.3