[comp.sys.ibm.pc] Patch for Norton Util pause feature

qintar@agora.UUCP (Jim Seymour) (12/05/88)

If, like me, you can't stand the pause feature in several of the Norton
Utilities programs, you may find this patch useful.  If the user presses
a key during output from FA, FF, FS, and a few others, the output will pause
and wait for the user to press any key to continue.  The ESC key will abort
the listing.  The obvious problem with this is that if one decides to (for
example), use FA to turn off the Archive bits in all the files in the current
directory "FA /a- *.*", he will be unable to use the type-ahead feature to
continue and must wait for the program to complete before continuing.  The
patch below inhibits this feature, but still allows the /p command line
switch.

Please note: This patch has been tested *only* on the Norton Utilities Advanced
Edition version 4.5.  I presume it is the same on the other versions, but I
have no proof of that.

Each of the programs in question has the following small subroutine in it
somewhere:

   b4 01          mov ah,01
   cd 16          int 16
   74 05          jz  A
   b8 01 00       mov ax,0001
   eb 02          jmp B
   33 c0       A: xor ax,ax
   c3          B: ret

If the 'mov ax,0001' statement is replaced with 'mov ax,0000', then the pause
feature is disabled.  Thus, change the 'b8 01 00' with 'b8 00 00' and the
patch is done.  Use NU to do this change, but please save the original files
in case you decide you don't like the patch.

     -Jim Seymour                      ...tektronix!tessi!agora!qintar
     =================================================================
     Cipher Systems, Inc.                           Home:
     P.O. Box 329                                   1308 S.E. Division
     North Plains, OR  97133                        Portland, OR 97202