home *** CD-ROM | disk | FTP | other *** search
-
- The following is the contents of the README file distributed with the
- original STARTD.ZIP package.
-
- STARTD V1.0 README
-
- The big difference between this program and the OS/2 'start' command
- is that you can specify a settings file. STARTD will read the settings
- file specified on the command line after the /SF switch and then start
- a dos session with those settings, otherwise it performs mostly like 'start'.
-
- The settings file is just a list of the settings you want to change. One
- setting per line (no blank lines) ie.
-
- EMS_MEMORY_LIMIT=0
- IDLE_SENSITIVITY=50
- DOS_BACKGROUND_EXECUTION=OFF
- .
- .
- .
-
- The setting names are the same as the ones in DOS SETTINGS options.
-
- Also STARTD will not ignore the /BG option and will actually start a dos
- session in the background (good for those startup.cmd dos sessions).
-
- Type STARTD /? for a list of the options it supports.
-
- The sample cmd file demo.cmd pops up two VDM's with different settings
- and shows you the memory free in each one...
-
- This is a quick hack so if it breaks tell me and I'll fix it (or fix it
- yourself and tell me what I did wrong). I wrote this program without any
- OS/2 technical reference (I'm still waiting for my redbooks) so I could
- concievably done horrid things. One thing I still can't understand is how
- DosStartSession knows how big the environment buffer is. But it seems to
- work anyway...
-
- Shareware:
- Basically share and enjoy!
- If you like/dislike the program send me email my
- address is npross@undergrad.uwaterloo.ca
-
- Although if you use my program on a regular basis and have an
- OS/2 shareware app requiring payment for regular use then I would
- like you to send me a note waiving the fee for that program.
-
- And if you want to send me money please append your VISA/MC number
- to your email message. ;-) (that's a joke for those who don't
- understand smilies and have a habit of sending hate mail to people
- who were obviously intending to be sarcastic)
-
- This program is provided AS IS. There are no warranties expressed or implied
- (except where prohibited by law -- what happens in that case I have no idea)
- The author assumes no liability for damages caused by this program. I run it
- everyday and haven't experienced any related difficulties...Mileage may vary.
-
- BUGS/LIMITATIONS:
-
- STARTD does not check for invalid combinations of command line switches.
- So if you specify STARTD /FS /WIN /PM /DOS you'll get a windowed DOS session
- but who cares. At least it doesn't print "SYS179827346: You are a big jerk and
- should know what parameters to specify"
-
- STARTD's VDM sessions always run the autoexec.bat The OS/2 START doesn't if you
- specify a command to execute. I think this is a feature :-)
-
- I'm sure there are many more, but hey:
-
- Lubarsky's Law of Cybernetic Entomology:
- There's always one more bug.
-
-
-
- The following is the comment extracted from the STARTD.C source program.
-
- /*
- * STARTD: A simple program to start a DOS session under OS/2 2.0.
- * This program can be run from an OS/2 command prompt
- *
- * Last Modfied: 07/07/92
- *
- * Author: Norm Ross
- *
- * Using the example code for BOOTA.C found in IBM DOCUMENT GBOF-2254
- *
- * This was written mainly to provide access to DOS SETTINGS for
- * VDM sessions. Since I have disabled the WPS to free up the space,
- * I can't specify DOS settings for my favorite DOS apps.
- * STARTD is not meant to replace START but it does many of
- * the same things...
- *
- * If you change this program and re-distribute it please leave this
- * header intact and send the readme file with it.
- *
- * MODIFICATION HISTORY
- *
- * 07-Jul-1992 Norm Ross, npross@undergrad.uwaterloo.ca
- * 1.00 : Initial version
- */
-
- The following is displayed when you enter STARTD /? at the command prompt.
-
- STARTD VERSION 1.0 by Norm Ross Copyright (c) 1992
-
- startd [\"program title\"] [/BG /C /DOS /F /FS /I /ICON iconfile /INV /K /MAX
- /MIN /PGM POS=x,y,x1,y1 /SF settingsfile /WIN] [command ...]
-
- B[G] start session in background
- C close session upon completion
- DOS start a dos session
- F[G] start session in foreground
- FS start a full screen session
- I sets SSF_INHERTOPT_SHELL
- ICON uses the specified icon file
- INV start the application invisibly
- K keep the session around after it is finished
- MAX start maximized
- MIN start minimized
- N don't start indirectly through command processor
- PGM the next argument is the program name
- PM start a PM program
- POS=x,y,x1,y1 specify window position and size
- SF read the specified dos settings file
- WIN start a windowed session
- WAIT doesn't work
-
-
-