Use the ioctl's CDIOREADTOCHEADER and CDIOREADTOCENTRYS to determine
the size of the data track on the disk, rather than using the DIOCGDINFO
ioctl (which doesn't appear to work for all users / CD media under FreeBSD).
Submitted by: Keith Jones <keith@mithy.org>
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>