DOS(1) — USER COMMANDS
NAME
dos − SunView window for IBM PC/AT applications
SYNOPSIS
dos [ −s ] [ −p|-P config ] [ −c command ] [ −g ] [ −force_type4kb ] [ −W<window system args> ] [ −h|-H ] [ −z ]
AVAILABILITY
DOS Windows for Sun-3 and Sun-4 workstations.
DESCRIPTION
A window created by dos looks and acts like the screen of an IBM PC/AT or compatible computer running MS-DOS 3.3, except that it has expanded features. It allows sharing of files with SunOS, copying and pasting data between windows, and piping and redirection. You may run any reasonable number of DOS windows simultaneously limited by the amount of swap space and /tmp space available.
USAGE
Menu
The menu available in the window by pressing the right mouse button allows various controls over the work in the window. Edit allows you to copy and paste between windows. The Show Screen menu item selects the display type display (either Hercules, CGA, or Monochrome). The Mouse menu item allows you to control whether the mouse operates like a Microsoft or compatible mouse or in normal SunView fashion. The Send to printer menu item allows you to send queued jobs to the print spooler. Device allows you to select which disks and other devices will be used and which are to be considered write only.
System Menu
Pause reduces DOS Windows use of system resources to a minimum while it is not in use. To regain use of DOS Windows use the Run menu item. Reboot DOS Window is equivalent to restarting the window. This can also be accomplished by pressing the CONTROL, ALT, and DELETE keys simultaneously.
Printer Assignments
DOS uses three printer designations: LPT1, LPT2, and LPT3. The default settings are: files sent to LPT1 go to lpr. Files sent to LPT2 are appended to the file $HOME/lpt2. Epson-compatible print jobs can be sent to LPT3 to yield Epson FX-80 quality output on a Postscript printer.
Drives
Drive A Optional floppy drive.
Drive B Second optional floppy drive.
Drive C A virtual disk stored in a file in ~/pc/C:. Files written to drive C cannot be accessed from SunOS. Drive C is generally intended for storage of applications and copy protected software but not data.
Drive D An optional virtual disk similar to Drive C. Files written to drive D cannot be accessed from SunOS.
Drives E through Z Equivalents of SunOS directories. They can be accessed from either DOS or SunOS, and can contain any number of files and other directories. The SunOS directories referenced by DOS drives other than E, H, and R (described below) are user-defined (using the DOS EXTEND command).
Drive E The current SunOS directory when the DOS window was opened. May subsequently be changed to any other directory.
Drive H The home directory of the user who opened the window. May subsequently be changed to any directory in the user’s home directory tree.
Drive N Linked to $DOSDIR (by default /etc/dos).
Drive R Initially equivalent to the root directory of SunOS
File Sharing between SunOS and DOS
File names under DOS consist of 8 characters, a period, and a 3 character extension. When a SunOS filename does not comply with these rules, its name is modified by placing a tilde (~) in an appropriate location so that the file name conforms to DOS specifications while remaining unique. It is recommended that filenames conform to DOS requirements for files to be used in both SunOS and DOS.
Because SunOS and DOS use different conventions for carriage returns, dos2unix and unix2dos are provided to convert text files between the two formats.
OPTIONS
−p|-P config
Loads an alternate file instead of setup.pcs.
−c command
Executes the given DOS command in the newly created window.
−g Uses a gray scale monitor for CGA modes instead of color.
−force_type4kb
Assumes a type 4 keyboard.
−W<window system args>
Passes command-line arguments onto the window system.
−h|−H
Prints a short help message.
−z Don’t do busy wait detection. By default, DOS Windows detects when it isn’t being used and stops consuming system resources. The -z option forces DOS Windows to use as much system resources as are available.
ENVIRONMENT
HOME dos uses this environment variable to find the user’s home directory.
SETUP.PCS specifies an alternate path name for setup.pcs. This can be overruled by the -p command-line option.
SETUPPC never initialize ~/pc.
DOSDIR path to root of DOS Windows file hierarchy (default: "/etc/dos").
FILES
/etc/licenses Sun software product license file.
/etc/dos/defaults/setup.pcs
Default setup.pcs file copied into user’s home DOS directory (~/pc) the first time a DOS window is started. Not used by DOS in this location.
/etc/dos/defaults/C: Default drive C file copied into a user’s home PC directory the first time a DOS window is started.
~/pc/autoexec.bat Contains drive assignments, search paths, and other startup commands. Searched after C:AUTOEXEC.BAT and E:AUTOEXEC.BAT.
C:AUTOEXEC.BAT Contains commands to access system printers and special drives. You should not need to change the AUTOEXEC.BAT on drive C. Put your changes in the AUTOEXEC.BAT on drive H (in your home directory). C:AUTOEXEC.BAT is not accessible from SunOS.
E:AUTOEXEC.BAT In the default distribution, this batch file is called by C:AUTOEXEC.BAT .
C:CONFIG.SYS Specifies device drivers and other system parameters. C:CONFIG.SYS is not accessible from SunOS.
~/pc/setup.pcs Defines printers, standard PC devices, and drive C. One or more of these files may exist, under various names which you assign.
~/pc/C: A user’s personal copy of drive C.
~/pc/cmos defines virtual image of IBM PC/AT CMOS ROM. This control’s the DOS Windows hardware emulation.
SEE ALSO
dos(1), dos2unix(1), unix2dos(1), licenses(5), setup.pcs(5), extend(8), flush(8), quit(8)
BUGS
Shrinking or expanding the window will not change the contents to accomodate the new size.
DOS Windows 1.0β — Last change: 1 February 1989