home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / 4DOS / 4DOS40P.ZIP / UPDATE40.DOC < prev    next >
Encoding:
Text File  |  1991-11-01  |  35.4 KB  |  752 lines

  1.  
  2.                               4DOS Update Documentation
  3.  
  4.                            Version 4.0 -- November 1, 1991
  5.  
  6.  
  7.         Version 4.0 is a major new release and many parts of 4DOS have
  8.         changed.  The list below summarizes these changes for version 3.0
  9.         through 3.03 users; users who are new to 4DOS with version 4.0 can
  10.         skip this information.
  11.  
  12.         This file is a summary list only, it doesn't explain how to use new
  13.         features and enhancements.  For more details on items which are relat-
  14.         ed to a specific command, see that command's entry in the command
  15.         reference section of the manual.  For other items, look up the subject
  16.         the item discusses in the manuals's table of contents or index to find
  17.         more information.
  18.  
  19.         Some of the descriptions below may be more detailed than you need; if
  20.         you aren't using the feature described, feel free to skip through to
  21.         the next item!
  22.  
  23.         Items in this file marked with "**" are changes that occurred after
  24.         the manual went to press.  These items are more fully documented in
  25.         the MANMOD.DOC file and in the ASCII (on-disk) manual, but are not
  26.         documented in the printed manual.
  27.  
  28.  
  29.         Installation and Configuration
  30.         ------------------------------
  31.  
  32.            4DOS is now a single file, 4DOS.COM.  The old structure of separate
  33.            4DOS.COM and 4DOS88.EXE / 4DOS286.EXE files has been eliminated.
  34.  
  35.            There is a wide variety of new startup options for 4DOS, ranging
  36.            from the simple to the highly technical.  Most of the startup
  37.            switches that used to go on the SHELL= line in CONFIG.SYS or in the
  38.            4DSHELL environment variable have been eliminated, and 4DOS config-
  39.            uration is now controlled through the new 4DOS.INI file, for both
  40.            primary and secondary shells.  Those switches which still work for
  41.            DOS compatibility reasons (such as /E: for environment size) can
  42.            also be set through 4DOS.INI.
  43.  
  44.            If you install 4DOS manually or have a complex configuration, you
  45.            should read about 4DOS.INI in the manual before modifying your
  46.            SHELL= line to load version 4.0!  See Chapter 6 for more details. 
  47.            The following summary lists version 3 startup switches and the
  48.            corresponding 4DOS.INI directive for version 4.0.  Switches marked
  49.            with a "*" are still available in version 4.0, in order to maintain
  50.            compatibility with DOS.
  51.  
  52.  
  53.  
  54.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                       page 1
  55.  
  56.  
  57.               Ver. 3 Switch     Function                4DOS.INI Directive
  58.               -------------     -------------------     ------------------
  59.                  /A:nnnn        Set alias list size     Alias = nnnn
  60.                  /C*            Execute one command     none
  61.                  /E:nnnn*       Set environment size    Environment = nnnn
  62.                  /E:nnnnU       Load environment high   UMBEnvironment = Yes
  63.                  /H:nnnn        Set history list size   History = nnnn
  64.                  /L:path        Set EXE file location   none, not needed
  65.                  /P*            Load permanently        none
  66.                  /R             Disable reduced swap    Reduce = No
  67.                  /S:type        Set swap type           Swapping = swap type
  68.                  /U             Load 4DOS high          UMBLoad = Yes
  69.                  /V             (Used with Windows)     none, automatic
  70.  
  71.            The KEYSTACK.SYS device driver is no longer used.  It has been
  72.            replaced by KSTACK.COM, a TSR (memory-resident program), normally
  73.            loaded from AUTOEXEC.BAT (or with INSTALL= in CONFIG.SYS).
  74.  
  75.            The /P switch is now set automatically when 4DOS is loaded as the
  76.            true primary shell via a SHELL= statement in CONFIG.SYS.
  77.  
  78.            4DOS now supports the COMMAND.COM syntax for specifying a COMSPEC
  79.            directory in the SHELL statement.  See "Setting up CONFIG.SYS". 
  80.            However (see next item) ...
  81.  
  82.            Under MS-DOS and PC-DOS you probably won't need to set the COMSPEC
  83.            directory on the SHELL= line or in AUTOEXEC.  4DOS sets it automat-
  84.            ically in most cases, provided that you specify the full path for
  85.            4DOS.COM in the name you use on the SHELL= line in CONFIG.SYS.  If
  86.            you use DR-DOS automatic determination of the COMSPEC directory
  87.            will NOT work, so you will have to set the directory yourself on
  88.            the SHELL= line.  (Thanks to Hans Salvisberg, author of BOOT.SYS,
  89.            for the technical information needed to implement the automatic
  90.            COMSPEC directory feature!).  See "Setting up CONFIG.SYS".
  91.  
  92.            4DOS can now load its resident portion and / or the master environ-
  93.            ment into DOS 5 UMBs.  DOS 5 UMBs are used automatically if they
  94.            are available and if UMB access is requested with the UMBLoad or
  95.            UMBEnvironment directive in 4DOS.INI.
  96.  
  97.            Swapping is now controlled by the Swapping directive in 4DOS.INI. 
  98.            You can use this directive to set up any sequence of swapping at-
  99.            tempts you like (for example, you can tell 4DOS to try EMS, then
  100.            your RAM disk, then XMS, then the hard disk).  If no Swapping di-
  101.            rective is used the default is to try EMS, then XMS, then the root
  102.            directory of the boot drive if it is drive C: or higher.  4DOS will
  103.            no longer attempt to swap to drive A: or B: by default (though you
  104.            can tell it to if you want to).  If all of these methods fail, 4DOS
  105.            will load resident.
  106.  
  107.            Most SETDOS settings can be initialized in the 4DOS.INI file. 
  108.            SETDOS settings are now inherited automatically in secondary
  109.  
  110.  
  111.  
  112.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                       page 2
  113.  
  114.  
  115.            shells, so you no longer need to put a SETDOS command into the
  116.            4START file to get the right settings in secondary shells.
  117.  
  118.            The LOG state and log file name are now inherited by secondary
  119.            shells, and may be set at boot time using the LogName directive in
  120.            4DOS.INI.
  121.  
  122.            For BBS operators, the /F startup switch (or the CritFail directive
  123.            in 4DOS.INI) generates an automatic "fail" response to all critical
  124.            errors.
  125.  
  126.  
  127.         General Features
  128.         ----------------
  129.  
  130.            The PATH search is now faster by 50 - 100% depending on where the
  131.            file is found in the path.
  132.  
  133.            Secondary shells now require only about 1.7K of resident space
  134.            (down from about 2.8K in version 3.03).  The primary shell require-
  135.            ment is still 3K or less under most circumstances.
  136.  
  137.            Description file processing has been sped up substantially, and
  138.            should generate much less network traffic than before.
  139.  
  140.            Directory displays in DIR and SELECT can now be colorized based on
  141.            file extension or attributes.  See "COLORDIR".
  142.  
  143.            "Include lists" which allow you to specify multiple files with a
  144.            single path were only available for the DIR and SELECT commands in
  145.            4DOS 3.03.  In version 4.0 they have been extended to all 4DOS file
  146.            processing commands, and the separator character has been changed
  147.            to a semicolon.  For example, the command:
  148.  
  149.                  copy d:\data\*.dat;*.txt a:
  150.  
  151.            will copy the .DAT and .TXT files from D:\DATA to drive A:.  See
  152.            "Include Lists".
  153.  
  154.            Wildcards have been enhanced so that you can specify lists or rang-
  155.            es of characters to include or exclude.  For example [abf-h]*.*
  156.            means all files whose names begin with a, b, f, g, or h.  See
  157.            "Wildcards".
  158.  
  159.            4DOS now performs variable expansion on the prompt string, so any
  160.            environment variable, internal variable, or variable function can
  161.            be put into the prompt and displayed.
  162.  
  163.            When 4DOS exits from a shell it looks for and executes a 4EXIT.BAT
  164.            or 4EXIT.BTM file (like the 4START file).  This can be used to save
  165.            history or perform other actions.
  166.  
  167.  
  168.  
  169.  
  170.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                       page 3
  171.  
  172.  
  173.            All upper case conversions (SETDOS /C1, DIR /C, @UPPER, etc.) now
  174.            support international characters.
  175.  
  176.            Executable extensions will now support internal commands, and they
  177.            no longer require the full path name of an executable file.  Also,
  178.            executable extensions now support wildcards, including the new
  179.            extended wildcards.  For example, to set the program for all exten-
  180.            sions starting with WK to 123:
  181.  
  182.                  set .wk?=d:\123\123.com
  183.  
  184.            A "." can now be used in the PATH to delay the search of the cur-
  185.            rent directory.
  186.  
  187.            Command grouping (originally an OS/2 feature) has been added to
  188.            4DOS.  This allows you to use parentheses to group commands logi-
  189.            cally.  This is a powerful feature, especially when used with the
  190.            "prefix" commands like EXCEPT, FOR, GLOBAL, and SELECT.
  191.  
  192.            4DOS now supports Microsoft's command processor based message pro-
  193.            cessing scheme for DOS external commands.  If you enter a DOS ex-
  194.            ternal command with a bad argument (eg DEBUG XYZZY) in DOS 4 or
  195.            above you will now get a real error message (eg "File not found")
  196.            instead of a numerical message ("Extended error 2").  This feature
  197.            adds about 200 bytes to the resident size of 4DOS, and can be dis-
  198.            abled with the "MessageServer = No" directive in 4DOS.INI.
  199.  
  200.  
  201.         At the Command Line
  202.         -------------------
  203.  
  204.            The command history can now be viewed and executed from a popup
  205.            window as well as at the command line.
  206.  
  207.            "Automatic directory changes" let you change to a directory by
  208.            typing its name followed by a backslash.
  209.  
  210.  
  211.         4DOS HELP System
  212.         ----------------
  213.  
  214.            The help system has been extensively revised.  It now supports line
  215.            by line scrolling, and scrolling and paging with the mouse follow
  216.            industry standard conventions.  The mouse can be used more easily
  217.            to perform most help navigation functions.
  218.  
  219.            The help text has been updated and expanded to cover all new 4DOS
  220.            features as well as MS-DOS 5 external commands.
  221.  
  222.            Help is now context sensitive.  If you press F1 from the command
  223.            line, 4DOS will try to find help for the first command on the line. 
  224.  
  225.  
  226.  
  227.  
  228.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                       page 4
  229.  
  230.  
  231.            If there is no help for that command, you will be put into the main
  232.            HELP menu.
  233.  
  234.            The help program has been renamed 4HELP.EXE to avoid conflicts with
  235.            other HELP.EXE programs.  This program is run when F1 is pressed at
  236.            the command line or when the HELP command is executed.  The help
  237.            text file is now 4DOS.HLP (for those with a utility disk, the ASCII
  238.            text file is 4DOS.TXT).  The 4HELP, 4HELPF, and 4HELPC environment
  239.            variables have been removed and replaced by the 4DOS.INI directives
  240.            HelpPath and HelpOptions.
  241.  
  242.            The new HELP system is not compatible with the version 3.0 HELP
  243.            system; if you have modified the version 3.0 HELP text you must
  244.            purchase a version 4.0 Utility Disk and recompile your help text to
  245.            use it with 4DOS 4.0 HELP.
  246.  
  247.            HELPCFG now supports a /M switch to force it to run in monochrome
  248.            mode and adjust the monochrome HELP colors, even on color systems. 
  249.            Also the HELPCFG exit keys have been changed to conform to general
  250.            usage standards.
  251.  
  252.  
  253.         I/O Redirection
  254.         ---------------
  255.  
  256.            Added a new environment variable for directing where to create the
  257.            temporary pipe files in 4DOS.  4DOS will first look for the envi-
  258.            ronment variable TEMP4DOS; if it doesn't find it it will look for
  259.            the (DOS 5 standard) TEMP variable; if it doesn't find that pipes
  260.            will be created in the root directory of the boot disk.
  261.  
  262.            Pipe names are now unique for each shell, to avoid conflicts when
  263.            running pipes in different partitions under a multitasker.
  264.  
  265.  
  266.         Environment Variables, Internal Variables, and Variable Functions
  267.         -----------------------------------------------------------------
  268.  
  269.         There are many new environment variables, internal variables, and
  270.         variable functions -- far too many to list here!  This section just
  271.         mentions a few highlights; see the manual for full details.
  272.  
  273.            New environment variables used by 4DOS include CDPATH, COLORDIR,
  274.            and TEMP4DOS.  The old TMP has been changed to TEMP for DOS 5 com-
  275.            patibility.  The old 4DSHELL variable has been eliminated, its
  276.            functions are now provided by 4DOS.INI.  One new variable (_CDPATH,
  277.            as opposed to CDPATH) is described in MANMOD.DOC, but is not in the
  278.            printed manual.
  279.  
  280.            New internal variables let you access a broad range of information
  281.            on system status and configuration.  Some didn't make it into the
  282.  
  283.  
  284.  
  285.  
  286.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                       page 5
  287.  
  288.  
  289.            manual:  see the beginning of this file for information on _BOOT,
  290.            _LASTDISK, _MOUSE, and _TRANSIENT.
  291.  
  292.            In addition a very large number of variable functions have been
  293.            added providing a wide array of new functions -- everything from
  294.            available memory and disk space to menuing.  A few of these func-
  295.            tions didn't make it into the printed manual, so see the ASCII
  296.            manual or MANMOD.DOC for information on @ALIAS, @DEVICE, @LINES,
  297.            @MAKEDATE, @MAKETIME, @READSCR, and @SELECT, and some changes to
  298.            @LINE, @SUBSTR, and @WORD.
  299.  
  300.            Environment variable expansion will now handle nested variables in
  301.            the form %[%var] (or even %[%[%var]]!).
  302.  
  303.            There are some enhancements to specific variables and functions:
  304.  
  305.               _DATE and _TIME:  Return a leading zero if the first number in
  306.               the date or time string is less than 10.
  307.  
  308.               @EVAL:  Now supports decimal places!  Numbers can have up to 16
  309.               digits to the left of the decimal point and 8 to the right. 
  310.               Also %@EVAL now accepts commas in numbers.
  311.  
  312.               @LINE:  Now returns "**EOF**" at the end of the file.  Also
  313.               @LINE can now get its input from STDIN if you specify "con" as
  314.               the filename**.
  315.  
  316.               @SUBSTR:  The last argument (the length of the string) is now
  317.               optional; it will default to the remainder of the string**.
  318.  
  319.               @WORD:  Now allows you to return words from the end of the
  320.               string**.  For example %@word[-0,now is the time] returns
  321.               "time", %@word[-2,now is the time] returns "is".
  322.  
  323.  
  324.         Aliases
  325.         -------
  326.  
  327.            The command line can now grow to up to 512 bytes while an alias is
  328.            being executed.  The alias definition itself is still limited to
  329.            255 bytes.
  330.  
  331.            "Key aliases" allow you to assign aliases to function keys and most
  332.            Alt and Ctrl keys.  See "Keystroke aliases".
  333.  
  334.            QUIT can now be used in aliases.
  335.  
  336.  
  337.         Batch Files
  338.         -----------
  339.  
  340.  
  341.  
  342.  
  343.  
  344.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                       page 6
  345.  
  346.  
  347.            GOSUB now saves the IFF state, so you can use IFF within subrou-
  348.            tines without interfering with an IFF in the calling section of the
  349.            batch file.
  350.  
  351.            .BAT files have been sped up significantly, especially when execut-
  352.            ing internal commands (this speed increase applies only to .BAT
  353.            files, not to .BTM files which are already much faster).
  354.  
  355.  
  356.         Command Changes
  357.         ---------------
  358.  
  359.         This section describes changes to 4DOS commands and new commands, but
  360.         only briefly.  It is intended to alert you to areas where your use of
  361.         4DOS commands may need to be changed, not to provide a comprehensive
  362.         description.  See the manual for full details.
  363.  
  364.            ATTRIB:  Added two new switches:  /Q (quiet) and /S (process cur-
  365.            rent directory and its subdirectories).
  366.  
  367.            CANCEL:  Now accepts an optional argument to set the ERRORLEVEL.
  368.  
  369.            CD and CDD:  These commands now use the CDPATH environment variable
  370.            to find the subdirectory to change to.  This allows changing to a
  371.            subdirectory without typing its full path name.  Also, CD and CDD
  372.            now save the previous directory, and allow you to switch back to it
  373.            with "CD -" or "CDD -".
  374.  
  375.            CLS and COLOR:  Can now set the screen border color, and will set
  376.            colors with or without ANSI loaded.  If ANSI is not loaded, the
  377.            colors will not be "sticky" -- you may lose them when you run an
  378.            application.
  379.  
  380.            COPY:  New switches include /C (copy changed files only), /H (copy
  381.            hidden files), /N (do nothing, just test results of copy), and /S
  382.            (copy files from the current directory and its subdirectories).  /Q
  383.            (quiet) now turns off the display of the number of files copied. 
  384.            If you copy a file and the target file has a description but the
  385.            source doesn't, 4DOS will now preserve the target description; this
  386.            allows you to update files without losing the descriptions.  A full
  387.            destination disk during a COPY will now give an informative mes-
  388.            sage, and stop the copy.  COPY now preserves Hidden and System
  389.            attributes (but not Read Only) when creating the target file.
  390.  
  391.            DEL:  New switches include /N (do nothing, just test results of
  392.            DEL), /S (delete files from the current directory and its subdirec-
  393.            tories), /X (remove empty subdirectories), and /Z (allow deletion
  394.            of hidden, system, and read-only files).  If you have a large num-
  395.            ber of files to delete you can increase deletion speed dramatically
  396.            if you use the /Q switch and do NOT use 4DOS's extended wildcards
  397.            in the file name.
  398.  
  399.  
  400.  
  401.  
  402.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                       page 7
  403.  
  404.  
  405.            DIR:  (See additional section below on switch changes).  Directory
  406.            displays can now be colorized with COLORDIR.  Free space displays
  407.            will be correct even on JOINed, SUBSTed, or ASSIGNed drives in DOS
  408.            3.1 and above.  File description handling has been sped up signifi-
  409.            cantly.  Directory names are displayed in square brackets [] for
  410.            DOS 5 compatibility.  If an argument begins with "\\", 4DOS will
  411.            assume it's a network reference and will not try to get the volume
  412.            label or disk space for that drive, to avoid network errors.
  413.  
  414.            DIR Switches:  Many switches have been changed for DOS 5 compati-
  415.            bility; a summary is below.  DIR now supports the DOS 5 sort order
  416.            switches (/O:[-degns]), as well as the original 4DOS switches
  417.            (/O:[-eirtuz]).  The new /O:a option sorts the directory in stan-
  418.            dard ASCII order rather than sorting filenames containing numbers
  419.            in the default numerical order.  A byproduct of the switch changes
  420.            is that the /A:xxxx and /O:xxxx switches CANNOT be followed by
  421.            another parameter without an intervening slash.  For example, you
  422.            used to be able to say DIR /OEP to display the directory in exten-
  423.            sion order with pauses.  You must now use DIR /OE/P.
  424.  
  425.                  Old Switch     Function                   New Switch
  426.                  ----------     ----------------------     ----------
  427.                     /1          Single column              no change
  428.                     /2          Two columns                no change
  429.                     /4          Four columns               no change
  430.                     /A          Display attributes            /T
  431.                     /C          Upper case                 no change
  432.                     /D          Scan subdirectories           /S
  433.                     /F          Display files only            /A:-d
  434.                     /H          Display all files             /A
  435.                     /J          Justify file names         no change
  436.                     /N          Reset DIR options          no change
  437.                     /O          Sort order                 see above
  438.                     /P          Pause at end of screen     no change
  439.                     /Q          Display file names only       /B
  440.                     /S          Display summary only          /U
  441.                     /V          Sort vertically            no change
  442.                     /W          Wide display               no change
  443.                     /X          Display directories only      /A:d
  444.                     New         Disable colorization          /D**
  445.                     New         Display full path names       /F
  446.                     New         Suppress header               /K
  447.                     New         Lower case                    /L
  448.                     New         Suppress footer               /M
  449.  
  450.            DRAWBOX:  Added a new "shadow" option to create a transparent drop
  451.            shadow for the box.
  452.  
  453.            ECHOS:  This is a new command which works just like an ECHO, but
  454.            doesn't print a CR/LF at the end of a line.  It's useful when redi-
  455.            recting output to a printer or other device.
  456.  
  457.  
  458.  
  459.  
  460.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                       page 8
  461.  
  462.  
  463.            ESET:  The new /M switch makes the change to the master environ-
  464.            ment, not the local one.
  465.  
  466.            EXIT can now accept and return a result code (error level) to the
  467.            program that started a secondary shell.
  468.  
  469.            FOR:  The set to be processed can now be read from a file.  The new
  470.            /A: switch allows selection of files for processing based on at-
  471.            tributes, using the same syntax as DIR /A**.
  472.  
  473.            GLOBAL:  Added switches /H (process hidden directories) and /P
  474.            (prompt before executing the command in each directory)**.
  475.  
  476.            GOTO:  Added a /I switch which tells 4DOS to NOT cancel IFF pro-
  477.            cessing.  (Use only if you know EXACTLY what you're doing, and
  478.            don't attempt to jump outside of the IFF or into a different IFF or
  479.            IFF nesting level!)
  480.  
  481.            HISTORY:  Two switches were added:  /A adds a command to the histo-
  482.            ry list; /P pauses after displaying each page of the history.
  483.  
  484.            IF and IFF:  Most of the old tests for system resources (EMS, XMS,
  485.            DISKFREE, etc.) have been moved to variable functions to make the
  486.            information available throughout 4DOS rather than just in IF and
  487.            IFF.  You will need to edit your batch files or aliases if you used
  488.            these tests in IF or IFF commands (see below).  New conditional
  489.            operators .AND., .OR., and .XOR. have been added.  Some new tests
  490.            have been added:  ISINTERNAL tests if a string matches the name of
  491.            an internal command; ISLABEL tests if a label exists in the current
  492.            batch file**.
  493.  
  494.                  Old IF / IFF test       New Variable or Variable Function
  495.                  -----------------       ---------------------------------
  496.                     MONITOR              %_MONITOR
  497.                     VIDEO                %_VIDEO
  498.                     ATTRIB               %@ATTRIB[filename,attrib]
  499.                     DISKFREE             %@DISKFREE[d:,b|k|m]
  500.                     DOSMEM               %@DOSMEM[b|k|m]
  501.                     EMS                  %@EMS[b|k|m]
  502.                     EXTENDED             %@EXTENDED[b|k|m]
  503.                     FILESIZE             %@FILESIZE[filename,b|k|m]
  504.                     XMS                  %@XMS[b|k|m]
  505.  
  506.            INKEY:  The new /K switch specifies the permissible keystrokes**.
  507.  
  508.            KEYSTACK:  Key names can be entered mnemonically, and delays can
  509.            now be included in the keystroke sequence.  The KEYSTACK.SYS device
  510.            driver has been removed and replaced by a TSR, KSTACK.COM.
  511.  
  512.            LH:  New command added to support DOS 5's load high capability.
  513.  
  514.  
  515.  
  516.  
  517.  
  518.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                       page 9
  519.  
  520.  
  521.            LIST:  Now saves your position on a search or a print, and returns
  522.            you to it after the print or an unsuccessful search.  You can now
  523.            toggle the high bit (/H) and line wrap (/W) flags from inside LIST,
  524.            and /W(rap) now affects the P(rint) option.
  525.  
  526.            LOADHIGH:  New command added to support DOS 5's load high capabili-
  527.            ty.
  528.  
  529.            LOG:  The LOG state and file name are now inherited by secondary
  530.            shells.  The log file name and/or path can be set with the LogName
  531.            directive in 4DOS.INI** (using LogName does not turn logging on,
  532.            you must still use LOG ON to do so).
  533.  
  534.            MOVE:  New switches include /C (move changed files only), /D (re-
  535.            quire that the destination be a directory), /H (move hidden files),
  536.            /N (do nothing, just test results of move), and /S (move files from
  537.            the current directory and its subdirectories).  /Q (quiet) now
  538.            turns off the display of the number of files copied.  If you move a
  539.            file and the target file has a description but the source doesn't,
  540.            4DOS will now preserve the target description; this allows you to
  541.            update files without losing the descriptions.  A full destination
  542.            disk during a MOVE will now give an informative message, and stop
  543.            the move.
  544.  
  545.            PROMPT:  Environment variables, internal variables, and variable
  546.            functions can now be used from within the prompt, allowing you to
  547.            include a wide variety of values in your prompt text.
  548.  
  549.            QUIT:  Now accepts an optional argument to set the ERRORLEVEL.
  550.  
  551.            REBOOT:  This is a new command which does a warm or cold boot, with
  552.            an optional verification prompt.  You need to test it on your sys-
  553.            tem as some reboot methods do not work on all systems or with all
  554.            other software.
  555.  
  556.            REN has two new switches:  /N (do nothing, just test results of
  557.            rename); /S (allow subdirectory renames).  Subdirectory renames are
  558.            now disabled if wildcards are used in the old name, to avoid inad-
  559.            vertent renaming of directories; you can enable them with /S.
  560.  
  561.            SELECT:  There are some new switches and switch changes:  /A se-
  562.            lects files based on attribute (see DIR), /C displays in upper
  563.            case, /D disables directory colorization**, and /O has the same
  564.            changes as in DIR.  A "*" now reverses the marks on all files,
  565.            rather than simply marking all files -- for example, if you mark 3
  566.            files and then press '*' SELECT will unmark those three files and
  567.            mark all the others.  You can now unmark all of the marked files
  568.            with a '/'.
  569.  
  570.            SET:  The new /M switch makes the change to the master environment,
  571.            not the local one.  The syntax has been changed to match
  572.            COMMAND.COM:  you MUST enter an '=' in a SET statement, and you may
  573.  
  574.  
  575.  
  576.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                      page 10
  577.  
  578.  
  579.            now put whitespace in the variable name or the argument.  Also, if
  580.            you enter SET VARNAME with nothing else on the line SET will now
  581.            display the value of the variable, rather than removing it from the
  582.            environment as it used to.  To remove an environment variable, you
  583.            must add the "=" sign to the end (e.g. SET VARNAME=), or use UNSET. 
  584.            Also note that, because whitespace in environment variable names
  585.            and values is now preserved, batch files with lines like
  586.            "SET MYVAR = MYVALUE" may not work unless they are changed to elim-
  587.            inate the extra spaces.  Under 4DOS 3.03 this example would set
  588.            "MYVAR" to "MYVALUE; under 4DOS 4.0 it will set "MYVAR " to
  589.            " MYVALUE".
  590.  
  591.            SETDOS:  The /A option can now be set to tell 4DOS that ANSI is not
  592.            loaded (/A2).  The /H option has been removed; the minimum length
  593.            of a command to save can be set with the HistMin option in
  594.            4DOS.INI.  The /S option now uses percentages, not line counts, to
  595.            set the cursor shape for insert and overstrike modes.  The /V op-
  596.            tion can now be set to echo everything, even if echo is off
  597.            (/V2)**.
  598.  
  599.            SWAPPING:  Now displays the current swapping type (EMS, XMS, Disk,
  600.            or None) as well as the swapping state.
  601.  
  602.            TIMER:  There are now three timers available, selected with /1, /2,
  603.            or /3.  TIMER ON can be used to force a reset of the timer regard-
  604.            less of the current state.
  605.  
  606.            TRUENAME:  This is a new command which displays the true name of a
  607.            file, even on ASSIGNed, JOINed, or SUBSTed drives.
  608.  
  609.            UNSET:  The new /M switch makes the change to the master environ-
  610.            ment, not the local one.
  611.  
  612.            VER:  The new /R switch displays the DOS revision level and loca-
  613.            tion of the DOS kernel (DOS 5 only)**.
  614.  
  615.            VSCRPUT:  This is a new command which has the same parameters as
  616.            SCRPUT, but displays the string vertically.
  617.  
  618.  
  619.         Technical Changes
  620.         -----------------
  621.  
  622.         These changes are primarily of interest to programmers and others
  623.         interested in "how 4DOS works".  Most users do not need to read this
  624.         information.
  625.  
  626.            New programming interfaces are included in version 4.0; see Appen-
  627.            dix C of the manual for details.  These include a new KEYSTACK
  628.            interface, installable commands, and extended information in the
  629.            DESCRIPT.ION file.
  630.  
  631.  
  632.  
  633.  
  634.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                      page 11
  635.  
  636.  
  637.            Full support for INT 2E is now provided.  See the "Appendix C"
  638.            section of this file for details.
  639.  
  640.            4DOS now reserves all available DOS RAM while it is running at the
  641.            prompt.  This space is freed as needed for BTM files, DIR, LIST,
  642.            SELECT, etc., and is always freed when starting an application. 
  643.            This mimics COMMAND.COM; we have implemented it to get around some
  644.            odd behavior with loading certain networks or TSRs which depend on
  645.            this approach.
  646.  
  647.            4DOS now detects a version mismatch with a previous shell and dis-
  648.            ables alias and history inheritance and reduced swapping if one is
  649.            found.
  650.  
  651.            4DOS now supports third-party INT 24 (critical error) handlers like
  652.            4DOS24H, and will no longer disable them when an unruly TSR
  653.            unloads.
  654.  
  655.            The 4DOS transient portion is now 100% dynamically relocatable. 
  656.            This means if you have a TSR that grabs a block from the end of DOS
  657.            memory, 4DOS will dynamically relocate itself below the TSR when it
  658.            swaps in after the TSR goes resident.  The only thing you can't do
  659.            is load such a TSR with swapping off, then turn swapping back on. 
  660.            If you do the results will not be good.
  661.  
  662.            Reduced swapping is now enabled all the time.  Starting a secondary
  663.            shell under DESQView, or when alias or environment space is expand-
  664.            ed, etc., will no longer result in a full-sized swap area.  The
  665.            only way to get a full-sized swap area in a secondary shell is to
  666.            force it with the Reduce = NO directive in 4DOS.INI, or to load one
  667.            version of 4DOS on top of another.
  668.  
  669.            The maximum internal line size in 4DOS has been increased from 255
  670.            to 512 characters.  The maximum command line length is still 255,
  671.            but the increase in the internal buffer will allow you to have more
  672.            complex aliases, variables, and command groups.
  673.  
  674.            4DOS will now "short-circuit" attempts by certain programs to do a
  675.            "4DOS /C 4DOS" (ie load 4DOS and tell it to load itself again) when
  676.            shelling to DOS.  When this occurs 4DOS will only be loaded once.
  677.  
  678.  
  679.         COMPATIBILITY CHANGES
  680.         ---------------------
  681.  
  682.         This section gives a quick overview of changes to 4DOS 4.0 to enhance
  683.         compatibility with other software.  For details on any specific pack-
  684.         age see APPNOTES.DOC.
  685.  
  686.            ANSI:  4DOS has improved ANSI detection and now will usually cor-
  687.            rectly detect whether ANSI is loaded regardless of whether ANSI or
  688.            DOS is loaded high or low.  If you have problems with ANSI detec-
  689.  
  690.  
  691.  
  692.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                      page 12
  693.  
  694.  
  695.            tion use SETDOS /A or the ANSI directive in 4DOS.INI to tell 4DOS
  696.            whether ANSI is installed.
  697.  
  698.            APPEND:  4DOS sets APPEND's /PATH:OFF flag if using DOS 4 or DOS 5. 
  699.            This will eliminate any attempt by APPEND to extend its searches in
  700.            a way that interferes with 4DOS file access and file descriptions.
  701.  
  702.            DESQview:  A Close Window command from within 4DOS will now release
  703.            all resources (XMS, EMS, UMB, swap file, shell number, interrupts)
  704.            owned by 4DOS before the window is closed, just as if you typed
  705.            EXIT.  4DOS only performs this cleanup if you are actually in 4DOS
  706.            when you issue the Close Window command.  If you are in an applica-
  707.            tion the cleanup will not occur.
  708.  
  709.            DR-DOS:  Several changes have been made for DR-DOS compatibility
  710.            including access to 4DOS extended wildcards, and use of DR-DOS
  711.            passwords (the ";" must be doubled on certain commands for this to
  712.            work).
  713.  
  714.            Novell Netware:  Numerous changes have been made to improve Netware
  715.            compatibility, especially with 4DOS redirection and batch files. 
  716.            Novell has also fixed bugs which would cause environment variables
  717.            to be destroyed when logging in to the network under 4DOS.  Also,
  718.            you can now swap secondary shells to a network drive using the
  719.            SwapReopen dircetive in 4DOS.INI.
  720.  
  721.            Windows:  4DOS now detects Windows 3 and configures itself accord-
  722.            ingly.  At startup you will get a message:  "4DOS running under
  723.            Windows 3 in [Win3 mode]".  There will be no message if you aren't
  724.            running under Win3.  Memory allocation in Win3 is now automatic,
  725.            hence there is no need for the old /V switch.
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.         4DOS 4.0  [11-1-91]          UPDATE40.DOC                      page 13
  751.  
  752.