freebsd-ports/emulators/bochs/files/patch-ac
David E. O'Brien 3c503805d7 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>
2000-01-14 09:06:32 +00:00

14 lines
378 B
Plaintext

--- 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