home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / windows / edos / edosdoc.txt < prev    next >
Text File  |  1993-12-31  |  72KB  |  2,694 lines

  1. For Tech Support call 503-694-2221
  2.  
  3.  
  4. Overview
  5.  
  6.  
  7.  
  8.  
  9.  
  10. EDOS is a powerful device driver program that adds many amazing
  11. features to your DOS sessions under Microsoft Windows. It makes
  12. your DOS session "Windows-aware," whenever you run DOS in
  13. Windows' 386 enhanced mode. EDOS uses none of your conventional
  14. memory. It loads entirely in extended memory above 1 megabyte.
  15. Once you become accustomed to EDOS, you never want to be without
  16. it.
  17.  
  18.  
  19.  
  20.  
  21.  
  22. EDOS Features
  23.  
  24.  
  25.  
  26. EDOS adds several "internal" commands to DOS. These are commands
  27. that do not require separate files on your hard disk, but act
  28. like a part of DOS itself. These commands allow you to change
  29. your DOS session's PIF settings on the fly, set alarms which
  30. show a message box in Windows, add memory, start performance
  31. timers, disable "dangerous" DOS commands, view and print the
  32. Windows Clipboard, and much more.
  33.  
  34.  
  35.  
  36. The five DOS Session icons correspond to five PIF files for  DOS
  37. sessions of 736K, 704K,  640K, 128K, and 50K of memory. You can
  38. improve performance in Windows, and open more applications in
  39. Windows, by using the smallest DOS session you actually need.
  40. All DOS sessions started while EDOS is running -- not just those
  41. started with these PIF file icons -- benefit from all features
  42. of EDOS.
  43.  
  44.  
  45.  
  46. A Windowed DOS session has a menu bar with file, edit, help,
  47. view selections and  two status indicators, {b} and  [X]. These
  48. show the state of the Background  and Exclusive flags. They are
  49. grayed out when the state is off, black if on. They are updated
  50. in real-time.  The menu bar can be disabled or enabled at any
  51. time.
  52.  
  53.  
  54.  
  55. There is a SUSPEND menu item, on the system menu. Turns
  56. background off and minimizes the session all in one.
  57.  
  58.  
  59.  
  60. EDOS also makes it possible for you to exit any DOS session by
  61. pressing Alt+F4 , just like a Windows application, instead of
  62. typing EXIT and pressing Enter.
  63.  
  64.  
  65.  
  66. EDOS has a full, on-line Windows Hypertext Help system. You can
  67. run this by clicking on EDOS Help in any DOS session's System
  68. menu.  For more information, see "What You Can Do With EDOS" in
  69. this document.
  70.  
  71.  
  72.  
  73. Quick Installation
  74.  
  75.  
  76.  
  77. First. Read the README.TXT file on the installation disk before
  78. proceeding. It contains hints and information on last minute
  79. changes to EDOS you should be aware of.
  80.  
  81.  
  82.  
  83. To install EDOS, Windows 3.1 or higher must be running. Place
  84. the EDOS diskette in floppy drive A: or B:. Click the File menu
  85. in Program Manager (or any Windows "shell" program), then click
  86. Run. Type the following command line and press Enter:
  87.  
  88.  
  89.  
  90. A:\SETUP     or      B:\SETUP
  91.  
  92.  
  93.  
  94. For further information on the Setup process, see the section
  95. "How Setup Works" in this document, or the text file README.TXT
  96. on the EDOS diskette.
  97.  
  98.  
  99.  
  100. After the installation process you can verify  the installation
  101. worked properly by clicking on the "Verify" icon in the EDOS DOS
  102. session group.
  103.  
  104.  
  105.  
  106. What To Do If Windows Won't Run
  107.  
  108.  
  109.  
  110. If incompatibilities prevent Windows from running after you
  111. install EDOS, you can easily disable EDOS from loading so that
  112. you can work out the problem. To do so:
  113.  
  114.  
  115.  
  116. Comment out the  device=edos.386 line in the [386Enh] section of
  117. SYSTEM.INI.
  118.  
  119. Comment out the EDOS=EDOSLIB.DLL line in the [drivers] section
  120. of SYSTEM.INI.
  121.  
  122. NOTE:    A semi-colon at the beginning of the line comments the
  123. line.
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. If all else fails call EDOS tech support
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139. Quick EDOS Disable
  140.  
  141.  
  142.  
  143. To disable EDOS loading, use the disable ICON or see the    "How
  144. to Remove EDOS"  for permanent removal. The disable ICON toggles
  145. from disabled to enabled.
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153. EDOS Operating Environment
  154.  
  155.  
  156.  
  157. A DOS Session consists of one windowed or full screen DOS window
  158. and virtual machine.  It acts like a single-user computer
  159. operating in the MS-DOS environment.  Theoretically, anything
  160. that is designed to run under DOS, will run in a DOS Session. 
  161. Unfortunately, many complications can keep this from happening. 
  162. Although Windows 3.1 performs much better than previous versions
  163. running DOS Sessions, it still leaves much to be desired.  EDOS
  164. adds reliability, functionality , and  convenience to operating
  165. DOS programs under Windows.  Indeed, a DOS application run in a
  166. windowed DOS Session with EDOS  in control provides features and
  167. functionality unavailable under DOS alone.  EDOS was developed
  168. for the many users who, for whatever reason, need to run in the
  169. Windows environment but frequently need to use DOS applications. 
  170.  
  171.  
  172.  
  173.  
  174.  
  175. What You Can Do With EDOS
  176.  
  177.  
  178.  
  179. EDOS adds several new commands to DOS sessions. These commands
  180. can be typed at a DOS command line or used in batch files, like
  181. any other DOS commands. Some examples of ways you can use these
  182. features are:
  183.  
  184.  
  185.  
  186. Using the EDOS command DOSMEM, you can give a DOS session more
  187. memory than it started with!  Up to 736 KB.
  188.  
  189. EDOS provides "Smart Exiting." EDOS automatically closes idle
  190. DOS sessions when you exit Windows.
  191.  
  192. You can write a batch file to display or change most PIF
  193. settings "on-the-fly.". This means you can use a single
  194. DEFAULT.PIF file for all DOS applications, but change its
  195. settings as required. 
  196.  
  197. You can set alarms in DOS sessions, which display dialog message
  198. boxes in Windows.
  199.  
  200. You can create batch files to run in background and use the
  201. ALARM and EDOSEXIT commands to return to Windows a failed or
  202. successful complete message.
  203.  
  204. You can test the performance of various PIF settings on your DOS
  205. sessions, using the commands SYSTIME and BOXTIME. By running
  206. BOXTIME before and after a certain task, for example, you can
  207. see what percentage of CPU time that DOS application is getting
  208. from Windows.
  209.  
  210. You can display or print any text in the Windows Clipboard from
  211. the DOS command line. Windows' own Clipboard Viewer can't print
  212. by itself.
  213.  
  214. Using the BOXSWITCH command, you can disable the possibility of
  215. switching away from a DOS session and back to Windows, during
  216. critical tasks that must not be interrupted.
  217.  
  218. You can test in a batch file whether or not Windows is running,
  219. using the ISWIN command.
  220.  
  221. Additionally, EDOS modifies and disables some DOS commands that
  222. are dangerous if run in a DOS session under Windows. This
  223. includes CHKDSK/F, FORMAT, FASTOPEN, APPEND, SUBST, and others.
  224. And,  EDOS allows you to specify DOS commands that you wish to
  225. disable. See the section "Disabling Other DOS Commands" in this
  226. document.
  227.  
  228. Finally, EDOS features a new system menu for windowed EDOS
  229. sessions with; Hypertext Help, an "About EDOS" selection and
  230. under Windows 3.1 you can start the PIF editor which
  231. automatically starts with the PIF for the current session.
  232.  
  233. For detailed information on each command, see the "Command
  234. Reference" section. For a quick summary, see below
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242. User Tips
  243.  
  244.  
  245.  
  246. Alt+Space  windows a DOS session and pops up the system menu.
  247.  
  248.  
  249.  
  250. Alt+Enter toggles from Windowed to Full Screen.
  251.  
  252.  
  253.  
  254. Alt+Tab  will cycle from one task to the next.
  255.  
  256.  
  257.  
  258. NOTE:     Most people are unaware that WINSTART.BAT can be used to
  259. load TSR's that are used only by Windows apps and that ONLY take
  260. up conventional memory in the Windows System Virtual Machine.
  261. That's right ONLY in Windows.  See the ADVANCED.TXT file on the
  262. installation disk for more information.
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272. Control Menu
  273.  
  274.  
  275.  
  276. The control menu is invoked by clicking on the upper left corner
  277. of any Windows window frame -- at the left end of the  Title Bar
  278. -- in the box containing the horizontal bar.  It is relatively
  279. standard throughout Windows, but has  minor changes in DOS
  280. Sessions.  The EDOS version is even more capable.   See the
  281. details below:
  282.  
  283.  
  284.  
  285. Std. Moving & Sizing - This includes the usual Restore, Move,
  286. Size, Minimize, Maximize group. In addition EDOS adds  Full
  287. Screen.  This function is also available in the View selection
  288. on the  EDOS Menu Bar, and sends a windowed DOS Session into
  289. Full Screen Mode. 
  290.  
  291.  
  292.  
  293. Close - This selection closes the DOS Session and its window,
  294. like File Exit in the EDOS Menu Bar.  It likewise will  be
  295. grayed out if the Session has a running application.
  296.  
  297. Switch To... - This selection is a standard Windows entry which
  298. takes you to the Task Manager.
  299.  
  300.  
  301.  
  302. Settings...  - This selection is a standard Windows entry which
  303. takes you to a Dialog box showing some of the  session setting
  304. -- display, priority, and tasking options, with a kill task
  305. button also.  Changes may be made to the  values/conditions
  306. here, which take effect immediately, but do NOT change the
  307. current PIF file permanently.  This same Dialog box can be
  308. accessed from the EDOS Menu Bar under
  309. Settings|Current|Priorities.  See Menu Bar below for details.
  310.  
  311.  
  312.  
  313. Menu Bar - This is, of course, an EDOS addition.  It is a
  314. switch; if checked, the EDOS Menu Bar is present.  
  315.  
  316.  
  317.  
  318. Suspend - Suspends the DOS session and replaces the session
  319. window with its icon. The Background Flag is turned off.  If you
  320. click on the icon the control menu will pop up. You can in turn
  321. click on the check marked suspend  item which will toggle the
  322. background Flag on and reactivate the session.
  323.  
  324.  
  325.  
  326. EDOS Menu Bar
  327.  
  328.  
  329.  
  330. EDOS now provides a Menu Bar, just below the Title Bar in
  331. windowed DOS sessions!  In its present implementation, it offers
  332. DOS activities valuable performance and convenience improvements
  333. unavailable with other products. 
  334.  
  335.  
  336.  
  337. New...  - This selection brings up a File Selection box,
  338. allowing selection of drive, directory, and filename, similar to
  339. many other places in the Windows environment.  Only executable
  340. files are appropriate  for this function, which is to launch a
  341. NEW DOS or Windows Session from the current DOS Session!  
  342.  
  343.  
  344.  
  345. Pick... - This selection brings up an identical File Selection
  346. box, BUT only pastes the FULL Path name of the selected file at
  347. the cursor location in the Current Session.  The cursor needs to
  348. be located where keyboard entry of a filename is expected, of
  349. course.  This could be at the DOS System prompt, or in a running
  350. application for which you need a filename response at that
  351. point.  
  352.  
  353.  
  354.  
  355. Exit  - This selection closes the DOS Session and window -- IF
  356. you are at the DOS System prompt.  It  will be grayed out, if
  357. you are in a running application.  The way to close the Session
  358. in that case depends on the PIF parameter settings -- usually by
  359. closing the application in its usual way.
  360.  
  361.  
  362.  
  363. Mark, Copy, Append, Paste - This essentially is the same
  364. capability provided in the Control Menu of a  regular windows 
  365. 3.1 DOS window, BUT it is much more accessible and convenient
  366. located at the top of the screen and only ONE level down, rather
  367. than two.  From an operational and utilitarian view, this makes
  368. the copy/paste procedure much more valuable and useable.
  369.  
  370.  
  371.  
  372. Finally, all the important scraps of text that one would like to
  373. move from one application to another can be done -- and done
  374. easily.  You will develop a real enthusiasm for the variety of
  375. small tasks that can now conveniently be done without retyping
  376. or confusion.  And note that both the source and the target
  377. Sessions can be DOS or Windows in any combination.
  378.  
  379.  
  380.  
  381. Make the source Current, Mark the selected block on the screen
  382. with your mouse -- point to the upper left corner of the text
  383. block desired, press the left mouse button and drag to the lower
  384. right corner (everything highlighted will be transferred, so
  385. mark carefully) -- choose Copy, and that text will be in the
  386. Windows Clipboard. When the text is selected (highlighted) it
  387. may be copied by clicking on the right mouse button. Make the
  388. target Current, if it is DOS, and place the cursor where you
  389. want the text to go;  choose Paste and the text will transfer to
  390. that location as if it were entered from the keyboard.  A
  391. Windows session as target will accept the contents of the
  392. Clipboard in the usual way, and as a source can Cut as well as
  393. Copy to the Clipboard for use by any target Session. 
  394.  
  395.  
  396.  
  397. The Windows Clipboard, for all we would like it to do, really
  398. isn't very capable.  You can't tell what's in it at a given
  399. time, or how much and there's no way to get a printed record, in
  400. Windows or in DOS. EDOS adds some valuable functionality in this
  401. area.
  402.  
  403.  
  404.  
  405. View Clip... -  This selection brings up the Clipboard Viewer on
  406. top of the Current DOS  Session.  Anything the Viewer can do can
  407. be accomplished at this point.  For example, you can transfer
  408. the clipboard contents to a .CLP file.  Making and using
  409. multiple clipboards in DOS apps is not only possible, but easy. 
  410. Using CLP files gives the Clipboard a memory.  This is an EDOS
  411. added function.
  412.  
  413.          
  414.  
  415. When using Clip to bring up the Viewer, any .CLP file can be
  416. loaded for use in the Current Session. You can paste whatever
  417. text is in the Clipboard at the cursor, regardless from where or
  418. when it came.  The Clipboard Viewer and the .CLP file facility
  419. are not EDOS features  of course, but  EDOS allows DOS Sessions
  420. ACCESS to them.
  421.  
  422.  
  423.  
  424. Clip Status... - This selection provides an Information box with
  425. a character count of the contents of the Clipboard.  This gives
  426. a forewarning of how much text will be pouring into your 
  427. application at the cursor, as well as providing a simple means
  428. of determining if ANYTHING is in the Clipboard at the moment.  
  429.  
  430.  
  431.  
  432. Print Clip...  - This selection provides a printout of the
  433. contents of the Clipboard on the default printer.  For best
  434. results, you should install in Windows the generic text printer
  435. driver in addition to those needed for specific printers.  EDOS
  436. expects this Driver to be available for this function.  Results
  437. may be unexpected if it is not.  
  438.  
  439.  
  440.  
  441. Scroll - This is the same function available in the Control
  442. Menu, but at a more convenient location. You may well wonder
  443. what this on/off toggle is for.  It is not obvious, because it
  444. has no purpose in a Maximized Windowed DOS session.  However, if
  445. your window shows less than the full DOS screen -- there will be
  446. an "elevator" scroll bar at the side, the bottom, or both --
  447. then while in Scroll Mode the cursor (arrow keys) will scroll to
  448. view hidden portions of the screen.  This provides for window
  449. view control without a mouse.  You'll find that there are some
  450. times that the arrow keys are more appropriate or convenient,
  451. even if you normally do use a mouse.
  452.  
  453.  
  454.  
  455. Full Screen! - This is the same function available in the
  456. Control Menu, but again in a more convenient location.  
  457.  
  458.  
  459.  
  460. Screen Saver! - This selection enables the Windows Screen Saver.
  461. When you return in the normal way from the Screen Saver screen,
  462. the same session is on top, ready for continuing.  BUT NOTE: It
  463. is NOT selected.  Simply click anywhere in that window as usual
  464. to reactivate the Session as the Current one.  In the process of
  465. invoking the screen-save process, it becomes current. The
  466. preceding DOS Session can not automatically be made Current. 
  467. Remember to reactivate your DOS Session when you return from
  468. Screen-Save!  
  469.  
  470.  
  471.  
  472. 25/50 Lines! - Toggles the DOS session display from 25 to 50
  473. line mode and back.
  474.  
  475.  
  476.  
  477. Fonts.. - This is the standard Windows entry in the Control
  478. Menu, which has been moved here for greater convenience -- it
  479. just seems to make more sense here!  The functionality is the
  480. same, however.
  481.  
  482.  
  483.  
  484. Several DOS session environment settings can be changed from the
  485. menu bar. They are:
  486.  
  487.  
  488.  
  489. Background! - A yes/no toggle item.  When check marked,
  490. background is on.  This should show the same as the indicator at
  491. the right end of the Menu Bar.  Like Priority the change is only
  492. temporary.  See below. 
  493.  
  494.  
  495.  
  496. Advanced - These are items less often needed and provide more
  497. detailed info/control. 
  498.  
  499.  
  500.  
  501. Priority... - This provides the same Dialog box as the Settings
  502. item on the Control Menu and provides the same capability for
  503. temporarily changing PIF values.  
  504.  
  505.  
  506.  
  507. Exclusive - Like Background, above, this is a yes/no toggle,
  508. check marked when on, but is much less likely to be used, so it
  509. is at this lower level.  Again, changes made here are temporary.
  510.  
  511.  
  512.  
  513. The next three items are yes/no toggles, check marked when on. 
  514. The toggle is provided in case a particular feature seems to
  515. interfere with a DOS application. Otherwise they serve mostly as
  516. status indicators, as do most items in this Advanced Menu. 
  517.  
  518.  
  519.  
  520. Drag/Drop! - You can drag a file name from the the file manager
  521. and drop tit at the command line in your DOS session.
  522.  
  523.  
  524.  
  525. Fast Paste! -  Toggles on and off the fast paste PIF setting.
  526.  
  527.  
  528.  
  529. Run Win Apps!  - Toggles on or off the ability to start Windows
  530. applications from the DOS command line.
  531.  
  532. Screen Saver!  - Starts the Windows screen saver.
  533.  
  534.  
  535.  
  536. Kill Task - This provides the same function as on the Control
  537. Menu, that of terminating  a DOS Session completely and
  538. unequivocally, when all else fails.  HANDLE WITH CARE!  This is
  539. the LAST RESORT Panic Button.  Even so, ONLY the Current Session
  540. is terminated, the rest of the Windows System is not affected.
  541.  
  542.  
  543.  
  544. Startup... - This selection invokes the PIF Editor with the
  545. Current Session PIF already selected.  Any adjustments can be
  546. made to the PIF, just as in the PIF Editor normally invoked. 
  547. PLEASE NOTE, however, that any changes made, if saved upon exit,
  548. will NOT take effect until this Session is  closed, then
  549. restarted.  The PIF information is only read during loadtime.
  550.  
  551.  
  552.  
  553. EDOS Help - EDOS uses the full facilities of WINHELP, with which
  554. you may already be familiar in Windows applications, but has
  555. never previously been available in a DOS environment.  Hypertext
  556. and pop-up definitions of terms are used extensively.   Although
  557. there may be no end to the possibilities bearing from the
  558. implementation of this facility, presently there are seven major
  559. selections in the EDOS Help menu.  They are self-explanatory,
  560. and please note that, as with any Windows Help selection, any
  561. entry can be printed on a selected printer, if permanent 
  562. reference is needed. How?  You can use the File entry in the
  563. Help System Menu Bar.  There is a Print entry  located there. 
  564. If you never noticed, try it.  It prints the current topic in
  565. graphic mode, and on a color printer,  prints the sub-topics and
  566. hypertext buttons in green, etc.
  567.  
  568.  
  569.  
  570. There are two indicators at the extreme right on the Menu Bar:
  571. {b} - when highlighted, indicates that the Session is marked for
  572. Background operation; if dimmed, the Session  will not operate
  573. in the Background when the Session window is inactive. [X] -
  574. when highlighted, indicates that the Session is marked for
  575. Exclusive operation; if dimmed, the Session is not operating
  576. Exclusively, which is  normal. 
  577.  
  578.  
  579.  
  580. Useful examples of Inter-session Communications  Using EDOS
  581.  
  582.  
  583.  
  584. The Mark/Copy/Append/Paste capability now in DOS Sessions 
  585. provides far more communication among DOS and Windows activities
  586. than ever before. The new EDOS Menu Bar makes them convenient
  587. enough to actually use in a production setting.  Of course,
  588. these functions works only for  text, and only that which can be
  589. on the screen at one time, but there are a lot of scraps of text
  590. that would be desirable to transfer to another location without
  591. having to retype -- and get it wrong!
  592.  
  593.  
  594.  
  595. A simple example to which all can relate is the name and
  596. address.  If you provide a format  screen in your database, for
  597. instance, that is exactly like the form you want it for a
  598. letter, open two Sessions..  Open the database in convenient
  599. search/find mode using the formatted screen above.  Find the
  600. proper name & address for  your letter, mark and copy it.  Then
  601. <Alt-TAB> to you word processing Session, place the cursor where
  602. you want the text to start, choose Paste, and continue with your
  603. letter.  Remember if you haven't put anything else in the
  604. Clipboard  in  the meantime, the name and address  is still
  605. available for the envelope!  For low-volume letter writing, this
  606. provides a slick, easy , way to access your database, regardless
  607. what program it's  in. 
  608.  
  609.  
  610.  
  611. Here's another.  Say you have a program you want to write to the
  612. author/publisher about.  For example, complimentary remarks
  613. about EDOS! Instead  of scanning through the program in Dump
  614. Mode of your favorite Viewer and writing down the Owner name
  615. copyright date, version, and if you're lucky address, for later
  616. reference, simply mark the block of  garbage in which that info
  617. is contained, copy, then place it in a text editor to clean it
  618. up ( WIN Notepad works fine),  copy it back to the Clipboard and
  619. paste it into your letter -- or a note program for later
  620. reference.  
  621.  
  622.  
  623.  
  624. Many programs have a on-line help capability at the command
  625. line.  Either ? or /? or something similar after the program
  626. command will often display such help.  Have you ever wanted to
  627. get a printout of this -- AFTER editing it into a more easily
  628. readable or appropriate form for your purpose?  For instance,
  629. the help screen from  PKZIP/PKUNZIP.  But, you say, the help
  630. takes  more that one screen, especially PKUNZIP.  So it does. 
  631. Put as much as will fit on the screen and Pause, copy that much 
  632. to the Clipboard.  Since the present Clipboard has an append
  633. feature, we do not have to do this in multi-steps.
  634. Edit/Mark/Copy the first part then Edit/Mark/Append the second
  635. part.
  636.  
  637.  
  638.  
  639. There are more than one way to do most things, but using these
  640. tools and procedures for small operations is  quick and easy --
  641. much easier than describing them.
  642.  
  643.  
  644.  
  645. View, Status & Print - Since view brings up the Clipboard View
  646. right on top of what you're doing, you can, while there, save
  647. multiple clipboards in effect, by saving .CLP files, recalling
  648. them as needed with a load.  Several  text scraps could be
  649. copied in sequence from the same Session, saving each in a .CLP
  650. file in turn.  Then going to  the destination application and
  651. retrieving them one at a time through the Clipboard, appending
  652. all together.
  653.  
  654.  
  655.  
  656. Picking Filenames - How often have you been in an application
  657. that has no direct connection with a directory listing at  a
  658. point where it was asking for a filename?  I Know, you can't
  659. count the times!  This is a real lifesaver in such cases.   We
  660. are using WIN facilities -- the File Selection Dialog box -- to
  661. peek at the directory system aside from the Current 
  662. application.  Unlike NEW, which has its own unique features,
  663. this simply pastes the selected filename at the cursor, 
  664. wherever it may be.  This is the COMPLETE path name, so there is
  665. NO ambiguity in the reference.
  666.  
  667.  
  668.  
  669. Using TSR's with Applications - First word:  BEWARE!  That being
  670. said, many TSR's do work fine when invoked in a Session before
  671. the main application, using a batch file.  Use of others may
  672. prove disastrous.  Try them out carefully.  The  advantage of 
  673. loading them locally is, they are part of that sessions memory
  674. allocation, and they are automatically removed from memory when
  675. the session is closed.
  676.  
  677.  
  678.  
  679. A few TSR's function in DOS sessions with their usual hotkeys
  680. when loaded globally, that is, before Windows.  However, Windows
  681. most often disables TSR Hotkeys while running. After leaving
  682. Windows the hotkeys may work as usual. BUT there may be
  683. incompatibilities between the TSR and Windows and an attempt to
  684. start the TSR will do strange, incomprehensible things to
  685. Windows that may not be immediately apparent.  Also, it has been
  686. demonstrated painfully, any TSR that pastes data at the cursor
  687. of the underlying application through the keyboard buffer will
  688. likely interfere with the Clipboard paste into a DOS session or
  689. the use of pick.  The Session -- or the computer -- may lock. If
  690. this happens to you, try turning off Fast Paste. Command Summary
  691.  
  692. New DOS Internal Commands (EDOS Commands)
  693.  
  694.  
  695.  
  696. /?    Added to the end of an EDOS command, displays Help.
  697.  
  698. Alt+F4    Closes a DOS session.
  699.  
  700. ALTF4    Disables or enables the Alt+F4 key combination.
  701.  
  702. ALARM    Sounds an alarm after a specified interval.
  703.  
  704. BACKGROUND    Sets Background mode of DOS session.
  705.  
  706. BOXSWITCH    Changes ability to switch away from a session.
  707.  
  708. BOXTIME    Measures CPU time available to a session.
  709.  
  710. CLIPBOARD*    Displays or prints the Windows Clipboard
  711.  
  712. DOSMEM    Adds memory to the current DOS session.
  713.  
  714. EDOSEXIT*    Returns exit code from EDOS commands.
  715.  
  716. EMS    Displays expanded memory settings.
  717.  
  718. EXCLUSIVE    Sets Exclusive mode of DOS session.
  719.  
  720. ISWIN*    Sets the DOS Errorlevel if Windows is running.
  721.  
  722. PIF    Displays the PIF settings for a DOS session.
  723.  
  724. PRIB    Changes the Background Priority of a session.
  725.  
  726. PRIF    Changes the Foreground Priority of a session.
  727.  
  728. SLICE    Sets the Minimum Time Slice allocated by Windows.
  729.  
  730. STATUS  or EDOS    Displays status information.
  731.  
  732. SYSTIME    Measures elapsed time system-wide.
  733.  
  734. XMS    Displays extended memory settings.
  735.  
  736.  
  737.  
  738.                   *   External (.COM) commands.
  739.  
  740. DOS Commands Modified
  741.  
  742.  
  743.  
  744. CHKDSK    CHKDSK/F is disabled under Windows.
  745.  
  746. DATE    Should be changed only through Control Panel.
  747.  
  748. MEM    Additional information is displayed.
  749.  
  750. Print Screen    Prints to LPT1, instead of copying to Clipboard.
  751.  
  752. TIME    Should be changed only through Control Panel.
  753.  
  754. WIN    Disallows attempt to load a new copy of Windows 
  755.  
  756.     and switches back to  the current Windows session.
  757.  
  758. DOS Commands Disabled While in Windows
  759.  
  760.  
  761.  
  762. APPEND    Confuses Windows as to true path names.
  763.  
  764. ASSIGN    Confuses Windows as to true drive letters.
  765.  
  766. CHKDSK /F    Scrambles open files under Windows 3.0.
  767.  
  768. FASTOPEN    Confuses Windows by buffering directory reads.
  769.  
  770. FDISK    Erases and re-partitions hard disks.
  771.  
  772. FORMAT    Should be run from Windows File Manager.
  773.  
  774. JOIN    Confuses Windows as to true path names.
  775.  
  776. RECOVER    Breaks files into small sectors and renames them.
  777.  
  778. SUBST    Confuses Windows as to true path names.
  779.  
  780. DOSX    Hangs  PC, damages disk.
  781.  
  782.  
  783.  
  784.  
  785.  
  786. Commands You Should Disable
  787.  
  788.  
  789.  
  790. Review your utilities for commands that mess about with the
  791. structure of your disk. For example, disk organizers and the
  792. like. These should not normally be run from windows. In
  793. addition, some versions of DOS have special commands reserved
  794. for system installation.  For example, The SELECT command is
  795. used by some versions of DOS to format a hard disk and install
  796. the DOS "hidden files," in preparation for the full installation
  797. of DOS itself.
  798.  
  799.  
  800.  
  801. If you are running Windows on a Network you will probably want
  802. to disable network commands like: login, Logout and Attach.
  803.  
  804. Command Reference
  805.  
  806.  
  807.  
  808.  
  809.  
  810. This section describes each EDOS command in detail. The commands
  811. may be typed at the DOS command line, or used in batch files
  812. like any other DOS command.
  813.  
  814.  
  815.  
  816. Adding a greater-than symbol (>) and a printer port or filename
  817. to the end of most EDOS commands will print output to a printer
  818. or a text file.
  819.  
  820.  
  821.  
  822. /?
  823.  
  824.  
  825.  
  826. Adding a slash and a question mark (/?) after any command
  827. displays Help text about that command. The command itself does
  828. not run.
  829.  
  830.  
  831.  
  832. Alt+Enter
  833.  
  834.  
  835.  
  836. Alt+Enter toggles between full screen and windowed mode in a
  837. EDOS session.
  838.  
  839.  
  840.  
  841. Alt+F4
  842.  
  843.  
  844.  
  845. When EDOS is running, pressing the key combination Alt+F4 in a
  846. DOS session closes that session, just as it closes any Windows
  847. application. The effect in a DOS session is the same as typing
  848. EXIT<Enter>.  
  849.  
  850.  
  851.  
  852. This key combination can be enabled or disabled from the command
  853. line by using the command ALTF4 ON or ALTF4 OFF (see below).
  854.  
  855. ALTF4 ON - ALTF4 OFF
  856.  
  857.  
  858.  
  859. Typing ALTF4 OFF disables the EDOS feature of closing a DOS
  860. session when the key combination Alt+F4 is pressed.  ALTF4 ON
  861. turns this feature back on. The ability to close a DOS session
  862. with Alt+F4 can be permanently disabled by adding the line:
  863.  
  864. EDOSAltF4=FALSE   in the [edos] section of the SYSTEM.INI file. 
  865.  
  866.  
  867.  
  868. EDOSAltF4=TRUE   enables the EDOS' Alt+F4 feature. (Uppercase
  869. and lowercase are not important in these lines.)
  870.  
  871.  
  872.  
  873.  
  874.  
  875. ALARM {{seconds} {"message string"}}
  876.  
  877.  
  878.  
  879. The ALARM command causes a message box to become visible after
  880. the delay in seconds indicated by the first parameter. An
  881. optional message string may be used, which must be enclosed in
  882. double quotes. If no message string is used then, the message
  883. box will contain the string "Alarm Rings". The message box title
  884. is the title and ID number of the DOS session that created the
  885. alarm. Several alarms, one per DOS session, may be initiated.
  886.  
  887.  
  888.  
  889. BACKGROU[ND] {ON or OFF}
  890.  
  891.  
  892.  
  893. Typing BACKGROUND by itself displays whether the current PIF
  894. setting allows the DOS session to run in the background (that
  895. is, whether the DOS session runs when it is not the current
  896. window).
  897.  
  898.  
  899.  
  900. Typing BACKGROUND ON changes the PIF setting so the DOS session
  901. is allowed to run in the background.
  902.  
  903.  
  904.  
  905. BACKGROUND OFF prevents the DOS session from running in the
  906. background. The background status is always displayed when this
  907. command is used.
  908.  
  909.  
  910.  
  911. BOXSWITC[H] {ON or OFF}
  912.  
  913.  
  914.  
  915. The BOXSWITCH command enables or disables the ability to switch
  916. away from the current DOS session back to Windows (with Alt+Tab
  917. or Alt+Esc, for example).
  918.  
  919.  
  920.  
  921. Typing BOXSWITCH OFF disables the ability to switch away. You
  922. might want to use this command in a batch file before starting
  923. some task that should not be interrupted, such as a
  924. communications program or IBM 3270 terminal emulation program.
  925.  
  926.  
  927.  
  928. BOXSWITCH ON reverses the effect of BOXSWITCH OFF, and enables
  929. normal switching from the DOS session to Windows.  Using these
  930. commands, or typing BOXSWITCH by itself, displays the status of
  931. the current DOS session.
  932.  
  933.  
  934.  
  935. BOXTIME
  936.  
  937.  
  938.  
  939. The BOXTIME command begins and ends a timer that tells you how
  940. much clock time has elapsed, and what percentage of that time
  941. your DOS session had control of your processor's central
  942. processing unit (CPU).
  943.  
  944.  
  945.  
  946. Typing BOXTIME the first time sets a system-wide timer and a DOS
  947. session (box) timer to zero.
  948.  
  949.  
  950.  
  951. Typing BOXTIME a second time displays the elapsed time
  952. system-wide (the time you would see on a wall clock), the
  953. elapsed time that the DOS session was given by Windows, and the
  954. percentage that represents. The elapsed times are displayed in
  955. milliseconds. One millisecond is 1/1000 of a second. To convert
  956. milliseconds to seconds, if desired, place a decimal point three
  957. places from the right end of the number. (Note: The DOS timer
  958. cannot measure times smaller than 55 milliseconds.)
  959.  
  960.  
  961.  
  962. The BOXTIME command is useful to find out how much time a DOS
  963. application is getting under various PIF settings. For example,
  964. you might create a PIF file that gives a DOS session 100 units
  965. of time when it is in the foreground and 50 units of time in the
  966. background (these are the Windows default settings). These
  967. settings might or might not give your DOS application enough
  968. time to get its work done when minimized or put in the
  969. background. Programs that communicate with remote computers,
  970. sort databases, or recalculate spreadsheets can benefit from
  971. "tuning" PIF settings.
  972.  
  973.  
  974.  
  975. Example: To find out what percentage of CPU time the DOS version
  976. of Lotus 1-2-3 gets under certain PIF settings, you might start
  977. a DOS session and type the following commands:
  978.  
  979.  
  980.  
  981.     BOXTIME
  982.  
  983.     123 MYSHEET.WK1
  984.  
  985.  
  986.  
  987. Once 1-2-3 is loaded, start a macro that recalculates the
  988. spreadsheet over and over. Then press Alt+Tab to return to
  989. Windows. After a few moments, press Alt+Tab until Lotus 1-2-3
  990. appears. Stop the macro and exit Windows.
  991.  
  992.  
  993.  
  994. At the DOS command line, type BOXTIME. This command will display
  995. the percentage of CPU time that Lotus 1-2-3 received from
  996. Windows in this situation. If you want the DOS application to
  997. get more or less time, change the background setting in the PIF
  998. until you get the desired results. The percentage of time that a
  999. DOS session gets in the background depends on the PIF settings
  1000. and on what other DOS applications are running under Windows.
  1001.  
  1002.  
  1003.  
  1004. The most important PIF settings are: Foreground Priority,
  1005. Background Priority, Background Execution, and Exclusive
  1006. Execution. The following Windows settings, which are set in the
  1007. Control Panel's 386 Enhanced dialog box, are also important:
  1008. Foreground Priority, Background Priority, and Minimum Time
  1009. Slice. You can change all of these PIF settings, and the Minimum
  1010. Time Slice setting, using the following EDOS commands: PRIF,
  1011. PRIB, BACKGROUND, EXCLUSIVE, and SLICE. See the explanation of
  1012. these commands elsewhere in this document. You can also track
  1013. the system-wide time using the EDOS command SYSTIME, which is
  1014. explained in its own section.
  1015.  
  1016.  
  1017.  
  1018. CLIPBOAR[D]    
  1019.  
  1020. CLIPBOAR[D]  /VIEW
  1021.  
  1022. CLIPBOAR[D]  /V > LPT1
  1023.  
  1024. CLIPBOAR[D]  /V > filename
  1025.  
  1026.  
  1027.  
  1028. The CLIPBOARD command reports whether there is any text
  1029. currently stored in the Windows Clipboard and, if so, how many
  1030. characters are in memory.
  1031.  
  1032.  
  1033.  
  1034. The CLIPBOARD /VIEW command (which can be abbreviated as
  1035. CLIPBOARD/V) displays any text that is in the Clipboard.
  1036.  
  1037.  
  1038.  
  1039. This text can be sent to any text printer attached to your PC,
  1040. or any file, by adding a greater-than (>) symbol -- which
  1041. redirects the output -- and a port name or filename. This is
  1042. useful because the Windows Clipboard Viewer has no way to send
  1043. text to a printer or save plain-text files. For example:
  1044. CLIPBOARD /V > LPT1 sends text from the Clipboard to the current
  1045. printer on your LPT1 port (Line Printer 1).
  1046.  
  1047.  
  1048.  
  1049. Most PCs have one to three parallel printer ports -- LPT1, LPT2,
  1050. LPT3 -- and one to four serial communications ports -- COM1,
  1051. COM2, COM3, COM4. You can redirect printing to any of these
  1052. ports that currently has a working text printer. By specifying a
  1053. valid DOS filename after the greater-than (>) symbol, you can
  1054. save text in the Clipboard into a text file.
  1055.  
  1056.  
  1057.  
  1058. For example: CLIPBOARD /V > C:\DATA\MYFILE.TXT saves the text
  1059. contents of the Clipboard into a file called MYFILE.TXT in the
  1060. DATA directory of your C: drive. If you do not specify a drive
  1061. and directory name, DOS saves the file in whatever is the
  1062. current directory. The output of most EDOS commands can be
  1063. redirected to a printer or file in the same way.
  1064.  
  1065.  
  1066.  
  1067. DOSMEM {kilobytes}
  1068.  
  1069. DOSMEM /P
  1070.  
  1071. DOSMEM /X
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077. Typing DOSMEM by itself displays the amount of memory in the
  1078. current DOS session. For example:
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084. Memory size= 640 K bytes, Free=609K bytes. 0K bytes can be
  1085. added, From= 2340K
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091. DOSMEM followed by a number in kilobytes (K) adds memory, if
  1092. possible, to the current DOS session. For example: DOSMEM 200
  1093. adds 200K to the DOS session. It is a good idea to leave at
  1094. least 50K unused in the global memory pool. For example, if 172K
  1095. is left, use no more than 120K. This prevents possible
  1096. situations where Windows might not be able to switch graphics
  1097. modes for that DOS session. This information can be useful when
  1098. setting PIF files for different DOS sessions and applications.
  1099.  
  1100.  
  1101.  
  1102. The  /P switch lets you add memory past the 640KB barrier, up to
  1103. 704KB.  Similarly the /X switch lets you add memory up to 736KB.
  1104. These extra large EDOS sessions cannot be used to run programs
  1105. that need graphics support. If you attempt to run such a
  1106. program, a warning message will display and you will have to
  1107. kill the session.,
  1108.  
  1109.  
  1110.  
  1111. The /P and /X options can be disabled by using the 
  1112. EDOS640KPlus=0   line in the [edos] section of SYSTEM.INI
  1113.  
  1114.  
  1115.  
  1116. The /X option can be disabled by using the  EDOS704KPlus=0  
  1117. line in the [edos] section of SYSTEM.INI
  1118.  
  1119.  
  1120.  
  1121. DOSMEM /V prints a detailed information about the DOS session.
  1122. It is  intended for trouble shooting.
  1123.  
  1124.  
  1125.  
  1126. If DOSMEM /X or the 736kb icon will not create an oversized DOS
  1127. session, try installing the EDOSReserveB0=0 setting in
  1128. SYSTEM.INI. See notes about this switch. In some cases this will
  1129. let the 736kb sessions work.
  1130.  
  1131.  
  1132.  
  1133. NOTE:    The DOSMEM command can only be used to add memory to a DOS
  1134. session one time. Further, /P and /X can only be used in a 640kb
  1135. session. The   !DOSMEM!.COM file can be run from a PIF to start
  1136. an oversized session. It is the recommended method. There is a
  1137. ADVANCED.TXT file on the installation disk.  It contains info
  1138. about the oversize DOS sessions. 
  1139.  
  1140.  
  1141.  
  1142. For example:    !DOSMEM!.COM  /p  
  1143.  
  1144.     !DOSMEM!.COM  /x
  1145.  
  1146. EDOSEXIT
  1147.  
  1148.  
  1149.  
  1150. The EDOSEXIT command will return the error code (1 = failure, 0
  1151. = success) from the previously executed internal EDOS command.
  1152. For example, if you use the DOSMEM command to get more memory,
  1153. and the attempt fails, EDOSEXIT will return a 1 as an error
  1154. code. If the attempt succeeds EDOSEXIT will return a 0, if EDOS
  1155. is not installed, EDOSEXIT will return 10. For example,
  1156.  
  1157.  
  1158.  
  1159.     DOSMEM  /P
  1160.  
  1161.     EDOSEXIT
  1162.  
  1163.     IF ERRORLEVEL 1 GOTO DOSMEM_FAILED
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169. NOTE:     See the EXITCODE.BAT in the EDOS subdirectory for a
  1170. examples of  using EDOSEXIT.
  1171.  
  1172.  
  1173.  
  1174.  EMS
  1175.  
  1176.  
  1177.  
  1178. The EMS command displays the Expanded Memory Settings in the PIF
  1179. for the current DOS session. An example of the display of the
  1180. EMS command is as follows:
  1181.  
  1182. EMS Required=   0K, Limit=   1024K, Locked=N
  1183.  
  1184. EMS Free=    0K, EMS Total=    0K, Page Frame Address= E000 hex
  1185.  
  1186.  
  1187.  
  1188. Expanded memory settings cannot be changed once the session has
  1189. started.  See the related command, XMS, which displays eXtended
  1190. Memory Settings.
  1191.  
  1192.  
  1193.  
  1194. NOTE:     See the ADVANCED.TXT file for more information about
  1195. Windows and EMS.
  1196.  
  1197. EXCLUSIV[E] {ON or OFF}
  1198.  
  1199.  
  1200.  
  1201. The EXCLUSIVE command allows you to display or change the
  1202. ability of the current DOS session to claim 100% of the PC's
  1203. central processing unit (CPU) time, when the DOS session is
  1204. running full-screen.
  1205.  
  1206.  
  1207.  
  1208. Typing EXCLUSIVE by itself displays only the message "Exclusive
  1209. ON" or "Exclusive OFF," whichever setting is in effect.
  1210.  
  1211.  
  1212.  
  1213. EXCLUSIVE ON immediately suspends any programs that may be in
  1214. the background, including Windows itself. Windows maintains a
  1215. small segment of memory to look for signs that you are closing
  1216. or switching away from the current DOS session (with Alt+Tab or
  1217. Alt+Esc, for example). This can cause communications programs in
  1218. the background to lose data or their connection with another
  1219. computer system. Don't use EXCLUSIVE ON if you want such
  1220. communications programs to continue to run in the background.
  1221.  
  1222.  
  1223.  
  1224. EXCLUSIVE OFF returns the DOS session to the Foreground and
  1225. Background settings that are already set in the PIF file for
  1226. that DOS session. Applications in the background, including
  1227. Windows, begin receiving time again.
  1228.  
  1229.  
  1230.  
  1231. NOTE: When a full-screen DOS session is windowed -- as with the
  1232. key combination Alt+Enter -- it does not run in Exclusive mode,
  1233. regardless of the Exclusive setting. A windowed DOS session,
  1234. which is possible only in Windows 386 enhanced mode, gets only
  1235. as much time as Windows allows it and all other applications.
  1236.  
  1237.  
  1238.  
  1239. ISWIN
  1240.  
  1241.  
  1242.  
  1243. The ISWIN command sets the DOS Errorlevel, depending on whether
  1244. Windows is running or not. If you are in a DOS session under
  1245. Windows, ISWIN sets the Errorlevel to a value of 3 to indicate
  1246. that Windows 3.x is running. If Windows is not running, ISWIN
  1247. sets the Errorlevel to a value of zero (0).
  1248.  
  1249.  
  1250.  
  1251. Certain DOS commands -- such as CHKDSK/F, ASSIGN and FASTOPEN --
  1252. should not be used if Windows is running. (See the sections on
  1253. DOS Commands Modified and Disabled later in this document.) You
  1254. can use ISWIN to test for this in a batch file, and avoid using
  1255. dangerous DOS commands if Windows is running. For example, the
  1256. following short batch file, ASSIGNAB.BAT, avoids assigning
  1257. floppy drive A: to the letter B: (as you would do to install
  1258. software in drive B: that recognizes only drive A:) if Windows
  1259. is running:
  1260.  
  1261.  
  1262.  
  1263.     ECHO OFF
  1264.  
  1265.     ISWIN
  1266.  
  1267.     IF NOT ERRORLEVEL 3 ASSIGN A=B
  1268.  
  1269.  
  1270.  
  1271. This batch file keeps the command ASSIGN A=B from running under
  1272. Windows, because the condition "If the Errorlevel is not 3 or
  1273. higher" is FALSE when Windows is running. But it would be better
  1274. to inform the user as to why the command did not work.
  1275. Therefore, the following batch file would be another, better way
  1276. to handle this:
  1277.  
  1278.  
  1279.  
  1280.     ECHO OFF
  1281.  
  1282.     ISWIN
  1283.  
  1284.     IF ERRORLEVEL 3 GOTO UNDERWIN
  1285.  
  1286.     ASSIGN A=B
  1287.  
  1288.     GOTO END
  1289.  
  1290.     :UNDERWIN
  1291.  
  1292.     ALARM 1 "You must exit Windows before running Assign"
  1293.  
  1294.     :END
  1295.  
  1296.  
  1297.  
  1298. You can, of course, substitute for "ASSIGN A=B" any DOS command
  1299. or application that you don't want to run under Windows.
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307. PIF
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313. The PIF command displays the Program Information File settings
  1314. for the current DOS session.
  1315.  
  1316.  
  1317.  
  1318. Following is an example of the PIF command display:
  1319.  
  1320.  
  1321.  
  1322. DOS Session ID #   2
  1323.  
  1324. Exec Cmd. = C:\WINDOWS\EDOS\BIGDOS.PIF
  1325.  
  1326. Program = C:\COMMAND.COM
  1327.  
  1328. Command Tail =  /E:512
  1329.  
  1330. Work Directory = C:
  1331.  
  1332. DOS Required= 128K, Limit= 640K, Locked=?
  1333.  
  1334. EMS Required=   0K, Limit=   0K, Locked=N
  1335.  
  1336. XMS Required=   0K, Limit=   0K, Locked=N
  1337.  
  1338. Text Emulate
  1339.  
  1340. No Trap Text
  1341.  
  1342. No Trap Low Res Graphics
  1343.  
  1344. No Trap High Res Graphics
  1345.  
  1346. Video Text Mode=16k
  1347.  
  1348. Retain Allocation
  1349.  
  1350. VDD Bits = 009F  , VM Status        00006000
  1351.  
  1352. Video Type = VIDEOVGA
  1353.  
  1354. =====================================
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362. This information is primarily intended for programmers and
  1363. advanced users who need control over a variety of PIF settings.
  1364. An explanation of each PIF setting is available in the Windows
  1365. manual. Or you can run the Windows PIF Editor, place the cursor
  1366. in an option box and press F1 to display Help on that option.
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372. PRIB {priority}
  1373.  
  1374.  
  1375.  
  1376. The PRIB (Priority Background) command allows you to display or
  1377. change the Background Execution priority of the current DOS
  1378. session.
  1379.  
  1380.  
  1381.  
  1382. Typing PRIB by itself displays the current Background Priority.
  1383.  
  1384.  
  1385.  
  1386. Typing PRIB followed by a number, such as PRIB 200, sets the
  1387. Background Priority for the current DOS session to that number,
  1388. regardless of the PIF setting for that session. The Background
  1389. Priority of a DOS session can be any number from 1 to 10000. 
  1390. (10000 is a special, high priority flag)
  1391.  
  1392.  
  1393.  
  1394. If you increase a DOS session's Background Priority to 10000, it
  1395. theoretically gets all CPU time from Windows until the DOS
  1396. application becomes "idle." Then, Windows starts giving some
  1397. time to other applications in the background. The amount of time
  1398. Windows actually gives a DOS session set to 10000 varies
  1399. depending upon the application.
  1400.  
  1401.  
  1402.  
  1403. A DOS session's Background Priority can be reduced to zero
  1404. (totally suspended when in the background) by using the EDOS
  1405. command BACKGROUND OFF. You can also set  Background Execution
  1406. off in the DOS session's PIF file, or by using the System menu
  1407. while the DOS session is windowed. When you turn the Background
  1408. Execution box off, using any of the methods, Windows ignores the
  1409. DOS session's current setting for Background Priority.
  1410.  
  1411.  
  1412.  
  1413. PRIF {priority}
  1414.  
  1415.  
  1416.  
  1417. The PRIF (Priority Foreground) command allows you to display or
  1418. change the Foreground Execution priority of the current DOS
  1419. session.
  1420.  
  1421.  
  1422.  
  1423. Typing PRIF by itself displays the current Foreground Priority.
  1424.  
  1425.  
  1426.  
  1427. Typing PRIF followed by a number, such as PRIF 2000, sets the
  1428. Foreground Priority for the current DOS session to that number,
  1429. regardless of the PIF setting for that session. The Foreground
  1430. Priority of a DOS session can be any number from 1 to 10000. If
  1431. you increase a DOS session's Foreground Priority to 10000, it
  1432. theoretically gets all CPU time from Windows until the DOS
  1433. application becomes "idle." Then, Windows starts giving some
  1434. time to other applications in the background. The amount of time
  1435. Windows actually gives a DOS session set to 10000 varies
  1436. depending upon the application.
  1437.  
  1438.  
  1439.  
  1440. A DOS session's foreground priority can be increased so no other
  1441. applications will run at all in the background by using the EDOS
  1442. command EXCLUSIVE. You can also set the Exclusive Execution box
  1443. on in a DOS session's PIF file, or using the System menu while
  1444. the DOS session is windowed. When you turn the Exclusive
  1445. Execution box on, using any of the methods, Windows ignores the
  1446. DOS session's current setting for Foreground Priority, and gives
  1447. the DOS session all CPU time while it is running full-screen.
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453. SLICE {millseconds]
  1454.  
  1455.  
  1456.  
  1457. The SLICE command allows you to display or change the Minimum
  1458. Time Slice that Windows uses when allocating time to DOS
  1459. sessions and the Windows System session.
  1460.  
  1461.  
  1462.  
  1463. Typing SLICE by itself displays the current setting for Minimum
  1464. Time Slice. (Windows currently defaults to 20 milliseconds --
  1465. 0.020 seconds or 1/50th of a  second -- unless you change it.)
  1466.  
  1467.  
  1468.  
  1469. Typing SLICE followed by a number, such as SLICE 10, changes the
  1470. Minimum Time Slice to that number, in milliseconds. You can
  1471. seriously slow down the performance of Windows and DOS sessions
  1472. if you set the Minimum Time Slice too high or too low.
  1473.  
  1474.  
  1475.  
  1476. Windows uses the Minimum Time Slice to make sure that each
  1477. session gets enough time to do meaningful work before Windows
  1478. switches the CPU to some other application. A Minimum Time Slice
  1479. of 20 means that each application gets at least 1/50th of a
  1480. second before Windows switches away from it.
  1481.  
  1482.  
  1483.  
  1484. On a 386-based PC or higher, applications may not need this long
  1485. to get useful work done. This is particularly true if only one
  1486. application is doing any meaningful work at a time (no
  1487. applications are, say, printing in the background).
  1488.  
  1489.  
  1490.  
  1491. You may get better overall performance by changing Minimum Time
  1492. Slice to 15, 10, or 5. You can test the effect of your change by
  1493. using the BOXTIME command to see how much CPU time your DOS
  1494. sessions are getting from Windows.
  1495.  
  1496.  
  1497.  
  1498. The Minimum Time Slice setting can also be changed through the
  1499. Control Panel's 386 Enhanced dialog box. The icon for this
  1500. dialog box only appears in the Control Panel if Windows is
  1501. running in 386 enhanced mode.
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507. STATUS
  1508.  
  1509. STATUS /L
  1510.  
  1511. STATUS /V
  1512.  
  1513. STATUS/X
  1514.  
  1515.  
  1516.  
  1517. The STATUS or (EDOS) commands displays the status of all Windows
  1518. and DOS sessions, in various levels of detail.
  1519.  
  1520.  
  1521.  
  1522. Typing STATUS by itself displays brief information on the
  1523. current DOS session, as well as the session in which Windows
  1524. itself is running. The information shown includes the current
  1525. PIF settings for Foreground and Background Priority, Background
  1526. and Exclusive Execution, Memory in Use (Mapped) and Memory
  1527. Available (Not Mapped).
  1528.  
  1529.  
  1530.  
  1531. STATUS/L lists this information for all the sessions currently
  1532. running. This includes any other DOS sessions that are running,
  1533. in addition to the one in which the command was typed.
  1534.  
  1535.  
  1536.  
  1537. NOTE:    EDOS itself starts a tiny, invisible DOS session, which is
  1538. necessary to enable EDOS features. For this reason, you will
  1539. always see at least one DOS session other than the one you are
  1540. currently using. The invisible EDOS session is identified as ID
  1541. #1, while the Windows session is always ID #0. Therefore, your
  1542. current DOS session will be numbered ID #2 or higher.
  1543.  
  1544.  
  1545.  
  1546. STATUS/V is a verbose listing, which displays all status
  1547. information. This display is intended only for programmers or
  1548. advanced users, and looks similar to the following:
  1549.  
  1550. Enhanced DOS for Windows Version 3.50E
  1551.  
  1552. Free Memory: No Lock or Fix=   17676K, Lockable=    5988K
  1553.  
  1554. Swap File Size=   8192 K, Type= DOS/BIOS
  1555.  
  1556. Total Paging Mem= 27632K, Free =  17676K  In Use Total=  9956
  1557. Kc, Contig=Y
  1558.  
  1559. Windows Physical Memory Total=  7668K, Free=  1676K
  1560.  
  1561. Physical UnLocked(in use)=   4340Kc, Unlocked=    6016K
  1562.  
  1563. Real Physical Memory Base=   640K, Extended=  7552K, Total = 
  1564. 8192K
  1565.  
  1566. EMS Free=    0K, EMS Total=    0K, Page Frame Address= E000 hex
  1567.  
  1568. PageOutCount=   1 
  1569.  
  1570. Xlate Buffer Segment= D900hex, Size    8192 bytes. First DOS
  1571. Segment=2200h
  1572.  
  1573. Global Min. Time Slice=   5 ms.
  1574.  
  1575.  
  1576.  
  1577. Current DOS Session
  1578.  
  1579. Background=N,   Exclusive=N
  1580.  
  1581. Foreground Priority=1000, Background Priority=  100, CPU Time=
  1582. 100%
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588. Perhaps the most important information in this verbose listing
  1589. is the Windows Physical Memory Total and Free. Physical Memory,
  1590. which in this example is 7668K, is the total amount of RAM
  1591. (conventional and extended) that Windows has to run programs in.
  1592. Free memory is the amount of this physical memory that is left
  1593. for Windows to open more programs or data. When free memory
  1594. falls to zero, Windows is forced to use hard disk space (virtual
  1595. memory) to satisfy all requests to open more programs or data.
  1596. This seriously slows performance.
  1597.  
  1598.  
  1599.  
  1600. STATUS /X indicates whether EDOSLIB is installed, loaded and
  1601. working.
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607. SYSTIME
  1608.  
  1609.  
  1610.  
  1611. The SYSTIME command begins and ends a timer that tells you how
  1612. much clock time has elapsed.
  1613.  
  1614.  
  1615.  
  1616. Typing SYSTIME the first time sets a system-wide timer to zero.
  1617. Typing SYSTIME a second time displays the elapsed time
  1618. system-wide. (This is the same time you would see on a wall
  1619. clock.) The elapsed times are displayed in milliseconds. One
  1620. millisecond is 1/1000 of a second. To convert milliseconds to
  1621. seconds, if desired, place a decimal point three places from the
  1622. right end of the number.
  1623.  
  1624.  
  1625.  
  1626. A related, and more powerful command, is BOXTIME. BOXTIME
  1627. measures elapsed system time, plus measures the time that the
  1628. current DOS session received from Windows -- in milliseconds and
  1629. as a percentage of total system time. See the description of
  1630. BOXTIME earlier in this document.
  1631.  
  1632.  
  1633.  
  1634. XMS
  1635.  
  1636.  
  1637.  
  1638. The XMS command displays the eXtended Memory Settings in the PIF
  1639. for the current DOS session. An example of the display of the
  1640. XMS command is as follows:
  1641.  
  1642. XMS Required=   0K, Limit=   1024K, Locked=N
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648. Extended memory settings cannot be changed once the session has
  1649. started. See the related command , EMS, which displays Expanded
  1650. Memory Settings.
  1651.  
  1652. DOS Commands Modified Under Windows
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658. EDOS modifies the behavior of a few DOS commands for best use
  1659. under Windows. EDOS also totally disables some DOS commands,
  1660. which are described later in this document in the section "DOS
  1661. Commands Disabled Under Windows." The modification, and the
  1662. reason for each, is described below.
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668. CHKDSK
  1669.  
  1670.  
  1671.  
  1672. The command CHKDSK /F is not allowed to run. Other uses of
  1673. CHKDSK are not modified.
  1674.  
  1675.  
  1676.  
  1677. CHKDSK /F scrambles open files under Windows.
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683. DATE
  1684.  
  1685.  
  1686.  
  1687. The system date is displayed, but cannot be changed from the
  1688. command line.
  1689.  
  1690.  
  1691.  
  1692. The system date should always be changed using the Windows
  1693. Control Panel's Date/Time dialog box (when Windows is running).
  1694. This prevents Windows applications from becoming confused.
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700. MEM
  1701.  
  1702.  
  1703.  
  1704. When EDOS is running, the MEM command provides additional
  1705. information that is not displayed by the MEM command in DOS 4.x
  1706. and 5.x. The most useful information in this display is Windows
  1707. Physical Memory Total and Free. When Free falls to zero, Windows
  1708. performance slows significantly, as requests to open more
  1709. programs or data are forced to use disk space (virtual memory)
  1710. instead of RAM. For more information, see the explanation of the
  1711. STATUS command earlier in this document. 
  1712.  
  1713.  
  1714.  
  1715. The information displayed by the EDOS MEM command is similar to
  1716. the following:
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722. Windows Memory Information
  1723.  
  1724. Total Paging Mem= 27632K, Free =  17548K  In Use Total= 10084
  1725. Kc, Contig=Y
  1726.  
  1727. Windows Physical Memory Total=  7668K, Free=  1608K
  1728.  
  1729. Physical UnLocked(in use)=   4404Kc, Unlocked=    6012K
  1730.  
  1731. Real Physical Memory Base=   640K, Extended=  7552K, Total = 
  1732. 8192K
  1733.  
  1734. DOS Memory Information
  1735.  
  1736.  
  1737.  
  1738.     655360 bytes total conventional memory
  1739.  
  1740.     655360 bytes available to MS-DOS
  1741.  
  1742.     512720 largest executable program size
  1743.  
  1744.  
  1745.  
  1746.          0 bytes total EMS memory
  1747.  
  1748.          0 bytes free EMS memory
  1749.  
  1750.  
  1751.  
  1752.    7733248 bytes total contiguous extended memory
  1753.  
  1754.          0 bytes available contiguous extended memory
  1755.  
  1756.          0 bytes available XMS memory
  1757.  
  1758.            High Memory Area in use
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764. Print Screen
  1765.  
  1766.  
  1767.  
  1768. Under EDOS, pressing the Print Screen (PrtScr) key in a DOS
  1769. session always prints the DOS screen to the printer on LPT1.
  1770. Under Windows, pressing Print Screen in a DOS session only
  1771. copies the screen into the Windows Clipboard, and does not print
  1772. anything.
  1773.  
  1774.  
  1775.  
  1776. If you wish to copy the screen of a DOS session into the
  1777. Clipboard, press Alt+PrintScreen, which copies all text of a
  1778. full-screen DOS session into the Clipboard. If the DOS session
  1779. is windowed, Alt+PrintScreen copies the DOS session screen into
  1780. the Clipboard. It can then be pasted into other Windows
  1781. applications.
  1782.  
  1783.  
  1784.  
  1785. NOTE:     The behavior of Print Screen can be changed. See the
  1786. EDOSPrtScr switch.
  1787.  
  1788. TIME
  1789.  
  1790.  
  1791.  
  1792. The system time is displayed, but cannot be changed from the
  1793. command line.  The system time should always be changed using
  1794. the Windows Control Panel's Date/Time dialog box (when Windows
  1795. is running). This prevents Windows applications from becoming
  1796. confused.
  1797.  
  1798. WIN
  1799.  
  1800.  
  1801.  
  1802. The WIN command takes you back to Windows desktop. DOS Commands Disabled Under Windows
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810. EDOS disables the following DOS commands while Windows is
  1811. running. These commands have negative effects if used in a DOS
  1812. session under Windows. In some cases, these commands work fine
  1813. as long as they are used before Windows is started, but not in a
  1814. DOS session. It is still possible for a user to run some
  1815. commands that have been disabled in this way. For example, if
  1816. you include a complete path in front of the command (as in
  1817. C:\DOS\CHKDSK /F) it usually will run.
  1818.  
  1819.  
  1820.  
  1821. If you wish to prevent this absolutely (instead of guarding
  1822. against casual errors, as EDOS is designed to do), contact the
  1823. publishers of EDOS for a copy of WINSAFE. This utility traps the
  1824. actions of commands such as CHKDSK /F, instead of watching the
  1825. command line for disabled commands.
  1826.  
  1827.  
  1828.  
  1829. APPEND
  1830.  
  1831.  
  1832.  
  1833. AP PEND makes the contents of one directory appear to actually
  1834. exist in whatever is the current directory. This is useful for
  1835. programs that do not recognize multiple directories.
  1836.  
  1837.  
  1838.  
  1839. Unfortunately, APPEND works only for disk reads. Programs that
  1840. write data may write it into the incorrect directory. APPEND
  1841. confuses Windows as to the actual location of directories. This
  1842. command should not be used while Windows is running.
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848. ASSIGN
  1849.  
  1850.  
  1851.  
  1852. ASSIGN changes one drive letter so it appears to be another
  1853. drive letter. The command ASSIGN A=B, for example, makes
  1854. commands to drive A: actually occur to drive B:. This is useful
  1855. when installing software in drive B: that does not recognize
  1856. floppy drives other than A:.
  1857.  
  1858.  
  1859.  
  1860. This command confuses Windows about the true drive letters in
  1861. use on a PC. This command should not be used while Windows is
  1862. running.
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870. CHKDSK /F
  1871.  
  1872.  
  1873.  
  1874. CHKDSK /F is used to "fix" files that are corrupted. But under
  1875. Windows, it actually corrupts files that are currently open, as
  1876. several files may be when Windows is running.
  1877.  
  1878.  
  1879.  
  1880. CHKDSK /F  is disabled, but other uses of CHKDSK are not
  1881. modified.
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887. DOSX
  1888.  
  1889.  
  1890.  
  1891. DOSX.EXE is very dangerous to run from inside Windows. It can
  1892. cause corruption of your disk and GREAT DAMAGE. Be very careful
  1893. that you don't accidently run it from Norton Desktop or similar
  1894. shell, such that you have it selected and then bump the enter
  1895. key. Suggest that if you do not run Windows in Standard mode
  1896. that you delete DOSX.EXE from your disk. DOSX has been added to
  1897. the list of commands disabled by EDOS.
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903. FASTOPEN
  1904.  
  1905.  
  1906.  
  1907. FASTOPEN provides small buffers for directory reads. These
  1908. buffers confuse Windows. This command should not be used while
  1909. Windows is running.
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915. FDISK
  1916.  
  1917.  
  1918.  
  1919. FDISK partitions a hard drive, erasing all data on it. This
  1920. command obviously should not be used while Windows is running.
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928. FORMAT
  1929.  
  1930.  
  1931.  
  1932. The FORMAT command erases both hard disks and floppy diskettes.
  1933.  
  1934.  
  1935.  
  1936. Formatting diskettes should be done using the Windows File
  1937. Manager, which does not allow accidental formatting of hard
  1938. disks. Formatting hard disks should not be done while Windows is
  1939. running.
  1940.  
  1941.  
  1942.  
  1943. JOIN
  1944.  
  1945.  
  1946.  
  1947. The JOIN command makes a directory on one drive appear to
  1948. actually be a directory on another drive. This is useful for
  1949. programs that can change directories but not drives.
  1950.  
  1951.  
  1952.  
  1953. JOIN confuses Windows as to the actual location of directories.
  1954. This command should not be executed after Windows is started.
  1955.  
  1956.  
  1957.  
  1958. RECOVER
  1959.  
  1960.  
  1961.  
  1962. RECOVER is intended to be used only on disks that are severely
  1963. corrupted. It cuts files into small sectors and renames them
  1964. FILE0001.REC, FILE0002.REC, and so on. This is useful if a disk
  1965. is so corrupted that data can be recovered only be examining
  1966. every sector manually and recombining the files.
  1967.  
  1968.  
  1969.  
  1970. This command should not be used while Windows is running, and
  1971. has almost no legitimate use by PC users.
  1972.  
  1973.  
  1974.  
  1975. SUBST
  1976.  
  1977.  
  1978.  
  1979. The SUBST command makes the contents of one directory appear to
  1980. actually be in the root directory of another drive letter
  1981. (usually a nonexistent hard drive letter). This is useful for
  1982. programs that cannot change directories but can change drives.
  1983.  
  1984.  
  1985.  
  1986. SUBST confuses Windows as to the true location of directories.
  1987. It should not be executed  after Windows is started..
  1988.  
  1989. Disabling Other DOS Commands
  1990.  
  1991.  
  1992.  
  1993. It is possible to use EDOS to disable up to 20 DOS commands 
  1994. under Windows, in addition to the ones described above. This is
  1995. accomplished by adding a line to the [edos] section of the
  1996. SYSTEM.INI file, as described in the section "[edos] Settings in
  1997. SYSTEM.INI" elsewhere in this document.
  1998.  
  1999.  
  2000.  
  2001. For example, The SELECT command is used by some versions of DOS
  2002. to format a hard disk and install the DOS "hidden files," in
  2003. preparation for the full installation of DOS itself. Other
  2004. versions, notably 4DOS, do not use SELECT in this way.
  2005. Therefore, it has not been crippled by EDOS. You, however, might
  2006. choose to do so.
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014. [edos] Settings In SYSTEM.INI
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020. Several settings may be customized in the [edos] section of the
  2021. SYSTEM.INI file. Ordinarily you will not need to set any
  2022. switches. The information is provided only in the interests of
  2023. completeness.  Unless otherwise noted, you can use True or 1 to
  2024. turn a feature on and False or 0 to turn a feature off.
  2025.  
  2026.  
  2027.  
  2028. There are also several SYSTEM.INI switches intended for tracking
  2029. down bugs in Windows. These switches are not documented in the
  2030. manual, but are available if you need technical support.When
  2031. EDOS is installed, switches are set as follows:
  2032.  
  2033.  
  2034.  
  2035. [edos]
  2036.  
  2037. EDOSAltF4=TRUE
  2038.  
  2039. EDOSPrtScr=TRUE
  2040.  
  2041. EDOSInbrdPC=FALSE
  2042.  
  2043. EDOSCommand=
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049. These statements are not case-sensitive. Changes can be made to
  2050. these settings with any text editor (such as Notepad or DOS5 
  2051. EDIT), but not with word processors that save files in special
  2052. non-text formats.
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058. DOSPromptExitInstruc=
  2059.  
  2060.  
  2061.  
  2062. DOSPromptExitInstruc=False     will disable the exit to windows
  2063. message that displays in every             DOS session in Windows 3.1.
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069. EDOS640KPlus=
  2070.  
  2071.  
  2072.  
  2073. EDOS640KPlus=True    Enables 704k and 736k DOS sessions.
  2074.  
  2075.  
  2076.  
  2077. EDOS704KPlus=
  2078.  
  2079.  
  2080.  
  2081. EDOS704KPlus=True    Enables 736k DOS sessions.
  2082.  
  2083.  
  2084.  
  2085. NOTE:     DOS sessions over 640k cannot run applications in
  2086. graphics mode, since they are stealing memory needed for graphic
  2087. display.
  2088.  
  2089.  
  2090.  
  2091. EDOSAltF4=
  2092.  
  2093.  
  2094.  
  2095. The EDOSAltF4= statement controls whether EDOS closes the
  2096. current DOS session when Alt+F4 is pressed, as Windows does with
  2097. Windows applications. To disable this behavior, and force DOS
  2098. sessions to be closed by typing EXIT, change TRUE to FALSE.
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104. EDOSCommand=
  2105.  
  2106.  
  2107.  
  2108. The EDOSCommand= statement is used to disable DOS command lines
  2109. from executing while Windows is running. For example, to disable
  2110. the command "SK" (in order to disable Sidekick from running
  2111. under Windows), add a line as follows:
  2112.  
  2113. [edos]
  2114.  
  2115. EDOSCommand=SK
  2116.  
  2117.  
  2118.  
  2119. Similarly to disable both Sidekick and the Norton Utilities the
  2120. following EDOS Commands would be used.
  2121.  
  2122.  
  2123.  
  2124. EDOSCommand=SK
  2125.  
  2126. EDOSCommand=NU
  2127.  
  2128.  
  2129.  
  2130. It is still possible for a user to run some commands that have
  2131. been disabled in this way. For example, if you include a
  2132. complete path in front of the command (as in C:\DOS\CHKDSK /F)
  2133. it usually will run. If you wish to prevent this absolutely
  2134. (instead of guarding against casual errors, as EDOS is designed
  2135. to do), contact the publishers of EDOS for a copy of WINSAFE.
  2136. This utility traps the actions of commands such as CHKDSK /F,
  2137. instead of watching the command line for disabled commands.
  2138.  
  2139.  
  2140.  
  2141. NOTE:    Up to 20 commands can be disabled.
  2142.  
  2143. EDOSCtrlP=
  2144.  
  2145.  
  2146.  
  2147. EDOSCtrlP=False    Disables CTRL+P which allows for copying screen
  2148. output to the             printer.
  2149.  
  2150. EDOSDisable=
  2151.  
  2152.  
  2153.  
  2154. EDOSDisable=0    disables/enables EDOS loading.  True and False
  2155. cannot be used for             this  command. Use 0 or 1.
  2156.  
  2157. EDOSExecWinApp=
  2158.  
  2159.  
  2160.  
  2161. EDOSExecWinApp=True    Enables executing Windows applications from
  2162. the DOS command             line.  
  2163.  
  2164. EDOSFaultFlag=
  2165.  
  2166.  
  2167.  
  2168. EDOSFaultFlag=True    Enables ring zero fault messages
  2169.  
  2170. EDOSHookFatalOK=
  2171.  
  2172.  
  2173.  
  2174. EDOSHookFatalOK=True    Enables default fatal error message.
  2175.  
  2176.  
  2177.  
  2178. EDOSNumMsg=
  2179.  
  2180.  
  2181.  
  2182. EDOSNumMsg=n    Number of alarms allowed. The default is 1. Do not
  2183. increase.
  2184.  
  2185. EDOSPrtScr=
  2186.  
  2187.  
  2188.  
  2189. The EDOSPrtScr= statement controls whether EDOS sends the
  2190. current DOS screen to the printer on the LPT1 port when the user
  2191. presses the PrintScreen key.
  2192.  
  2193.  
  2194.  
  2195. To disable this behavior, change TRUE to FALSE. This sends the
  2196. current DOS screen into the Windows Clipboard, without printing
  2197. it, when the user presses the PrintScreen key. This is the same
  2198. behavior Windows exhibits when EDOS is not running at all.
  2199.  
  2200.  
  2201.  
  2202. Ctrl+P in full screen or windowed mode is not effected by this
  2203. option. Ctrl+P toggles on and off printing of text displayed or
  2204. typed on the screen.
  2205.  
  2206.  
  2207.  
  2208. EDOSReserveB0=
  2209.  
  2210.  
  2211.  
  2212. EDOSReserveB0=True    Enables/disables global reserving of
  2213. B000-B7FF 
  2214.  
  2215.  
  2216.  
  2217. NOTE:     Try setting to False if over 704k won't work.
  2218.  
  2219. EDOSWarnShare
  2220.  
  2221.  
  2222.  
  2223.  EDOSWarnShare=True    Enables Share Warning Message at startup
  2224.  
  2225. How Setup Works
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231. Windows 3.1 and DOS 3.30 or higher must be running  when you
  2232. install EDOS.
  2233.  
  2234.  
  2235.  
  2236. To install EDOS, place the EDOS diskette in floppy drive A: or
  2237. B:. Click the File menu in Program Manager (or any Windows
  2238. "shell" program), then click Run. Type the following command
  2239. line and press Enter:
  2240.  
  2241.  
  2242.  
  2243. A:\SETUP     or      B:\SETUP
  2244.  
  2245.  
  2246.  
  2247. EDOS is run by placing the command EDOS in the DRIVERS= line of
  2248. the [boot] section of SYSTEM.INI, and the line EDOS=EDOSLIB.DLL
  2249. in the [drivers] section of SYSTEM.INI as follows:
  2250.  
  2251.  
  2252.  
  2253. [boot]
  2254.  
  2255. drivers=EDOS {other drivers here}
  2256.  
  2257.  
  2258.  
  2259. [drivers]
  2260.  
  2261. EDOS=EDOSLIB.DLL
  2262.  
  2263.  
  2264.  
  2265. These steps are performed automatically by the EDOS Setup
  2266. program. It is not necessary for you to change these lines. This
  2267. description is provided solely for your information.
  2268.  
  2269.  
  2270.  
  2271. NOTE:    EDOS Setup automatically creates a DOS Session group
  2272. window in the Windows Program Manager. If the Program Manager is
  2273. not running when you install EDOS, this group may not be created
  2274. and EDOS' five DOS Session icons will not be inserted into that
  2275. window.
  2276.  
  2277.  
  2278.  
  2279. Setup Log
  2280.  
  2281.  
  2282.  
  2283. The setup program keeps a log of system changes that it makes in
  2284. a file called "INSTALL.LOG." You can review this log to
  2285. de-install EDOS or general trouble shooting. All files from the
  2286. install are put in the \WINDOWS\EDOS subdirectory.
  2287.  
  2288.  
  2289.  
  2290. QEMM
  2291.  
  2292.  
  2293.  
  2294. Setup will warn if you have QEMM installed. It and other similar
  2295. memory managers should exclude the space from B000-B7FF from
  2296. their use. Don't use the NX switch, if you want DOS sessions
  2297. greater than 640k.
  2298.  
  2299. SHARE
  2300.  
  2301.  
  2302.  
  2303. The "Share is not loaded message" should be ignored in a network
  2304. environment. If you receive sharing violations when you have
  2305. share installed, run SHARE /?, to see the options. Suggest that
  2306. you make /F:4000 or more and /L:200.  If share is loaded, you
  2307. will not be able to run a Windows app from the command line, if
  2308. it is already running.
  2309.  
  2310.  
  2311.  
  2312. SCSI Drives
  2313.  
  2314.  
  2315.  
  2316. Some SCSI drives from DPT, Future Domain and Western Digital use
  2317. some address space near 639k. Such use will prevent your
  2318. creating oversize DOS sessions(over 640k). Two of these
  2319. manufacturers have a device driver that will move this to an
  2320. Upper Memory Block(UMB). Contact your driver manufacturer for
  2321. details.  
  2322.  
  2323.  
  2324.  
  2325. Stack Space
  2326.  
  2327.  
  2328.  
  2329. The stack space in a DOS session is only about 4900 bytes. If
  2330. you get message boxes that refer to WINOLDAP failing, this may
  2331. be stack overflow. In some cases stack overflow can occur and
  2332. and damage the data segment without actually hitting the end of
  2333. the segment. This could result in an error condition that is NOT
  2334. an OBVIOUS stack problem. There is a utility on the disk
  2335. "stacksiz.exe" that will change the DOS session stack to about
  2336. 8100 bytes. If you use it, it will prompt you with instructions
  2337. for it's proper and safe use. EDOS also has code that checks
  2338. whenever a DOS session terminates to see if the session EVER
  2339. came within 300 bytes of using ALL the stack space. If this
  2340. occurs you will receive a message box to that effect. Contact
  2341. EDOS tech support for instructions OR use the stacksiz utility
  2342. yourself.
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348. Print Drivers
  2349.  
  2350.  
  2351.  
  2352. You should install the "Generic / Text Only" printer driver,
  2353. that the "print clip" menu item will use, if available. This
  2354. menu item also requires that the print spooler be enabled, if it
  2355. is to work.
  2356.  
  2357.  
  2358.  
  2359. 50/25 Line Display
  2360.  
  2361.  
  2362.  
  2363. The 50 and 25 line menu items do not change lines correctly with
  2364. all VGA display adapters. In addition, there are dumb screen
  2365. switchers similar to "MODE CON: lines=50". Because of this,
  2366. changing screen lines does not always result in a screen "that
  2367. will make you burst with pride".
  2368.  
  2369.  
  2370.  
  2371. The Files That EDOS Installs
  2372.  
  2373.  
  2374.  
  2375. EDOS installs most of its files into a sub directory under the
  2376. main Windows directory (the directory that contains WIN.COM,
  2377. WIN.INI, etc.). In this location, it is easy to locate the files
  2378. on the DOS Path, but they do not interfere with future updates
  2379. to Windows itself.
  2380.  
  2381.  
  2382.  
  2383. Additionally, the files EDOSEXIT.COM, ISWIN.COM and CLIPBOAR.COM
  2384. are installed in the main Windows directory, but can be
  2385. relocated as long as they are in a directory on the DOS Path.
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393. The following is a list of all files EDOS installs to your hard
  2394. disk:
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400. Installed in Windows directory
  2401.  
  2402.  
  2403.  
  2404. ISWIN.COM    External command to detect Windows.
  2405.  
  2406. CLIPBOAR.COM    External command to view Clipboard text.
  2407.  
  2408. EDOSEXIT.COM    Returns exit codes from internal EDOS commands.
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420. Installed in EDOS directory
  2421.  
  2422.  
  2423.  
  2424. !DOSMEM!.COM    Used by oversized DOS session PIFs.
  2425.  
  2426. BIGDOS.PIF    PIF file that establishes a 640K DOS session.
  2427.  
  2428. DOS128.PIF    PIF file that establishes a 128K DOS session.
  2429.  
  2430. DOSSMAL.PIF    PIF file for the smallest possible, 64K DOS session.
  2431.  
  2432. EDOS.386**    Enhanced DOS for Windows virtual device driver.
  2433.  
  2434. EDOS.INI    Copy to Windows directory to change EDOS defaults.
  2435.  
  2436. EDOS704K.PIF    704kb  DOS session.
  2437.  
  2438. EDOS736K.PIF    736kb DOS session.
  2439.  
  2440. EDOSLIB.DLL**    Dynamic Link Library (DLL) device driver.
  2441.  
  2442. EDOSDIS.EXE    Disable/Enable loading EDOS.
  2443.  
  2444. EDOSLIB.HLP    Help file for EDOS library. Uses WINHELP.EXE.
  2445.  
  2446. EDOS.HLP    Installation and general information Help file.
  2447.  
  2448. TESTEDOS.BAT    Batch file to demonstrate and test EDOS.
  2449.  
  2450. VERIFY.EXE    Verifies correct installation of EDOS.
  2451.  
  2452. STACKSIZ.EXE    Stack size changer.
  2453.  
  2454. E704KBAT.*    704kb PIF and batch files
  2455.  
  2456. SYSTEM.EDB    Backup of SYSTEM.INI.
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464. Batch Files Used to Test EDOS Functions
  2465.  
  2466.  
  2467.  
  2468. TESTEDOS.BAT
  2469.  
  2470. TSTISWIN.BAT
  2471.  
  2472. TESTALL.BAT
  2473.  
  2474.  
  2475.  
  2476. Batch FIles to De-Install EDOS
  2477.  
  2478.  
  2479.  
  2480. KILL.BAT    Removes old, unused EDOS files from previous versions.
  2481.  
  2482. REMOVE.BAT    Deletes EDOS files and directory
  2483.  
  2484.  
  2485.  
  2486. ** NOTE:    If your hard disk is nearing capacity and you want to
  2487. delete files, be careful. You cannot delete EDOSLIB.DLL or
  2488. EDOS.386 without totally disabling EDOS functions. You cannot
  2489. delete the .BAT, .COM, and .PIF files without losing their
  2490. functionality. You can, however, delete the .HLP files and .WRI
  2491. files after printing them. This will eliminate on-line
  2492. documentation, of course.
  2493.  
  2494. The following files are not installed, but are available on
  2495. diskette if needed:
  2496.  
  2497.  
  2498.  
  2499. B:\
  2500.  
  2501.  
  2502.  
  2503. EDOS.EXE    Starts a small Windowed DOS session.
  2504.  
  2505. EDOS.TXT    Basic how-to-install and troubleshooting information.
  2506.  
  2507. SETUP.EXE    Installation and setup program for EDOS.
  2508.  
  2509. METER.DLL    Windows 3.x library used by SETUP.EXE
  2510.  
  2511. SETUP.INF    Information needed by SETUP.EXE.
  2512.  
  2513. DRWATSON.EXE    Windows diagnostic tool.
  2514.  
  2515. MEM.COM    Use with DOS 3.3, to prevent bad command message.
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521. B:\SHARE - Documentation on Share
  2522.  
  2523. DOS4XX.TXT
  2524.  
  2525. SHARE.MSG
  2526.  
  2527. SHARE1.TXT
  2528.  
  2529. README.TXT
  2530.  
  2531.  
  2532.  
  2533. B:\SYSTEM
  2534.  
  2535.  
  2536.  
  2537. COMMDLG.DLL    User installable replacement dialogs
  2538.  
  2539.  
  2540.  
  2541. This file contains templates and code that generate the common:
  2542. OPEN, SAVE, SAVEAS, etc. dialog boxes. We have enclosed a
  2543. special version for you. In the January 18,1993 issue of
  2544. InfoWorld, Brian Livingston's column discusses improvements to
  2545. COMMDLG.DLL. The file that we have provided you incorporates
  2546. improvements suggested in his  article. Note: that EDOS uses
  2547. almost the same identical dialog boxes for PICK/NEW. These
  2548. improvements are IMPRESSSIVE. Enjoy!
  2549.  
  2550.  
  2551.  
  2552. To install COMMDLG.DLL, copy the file from the diskette, in the
  2553. system subdirectory, to your Windows\system subdirectory. You
  2554. might want to make a backup copy of COMMDLG.DLL (ie.
  2555. COMMDLG.OLD). Before you copy in the new version. To test the
  2556. new dialog box. Run Windows Write.EXE and choose FILE/OPEN.
  2557. Notice the improvement. Hooray for Brian Livingston! What a
  2558. suggestion.
  2559.  
  2560.  
  2561.  
  2562. After this is done, ALL dialog boxes that use COMMDLG.DLL, will
  2563. have the NEW LOOK. After you have tried this, you may want to
  2564. soup your car up too, using 100 octane aviation fuel. DON'T! 
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576. B:\V86_API - Programmers Test Programs and Source Code
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582. TESTV86.COM    Demonstrates DOS programmer's API. message box.
  2583.  
  2584. TESTV86.ASM    Programmer's API source code.
  2585.  
  2586. TSTWINEX.COM    Demo running a Window's Application.
  2587.  
  2588. TSTWINEX.ASM
  2589.  
  2590. README.TXT
  2591.  
  2592.  
  2593.  
  2594.  
  2595. E704KBAT.PIF
  2596.  
  2597.  
  2598.  
  2599. E704KBAT.PIF, is a sample pif for a an oversize DOS session that
  2600. runs a batch file. E704KBAT.BAT just prompts you to enter a key,
  2601. but it could be any other kind of batch file. It ends by
  2602. starting up %COMSPEC%, so that you end up in command.com.
  2603.  
  2604.  
  2605.  
  2606. EDOS.INI
  2607.  
  2608.  
  2609.  
  2610. EDOS.INI contains the following line:
  2611.  
  2612.  
  2613.  
  2614. libhelp=\edos\edoslib.hlp
  2615.  
  2616.  
  2617.  
  2618. When EDOS finds an EDOS.INI file, these lines indicate that
  2619. EDOSLIB and EDOS Help reside in subdirectories under the main
  2620. Windows directory. You can hard-code these lines so these files
  2621. can reside in other directories -- perhaps on a network.
  2622.  
  2623.  
  2624.  
  2625. Reinstalling EDOS Over a Beta Version
  2626.  
  2627.  
  2628.  
  2629. If you have an old or shareware version of EDOS (prior to EDOS
  2630. Version 3.0), do the following:
  2631.  
  2632.  
  2633.  
  2634. 1. Remove the EDOS Control icon from your DOS Session group
  2635. window.
  2636.  
  2637.  
  2638.  
  2639. 2. Examine WIN.INI with a text editor for mentions of EDOS.EXE
  2640. or EDOSLIB.EXE and remove them.
  2641.  
  2642.  
  2643.  
  2644. 3. Remove EDOSCTL.EXE from the LOAD= or RUN= lines of WIN.INI,
  2645. and delete this file from your hard disk. EDOSCTL.EXE and
  2646. EDOSLIB.EXE should never run at the same time.
  2647.  
  2648.  
  2649.  
  2650. EDOS Setup should take care of the above steps for you
  2651. automatically. But taking these steps prior to installing EDOS
  2652. will eliminate several dialog boxes and prevent potential errors.
  2653.  
  2654.  
  2655.  
  2656. How To Remove EDOS
  2657.  
  2658.  
  2659.  
  2660. If you need to remove or un-install EDOS for any reason, you can
  2661. easily do so by following these steps:
  2662.  
  2663.  
  2664.  
  2665. 1. To immediately disable EDOS from affecting Windows or your
  2666. DOS sessions:  
  2667.  
  2668.  
  2669.  
  2670. Comment out the device=edos.386 line in the [386enh] section of
  2671. SYSTEM.INI. Remove the word "EDOS" from the DRIVERS= line in the
  2672. [boot] section of SYSTEM.INI, and remove the line
  2673. EDOS=EDOSLIB.EXE from the [drivers] section of SYSTEM.INI. (You
  2674. can comment out lines in WIN.INI and SYSTEM.INI by placing a
  2675. semicolon at the beginning of the line, if you prefer.)
  2676.  
  2677.  
  2678.  
  2679. 2. To completely delete EDOS files from your system:
  2680.  
  2681.  
  2682.  
  2683. Minimize the DOS Session group window in Program Manage, then
  2684. select it by clicking it with a mouse until it's title is
  2685. highlighted. Then click File Delete on the Program Manager menu.
  2686.  
  2687.  
  2688.  
  2689. Delete the EDOS directory, which is usually in a sub directory
  2690. under your Windows directory, then delete the files listed
  2691. earlier in this document in the section "The Files EDOS
  2692. Installs."
  2693.  
  2694.