home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / d / diet145f.zip / UPDATE.DOC < prev   
Text File  |  1993-02-27  |  15KB  |  317 lines

  1. ================================ UPDATE.DOC ================================
  2. ****************************************************************************
  3.                     Revision History of DIET 1.45f
  4.            ----- Copyright(C) 1992-6/25  by Teddy Matsumoto -----
  5. ****************************************************************************
  6.  
  7.  
  8. History:
  9.  
  10. Version 1.00x           Test Versions.
  11.  
  12. Version 1.01a (2/1/91)  The first version with TSR type.
  13.  
  14. Version 1.01b (2/16/91) Program which detects EMS memory by checking 
  15.                           "EMMXXXX0" is open, conflicts with DIET.
  16.  
  17.                         Diet conflicts with programs which hooked a function
  18.                         call in int21h for disk I/O.
  19.  
  20. Version 1.02a (2/24/91) Changed method for detecting charcter Device.
  21.  
  22.                         Memory resident part of Diet decreased with EMS use.
  23.  
  24.                         TSR is disabled while a program, registered in
  25.                         environmental string DIETOFF, is running.
  26.  
  27.                         DIET returns decompressed file size for the
  28.                         function call AH=4Eh/4Fh, while a program registered
  29.                         in DIETOFF.
  30.  
  31. Version 1.02b (3/4/91)  TSR disabled when DIETOFF specifies COMMAND.COM
  32.                         only when COMSPEC is specified first in environments.
  33.                         Now COMSPEC may set in any position in Environment.
  34.  
  35.                         Sometimes DIET failed to make temporary files
  36.                         in the directory specified by -T option.
  37.  
  38. Version 1.10a (4/1/91)  Automated recompress feature added. New -P option.
  39.                         -Z option revised and new -ZR option is used.
  40.                         -B option, new.
  41.                         Overlay mode compression, -V option, is newly devised.
  42.                         New environmental Strings DIETOPT and TMP.
  43.                         When TSR part fails to decompress, DIET beeps at you.
  44.                
  45.                         Function call AH=4B03 is supported.
  46.  
  47.                         DIET hanged when it tries to compress a large,
  48.                         approximately 1MB in size, file. This Bug is
  49.                         fixed.
  50.  
  51.                         DIET sometimes failed to compress EXE file with
  52.                         -O option. This Bug is fixed.
  53.  
  54.  
  55. Version 1.11 (5/12/91)  DIET detects if DIET of a different version stays
  56.                         resident. DIET warns and exits.
  57.                         If you open a file with SHARE.exe, DIET sometimes 
  58.                         fails to erase temporary files. This Bug is fixed.
  59.  
  60.                         There are executable programs with extensions neither
  61.                         .COM nor .EXE. DIET checks such files.
  62.             
  63.                         New -! option to check authenticity of DIET.EXE.
  64.  
  65. Version 1.20 (8/20/91)  -C option for Check Time Stamp.
  66.                         Old -C options is replaced by -H option now.
  67.  
  68.                         New -D option to compress Device drivers.
  69.  
  70.                         New -K option to kill temporary files after the
  71.                         termination of a program.
  72.  
  73.                         The DIETed-file Listing option displays all files
  74.                         with DIETed file in reverse color.
  75.  
  76. Version 1.20b(8/30/91)  Device driver with xxxxx.EXE can now be compressed
  77.                         as a device driver.
  78.  
  79.                         Sometimes DIET keeps inactive after it stayed 
  80.                         resident until some command activates it. Bug fixed.
  81.                         IO.SYS, NEC' BIOS ver3.30jis, compressed safely
  82.                         now.
  83.  
  84. Version 1.30x(10/x/91)  TEST for New Version at Nifty:FLABO.
  85.  
  86. Version 1.42 (11/8/91)  The first version of Major revision 4.
  87.                         Different self-extraction routines are organized
  88.                         into a sole format.
  89.  
  90.                         Compression modes are organized into 
  91.                         Data-type and eXecutables only.
  92.  
  93.                         DIET compresses overlays as Executable self-
  94.                         extracting data file.
  95.  
  96.                         device=c:\bin\DIET.exe is possible.
  97.  
  98.                         A New code area is moved to EMS, letting
  99.                         resident part of DIET is dramatically decreased.
  100.  
  101.                         New K-option deletes temporary files only after
  102.                         the termination of the process to speed up.
  103.  
  104.                         Newly created file recompressed with new option
  105.                         -W.
  106.  
  107.                         Environmental string 'DIETSIZE' replaced by -S.
  108.  
  109.                         Commands DIET ON, DIET OFF newly supported. 
  110.                         DIETAPI interface is designed and documented.
  111.  
  112. Version 1.43 (11/22/91) Environmental String NODIET is set.
  113.                         TIME STAMP of compressed file updated.
  114.                         DIET returns its EXIT codes even when it
  115.                         did automated recompression.
  116.  
  117. Version 1.43a(11/24/91) NODIET=*.ABC matches "*.", this bug fixed.
  118.                         Files specified in NODIET string will be copied
  119.                         as they are even with -C option, without Decompress-
  120.                         Recompress.
  121.  
  122. Version 1.43b(12/14/91) Automated recompression takes place only when all
  123.                         open files were closed.
  124.  
  125. Version 1.44 (1/22/92)  -G option for faster decompression.
  126.  
  127.                         -N and -$ options to let DIET activate before you
  128.                         leave terminal.
  129.  
  130.                         -P option detects overwritten files as decompressed.
  131.  
  132.                         When DIET overwrites a DIETed file, -P option
  133.                         automatically recompress this file without -W option.
  134.  
  135.                         -W option sets automatically -P option on.
  136.                         When a DIETed file is archived as the first file with
  137.                         LHA with no-compress option, DIET detects the whole
  138.                         archive as a DIETed file. Bug fixed.
  139.                         With MS-DOS ver5.0 MEM.exe has extra characters with
  140.                         DIET on display. Fixed.
  141.  
  142.  
  143. Major Revisions from version 1.44
  144. ---------------------------------
  145. <<<< Version1.44 to 1.45a >>>>
  146.  
  147.          Timing of erasing Temporary Files.
  148.          ---------------------------------
  149.          You execute a DIETed file with READONLY. Call COMMAND.COM as
  150.          a child process, and exit to the original program. Since the 
  151.          child process terminated, DIET deletes the decompressed temporary
  152.          file. There is only the DIETed original. You were lost with entry 
  153.          point. Now DIET stores information about time stamp in so-called
  154.          PSP in every temporary file generated by unDIETing, and checks this
  155.          value before deleting.
  156.            More explicitly, every time a process terminates, DIET tries to
  157.          delete temporary file without -K option flag set. Checks its
  158.          current PSP value, if the value is not the same of DOS, DIET
  159.          leaves the temporary file as it is. When DOS terminates a
  160.          process, DOS lets DIET erase all the temporary files. DIET
  161.          refrain deleting if the recorded PSP value is smaller
  162.          than the current PSP, Program Segment Prefix.
  163.  
  164.           Collisions on EMS.
  165.           -----------------
  166.            Some TSR program places filenames on EMS page frame DS:DX.
  167.            DIET staying resident on EMS, receives function call from such
  168.            TSR program, then DIET switches pages and continues processing.
  169.            However filename may be processed erroneously by either one of
  170.            DIET or the other TSR program. DIET watches filename on the
  171.            page frame and process it correctly now.
  172.  
  173.          Renamed Compressed Filename.
  174.          ---------------------------
  175.           With auto-compress created file -W option set. Suppose an editor does:
  176.            copy textfile.DOC textfile.TMP
  177.            rename  textfile.DOC textfile.BAK
  178.            edit textfile.TMP
  179.            rename textfile.TMP textfile.DOC
  180.           Only the textfile.TMP is recorded as the object for automated
  181.           compression, if the file-names are concerned. DIET set -P option
  182.           automatically with -W. Now DIET sets auto-recompression flag on
  183.           files renamed with function call 56H. With this change, DIET
  184.           compresses textfile.DOC and erases textfile.TMP. Please try with
  185.           your editor.
  186.  
  187. <<<< Version1.45a to 1.45b >>>>
  188.  
  189.           New -E option to retrieve files opened with Read Only attribute.
  190.           ---------------------------------------------------------------
  191.           When a file with READONLY attribute is accessed by Multiple
  192.           Tasks or a file renamed as temporary under Task-Swapping, a 
  193.           temporary file might remain on your disk. DIET makes a
  194.           decompressed temporary file when a READ-ONLY file is accessed, 
  195.           and its file handle is handed to a procedure. With this -E 
  196.           option, DIET decompresses the named file, and hand it over to
  197.           procedure. Then the decompressed file has auto-recompression
  198.           flag on, and is decompressed automatically if you specify -P
  199.           option.
  200.             I am quite sure, that you have a chance to use this option
  201.           Try if your application uses a read-only file with some of
  202.           the temporary file remain on your disk.
  203.  
  204.         DIET detects file with auto-recompress flags.
  205.         --------------------------------------------
  206.           In case of editors, there are two types of editors.
  207.           Type A creates a file with extension .TMP, say,
  208.           renames the original with .BAK. works with .TMP and renames
  209.           it to the original name when editing is over.
  210.           Type B does not leave .BAK, renames original with .TMP, 
  211.           and DELETES the original first, then works with .TMP and renames.
  212.           When editing is done, DIET has to move file-handle to the right 
  213.           file to be recompressed, with extraneous efforts for both types 
  214.           of editors.
  215.  
  216.          Time Stamp Set.
  217.          --------------
  218.           DIET opens a file and reads its time stamp, copies it on the
  219.           TMP file. For READ-ONLY file, DIET deletes TMP file when a
  220.           process terminates and recompresses the original with time
  221.           stamp that of TMP file. DIET version 1.45a has changed algorithm
  222.           of copying TIME STUMP slightly. Consequently some application
  223.           failed to transact to files distributed from updated versions.
  224.           DIET newly introduced a well organized system to deal with
  225.           TIME STAMP recording.
  226.  
  227.   <<<< Version1.45b to 1.45c >>>>
  228.  
  229.               DIET stays on UMB.
  230.               When you use DOS 5.00 with device driver like HIMEM.sys, 
  231.               you may use Upper Memory Block for DIET to stay. You just 
  232.               don't do anything. DIET automatically detects available UMB,
  233.               and moves into the area and stays resident there.
  234.  
  235.               I could not check all of the similar device drivers.
  236.               However, you may try and will succeed to let it stay UMB               resident.
  237.               DRDOS6.00 and shell 4DOS does not support DIETAPI.
  238.  
  239.               You write a line in your config.sys,
  240.               (o)   device=diet.exe /z0 /p /j ...
  241.               and if you have available UMB, you see DIET becomes TSR on UMB, 
  242.               NOT as a device driver.
  243.               LOADHIGH is not necessary for DIET, namely, you don't have to
  244.               write a line in the form:
  245.               (x)   devicehigh=diet.exe /z0 /p /j ...
  246.               DIET does detect UMB by itself.
  247.  
  248.               Bug fixed with COMMAND.COM in UMB
  249.               ---------------------------------
  250.               With version 1.44 DIET acted abnormally when COMMAND.COM or 
  251.               BUFFERS were in UMB area. This Bug is fixed now.
  252.  
  253.  
  254.  
  255. <<<< Version1.45c to 1.45d >>>>
  256.  
  257.        Bugs fixed.
  258.        ----------
  259.           Set -P or -W option with TSR DIET. Activate a shell program,
  260.           issue a command within the shell, a DIETed program. Then suddenly
  261.           you are exited from shell you started. These phenomena happened with 
  262.           shell programs FD and FILMNT, popular in Japan. In some cases, 
  263.           you are exited even without doing anything.
  264.  
  265.           Japanese popular encoder ISH.COM, equivalent of UUENCODE-DECODE,
  266.           failed to recover original file extension, when file name does 
  267.           not have full length of 8 letters.
  268.  
  269.           These Bugs were fixed.
  270.  
  271.             Change in Algorithm.
  272.             -------------------
  273.             In modern applications, a file will suffer from renamings, copying
  274.             to temporary files and deletions. DIET is must follow the correct
  275.             file name which is to be restored finally. DOSSHELL or other shells
  276.             with TASK-SWAPPING made DIET difficult to follow, or made DIET do
  277.             unnecessary jobs for temporary files abusing your time.
  278.  
  279.              DIET essentially follows the two principles:
  280.  
  281.              1. When a DIETed file is renamed or deleted, file name is recorded
  282.                by DIET, but the file does not have auto-compress flag on.
  283.  
  284.              2. When an unDIETed file is renamed to a name DIET has recorded, 
  285.                the file has auto-compress flag on.
  286.  
  287.      
  288. Remark.
  289.   There were some minor revisions made to improve performance.
  290.  
  291.  
  292.  <<<< 1.45d to 1.45f >>>>  06/25/1992
  293.         CPU cache for 80486
  294.         ------------------- 
  295.               Self-extracting DIETed halted with CPU80486
  296.               because of 32 bytes cache in CPU. This version  
  297.               revised from 145d, mainly for this reason.
  298.               Since this is a test version, there is a new optional
  299.               command to reveal information in the process of
  300.               DIETing and unDIETing.
  301.  
  302.     ' -^ '    :option
  303.                   diet -^ xxx.exe
  304.                shows informations with 'xxx.exe' if it is a DIETed
  305.                executable.    
  306.  
  307. ------------------------------------------------------------------
  308.                          92/6/25  Nifty: GBG00230  Teddy Matsumoto
  309. ------------------------------------------------------------------
  310.                The address in DIET144.DOC
  311.                    okubo@tansei.cc.u-tokyo.ac.jp
  312.                is not valid anymore. Internet users please direct
  313.                mails to either one of the following:
  314.                    kenjirou@mathdent.im.uec.ac.jp
  315.                    c00236@sinet.ad.jp
  316.                                           Kenjirou Okubo
  317.