home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / os2 / menumast.zip / MENUS.EXE / STARTD.DOC < prev    next >
Text File  |  1993-07-03  |  5KB  |  130 lines

  1.  
  2. The following is the contents of the README file distributed with the
  3. original STARTD.ZIP package.
  4.  
  5. STARTD V1.0 README
  6.  
  7. The big difference between this program and the OS/2 'start' command
  8. is that you can specify a settings file. STARTD will read the settings
  9. file specified on the command line after the /SF switch and then start
  10. a dos session with those settings, otherwise it performs mostly like 'start'.
  11.  
  12. The settings file is just a list of the settings you want to change. One
  13. setting per line (no blank lines) ie.
  14.  
  15. EMS_MEMORY_LIMIT=0
  16. IDLE_SENSITIVITY=50
  17. DOS_BACKGROUND_EXECUTION=OFF
  18. .
  19. .
  20. .
  21.  
  22. The setting names are the same as the ones in DOS SETTINGS options.
  23.  
  24. Also STARTD will not ignore the /BG option and will actually start a dos
  25. session in the background (good for those startup.cmd dos sessions).
  26.  
  27. Type STARTD /? for a list of the options it supports.
  28.  
  29. The sample cmd file demo.cmd pops up two VDM's with different settings
  30. and shows you the memory free in each one...
  31.  
  32. This is a quick hack so if it breaks tell me and I'll fix it (or fix it
  33. yourself and tell me what I did wrong). I wrote this program without any
  34. OS/2 technical reference (I'm still waiting for my redbooks) so I could
  35. concievably done horrid things. One thing I still can't understand is how
  36. DosStartSession knows how big the environment buffer is. But it seems to
  37. work anyway...
  38.  
  39. Shareware:
  40.         Basically share and enjoy!
  41.         If you like/dislike the program send me email my
  42.         address is npross@undergrad.uwaterloo.ca
  43.  
  44.         Although if you use my program on a regular basis and have an
  45.         OS/2 shareware app requiring payment for regular use then I would
  46.         like you to send me a note waiving the fee for that program.
  47.  
  48.         And if you want to send me money please append your VISA/MC number
  49.         to your email message. ;-) (that's a joke for those who don't
  50.         understand smilies and have a habit of sending hate mail to people
  51.         who were obviously intending to be sarcastic)
  52.  
  53. This program is provided AS IS. There are no warranties expressed or implied
  54. (except where prohibited by law -- what happens in that case I have no idea)
  55. The author assumes no liability for damages caused by this program. I run it
  56. everyday and haven't experienced any related difficulties...Mileage may vary.
  57.  
  58. BUGS/LIMITATIONS:
  59.  
  60. STARTD does not check for invalid combinations of command line switches.
  61. So if you specify STARTD /FS /WIN /PM /DOS you'll get a windowed DOS session
  62. but who cares. At least it doesn't print "SYS179827346: You are a big jerk and
  63. should know what parameters to specify"
  64.  
  65. STARTD's VDM sessions always run the autoexec.bat The OS/2 START doesn't if you
  66. specify a command to execute. I think this is a feature :-)
  67.  
  68. I'm sure there are many more, but hey:
  69.  
  70. Lubarsky's Law of Cybernetic Entomology:
  71.         There's always one more bug.
  72.  
  73.  
  74.  
  75. The following is the comment extracted from the STARTD.C source program.
  76.  
  77. /*
  78.  *  STARTD:  A simple program to start a DOS session under OS/2 2.0.
  79.  *           This program can be run from an OS/2 command prompt
  80.  *
  81.  *  Last Modfied: 07/07/92
  82.  *
  83.  *  Author: Norm Ross
  84.  *
  85.  *  Using the example code for BOOTA.C found in IBM DOCUMENT GBOF-2254
  86.  *
  87.  *  This was written mainly to provide access to DOS SETTINGS for
  88.  *  VDM sessions. Since I have disabled the WPS to free up the space,
  89.  *  I can't specify DOS settings for my favorite DOS apps.
  90.  *  STARTD is not meant to replace START but it does many of
  91.  *  the same things...
  92.  *
  93.  *  If you change this program and re-distribute it please leave this
  94.  *  header intact and send the readme file with it.
  95.  *
  96.  *  MODIFICATION HISTORY
  97.  *
  98.  *  07-Jul-1992  Norm Ross, npross@undergrad.uwaterloo.ca
  99.  *     1.00 : Initial version
  100.  */
  101.  
  102. The following is displayed when you enter STARTD /? at the command prompt.
  103.  
  104.   STARTD VERSION 1.0 by Norm Ross Copyright (c) 1992
  105.  
  106.   startd [\"program title\"] [/BG /C /DOS /F /FS /I /ICON iconfile /INV /K /MAX
  107.           /MIN /PGM POS=x,y,x1,y1 /SF settingsfile /WIN] [command ...]
  108.  
  109.   B[G] start session in background
  110.   C close session upon completion
  111.   DOS start a dos session
  112.   F[G] start session in foreground
  113.   FS start a full screen session
  114.   I sets SSF_INHERTOPT_SHELL
  115.   ICON uses the specified icon file
  116.   INV start the application invisibly
  117.   K keep the session around after it is finished
  118.   MAX start maximized
  119.   MIN start minimized
  120.   N don't start indirectly through command processor
  121.   PGM the next argument is the program name
  122.   PM start a PM program
  123.   POS=x,y,x1,y1 specify window position and size
  124.   SF read the specified dos settings file
  125.   WIN start a windowed session
  126.   WAIT doesn't work
  127.  
  128.  
  129.  
  130.