freebsd-nq/usr.bin/doscmd
Robert Drehmel a41f101db4 Avoid a null-pointer dereference which occurred when emulating DOS
interrupt 0x10 function 0x00 without dpy int tty.c being set.

PR:		35147
Submitted by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
2002-02-26 10:22:25 +00:00
..
AsyncIO.c - First shot at PIC emulation; 2001-10-02 11:28:59 +00:00
AsyncIO.h - First shot at PIC emulation; 2001-10-02 11:28:59 +00:00
bios.c Minor cleanup, no functional changes: 2001-10-12 10:31:00 +00:00
callback.c Silence some more warnings, mostly from `-W -Wwrite-strings'. 2001-08-08 10:58:50 +00:00
callback.h Silence some more warnings, mostly from `-W -Wwrite-strings'. 2001-08-08 10:58:50 +00:00
cmos.c Fix warnings resulting from `-Wredundant-decls -Wstrict-prototypes'. 2001-08-07 11:09:15 +00:00
com.h - First shot at PIC emulation; 2001-10-02 11:28:59 +00:00
config.c - First shot at PIC emulation; 2001-10-02 11:28:59 +00:00
cp437-8x8.pcf.gz.uu Rewrite video emulation. Features: 2001-07-24 11:44:20 +00:00
cp437-8x14.pcf.gz.uu Rewrite video emulation. Features: 2001-07-24 11:44:20 +00:00
cp437-8x16.pcf.gz.uu Install a VGA font for the X11 mode. Use a line like 2000-06-23 08:57:17 +00:00
cpu.c - Emulate instructions prefixed with 'rep' correctly: set the CX 2002-02-26 10:13:35 +00:00
crt0.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
cwd.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
cwd.h WARNS=2 fixup 2001-12-02 13:48:40 +00:00
debug.c Initialize debugf in main() 2001-08-13 21:56:39 +00:00
disktab.c Fix warnings from `-Wmissing-prototypes'. Staticize. 2001-08-03 10:47:56 +00:00
dispatch.h Clean up the code a bit: 2001-07-24 11:50:23 +00:00
dos.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
dos.h Silence some more warnings, mostly from `-W -Wwrite-strings'. 2001-08-08 10:58:50 +00:00
doscmd_loader.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
doscmd.1 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
doscmd.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
doscmd.h Don't rely on <sys/signal.h> to include <sys/ucontext.h>. 2002-02-17 17:19:14 +00:00
ems.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
ems.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
emsdriv.S $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
emsdriv.sys.uu Clean up the code a bit: 2001-07-24 11:50:23 +00:00
emuint.c Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
emuint.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
exe.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
fonts.dir Correct font names. Now, how on earth did this work on my system? 2001-07-26 11:05:31 +00:00
i386-pinsn.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
int1a.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
int2f.c Clean up the code a bit: 2001-07-24 11:50:23 +00:00
int10.c Avoid a null-pointer dereference which occurred when emulating DOS 2002-02-26 10:22:25 +00:00
int13.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
int14.c - First shot at PIC emulation; 2001-10-02 11:28:59 +00:00
int16.c Fix warnings from `-Wmissing-prototypes'. Staticize. 2001-08-03 10:47:56 +00:00
int17.c Clean up the code a bit: 2001-07-24 11:50:23 +00:00
int.c Minor cleanup, no functional changes: 2001-10-12 10:31:00 +00:00
intff.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
Makefile Fixed the BINGRP handling mess. 2001-09-13 07:20:51 +00:00
Makefile.dos Clean up the code a bit: 2001-07-24 11:50:23 +00:00
mem.c Mark debug() and fatal() as __printflike() and fix resulting warnings. 2001-07-31 11:27:48 +00:00
mouse.c Clean up the code a bit: 2001-07-24 11:50:23 +00:00
mouse.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
net.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ParseBuffer.c Fix warnings from `-Wmissing-prototypes'. Staticize. 2001-08-03 10:47:56 +00:00
port.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
PROBLEMS
README Clean up the code a bit: 2001-07-24 11:50:23 +00:00
README.booting_dos Update device references. 2000-05-07 09:23:36 +00:00
redir.com.uu Clean up the code a bit: 2001-07-24 11:50:23 +00:00
redir.S $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
register.h Fix the breakage of doscmd that was caused by the rebirth 1999-10-08 09:02:39 +00:00
setver.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
signal.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
timer.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
trace.c Silence some more warnings, mostly from `-W -Wwrite-strings'. 2001-08-08 10:58:50 +00:00
trap.c - First shot at PIC emulation; 2001-10-02 11:28:59 +00:00
trap.h Clean up the code a bit: 2001-07-24 11:50:23 +00:00
tty.c WARNS=2 fixup 2001-12-02 13:48:40 +00:00
tty.h Fix INT 10:09 (write char) and INT 10:0a (write char and attribute) 2001-08-14 11:57:14 +00:00
video.c - First shot at PIC emulation; 2001-10-02 11:28:59 +00:00
video.h Silence some more warnings, mostly from `-W -Wwrite-strings'. 2001-08-08 10:58:50 +00:00
vparams.h Rewrite video emulation. Features: 2001-07-24 11:44:20 +00:00
xms.c Remove MAP_INHERIT flag from mmaps. 2001-08-25 18:06:32 +00:00
xms.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00

/* BSDI README,v 2.2 1996/04/08 19:32:16 bostic Exp*/
/* $FreeBSD$ */

This is the merged doscmd/rundos project.  Please read the man
page for help on configuring doscmd.

Things known not to work:
    *	No mouse support (yet)
    *	No raw VGA support (yet)
    *	Printer support (yet)
    *	COM ports (being worked on)
    *	redirected file system only supported for DOS 4.0 and above
	(3.3 will be supported in a future version)
    *	Graphics in an X window (only 16 colors, very few programs)

Even with this, I think it is actually a much better product.  There have 
been problems reported with the ibmpc font and the distributed X server.
If you have that problem, try setting

	X11_FONT=fixed

in your .doscmdrc.  Be aware that graphics characters will not print correctly
if you do this.

You will need to patch your kernel.  Diffs are provided against the CD-ROM.
Please let me know if there are a problem with them (I am running a pre 1.1
kernel now).

It is possible there are some problems in the floppy code due to the fact
that I am not set up to test under 1.0 at this point.  I will be in a few
days I hope.

Please send all bug reports to prb@BSDI.COM.

			-Paul Borman
			 prb@BSDI.COM
			 Jan 4 1994