1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-23 20:51:43 +00:00

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>
This commit is contained in:
David E. O'Brien 2000-01-14 09:06:32 +00:00
parent b974ac5906
commit 3c503805d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24716

View File

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