summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/doscmd.c
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>1997-09-30 22:04:06 +0000
committerjlemon <jlemon@FreeBSD.org>1997-09-30 22:04:06 +0000
commitd41bb2bc87f29068e4d03f319a4989911f2cd73c (patch)
tree648a56a6242ed5ba9d08e736053edb3c7c0a6194 /usr.bin/doscmd/doscmd.c
parent0f45f2fb69fa51d32a49bcda72f6de056fdf4b0a (diff)
downloadFreeBSD-src-d41bb2bc87f29068e4d03f319a4989911f2cd73c.zip
FreeBSD-src-d41bb2bc87f29068e4d03f319a4989911f2cd73c.tar.gz
Add support for EMS emulation to doscmd. This requires changing the
interface for callbacks to doscmd from DOS, obsoleting the instbsdi redirector. (redir.com replaces it) A temporary hack is in place so the instbsdi program will (hopefully) work in the short term. Submitted by: Helmut F. Wirth <hfwirth@ping.at>
Diffstat (limited to 'usr.bin/doscmd/doscmd.c')
-rw-r--r--usr.bin/doscmd/doscmd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/doscmd/doscmd.c b/usr.bin/doscmd/doscmd.c
index 295b6a4..2bfa3cf 100644
--- a/usr.bin/doscmd/doscmd.c
+++ b/usr.bin/doscmd/doscmd.c
@@ -29,7 +29,7 @@
*
* BSDI doscmd.c,v 2.3 1996/04/08 19:32:30 bostic Exp
*
- * $Id: doscmd.c,v 1.1 1997/08/09 01:42:41 dyson Exp $
+ * $Id: doscmd.c,v 1.2 1997/08/15 23:41:23 jlemon Exp $
*/
#include <sys/types.h>
@@ -489,7 +489,7 @@ do_args(int argc, char *argv[])
FILE *fp;
char *col;
- while ((c = getopt (argc, argv, "234Oc:TkCIEMPRLAU:S:HDtzvVxXfbri:o:d:")) != -1) {
+ while ((c = getopt (argc, argv, "234Oc:TkCIEMPRLAU:S:HDtzvVxXYfbri:o:d:")) != -1) {
switch (c) {
case 'd':
if (fp = fopen(optarg, "w")) {
@@ -572,6 +572,9 @@ do_args(int argc, char *argv[])
case 'X':
debug_flags |= D_XMS;
break;
+ case 'Y':
+ debug_flags |= D_EMS;
+ break;
case 'L':
debug_flags |= D_PRINTER;
break;
OpenPOWER on IntegriCloud