[comp.sys.sun] Dos on the 386i

krus@diku.dk (Lars Povlsen) (03/30/89)

Recently I had to bring up a library system (running under dos) on a Sun
Roadrunner.

I had no problem running it under Sunview/Dos Windows, but when trying to
run the same applications on a tty with dos -w (dos without windows), the
dos shell came to a halt, without producing a single char of output.

The application (bought, no source) starts in the usual PC manner,
creating a nice double box around some text, offering a choice.  It uses
NO graphics (other than graphic chars) or special boards/mouses or other
woodoo. And, again it runs without problems under sunview (double boxes
an' all).

So my question is: Does anyone have a clue to whether I have a chance in
running from an ordinary terminal, or I have to move the goddam console &
chassis to our library and teach our librarian about sunview. Not to
mention I would have a big problem in putting it on a network there.

Other UNIX/dos emulations I have heard of, such as Vp/IX, can map graphics
char to a approximation on a tty. Sun does not mention neither
restrictions nor features when running dos on a tty.

Clues or information anyone ?

			Lars Povlsen,
			Comp. Science Departement, University of Copenhagen
			Denmark

stefan@helios.physics.utoronto.ca (Stefan Mochnacki) (04/21/89)

>Other UNIX/dos emulations ... such as VP/IX, can map graphics

Can ANYONE explain why VP/ix on the 386i (a.k.a. DOSWindows) is crippled
regarding remote DOS execution (none on serial terminals, stdin/stdout
only on network nodes), when SCO and others supply it with serial terminal
execution enabled AND screen mapping too ?  I've heard rumours, but let's
hear some facts.

A full screen-mapped ( MDA anyway) serial port and network DOS capability
would be highly desirable. Are you listening, SUN ?

Stefan W. Mochnacki          INTERNET - stefan@helios.physics.toronto.edu
Astronomy, U. Toronto        UUCP - {uunet,pyramid}!utai!helios!stefan
+1 (416) 884-9562            BITNET - mochnacki@utorphys.bitnet 

paul@philabs.philips.com (Paul Evan Matz) (04/27/89)

krus@diku.dk (Lars Povlsen) writes:
>X-Sun-Spots-Digest: Volume 7, Issue 214, message 12 of 13
>
>... but when trying to
>run the same applications on a tty with dos -w (dos without windows), the
>dos shell came to a halt, without producing a single char of output....
>			Lars Povlsen,

We encountered a similar problem when trying to run a dos application
talking to a VGA card installed in a AT card slot.  Because the
application uses the separate VGA monitor as its "dos window", you'd think
having a window pop-up on the 386i's display would be unnecessary.  But,
to focus keyboard input using the mouse, it is necessary to have a region
to point to.  It would be nice if it could be just a sunview window
running dos -w, possibly in the background.  [Note that our VGA
application doesn't use the keyboard for input, but instead, uses a serial
port driven by a touch screen sensor, which is sampled even when the dos
window is iconic and off screen].  So we tried dos -w to invoke the
application, and got the message: "can't untrack memory, permission
denied."

According to Sun, dos -w will support dos applications that use only bios
interrupts 10 (VIDEO_IO) and 16 (KEYBOARD_IO) for talking to the keyboard
and display.  If (since) your application uses something else, in addition
to these, the invocation of other interrupts seem to have hidden results.
Unfortunately, such deviant behavior isn't reported in any log file
either, so it's hard to know what's going on.  I think they are
considering to, at least, report having trapped an invalid bios interrupt
when running the dos -w.

I'd also be careful trying to run dos -w from a terminal.  Depending on
which vendor's serial card and driver you are using, the dos support seems
to vary quite a bit.

	Hope this helps.  Misery loves company.

	Paul Matz
	PPG Biomedical Systems
	One Campus Drive
	Pleasantville, NY. 10570
	914-741-4685
	path ppgbms!moe!paul@philabs.philips.com