From owner-freebsd-emulation Thu Jan 15 11:39:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA02819 for freebsd-emulation-outgoing; Thu, 15 Jan 1998 11:39:53 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from drawbridge.ascend.com (drawbridge.ascend.com [198.4.92.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA02813 for ; Thu, 15 Jan 1998 11:39:49 -0800 (PST) (envelope-from david.mazik@ascend.com) Received: from spud.ascend.com (fw-ext.ascend.com [198.4.92.5]) by drawbridge.ascend.com (8.6.12/8.6.12) with ESMTP id LAA22502 for ; Thu, 15 Jan 1998 11:39:43 -0800 Received: from ascend.com by ascend.com with ESMTP id LAA28594 for ; Thu, 15 Jan 1998 11:39:42 -0800 Received: from basset.eng.ascend.com (basset.eng.ascend.com [192.168.19.2]) by wopr.eng.ascend.com (8.6.12/8.6.12) with ESMTP id KAA19446 for ; Thu, 15 Jan 1998 10:39:41 -0800 Received: from dmazik-net-82 by basset.eng.ascend.com (SMI-8.6/SMI-SVR4) id MAA23051; Thu, 15 Jan 1998 12:46:46 -0500 Message-Id: <3.0.1.32.19980115124648.00985aa0@192.168.19.2> X-Sender: dmazik@192.168.19.2 X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Thu, 15 Jan 1998 12:46:48 -0500 To: emulation@FreeBSD.ORG From: "David R. Mazik" Subject: doscmd status? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Aside from pcmenu is there anything like doscmd under BSDI which will be available for FreeBSD anytime soon? Thanks, Dave From owner-freebsd-emulation Thu Jan 15 17:39:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA08631 for freebsd-emulation-outgoing; Thu, 15 Jan 1998 17:39:33 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA08615 for ; Thu, 15 Jan 1998 17:39:26 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id MAA00878; Fri, 16 Jan 1998 12:02:54 +1030 (CST) Message-Id: <199801160132.MAA00878@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "David R. Mazik" cc: emulation@FreeBSD.ORG Subject: Re: doscmd status? In-reply-to: Your message of "Thu, 15 Jan 1998 12:46:48 CDT." <3.0.1.32.19980115124648.00985aa0@192.168.19.2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 16 Jan 1998 12:02:54 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Aside from pcmenu is there anything like doscmd under BSDI which > will be available for FreeBSD anytime soon? doscmd. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Thu Jan 15 17:59:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA10227 for freebsd-emulation-outgoing; Thu, 15 Jan 1998 17:59:08 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from abby.skypoint.net (abby.skypoint.net [199.86.32.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA10220 for ; Thu, 15 Jan 1998 17:59:05 -0800 (PST) (envelope-from bruce@zuhause.mn.org) Received: (from uucp@localhost) by abby.skypoint.net (8.8.7/jl 1.3) with UUCP id TAA02988; Thu, 15 Jan 1998 19:59:03 -0600 (CST) Received: (from bruce@localhost) by zuhause.mn.org (8.8.7/8.8.7) id TAA09872; Thu, 15 Jan 1998 19:47:36 -0600 (CST) Date: Thu, 15 Jan 1998 19:47:36 -0600 (CST) Message-Id: <199801160147.TAA09872@zuhause.mn.org> From: Bruce Albrecht To: "David R. Mazik" Cc: emulation@FreeBSD.ORG Subject: Re: doscmd status? In-Reply-To: <3.0.1.32.19980115124648.00985aa0@192.168.19.2> References: <3.0.1.32.19980115124648.00985aa0@192.168.19.2> X-Mailer: VM 6.34 under 20.3 "Vatican City" XEmacs Lucid Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org David R. Mazik writes: > Hi, > > Aside from pcmenu is there anything like doscmd under BSDI which > will be available for FreeBSD anytime soon? I don't know the plans for FreeBSD-2.x, but doscmd is standard in FreeBSD-current, so it will be a part of FreeBSD-3.0 when it is released. Current is a little unstable right now, so I'm not sure I'd advise switching to it. From owner-freebsd-emulation Sun Jan 18 14:29:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA20282 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 14:29:41 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA20198 for ; Sun, 18 Jan 1998 14:28:51 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 18 Jan 1998 17:28:12 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA19683; Sun, 18 Jan 98 17:28:10 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id RAA21438; Sun, 18 Jan 1998 17:26:51 -0500 Message-Id: <19980118172651.35879@ct.picker.com> Date: Sun, 18 Jan 1998 17:26:51 -0500 From: Randall Hopper To: emulation@FreeBSD.ORG Subject: DOSCMD: How to enable Backspace key? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org DOSCMD seems to work "much" better than when I tried it last. I can get into my favorite spreadsheet and word processor now in FreeBSD. :-) Thanks for your time and effort! I have a smattering of questions (which I'll break up so I can use meaningful subject lines). QUESTION #1: How do I get DOSCMD to use the keysym instead of the keysym for backspace? The only man page mention pertaining to keys was -r, and I get "mmap: Invalid argument" when I try that. BTW, I'm running doscmd from the 3.0-971208 SNAP. Randall From owner-freebsd-emulation Sun Jan 18 14:39:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA21341 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 14:39:33 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA21314 for ; Sun, 18 Jan 1998 14:39:22 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 18 Jan 1998 17:38:41 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA19877; Sun, 18 Jan 98 17:38:40 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id RAA21560; Sun, 18 Jan 1998 17:37:24 -0500 Message-Id: <19980118173724.32263@ct.picker.com> Date: Sun, 18 Jan 1998 17:37:24 -0500 From: Randall Hopper To: emulation@FreeBSD.ORG Subject: DOSCMD: How do you set up printing? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org QUESTION #2: How do you set up printing for LPT1:? SUMMARY : I'm having 3 basic problems: (1) "assign" device -to- DOS device correspondence (2) Timeouts (3) Mystery form feeds MORE DETAIL : (1) I added this to my doscmdrc: assign lpt1: direct /dev/lpt0 but when I tried "copy con:lpt1:", typed some text, and hit EOF (F6), I got a number of: /dev/lp0: No such file or directory So I tried changing the assign to "lpt0:" (man page says its OK), but DOSCMD didn't take it and numbering starts at 1 in DOS anyway, so guess that's a man page typo. Returning to: assign lpt1: direct /dev/lpt0 I tried "copy con:lpt2:" which, after 30 seconds, printed my output. (2) Then, playing with this odd combination (assign lpt1, actually use LPT2:), I had problems with timeouts. I'd really prefer no queuing or a very short queue interval -- that is, send it immediately. So I tried: assign lpt1: direct /dev/lpt0 1 And it was still 30 seconds until I saw my output. A 0 timeout did the same. (3) Finally, each 30 second flush always printed and ejected the page, as if some S/W were injected a formfeed (^L) character in there on a flush. Is there a way to suppress this spurious formfeed? Thanks, Randall From owner-freebsd-emulation Sun Jan 18 15:16:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24747 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 15:16:40 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA24741 for ; Sun, 18 Jan 1998 15:16:36 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 18 Jan 1998 18:15:52 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA20484; Sun, 18 Jan 98 18:15:50 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id SAA21650; Sun, 18 Jan 1998 18:14:33 -0500 Message-Id: <19980118181432.24976@ct.picker.com> Date: Sun, 18 Jan 1998 18:14:32 -0500 From: Randall Hopper To: emulation@FreeBSD.ORG Subject: DOSCMD: 43/50-lines? EGA/VGA graphics? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is 43 or 50 line text mode supported? Or EGA or VGA graphics? Running "mode con:lines=50" with ANSI.SYS installed prints: Function not supported on this computer and running a program I have which switches to 50line mode and loads a nice font gives this on the xterm I started DOSCMD from: Tried to load and activate user defined font I also notice that my spreadsheet program doesn't even want to run in 80x25 text mode if I have it configured for an EGA or VGA (Unknown interrupt 10 function 30). It has to be setup as CGA. -- Regarding graphics, I wouldn't even ask but I saw a mention of VGA graphics by the -r option in the man page. Where is this supported: through emulation in X, or through console mode only, or not at all in the FreeBSD version? Mention of VGA graphics also prompts the question, are any EGA graphics modes supported? In sbasica, I notice that the CGA modes don't work (320x200x4 and 640x200x2), but they're useless anyway. 640x480x16, 640x350x16, and 320x200x256 would be much more useful. Thanks, Randall From owner-freebsd-emulation Sun Jan 18 15:33:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA25950 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 15:33:49 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA25934 for ; Sun, 18 Jan 1998 15:33:30 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 18 Jan 1998 18:32:56 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA20744; Sun, 18 Jan 98 18:32:54 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id SAA21700; Sun, 18 Jan 1998 18:31:40 -0500 Message-Id: <19980118183139.14729@ct.picker.com> Date: Sun, 18 Jan 1998 18:31:39 -0500 From: Randall Hopper To: emulation@FreeBSD.ORG Subject: DOSCMD: Misc questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org When DOSCMD starts up, it seems to need a key hit to continue loading DOS. Is this normal? Also, I see these messages when I check off the DOS option on my OS/BS multiboot menu: Init: 0 Unknown interrupt 15 function 4101 Unknown interrupt 15 function 8766 this is when the "Starting MS-DOS..." message appears and startup hangs waiting on a key to be hit. Funny thing is that this key stays around in the keyboard buffer and is fed to the next program requesting a key (HDM in my case, a hard disk manager utility, which I start up from my autoexec.bat). So if I hit , when it gets to HDM, it automatically runs the first program on the list. Randall From owner-freebsd-emulation Sun Jan 18 16:25:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA00170 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 16:25:16 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA00155 for ; Sun, 18 Jan 1998 16:25:09 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Sun, 18 Jan 1998 19:24:35 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA21536; Sun, 18 Jan 98 19:24:33 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id TAA21905; Sun, 18 Jan 1998 19:23:19 -0500 Message-Id: <19980118192319.02894@ct.picker.com> Date: Sun, 18 Jan 1998 19:23:19 -0500 From: Randall Hopper To: emulation@FreeBSD.ORG Subject: DOSCMD: Problems w/ Quicken Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I still use Quicken 5.0 for DOS, and boot into DOS every 3-4 weeks to use it. So I decided to try it on DOSCMD -- would be great if I could run it in FreeBSD. The main menu comes up, but when I hit the down arrow key in the "inverted T (middle) keypad, I get: ax=0000 bx=ffff cx=ff07 dx=0000 si=001c di=001a sp=fe64 bp=fe78 cs=30bb ss=3db8 ds=0040 es=9e99 ip=357 eflags=34246 8b 07 3c e0 75 02 32 c0 3b 1c fb 1f 5e 5f 5b ca movw (%bx),%ax unsupported instruction Same deal if I hit the "C" key to create reports. If instead I hit the down arrow in the numeric (right) keypad, the menu behaves as though several selection keys were pressed, neither of which had anything to do with down-arrow. The same type of thing happens if I hit "P" for preferences. Randall From owner-freebsd-emulation Sun Jan 18 16:49:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA01557 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 16:38:22 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA01524 for ; Sun, 18 Jan 1998 16:37:15 -0800 (PST) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.6.9) with ESMTP id QAA00365; Sun, 18 Jan 1998 16:37:13 -0800 (PST) To: Randall Hopper cc: emulation@FreeBSD.ORG Subject: Re: DOSCMD: Problems w/ Quicken In-reply-to: Your message of "Sun, 18 Jan 1998 19:23:19 EST." <19980118192319.02894@ct.picker.com> Date: Sun, 18 Jan 1998 16:37:12 -0800 Message-ID: <361.885170232@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I almost hate to tell you this in light of all your recent enthusiasm for DOSCMD, but I think that you may be one of the very few people actually using it and thus may not be in for a lot of feedback on this topic. :-( The DOS emulation code sort of an unloved child in search of a parent right now. Could that be your leg I see it clinging to? :-) Jordan From owner-freebsd-emulation Sun Jan 18 17:03:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04115 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 17:03:48 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04108 for ; Sun, 18 Jan 1998 17:03:34 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id LAA00271; Mon, 19 Jan 1998 11:26:35 +1030 (CST) Message-Id: <199801190056.LAA00271@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Jordan K. Hubbard" cc: Randall Hopper , emulation@FreeBSD.ORG Subject: Re: DOSCMD: Problems w/ Quicken In-reply-to: Your message of "Sun, 18 Jan 1998 16:37:12 -0800." <361.885170232@time.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 11:26:35 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I almost hate to tell you this in light of all your recent enthusiasm > for DOSCMD, but I think that you may be one of the very few people > actually using it and thus may not be in for a lot of feedback on this > topic. :-( Hey! I've been moving this weekend, and reducing my set of posessions in drastic style. Gimme a chance to catch up with things here and I can answer most of his questions. 8) > The DOS emulation code sort of an unloved child in search of a parent > right now. Could that be your leg I see it clinging to? :-) It'd certainly be nice to see someone with a vested interest in DOS emulation take it on. So far we've had several sets of people go past who have supplied fixes for their pet application and then gone quiet (it works for me...). I'm not complaining about that too much I guess. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Sun Jan 18 17:05:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04334 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 17:05:03 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04288 for ; Sun, 18 Jan 1998 17:04:35 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id LAA00289; Mon, 19 Jan 1998 11:27:57 +1030 (CST) Message-Id: <199801190057.LAA00289@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Randall Hopper cc: emulation@FreeBSD.ORG Subject: Re: DOSCMD: How to enable Backspace key? In-reply-to: Your message of "Sun, 18 Jan 1998 17:26:51 CDT." <19980118172651.35879@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 11:27:57 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > DOSCMD seems to work "much" better than when I tried it last. I can > get into my favorite spreadsheet and word processor now in FreeBSD. :-) Yay! > QUESTION #1: > > How do I get DOSCMD to use the keysym instead of the > keysym for backspace? > > The only man page mention pertaining to keys was -r, and I get "mmap: > Invalid argument" when I try that. Yecch, don't do that. If you are running in an X window, you want to look at the 'xmodmap' command, which will allow you to frob your keysyms to your heart's content. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Sun Jan 18 17:17:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA05701 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 17:17:56 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA05688 for ; Sun, 18 Jan 1998 17:17:45 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id LAA00349; Mon, 19 Jan 1998 11:41:07 +1030 (CST) Message-Id: <199801190111.LAA00349@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Randall Hopper cc: emulation@FreeBSD.ORG Subject: Re: DOSCMD: How do you set up printing? In-reply-to: Your message of "Sun, 18 Jan 1998 17:37:24 CDT." <19980118173724.32263@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 11:41:06 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > QUESTION #2: > > How do you set up printing for LPT1:? > > > SUMMARY : I'm having 3 basic problems: > (1) "assign" device -to- DOS device correspondence > (2) Timeouts > (3) Mystery form feeds > > MORE DETAIL : > > (1) > I added this to my doscmdrc: > assign lpt1: direct /dev/lpt0 > > but when I tried "copy con:lpt1:", typed some text, and hit EOF (F6), I got > a number of: > > /dev/lp0: No such file or directory > > So I tried changing the assign to "lpt0:" (man page says its OK), but > DOSCMD didn't take it and numbering starts at 1 in DOS anyway, so > guess that's a man page typo. Your assign syntax is incorrect. The doscmd configuration parser is an obscene and thoroughly disgusting piece of code. The correct syntaxes are: assign direct assign [] In the first case, the dos device is directly associated with a local printer. There is an error in int17.c:open_printer() where it uses / dev/lp%d rather than /dev/lpt%d, which is why you see the error message. > Returning to: > assign lpt1: direct /dev/lpt0 > > I tried "copy con:lpt2:" which, after 30 seconds, printed my output. Any attempt to output to a printer that has not been assigned will result in the output being queued to the default printer. Because there's no "end of print job" indication from DOS programs, doscmd waits until nothing has been printed for a while and then assumes that the program has finished printing and commits the job. This is a standard technique for printer redirectors and spoolers; some also support a magic hotkey for expediting print output, which you could add fairly easily. > (2) > Then, playing with this odd combination (assign lpt1, actually use LPT2:), > I had problems with timeouts. I'd really prefer no queuing or a very short > queue interval -- that is, send it immediately. So I tried: > > assign lpt1: direct /dev/lpt0 1 > > And it was still 30 seconds until I saw my output. A 0 timeout did the same. Your assign on lpt1: has no effect on lpt2:, which is operating in "queue to default printer" mode. If you want to reduce the timeout for lpt2:, you want assign lpt2: 10 Don't go below 5-10 seconds, as even a brief pause may cause your print job to be split and thus ruined. > (3) > > Finally, each 30 second flush always printed and ejected the page, as if > some S/W were injected a formfeed (^L) character in there on a flush. Is > there a way to suppress this spurious formfeed? This may be an issue with your printer configuration, or with the DOS application. There is nothing in doscmd that will insert a formfeed when a job is flushed. To perform a queued print job, doscmd simply forks off "lpr -P " and feeds data printed to it. After the timeout, it closes the pipe, which causes lpr to commit the job. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Sun Jan 18 17:25:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA06722 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 17:25:40 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA06694 for ; Sun, 18 Jan 1998 17:25:20 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id LAA00398; Mon, 19 Jan 1998 11:48:42 +1030 (CST) Message-Id: <199801190118.LAA00398@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Randall Hopper cc: emulation@FreeBSD.ORG Subject: Re: DOSCMD: Misc questions In-reply-to: Your message of "Sun, 18 Jan 1998 18:31:39 CDT." <19980118183139.14729@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 11:48:42 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > When DOSCMD starts up, it seems to need a key hit to continue loading DOS. > Is this normal? No. It may be due to something that you are loading in your CONFIG.SYS file which is unhappy with the quality of the low-level keyboard emulation. Have you tried working out what is hanging? Do you load the KEYB.SYS driver? (this last is known to cause problems). > Also, I see these messages when I check off the DOS option on my OS/BS > multiboot menu: > > Init: 0 > Unknown interrupt 15 function 4101 > Unknown interrupt 15 function 8766 You can look these up in Ralf Brown's Interrupt List. They are probably extended BIOS information requests. > Funny thing is that this key stays around in the keyboard buffer and is fed > to the next program requesting a key (HDM in my case, a hard disk manager > utility, which I start up from my autoexec.bat). Not actually very surprising; I expect that there is a program waiting for status from the keyboard. Hitting the key gets the status updated, but it never pulls the character itself. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Sun Jan 18 17:28:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA07015 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 17:28:15 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA06974 for ; Sun, 18 Jan 1998 17:27:29 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id LAA00375; Mon, 19 Jan 1998 11:45:12 +1030 (CST) Message-Id: <199801190115.LAA00375@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Randall Hopper cc: emulation@FreeBSD.ORG Subject: Re: DOSCMD: 43/50-lines? EGA/VGA graphics? In-reply-to: Your message of "Sun, 18 Jan 1998 18:14:32 CDT." <19980118181432.24976@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 11:45:12 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Is 43 or 50 line text mode supported? Or EGA or VGA graphics? No. Adding these would be moderately straightforward. > and running a program I have which switches to 50line mode and loads a nice > font gives this on the xterm I started DOSCMD from: > > Tried to load and activate user defined font Correct. If you want a nicer font, specify it in the DOSCMD configuration (font=), and make it available to your X server. > I also notice that my spreadsheet program doesn't even want to run in 80x25 > text mode if I have it configured for an EGA or VGA (Unknown interrupt 10 > function 30). It has to be setup as CGA. The VGA BIOS implementation is not complete, no. > Regarding graphics, I wouldn't even ask but I saw a mention of VGA graphics > by the -r option in the man page. > > Where is this supported: through emulation in X, or through console mode > only, or not at all in the FreeBSD version? The BSD/OS version allows you to directly map the VGA hardware if you are running doscmd on the console. The '-r' (raw) mode code is largely untested (and probably won't work). > Mention of VGA graphics also prompts the question, are any EGA graphics > modes supported? In sbasica, I notice that the CGA modes don't work > (320x200x4 and 640x200x2), but they're useless anyway. 640x480x16, > 640x350x16, and 320x200x256 would be much more useful. There has been no attempt made to support these modes; in raw mode they could probably be made to work reasonably easily. In X mode, a considerable deal of work would be required to emulate the VGA hardware and BIOS required. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Sun Jan 18 19:57:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA19191 for freebsd-emulation-outgoing; Sun, 18 Jan 1998 19:57:50 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA19172 for ; Sun, 18 Jan 1998 19:57:34 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id NAA00804; Mon, 19 Jan 1998 13:51:42 +1030 (CST) Message-Id: <199801190321.NAA00804@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Randall Hopper cc: emulation@FreeBSD.ORG Subject: Re: DOSCMD: Problems w/ Quicken In-reply-to: Your message of "Sun, 18 Jan 1998 19:23:19 CDT." <19980118192319.02894@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 13:51:42 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I still use Quicken 5.0 for DOS, and boot into DOS every 3-4 weeks to use it. > > So I decided to try it on DOSCMD -- would be great if I could run it in > FreeBSD. I can identify with that. 8) > The main menu comes up, but when I hit the down arrow key in the "inverted > T (middle) keypad, I get: > > ax=0000 bx=ffff cx=ff07 dx=0000 > si=001c di=001a sp=fe64 bp=fe78 > cs=30bb ss=3db8 ds=0040 es=9e99 > ip=357 eflags=34246 > 8b 07 3c e0 75 02 32 c0 3b 1c fb 1f 5e 5f 5b ca > movw (%bx),%ax > unsupported instruction Yecch. If it's actually trying to do what the above claims, it's making quite a mess. (0040:0000 is in seriously low memory, but 0040:ffff doesn't make any sense at all). > If instead I hit the down arrow in the numeric (right) keypad, the menu > behaves as though several selection keys were pressed, neither of which had > anything to do with down-arrow. The same type of thing happens if I hit > "P" for preferences. This looks like a difference of opinion about what the keypad keycodes should be. If you want to start attacking something, the crash above would be more worthwhile. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Mon Jan 19 02:13:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA13774 for freebsd-emulation-outgoing; Mon, 19 Jan 1998 02:13:23 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from coleridge.kublai.com (coleridge.kublai.com [207.96.1.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13765 for ; Mon, 19 Jan 1998 02:13:17 -0800 (PST) (envelope-from shmit@natasya.kublai.com) Received: from natasya.kublai.com (natasya.kublai.com [207.172.25.236]) by coleridge.kublai.com (8.8.8/8.8.8) with ESMTP id FAA15922; Mon, 19 Jan 1998 05:13:05 -0500 (EST) (envelope-from shmit@natasya.kublai.com) Received: (from shmit@localhost) by natasya.kublai.com (8.8.8/8.8.8) id FAA01900; Mon, 19 Jan 1998 05:13:04 -0500 (EST) Message-ID: <19980119051304.06795@erols.com> Date: Mon, 19 Jan 1998 05:13:04 -0500 From: Brian Cully To: Mike Smith Cc: Randall Hopper , emulation@FreeBSD.ORG Subject: Re: DOSCMD: Problems w/ Quicken Reply-To: shmit@erols.com References: <19980118192319.02894@ct.picker.com> <199801190321.NAA00804@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <199801190321.NAA00804@word.smith.net.au>; from Mike Smith on Mon, Jan 19, 1998 at 01:51:42PM +1030 X-Sender: If your mailer pays attention to this, it's broken. X-PGP-Info: finger shmit@panix.com for my public key. Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On %M %N, Mike Smith wrote: > Yecch. If it's actually trying to do what the above claims, it's > making quite a mess. (0040:0000 is in seriously low memory, but > 0040:ffff doesn't make any sense at all). Hrm... now it's been a while since I've done DOS assembler, so this maybe incorrect, but IIRC, 0x40 is the keyboard segment. 0x40:0x0 is the head of the keyboard buffer 0x40:0x2 is the tail and the next 16 bytes is the ring-buffer. So I have no idea what 0xffff would be, except perhaps a miscalculation. Although, you may be able to expand the size of the keyboard buffer, and the tail could have ended up there... Take it with a grain of salt, but I believe the above is true, but, like I said before it's been six or eight years since I've dealt with it. -- Brian Cully ``And when one of our comrades was taken prisoner, blindfolded, hung upside-down, shot, and burned, we thought to ourselves, `These are the best experiences of our lives''' -Pathology (Joe Frank, Somewhere Out There) From owner-freebsd-emulation Mon Jan 19 02:24:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA14395 for freebsd-emulation-outgoing; Mon, 19 Jan 1998 02:24:15 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from hydrogen.nike.efn.org (d182-89.uoregon.edu [128.223.182.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA14391 for ; Mon, 19 Jan 1998 02:24:10 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id CAA24053; Mon, 19 Jan 1998 02:23:49 -0800 (PST) Message-ID: <19980119022348.44312@hydrogen.nike.efn.org> Date: Mon, 19 Jan 1998 02:23:48 -0800 From: John-Mark Gurney To: shmit@erols.com Cc: Mike Smith , Randall Hopper , emulation@FreeBSD.ORG Subject: Re: DOSCMD: Problems w/ Quicken References: <19980118192319.02894@ct.picker.com> <199801190321.NAA00804@word.smith.net.au> <19980119051304.06795@erols.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <19980119051304.06795@erols.com>; from Brian Cully on Mon, Jan 19, 1998 at 05:13:04AM -0500 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brian Cully scribbled this message on Jan 19: > On %M %N, Mike Smith wrote: > > Yecch. If it's actually trying to do what the above claims, it's > > making quite a mess. (0040:0000 is in seriously low memory, but > > 0040:ffff doesn't make any sense at all). > > Hrm... now it's been a while since I've done DOS assembler, so this > maybe incorrect, but IIRC, 0x40 is the keyboard segment. the 0x40 is the bios segment.. it really looks like a miscalculation of some sort... > 0x40:0x0 is the head of the keyboard buffer nope, this is com1's base address... > 0x40:0x2 is the tail this is com2's base address... 0x40:1a is the head pointer, and 0x40:1c is the tail pointer for the keyboard... > and the next 16 bytes is the ring-buffer. actually 0x40:0x1e through 0x40:0x3d is the keyboard buffer (32bytes total) > So I have no idea what 0xffff would be, except perhaps a miscalculation. > Although, you may be able to expand the size of the keyboard buffer, and > the tail could have ended up there... P.S. Information from The Programmer's PC Source Book (second edition).. pretty much a printed Ralph Brown's Interrupt list, but from 1991... (it also lacks a lot of the detail Brown's list has, but still useful) -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking P.O. Box 5693, 97405 Live in Peace, destroy Micro$oft, support free software, run FreeBSD From owner-freebsd-emulation Mon Jan 19 03:44:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA18814 for freebsd-emulation-outgoing; Mon, 19 Jan 1998 03:44:08 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (ppp7.portal.net.au [202.12.71.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA18790 for ; Mon, 19 Jan 1998 03:43:58 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id WAA00350; Mon, 19 Jan 1998 22:06:51 +1030 (CST) Message-Id: <199801191136.WAA00350@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: John-Mark Gurney cc: shmit@erols.com, Mike Smith , Randall Hopper , emulation@FreeBSD.ORG Subject: Re: DOSCMD: Problems w/ Quicken In-reply-to: Your message of "Mon, 19 Jan 1998 02:23:48 -0800." <19980119022348.44312@hydrogen.nike.efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 22:06:50 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Brian Cully scribbled this message on Jan 19: > > On %M %N, Mike Smith wrote: > > > Yecch. If it's actually trying to do what the above claims, it's > > > making quite a mess. (0040:0000 is in seriously low memory, but > > > 0040:ffff doesn't make any sense at all). > > > > Hrm... now it's been a while since I've done DOS assembler, so this > > maybe incorrect, but IIRC, 0x40 is the keyboard segment. > > the 0x40 is the bios segment.. it really looks like a miscalculation > of some sort... Yeah, that's all fine, but what I *don't* understand is why it should be trapping as it does claiming that 'movw (%bx),%ax' is an illegal instruction. Ideas, guys? Anyone out there with a copy of Quicken 5 for DOS that can poke at this? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Mon Jan 19 04:16:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA20998 for freebsd-emulation-outgoing; Mon, 19 Jan 1998 04:16:16 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA20993 for ; Mon, 19 Jan 1998 04:16:12 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id XAA12141; Mon, 19 Jan 1998 23:14:43 +1100 Date: Mon, 19 Jan 1998 23:14:43 +1100 From: Bruce Evans Message-Id: <199801191214.XAA12141@godzilla.zeta.org.au> To: gurney_j@resnet.uoregon.edu, mike@smith.net.au Subject: Re: DOSCMD: Problems w/ Quicken Cc: emulation@FreeBSD.ORG, rhh@ct.picker.com, shmit@erols.com Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Yeah, that's all fine, but what I *don't* understand is why it should >be trapping as it does claiming that 'movw (%bx),%ax' is an illegal >instruction. When %bx = 0xffff, it should cause exception 13 (general protection) in real mode. IIRC, this is one of the main differences between 8086's and later86's in real mode. Bruce From owner-freebsd-emulation Mon Jan 19 04:26:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA21736 for freebsd-emulation-outgoing; Mon, 19 Jan 1998 04:26:21 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (ppp7.portal.net.au [202.12.71.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA21714 for ; Mon, 19 Jan 1998 04:26:08 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id WAA00514; Mon, 19 Jan 1998 22:48:52 +1030 (CST) Message-Id: <199801191218.WAA00514@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Bruce Evans cc: gurney_j@resnet.uoregon.edu, mike@smith.net.au, emulation@FreeBSD.ORG, rhh@ct.picker.com, shmit@erols.com Subject: Re: DOSCMD: Problems w/ Quicken In-reply-to: Your message of "Mon, 19 Jan 1998 23:14:43 +1100." <199801191214.XAA12141@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Jan 1998 22:48:51 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >Yeah, that's all fine, but what I *don't* understand is why it should > >be trapping as it does claiming that 'movw (%bx),%ax' is an illegal > >instruction. > > When %bx = 0xffff, it should cause exception 13 (general protection) > in real mode. IIRC, this is one of the main differences between 8086's > and later86's in real mode. A difference implies two different behaviours. A GPF is one, what is the other (presumably that taken by the 8086)? Would you guess that this might be a CPU-type detection fragment? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Mon Jan 19 05:07:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA24442 for freebsd-emulation-outgoing; Mon, 19 Jan 1998 05:07:20 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA24437 for ; Mon, 19 Jan 1998 05:07:15 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id AAA13791; Tue, 20 Jan 1998 00:04:52 +1100 Date: Tue, 20 Jan 1998 00:04:52 +1100 From: Bruce Evans Message-Id: <199801191304.AAA13791@godzilla.zeta.org.au> To: bde@zeta.org.au, mike@smith.net.au Subject: Re: DOSCMD: Problems w/ Quicken Cc: emulation@FreeBSD.ORG, gurney_j@resnet.uoregon.edu, rhh@ct.picker.com, shmit@erols.com Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> >Yeah, that's all fine, but what I *don't* understand is why it should >> >be trapping as it does claiming that 'movw (%bx),%ax' is an illegal >> >instruction. >> >> When %bx = 0xffff, it should cause exception 13 (general protection) >> in real mode. IIRC, this is one of the main differences between 8086's >> and later86's in real mode. > >A difference implies two different behaviours. A GPF is one, what is >the other (presumably that taken by the 8086)? Doesn't matter. >Would you guess that this might be a CPU-type detection fragment? I would guss it is a bug in the signal handling. GPF should be translated to SIGBUS with code T_PROTFLT + BUS_SEGM_FAULT and sigbus() should generate a different fatal error. Bruce From owner-freebsd-emulation Mon Jan 19 08:40:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13661 for freebsd-emulation-outgoing; Mon, 19 Jan 1998 08:40:46 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA13652 for ; Mon, 19 Jan 1998 08:40:34 -0800 (PST) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id KAA14830; Mon, 19 Jan 1998 10:39:52 -0600 (CST) Received: (from jlemon@localhost) by right.PCS (8.6.13/8.6.4) id KAA29920; Mon, 19 Jan 1998 10:39:20 -0600 Message-ID: <19980119103920.28769@right.PCS> Date: Mon, 19 Jan 1998 10:39:20 -0600 From: Jonathan Lemon To: Mike Smith Cc: John-Mark Gurney , shmit@erols.com, Randall Hopper , emulation@FreeBSD.ORG Subject: Re: DOSCMD: Problems w/ Quicken References: <19980119022348.44312@hydrogen.nike.efn.org> <199801191136.WAA00350@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: <199801191136.WAA00350@word.smith.net.au>; from Mike Smith on Jan 01, 1998 at 10:06:50PM +1030 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Jan 01, 1998 at 10:06:50PM +1030, Mike Smith wrote: > Yeah, that's all fine, but what I *don't* understand is why it should > be trapping as it does claiming that 'movw (%bx),%ax' is an illegal > instruction. >From one of the original postings, the setup message for doscmd says `Init: 0', which indicates that the hardware does not support VME. When an int13 (gpf) is generated, under VME, it simply looks at the interrupt vector, and jumps directly to the associated interrupt handler, without leaving vm86 mode. Without VME, it falls back to doscmd, with a SIGBUS. doscmd looks at the instruction to try to figure out why the interrupt was generated (sti, cli, popf, etc) and if it doesn't find it, assumes that this is an illegal instruction. It doesn't attempt to jump to the int 13 vector. It does this since SIGBUS is overloaded with all sorts of things and typically a GPF is fatal anyway. The following (untested) patch to doscmd might fix the problem. -- Jonathan --------------------------------------------------------------------------- *** trap.c 1997/09/30 22:04:05 1.2 --- trap.c 1998/01/19 16:33:43 *************** *** 486,493 **** --- 486,496 ---- /* FALLTHRU */ default: + #if 0 dump_regs(REGS); fatal("unsupported instruction\n"); + #endif + fake_int(REGS, 13); } out: From owner-freebsd-emulation Mon Jan 19 17:20:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA12689 for freebsd-emulation-outgoing; Mon, 19 Jan 1998 17:20:40 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA12684 for ; Mon, 19 Jan 1998 17:20:37 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Mon, 19 Jan 1998 20:19:17 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA00619; Mon, 19 Jan 98 20:19:15 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA00057; Mon, 19 Jan 1998 20:17:59 -0500 Message-Id: <19980119201759.61620@ct.picker.com> Date: Mon, 19 Jan 1998 20:17:59 -0500 From: Randall Hopper To: Jonathan Lemon Cc: emulation@FreeBSD.ORG Subject: Re: DOSCMD: Problems w/ Quicken References: <19980119022348.44312@hydrogen.nike.efn.org> <199801191136.WAA00350@word.smith.net.au> <19980119103920.28769@right.PCS> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <19980119103920.28769@right.PCS>; from Jonathan Lemon on Mon, Jan 19, 1998 at 10:39:20AM -0600 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jonathan Lemon: |>From one of the original postings, the setup message for doscmd says |`Init: 0', which indicates that the hardware does not support VME. Hmm. Well, in the boot-up probes, it says my CPU does support VME: CPU: Pentium (233.22-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping=3 Features=0x8001bf However, looking at the sysarch() kernel path briefly, it appears that the 0 after Init: is just the return code of sysarch() and vm86_sysarch(), which for the latter, just implies that the copyin()'s and i386_extend_pcb() didn't fail. |When an int13 (gpf) is generated, under VME, it simply looks at the |interrupt vector, and jumps directly to the associated interrupt handler, |without leaving vm86 mode. Without VME, it falls back to doscmd, with |a SIGBUS. | |doscmd looks at the instruction to try to figure out why the interrupt |was generated (sti, cli, popf, etc) and if it doesn't find it, assumes |that this is an illegal instruction. It doesn't attempt to jump to the |int 13 vector. It does this since SIGBUS is overloaded with all sorts |of things and typically a GPF is fatal anyway. | |The following (untested) patch to doscmd might fix the problem. |-- |+ #if 0 | dump_regs(REGS); | fatal("unsupported instruction\n"); |+ #endif |+ fake_int(REGS, 13); I just tried this, but when the exception happened, I got an unending stream of: IRQ5 with no handler! IRQ5 with no handler! in the parent terminal. I don't know if this is a result or just the next snag after the current one. Randall From owner-freebsd-emulation Tue Jan 20 16:59:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24097 for freebsd-emulation-outgoing; Tue, 20 Jan 1998 16:59:16 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA24092 for ; Tue, 20 Jan 1998 16:59:11 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 20 Jan 1998 19:58:06 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA10146; Tue, 20 Jan 98 19:58:04 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id TAA06705; Tue, 20 Jan 1998 19:56:42 -0500 Message-Id: <19980120195642.49673@ct.picker.com> Date: Tue, 20 Jan 1998 19:56:42 -0500 From: Randall Hopper To: Mike Smith Cc: emulation@FreeBSD.ORG Subject: Re: DOSCMD: How to enable Backspace key? References: <19980118172651.35879@ct.picker.com> <199801190057.LAA00289@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801190057.LAA00289@word.smith.net.au>; from Mike Smith on Mon, Jan 19, 1998 at 11:27:57AM +1030 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks for responding. Mike Smith: |> DOSCMD seems to work "much" better than when I tried it last. I can |> get into my favorite spreadsheet and word processor now in FreeBSD. :-) | |Yay! | |> QUESTION #1: |> |> How do I get DOSCMD to use the keysym instead of the |> keysym for backspace? |> |> The only man page mention pertaining to keys was -r, and I get "mmap: |> Invalid argument" when I try that. | |Yecch, don't do that. If you are running in an X window, you want to |look at the 'xmodmap' command, which will allow you to frob your |keysyms to your heart's content. But users shouldn't have to redefine the keycode-to-keysym mappings for their entire X Display, affecting the KB config for all their other clients, just for doscmd. An option to use the backspace key and its default binding to the keysym as the backspace key in doscmd would be greatly appreciated. Thanks, Randall From owner-freebsd-emulation Tue Jan 20 17:21:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA26153 for freebsd-emulation-outgoing; Tue, 20 Jan 1998 17:21:31 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA26128 for ; Tue, 20 Jan 1998 17:21:21 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 20 Jan 1998 20:20:04 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA10546; Tue, 20 Jan 98 20:20:03 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA06848; Tue, 20 Jan 1998 20:18:44 -0500 Message-Id: <19980120201843.31316@ct.picker.com> Date: Tue, 20 Jan 1998 20:18:43 -0500 From: Randall Hopper To: Mike Smith Cc: emulation@FreeBSD.ORG Subject: Re: DOSCMD: How do you set up printing? References: <19980118173724.32263@ct.picker.com> <199801190111.LAA00349@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801190111.LAA00349@word.smith.net.au>; from Mike Smith on Mon, Jan 19, 1998 at 11:41:06AM +1030 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith: |> QUESTION #2: |> How do you set up printing for LPT1:? ... |> I added this to my doscmdrc: |> assign lpt1: direct /dev/lpt0 ... | |Your assign syntax is incorrect. The doscmd configuration parser is an |obscene and thoroughly disgusting piece of code. The correct syntaxes |are: | |assign direct |assign [] "assign lpt1: direct" w/ the int17.c patch works like a champ, sending it immediately to the device, with no annoying page flush. Just what I wanted--Thanks! The man page is what confused me. It describes one combined form (where direct and timeout are optional and path is mandatory) and not two. A quick touch-of-the-docs will fix that. |> Finally, each 30 second flush always printed and ejected the page, as if |> some S/W were injected a formfeed (^L) character in there on a flush. Is |> there a way to suppress this spurious formfeed? | |This may be an issue with your printer configuration, or with the DOS |application. There is nothing in doscmd that will insert a formfeed |when a job is flushed. | |To perform a queued print job, doscmd simply forks off "lpr -P " |and feeds data printed to it. After the timeout, it closes the pipe, |which causes lpr to commit the job. Oh, OK. I didn't realize it was spooling it. Thought it was doing direct writes to the printer device only. That being the case, my printcap is inserting the page ejects on my print jobs to my laser, which explains that. I'll just point it at the raw device for convenience. On a single-user system, that's a reason way to go. Thanks for the help, Randall From owner-freebsd-emulation Tue Jan 20 17:59:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29213 for freebsd-emulation-outgoing; Tue, 20 Jan 1998 17:59:52 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA29209 for ; Tue, 20 Jan 1998 17:59:49 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Tue, 20 Jan 1998 20:58:44 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA11156; Tue, 20 Jan 98 20:58:38 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA07007; Tue, 20 Jan 1998 20:57:18 -0500 Message-Id: <19980120205718.24303@ct.picker.com> Date: Tue, 20 Jan 1998 20:57:18 -0500 From: Randall Hopper To: Mike Smith Cc: emulation@FreeBSD.ORG Subject: Re: DOSCMD: Misc questions References: <19980118183139.14729@ct.picker.com> <199801190118.LAA00398@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801190118.LAA00398@word.smith.net.au>; from Mike Smith on Mon, Jan 19, 1998 at 11:48:42AM +1030 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith: |> When DOSCMD starts up, it seems to need a key hit to continue loading DOS. |> Is this normal? | |No. It may be due to something that you are loading in your CONFIG.SYS |file which is unhappy with the quality of the low-level keyboard |emulation. Have you tried working out what is hanging? Do you load |the KEYB.SYS driver? (this last is known to cause problems). I renaming the CONFIG.SYS and AUTOEXEC.BAT so they wouldn't be found and it still paused for a key. I then reformatted that DOS partition completely and fdisk /mbr'ed the disk to get rid of the boot manager (OS/BSbeta) I had on it. Still got the hang. It may be related to DOS 6.2 -- I noticed the mention in the man page: It should be noted that MS DOS 6.2 and higher appear to cause difficulties for doscmd. |> Funny thing is that this key stays around in the keyboard buffer and is fed |> to the next program requesting a key (HDM in my case, a hard disk manager |> utility, which I start up from my autoexec.bat). | |Not actually very surprising; I expect that there is a program waiting |for status from the keyboard. Hitting the key gets the status updated, |but it never pulls the character itself. Doesn't look like its getting to the config files, so since I see "Starting MSDOS..." before the key-wait, I guess we're somewhere in IO.SYS or MSDOS.SYS (?) Randall From owner-freebsd-emulation Thu Jan 22 08:15:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA26444 for freebsd-emulation-outgoing; Thu, 22 Jan 1998 08:15:46 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from gloria.cord.edu (gloria.cord.edu [138.129.254.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA26439 for ; Thu, 22 Jan 1998 08:15:45 -0800 (PST) (envelope-from nrahlstr@gloria.cord.edu) Received: from localhost (nrahlstr@localhost) by gloria.cord.edu (8.8.5/8.6.5) with SMTP id KAA01719 for ; Thu, 22 Jan 1998 10:15:37 -0600 (CST) Date: Thu, 22 Jan 1998 10:15:37 -0600 (CST) From: Nathan Ahlstrom To: emulation@FreeBSD.ORG Subject: anyone have doscmd for 2.2-stable Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is there a patch kit or equivalent to run doscmd on -stable? Thanks. Nathan nrahlstr@gloria.cord.edu From owner-freebsd-emulation Thu Jan 22 10:11:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06750 for freebsd-emulation-outgoing; Thu, 22 Jan 1998 10:11:23 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA06741; Thu, 22 Jan 1998 10:11:20 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 22 Jan 1998 13:10:12 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA12327; Thu, 22 Jan 98 13:10:10 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id NAA18586; Thu, 22 Jan 1998 13:08:44 -0500 Message-Id: <19980122130844.35403@ct.picker.com> Date: Thu, 22 Jan 1998 13:08:44 -0500 From: Randall Hopper To: mgraffam@mhv.net Cc: questions@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: dosemu References: <19980122104615.44114@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from mgraffam@mhv.net on Thu, Jan 22, 1998 at 12:19:22PM -0500 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm a new user of doscmd myself, so I'll defer to those that know better (Ccing -emulation). Don't know about 32-bit. But I asked about graphics mode support a few days ago. Apparently there's some VGA graphics support in the original BSD/OS version when running on the console. According to Mike Smith, it allows you to directly map the VGA hardware if you are running doscmd on the console, but indications were that this hasn't been worked through for FreeBSD yet. Randall Michael J. Graffam : |On Thu, 22 Jan 1998, Randall Hopper wrote: | |> Nathan Ahlstrom: |> |Does anyone have the linux dosemu program running under freebsd? |> |http://www.suse.com/~dosemu/ |> |Thanks. |> |> Try doscmd. I'm pretty impressed with how well it runs my old DOS stuff. |> It's fast as well (VM86 mode). If you're running 3.0-current, you have it |> already. Otherwise, post to emulation@freebsd.org and they can likely |> point you to the latest 2.2.x patch kit. |> | |Cool. Will doscmd run 32 bit DOS games, like Duke Nukem 3d and Warcraft |II? | |Since trying FreeBSD on a little 486 I threw together from left over |parts, I've become very impressed with it and have put together a new |P5 200MHz machine to run it. I still use Dosemu under Linux on my |P5/150 for games, but FreeBSD has grown on me for everyday use. Of course, |my Linux-user friends dont like FreeBSD at all.. but they are DOS users |at heart anyhow so what do they know :) I'll take UNIX. From owner-freebsd-emulation Thu Jan 22 16:29:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA05754 for freebsd-emulation-outgoing; Thu, 22 Jan 1998 16:29:13 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA05739 for ; Thu, 22 Jan 1998 16:29:01 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id KAA00267; Fri, 23 Jan 1998 10:51:06 +1030 (CST) Message-Id: <199801230021.KAA00267@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Nathan Ahlstrom cc: emulation@FreeBSD.ORG Subject: Re: anyone have doscmd for 2.2-stable In-reply-to: Your message of "Thu, 22 Jan 1998 10:15:37 MDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Jan 1998 10:51:05 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Is there a patch kit or equivalent to run doscmd > on -stable? Thanks. There are older, unsupported versions of doscmd available from ftp://ftp.gsoft.com.au/doscmd which will, to some degree work on 2.2 systems. The VM86 support in -current is not suitable for backporting to 2.2 at this point in time. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Thu Jan 22 16:41:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA06779 for freebsd-emulation-outgoing; Thu, 22 Jan 1998 16:41:51 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA06767; Thu, 22 Jan 1998 16:41:43 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id KAA00294; Fri, 23 Jan 1998 10:56:09 +1030 (CST) Message-Id: <199801230026.KAA00294@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Randall Hopper cc: mgraffam@mhv.net, questions@FreeBSD.ORG, emulation@FreeBSD.ORG Subject: Re: dosemu In-reply-to: Your message of "Thu, 22 Jan 1998 13:08:44 CDT." <19980122130844.35403@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Jan 1998 10:56:09 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm a new user of doscmd myself, so I'll defer to those that know better > (Ccing -emulation). Thanks Randall. But you've proven that you have what it takes to hunt down and fix problems in doscmd, so I am going to go down on my knees and plead with you to spend a little time trying DOS programs and making them work. There are plenty of people here (as you've seen) that can point you in useful directions; what's needed is someone like you that can spare a little time to do the pushing. Please? > Don't know about 32-bit. But I asked about graphics mode support a few > days ago. Apparently there's some VGA graphics support in the original > BSD/OS version when running on the console. According to Mike Smith, it > allows you to directly map the VGA hardware if you are running doscmd on > the console, but indications were that this hasn't been worked through for > FreeBSD yet. That's correct. But we could use someone actually *trying* it. > Michael J. Graffam : > |Cool. Will doscmd run 32 bit DOS games, like Duke Nukem 3d and Warcraft > |II? Not as it stands, no. But as you have the software already, and a machine on which they run as reference, you're in an ideal situation to make a bit of a name for yourself hacking it so they do. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Fri Jan 23 06:20:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA04100 for freebsd-emulation-outgoing; Fri, 23 Jan 1998 06:20:58 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA04093 for ; Fri, 23 Jan 1998 06:20:56 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Fri, 23 Jan 1998 9:19:43 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA07905; Fri, 23 Jan 98 09:19:36 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id JAA26874; Fri, 23 Jan 1998 09:18:13 -0500 Message-Id: <19980123091812.48077@ct.picker.com> Date: Fri, 23 Jan 1998 09:18:12 -0500 From: Randall Hopper To: Mike Smith Cc: emulation@FreeBSD.ORG Subject: Re: dosemu References: <19980122130844.35403@ct.picker.com> <199801230026.KAA00294@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801230026.KAA00294@word.smith.net.au>; from Mike Smith on Fri, Jan 23, 1998 at 10:56:09AM +1030 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith: |> I'm a new user of doscmd myself, so I'll defer to those that know better |> (Ccing -emulation). | |Thanks Randall. But you've proven that you have what it takes to hunt |down and fix problems in doscmd, so I am going to go down on my knees |and plead with you to spend a little time trying DOS programs and |making them work. There are plenty of people here (as you've seen) |that can point you in useful directions; what's needed is someone like |you that can spare a little time to do the pushing. | |Please? You guys are really terrible, you know it. :-) All I do is try DOSCMD and post a few questions to the group, and Jordan wants to sign me up as Mr. Maintainer. Then I fix a little training-wheels bug (heck, Jonathan even pointed it out to me!), and now I can't defer to the experts anymore. 8-() Hey, what's a guy got'ta do just to be a "user" around here!? :-) But seriously. As I get time and have the desire/need to run some old DOS stuff and bump into problems, I'll take a look and see what I can do. Not to much I boot into DOS for anymore, but of the programs I do use, there's some unsupported features I might take a look at sometime. Randall From owner-freebsd-emulation Fri Jan 23 12:20:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA08178 for freebsd-emulation-outgoing; Fri, 23 Jan 1998 12:20:07 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dns.pinpt.com (dns.pinpt.com [205.179.195.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA08129 for ; Fri, 23 Jan 1998 12:20:00 -0800 (PST) (envelope-from schluntz@clicknet.com) Received: from clicknet.com (gatemaster.pinpt.com [205.179.195.65]) by dns.pinpt.com (8.8.7/8.8.7) with ESMTP id MAA06171 for ; Fri, 23 Jan 1998 12:12:54 -0800 (PST) Message-ID: <34C8FAF8.491A89A2@clicknet.com> Date: Fri, 23 Jan 1998 12:18:00 -0800 From: "Sean J. Schluntz" Organization: PinPoint Software Corporation X-Mailer: Mozilla 4.02 [en]C-DIAL (WinNT; U) MIME-Version: 1.0 To: emulation@FreeBSD.ORG Subject: Executor2 & FreeBSD v2.2.5 References: <19980122130844.35403@ct.picker.com> <199801230026.KAA00294@word.smith.net.au> <19980123091812.48077@ct.picker.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm trying to get Linux aout program Executor2t running under X on FreeBSD v2.2.5 and I keep getting this error: executor: cant load library 'libdb.20.2' I have libdb.so.1 and libdb.so.1.85.1 in /usr/compat/linux/usr/i486-linuxaout/lib and I tried creating a sim-link for libdb.so.2 to libdb.so.1 but I still get the error. What can I do? Thanks for your help! -Sean From owner-freebsd-emulation Fri Jan 23 20:10:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA27131 for freebsd-emulation-outgoing; Fri, 23 Jan 1998 20:10:16 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (ppp3.portal.net.au [202.12.71.103]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA27079 for ; Fri, 23 Jan 1998 20:10:03 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id OAA01088; Sat, 24 Jan 1998 14:33:09 +1030 (CST) Message-Id: <199801240403.OAA01088@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Sean J. Schluntz" cc: emulation@FreeBSD.ORG Subject: Re: Executor2 & FreeBSD v2.2.5 In-reply-to: Your message of "Fri, 23 Jan 1998 12:18:00 -0800." <34C8FAF8.491A89A2@clicknet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 24 Jan 1998 14:33:08 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi, I'm trying to get Linux aout program Executor2t running under X on > FreeBSD v2.2.5 and I keep getting this error: > > executor: cant load library 'libdb.20.2' > > I have libdb.so.1 and libdb.so.1.85.1 in > /usr/compat/linux/usr/i486-linuxaout/lib and I tried creating a sim-link > for libdb.so.2 to libdb.so.1 but I still get the error. Are you sure it's looking for "libdb.20.2", and not "libdb.2.20"? > What can I do? You can hunt through Linux sites for a newer libdb, like all the rest of the poor Linux people have to. We are trying to emulate their system, after all. 8) Once you have found the new library, you will have to run /compat/linux/ sbin/ldconfig in order to have the libraries show up. Don't try symlinking stuff unless you are prepared to work out yourself how the Linux ldconfig links stuff around. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Sat Jan 24 01:19:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22868 for freebsd-emulation-outgoing; Sat, 24 Jan 1998 01:19:23 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (ppp7.portal.net.au [202.12.71.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA22834 for ; Sat, 24 Jan 1998 01:19:17 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id OAA01145; Sat, 24 Jan 1998 14:42:17 +1030 (CST) Message-Id: <199801240412.OAA01145@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Randall Hopper cc: Mike Smith , emulation@FreeBSD.ORG Subject: Re: dosemu In-reply-to: Your message of "Fri, 23 Jan 1998 09:18:12 CDT." <19980123091812.48077@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 24 Jan 1998 14:42:16 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > You guys are really terrible, you know it. :-) All I do is try DOSCMD > and post a few questions to the group, and Jordan wants to sign me up as > Mr. Maintainer. Then I fix a little training-wheels bug (heck, Jonathan even > pointed it out to me!), and now I can't defer to the experts anymore. 8-() Nope. You stand up, you get marked. What do you think we have these list archives for? 8) > But seriously. As I get time and have the desire/need to run some old DOS > stuff and bump into problems, I'll take a look and see what I can do. > Not to much I boot into DOS for anymore, but of the programs I do use, > there's some unsupported features I might take a look at sometime. That'd be just fine; thanks! -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ From owner-freebsd-emulation Sat Jan 24 16:15:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA25755 for freebsd-emulation-outgoing; Sat, 24 Jan 1998 16:15:28 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (ppp6.portal.net.au [202.12.71.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA25749 for ; Sat, 24 Jan 1998 16:15:21 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id DAA00414; Sun, 25 Jan 1998 03:25:47 +1030 (CST) Message-Id: <199801241655.DAA00414@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Donn Miller cc: emulation@FreeBSD.ORG Subject: Re: doscmd & vga (raw mode) In-reply-to: Your message of "Sat, 24 Jan 1998 07:06:14 -0000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 25 Jan 1998 03:25:46 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message should have been posted to the -emulation list (to which it has been redirected). > I had a question about doscmd... I know that raw mode isn't yet > supported, and neither is vga mode. Does it need to cooperate with > syscons via the libvgl interface, or does it directly access video memory > via the bios/other? There is no "vga mode" as such. Raw mode works by taking over the console from the console driver (like X does), and placing the video hardware directly in the hands of the DOS application. > Does raw mode work on BSDI? I tried executing a > self-displaying picture with doscmd -r picture.exe and got > doscmd: fatal error reading program text. What needs to be done to do > access VGA? Also, VGA should be doable under X, even though it would be > much tougher. What needs to be done, for raw mode: - The correct console ioctl() and mmap() calls need to be organised to switch into/out of raw mode. These are the console* functions in tty.c (and related gumpf). - Port I/O access needs to be provided to the video controller registers. - The video BIOS needs to be mapped into the process' address space, and its entry vectors dug up. VGA under X is quite doable, and probably not a lot tougher. > P.S. This is far fetched, but I thought I might even be possible to do a > non-vga (libvga, syscons) port of netscape since the sources are going to > be released soon. This could be tough. It would be excruciatingly difficult; you would have to effectively replace Motif with your own GUI library. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\