home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Aktief 1995 #6 / CDA_6.iso / shell / utils / disked29.arj / MANUAL.ZIP / DISKED.MAN < prev    next >
Encoding:
Text File  |  1995-03-18  |  53.0 KB  |  1,508 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.                                        DISKED
  27.                                    The DISK EDitor
  28.                                   For IBM-PC/XT/AT
  29.                                       Computers
  30.  
  31.  
  32.                                  Software and Manual
  33.                                 Designed and Written
  34.                                   by Gregg Jennings
  35.  
  36.                                 Software Version 2.4
  37.                               Documentation Version 2.1
  38.                                   December 2, 1993
  39.  
  40.                            (c) 1989-1993 by Gregg Jennings
  41.                                  ALL WRONGS RESERVED
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.        DISKED                                                           page 2
  61.  
  62.  
  63.                                    WHAT DISKED IS
  64.  
  65.        DISKED is a simple to use disk editor and data recovery program for
  66.        IBM-PC/XT/AT and compatible computers.  It allows the editing of any
  67.        sector and the saving of sectors to a file.  DISKED provides a way to
  68.        recover data from disks with a damaged BOOT sector, damaged FATs, and
  69.        damaged directory areas, allowing the saving of otherwise lost data.
  70.  
  71.        DISKED is meant to be very easy to learn and to use -- it is operated
  72.        by entering easy to remember single letter commands.  Its simple
  73.        interface enables the user to have full control over the program,
  74.        letting it be run with full confidence and assurance.  DISKED was and
  75.        still is being developed with ease of use as the number one feature.
  76.  
  77.  
  78.  
  79.                                  WHAT DISKED IS NOT
  80.  
  81.        Although DISKED can recover an erased file's data, DISKED cannot
  82.        unerase a file.  DISKED also does not format nor change any parameters
  83.        of the format of a disk -- does not fix bad sectors -- does no file
  84.        copying, moving or deleting -- there are better utilities for that.
  85.  
  86.        All DISKED does is read, write, and store any available sector of a
  87.        disk in a simple and easy, yet powerful and versatile way.
  88.  
  89.                          ┌──────────────────────────────────┐
  90.                          │           BUT REMEMBER           │
  91.                          │DISKED CAN RECOVER DATA FROM DISKS│
  92.                          │    WHEN DOS UTILITIES CANNOT     │
  93.                          └──────────────────────────────────┘
  94.  
  95.  
  96.  
  97.                                     REQUIREMENTS
  98.  
  99.        This version of DISKED requires an IBM compatible with 128KB of memory
  100.        and DOS version 3.0 or higher.  DISKED supports all IBM PC/XT/AT drive
  101.        formats.
  102.  
  103.  
  104.  
  105.        DISKED                                                           page 3
  106.  
  107.  
  108.                                       TUTORIAL
  109.  
  110.        DISKED comes up at the disk's root directory sector and is in a
  111.        combined command and edit mode.
  112.  
  113.        DISKED displays each sector as you move about the disk.  Movement is
  114.        done by the direction keys similar to paging through a text document --
  115.        you always know exactly where you are on the disk.
  116.  
  117.        There are two available areas for data; a sector buffer that holds
  118.        selected sector's data and a file buffer that allows saving sector data
  119.        for writing to a disk file.
  120.  
  121.        The sector buffer can be changed in a manner similar to a debugger and
  122.        can be written back to the disk.  There is also a spare sector buffer
  123.        to which a sector can be stored and retrieved for copying to another
  124.        sector.
  125.  
  126.        Data is saved by appending single or multiple sectors into the file
  127.        buffer.  The file buffer can then be observed and changed, written to a
  128.        disk file, emptied, or more sectors appended or unappended.  Any number
  129.        of absolute sectors can also be written to a file.
  130.  
  131.        These features produce a very versatile program.
  132.  
  133.  
  134.  
  135.        DISKED                                                           page 4
  136.  
  137.  
  138.                                       Section 1
  139.                                     Using DISKED
  140.  
  141.  
  142.        1.1 Documentation Notes
  143.  
  144.        This document assumes that the user knows certain computer terms.
  145.        Specific terms are: hexadecimal numbers; strings and bytes; tracks,
  146.        sectors and clusters; control characters and ASCII.
  147.  
  148.        In this documentation, the word disk is used to mean either the hard
  149.        disk drive or a floppy diskette -- the media that holds the data; the
  150.        word drive use used as meaning the DOS drive as in 'A:' or 'C:', as
  151.        well as any logical drives or ram drives when device drivers are used.
  152.  
  153.        The word sector is used in two different and distinct ways -- there are
  154.        physical and logical sectors of a disk.  The physical sector references
  155.        pertain to the disk drive hardware, the logical sectors pertain to DOS.
  156.        Physical sectors come in to play, as far as DISKED is concerned, with
  157.        the 's' (select physical position) command and parameter display only.
  158.        All other references to sectors are logical, which run from 0 to the
  159.        end of the disk.
  160.  
  161.  
  162.        1.1.1 Command Input Conventions
  163.  
  164.        The commands, arguments, and keys designated in this manual use the
  165.        following conventions:
  166.  
  167.        Convention   Description
  168.  
  169.        D            A valid drive letter.
  170.  
  171.        n            A decimal or hexadecimal number.
  172.  
  173.        x            A hexadecimal number.
  174.  
  175.        s            An ASCII string.
  176.  
  177.        c            An ASCII character.
  178.  
  179.        C            A letter.
  180.  
  181.        ^C           A control character.
  182.  
  183.        'c'          A DISKED command key.
  184.  
  185.        's'          A DISKED keyword.
  186.  
  187.        |            More than one key will perform the same command.
  188.  
  189.  
  190.  
  191.        DISKED                                                           page 5
  192.  
  193.  
  194.        end          A cursor key.
  195.  
  196.        F1           Function key.
  197.  
  198.        TAB          Other special key.
  199.  
  200.  
  201.        1.1.2 Keyboard Input
  202.  
  203.        Because some commands are instantaneous any command typed that needs an
  204.        argument cannot be erased (i.e. a backspace or delete will not erase
  205.        it), yet a return or an escape will usually cancel.  Commands that do
  206.        not require an argument will be performed without a return.
  207.  
  208.        When a command argument is needed, during input, the backspace will
  209.        delete characters, a ^C or ESC will cancel the command, a ^U will
  210.        delete all input.  A return, a space, or a comma ends the input.  A
  211.        return will be automatically entered if the maximum number of
  212.        characters is input.
  213.  
  214.        When a number argument needs to be input, only numbers will be
  215.        accepted.  Any number required will be of 1 to 5 places so, depending
  216.        on the type of argument required, too large of a number cannot be
  217.        entered.  Any argument that is out of bounds will just be ignored.
  218.  
  219.        When more than one number needs to be input, a return, a space, or a
  220.        comma can be used to separate the numbers.
  221.  
  222.        Whenever DISKED asks for confirmation of a command, a capital or
  223.        lowercase Y will confirm and any other key will cancel.
  224.  
  225.  
  226.  
  227.        DISKED                                                           page 6
  228.  
  229.  
  230.                                       Section 2
  231.                                       Commands
  232.  
  233.        Note: any command that deals with files that exist on the disk will be
  234.        disabled if file indexing is off (cf. 3.1.0).
  235.  
  236.  
  237.        2.1 Drives
  238.  
  239.        Command      Function
  240.  
  241.        lD           Log in drive D as the disk to use.  The file buffer is
  242.                     left alone, allowing for data recovery to the same drive.
  243.  
  244.                     The first sector of the root directory area is selected
  245.                     after the log in (cf. 3.1.0).
  246.  
  247.        ^L           Re-log current drive.  This should be done whenever the
  248.                     file buffer is written to the current disk and filename
  249.                     display is on (cf. 3.1.0).
  250.  
  251.                     When a floppy disk has been changed it does not have to be
  252.                     logged in unless the new disk is of a different format or
  253.                     filename displaying is wanted.
  254.  
  255.  
  256.        2.2 Moving
  257.  
  258.        When moving, the disk is treated as circular.  Movement past either end
  259.        results in "wrapping" around to the other end.  Each sector contents is
  260.        displayed after every movement.  The sector data can be displayed in a
  261.        variety of formats; 16 bytes per line hex/ASCII (only the first 128
  262.        bytes are displayed, this is the default), 24 bytes per line hex/ASCII
  263.        (the full sector contents), ASCII only, and a directory format.  The
  264.        format is selectable (cf. 3.1.0).
  265.  
  266.        Command      Function
  267.  
  268.        sn,n,n       Select the track, sector, and head respectfully, separated
  269.                     by commas or spaces.  A return will end the input.  Any
  270.                     parameter may be omitted leaving it unchanged.
  271.  
  272.        sb           Select the BOOT sector.
  273.  
  274.        sf           Select the beginning of the first FAT area.
  275.  
  276.        Sn           Select the first sector of cluster n.
  277.  
  278.        ^Sn          Select the logical sector n.
  279.  
  280.        end          Select last sector.
  281.  
  282.  
  283.  
  284.        DISKED                                                           page 7
  285.  
  286.  
  287.        home         Select the beginning of the root directory.
  288.  
  289.        n            Next sector.
  290.  
  291.        ^N|pgdn      Next track.
  292.  
  293.        N|right      Next cluster.
  294.  
  295.        b            Back sector.
  296.  
  297.        ^B|pgup      Back track.
  298.  
  299.        B|left       Back cluster.
  300.  
  301.        +n           Increment n sectors.
  302.  
  303.        -n           Decrement n sectors.
  304.  
  305.        r            Range forward by sectors.  If the key hit is a number the
  306.                     pause between sectors is increased or decreased, 1 being
  307.                     the fastest, 9 the slowest.  A space will pause, any other
  308.                     key will cancel.
  309.  
  310.        ^R           Range backward.
  311.  
  312.        R            Range by clusters.
  313.  
  314.        1-9          Select the tagged sector.  See the 't' command.
  315.  
  316.        j|^right     Jump to the next cluster of the file that the current
  317.                     cluster is allocated to.
  318.  
  319.        J|^left      Jump to the previous cluster of the file that the current
  320.                     cluster is allocated to.
  321.  
  322.        ^home        Start cluster of file that the current cluster is
  323.                     allocated to.
  324.  
  325.        ^end         End cluster of the file that the current cluster is
  326.                     allocated to.
  327.  
  328.        Shft-right   Next free cluster.
  329.  
  330.        Shft-left    Back free cluster.
  331.  
  332.  
  333.        2.3 Editing
  334.  
  335.        Command      Function
  336.  
  337.  
  338.  
  339.        DISKED                                                           page 8
  340.  
  341.  
  342.        cn           Change sector contents starting at buffer location n. The
  343.                     address of the sector offset is shown along with the data
  344.                     in hex and ASCII.  A return or a space leaves the data
  345.                     alone and advances to the next, a backspace advances to
  346.                     the previous, always wrapping around at the extremes of
  347.                     the buffer.
  348.  
  349.                     The the buffer position can be changed and new data can be
  350.                     entered by typing a new value in a variety of ways.
  351.  
  352.                          Table 2.1: Change Formats
  353.  
  354.                          x         hex number
  355.                          'c        ASCII character
  356.                          ^C        control character
  357.                          "s        string
  358.                          CR/SP     next location
  359.                          TAB       go to location 00
  360.                          =x        go to location x
  361.                          \x        go to number x
  362.                          \'c       go to character c
  363.                          \^C       go to control character C
  364.                          -x1,x2    fill x1 places of x2
  365.                          +x1,x2    replace all x1 with x2
  366.                          ?|/       display command summary
  367.                          .|ESC     exit change
  368.  
  369.                     Changes are not written to the disk.  See the 'w' command.
  370.  
  371.        C            Change file buffer contents.
  372.  
  373.        ^C           Change the sector buffer in a directory format.  The file
  374.                     names, file attributes, and file times and dates can be
  375.                     changed.  The file attributes are toggled by the spacebar;
  376.                     the volume label or deleted files can not be changed.  The
  377.                     DOS system files must not be changed.  There is no out-
  378.                     of-bounds checking for the times and dates.  If the sector
  379.                     is not a directory sector the change fields will still be
  380.                     in the directory format.
  381.  
  382.                          Table 2.2: Directory Change
  383.  
  384.                          CR/SP     next entry
  385.                          TAB       next field
  386.                          SHFT-TAB  previous field
  387.                          =n        go to entry n
  388.                          ?|/       display command summary
  389.                          .|ESC     exit change
  390.  
  391.                     Changes are not written to the disk.  See the 'w' command.
  392.  
  393.  
  394.  
  395.        DISKED                                                           page 9
  396.  
  397.  
  398.        k            Kill any changes to the sector buffer.  After any changes
  399.                     have been made to the sector buffer, a 'k' will restore it
  400.                     to its original state.  The sector is not written to the
  401.                     disk.  The file buffer cannot be unchanged.
  402.  
  403.        w            Write the sector buffer back to the disk, presumably after
  404.                     changes have been made, or after a saved sector has been
  405.                     retrieved by the '<' command.  A 'w' in the BOOT or FAT
  406.                     area will cause a warning message to be displayed only and
  407.                     will always ask for confirmation.
  408.  
  409.                     Care should be used when in the BOOT sector, any FAT
  410.                     sector, or any directory area.
  411.  
  412.                     This command has to be enabled by an entry in the
  413.                     DISKED.INI file (cf. 3.2.1) and turned on from within
  414.                     DISKED (cf. 3.1.0).
  415.  
  416.  
  417.        2.4 Copying
  418.  
  419.        The copy commands copy disk data into the file buffer.  All commands
  420.        indicate when the file buffer is full.  The size of the file buffer is
  421.        displayed by the BS command, the amount of the file buffer contents is
  422.        displayed at the prompt.
  423.  
  424.        Command      Function
  425.  
  426.        a            Append the current sector into the file buffer.
  427.  
  428.        A            Append the current cluster.
  429.  
  430.        ^An1,n2      Append n2 bytes from offset n1 of the sector.
  431.  
  432.        u            Unappend a sector size amount of bytes out of the file
  433.                     buffer.
  434.  
  435.        U            Unappend a cluster size amount of bytes.
  436.  
  437.        ^Un          Unappend n bytes.
  438.  
  439.        gn           Get n sectors.  Append the next n sectors, starting from
  440.                     the current sector, into the file buffer, leaving the
  441.                     current sector selected.  Any key hit while cancel the
  442.                     getting.
  443.  
  444.        g0           Get the entire current track.
  445.  
  446.        g1           Get the rest of the track, starting from the current
  447.                     sector.
  448.  
  449.  
  450.  
  451.        DISKED                                                          page 10
  452.  
  453.  
  454.        ^Gn          Get n sectors and move n+1 sectors.
  455.  
  456.        e            Empty the file buffer.
  457.  
  458.        ^E           Empty the file buffer regardless of the 'verify' keyword
  459.                     (cf. 3.1.0).
  460.  
  461.  
  462.        2.5 Storing
  463.  
  464.        Any one sector can be stored in a special buffer for retrieval at any
  465.        time.  This special buffer contents remains the same until another
  466.        sector is stored.
  467.  
  468.        Command      Function
  469.  
  470.        >            Store sector.
  471.  
  472.        <            Retrieve sector.  If there is no sector stored nothing
  473.                     happens, if there is, the sector buffer is overwritten by
  474.                     the stored sector and displayed as by a normal sector
  475.                     move.  The sector is not written to the disk.
  476.  
  477.  
  478.        2.6 Files
  479.  
  480.        During any file input or output, the buffer will be translated
  481.        according to the 'mask', 'strip' and 'convert' keywords except when
  482.        noted (cf. 0).  During file reading or writing any key hit will cancel.
  483.  
  484.        Command      Function
  485.  
  486.        ps           Put the file buffer to file s.
  487.  
  488.        ^Ps          Put the file buffer to file s without any character
  489.                     translations.  All bytes will be written, including any
  490.                     EOF characters.
  491.  
  492.        Pn1,n2,s     Put n2 sectors, starting at n1 (or the current sector if
  493.                     n2 is a left out) to file s without any translations.
  494.  
  495.        is           Insert the file s into the file buffer (as much as
  496.                     possible).
  497.  
  498.        ^Is          Insert the file s without any character translations.
  499.  
  500.        Is           Insert the file that the current sector is allocated to.
  501.  
  502.        m            Map out the clusters of the file that the current cluster
  503.                     is allocated to.
  504.  
  505.  
  506.  
  507.        DISKED                                                          page 11
  508.  
  509.  
  510.        2.7 Displaying
  511.  
  512.        Command      Function
  513.  
  514.        /            List command summary.
  515.  
  516.        ?            Extra command summary.
  517.  
  518.        BS           Display drive parameters.
  519.  
  520.        SPACE        Display top 128 bytes of sector buffer.
  521.  
  522.        CR           Display the next 384 bytes.
  523.  
  524.        ^J           Display position.
  525.  
  526.        dn           Display the file buffer a page (256 bytes) at a time
  527.                     starting from address n, in a hex/ASCII format.
  528.  
  529.        vn           View the file buffer contents with translation according
  530.                     to the translation keywords.
  531.  
  532.        ^V           View the sector buffer.  The viewing will not pause until
  533.                     the end of the sector is reached.
  534.  
  535.        Shft-F1      Display top 128 bytes of sector buffer.
  536.  
  537.        Shft-F2      Display full sector buffer.
  538.  
  539.        Shft-F3      View the sector buffer.
  540.  
  541.        Shft-F4      Directory display the file buffer.
  542.  
  543.  
  544.        2.8 Searching
  545.  
  546.        Command      Function
  547.  
  548.        fs           Find string s; a null response will search for the
  549.                     previously entered string.  Any key hit while in progress
  550.                     will stop the search.  The following control characters
  551.                     can be embedded in the string:
  552.  
  553.  
  554.  
  555.        DISKED                                                          page 12
  556.  
  557.  
  558.                          Table 2.3: Find Control Charcters
  559.  
  560.                          \0        null
  561.                          \a        bell
  562.                          \f        form feed
  563.                          \n        line feed
  564.                          \r        return
  565.                          \s        space
  566.                          \t        tab
  567.                          \xxx      hexadecimal value xx
  568.                          \\        backslash
  569.  
  570.                     Extended characters (values greater than '~' or 7Eh)
  571.                     can be entered by Alt-Keypad sequences.
  572.  
  573.        ^Fs          Find s on the disk searching backward.
  574.  
  575.        Fs           Find s in the file buffer.
  576.  
  577.  
  578.        2.9 Exiting
  579.  
  580.        Command      Function
  581.  
  582.        q|.|ESC      Return to DOS.  The drive and directory that was current
  583.                     when DISKED was loaded will be re-selected.
  584.  
  585.        ^Q           Return to DOS regardless of the 'verify' keyword.
  586.  
  587.  
  588.        2.10 Miscellaneous
  589.  
  590.        Command      Function
  591.  
  592.        zs           Show and/or change keywords (cf 2).
  593.  
  594.        Z            Show keywords only.
  595.  
  596.        ,            Toggle input radix between decimal and hexadecimal.  All
  597.                     numbers displayed or input will be either decimal or
  598.                     hexadecimal.  The default is decimal.
  599.  
  600.        F1           Display the name of and the files in the currently
  601.                     selected directory.  This will be the directory for all
  602.                     default file I/O.
  603.  
  604.        F2           Display all files on the disk.  A space will pause the
  605.                     displaying, an ESC will abort.
  606.  
  607.        F3           Display the number of files and directories on the disk.
  608.  
  609.  
  610.  
  611.        DISKED                                                          page 13
  612.  
  613.  
  614.        F4s          Make the directory s the current directory for all default
  615.                     file I/O.
  616.  
  617.        F5           Re-read current sector.
  618.  
  619.        F6           Append sector with 'strip'; ignores the 'strip' keyword.
  620.  
  621.        F7           Append sector with 'convert'; ignores the 'convert'
  622.                     keyword.
  623.  
  624.        F8           Append sector with 'mask'; ignores the 'mask' keyword.
  625.  
  626.        F9           Append sector with translation as per the 'mask', 'strip'
  627.                     and 'convert' keywords.'
  628.  
  629.        F10s         Set to the first cluster of the file or directory s.  The
  630.                     full path name need not be given unless there are
  631.                     duplicate files on the disk.
  632.  
  633.        tn           Tag the current sector.  Assigns n (1-9) to the current
  634.                     sector, enabling the selection of that sector by typing
  635.                     the corresponding number.
  636.  
  637.        x            View the DISKED.INI file.
  638.  
  639.        X            View the DISKED.SAV file.
  640.  
  641.        ^X           Save the current state of DISKED to a file named
  642.                     DISKED.SAV.  The file will be written to the directory
  643.                     named in the INIT environment variable or to the default
  644.                     directory.  The drive, sector, tagged sector list, and
  645.                     last search string will be saved.
  646.  
  647.        ^Z           Restore DISKED state by reading the DISKED.SAV file.
  648.  
  649.  
  650.  
  651.        DISKED                                                          page 14
  652.  
  653.  
  654.                                       Section 3
  655.                                 DISKED Initialization
  656.  
  657.  
  658.        3.1 DISKED Keywords
  659.  
  660.        Keywords are the names of certain parameters indicating how some
  661.        commands will function.
  662.  
  663.        Keyword      Function
  664.  
  665.        ascii        Displays sector data to the screen as the '^V' command,
  666.                     with translation according to the translation keywords.
  667.  
  668.        convert      Converts all non-printable bytes to its hexadecimal
  669.                     equivalent between angle brackets during file I/O or when
  670.                     the file buffer is viewed to the screen.
  671.  
  672.        display      Displays a description of and information about the
  673.                     command before it is performed.
  674.  
  675.        files        All filenames on the disk will be read and indexed so that
  676.                     the filename can be matched to each cluster and displayed.
  677.  
  678.        get          A move is made after sectors are appended using the 'g'
  679.                     command.
  680.  
  681.        home         The first sector of the root directory area of a disk is
  682.                     selected after it is logged in.
  683.  
  684.        mask         Masks off the high bit of all bytes during file I/O or
  685.                     when the file buffer is viewed to the screen.
  686.  
  687.        logical      Displays disk information without references to the
  688.                     physical properties of the disk.
  689.  
  690.        partial      Displays just the first 128 bytes of a sector when not in
  691.                     Ascii mode.  Otherwise 512 bytes are displayed.
  692.  
  693.        strip        Strips out (ignores) all non-printable bytes during file
  694.                     I/O or when the file buffer viewed to the screen.
  695.  
  696.        translate    Displays directory sectors in a directory format.
  697.  
  698.        verify       Asks for confirmation when performing any of the more
  699.                     powerful commands.
  700.  
  701.        write        Enables the writing of sectors to the disk.
  702.  
  703.  
  704.  
  705.        DISKED                                                          page 15
  706.  
  707.  
  708.        These parameters can be turned on and off (or enabled and disabled)
  709.        from within DISKED or by an initialization file.  By default they are
  710.        all on except for 'ascii', 'files' and 'write'.
  711.  
  712.  
  713.        3.2 Changing DISKED Parameters
  714.  
  715.  
  716.        3.2.1 Outside DISKED
  717.  
  718.        DISKED will look for a DISKED.INI file to set or change the DISKED
  719.        keywords.  In the DISKED.INI file enter the keyword followed by either
  720.        'on' or 'off'.  DISKED will first search the directory indicated by the
  721.        "INIT" DOS environment variable, then the directory in which DISKED was
  722.        executed from, and finally the default directory.
  723.  
  724.  
  725.        3.2.2 Inside DISKED
  726.  
  727.        By the use of the 'z' command these parameters can be changed inside
  728.        DISKED.  The 'z' is followed by a string containing the first letter of
  729.        the keyword to be changed, toggling it on or off.  Only the keyword
  730.        letters are valid, all other characters are ignored.  When the
  731.        'display' parameter is on, all keywords and their values are shown
  732.        before inputting.
  733.  
  734.        For added protection, the 'write' parameter must be in DISKED.INI and
  735.        then turned on by the 'z' command for the 'w' command to work.
  736.  
  737.        A quicker way of changing the keywords is by using the Alt key and the
  738.        first letter.  The parameter is changed and its new value is displayed.
  739.  
  740.  
  741.  
  742.        DISKED                                                          page 16
  743.  
  744.  
  745.                                       Section 4
  746.                                    Hints on Usage
  747.  
  748.  
  749.        4.1 Bad Sectors
  750.  
  751.  
  752.        4.1.1 Damage
  753.  
  754.        Damage is when a sector can not be read due to physical defects on the
  755.        disk.  Damage will most likely be trapped by DOS with the standard
  756.        message; if retrying does eventually result in the sector being read
  757.        you are in luck.  DISKED does not do anything fancy when reading
  758.                                   1
  759.        sectors -- it relies on DOS .
  760.  
  761.        Damage in the data area results in DISKED not being able to read those
  762.        sectors and if they lie in a file then only the readable parts of the
  763.        file can be recovered.  Executable files cannot be recovered in this
  764.        situation.
  765.  
  766.        Damage in the BOOT area can be circumvented by logging in a good disk
  767.        of the same format then putting in the disk with the bad BOOT sector.
  768.        DISKED can not log on to a hard drive if it has a damaged BOOT sector
  769.        only if it is "known" by the operating system (if DOS does not issue
  770.        the "Invalid drive specification" message).
  771.  
  772.        If damage is found in the FAT or in a directory area, DISKED will
  773.        automatically turn off the 'files' keyword.
  774.  
  775.        DISKED makes no use the FAT bad cluster information.
  776.  
  777.  
  778.        4.1.2 Corruption
  779.  
  780.        Corrupt data is invalid information on the disk; this results just as
  781.        if the areas were damaged if the corruption lies in the BOOT, FAT, or
  782.        directory areas, for normal DOS utilities and applications.
  783.  
  784.        Corrupt data can be a foreign type of media (not really corrupt but
  785.        unable to be interpreted), a disk that was inadvertently written to by
  786.        power failures or system crashes, or, on single floppy systems (like
  787.        laptops), a disk was changed at the wrong time causing another disk's
  788.        data written on it.
  789.  
  790.  
  791.        _______________________________________________________________________
  792.  
  793.        1. Central Point Software Inc. has an excellent product call the Deluxe
  794.           Option Board that can literally copy, completely, physically damaged
  795.           diskettes (cf. Appendix D)
  796.  
  797.  
  798.  
  799.        DISKED                                                          page 17
  800.  
  801.  
  802.        The BOOT sector can be fixed by reading the BOOT of a good disk of the
  803.        same format, putting in the corrupted disk and writing the sector.  The
  804.        DOS FORMAT command will of course fix a disk, but all data will be lost
  805.        (although one could press ^Break after the first track is formatted).
  806.  
  807.        The FAT can be written in a similar manner.  Just remember to copy from
  808.        a disk without files.  An empty FAT has a sequence of 3 bytes
  809.        indicating the type of format and is then all zeros.  The number of
  810.        sectors of the FATs is displayed in the drive statistics.
  811.  
  812.        An empty ROOT is filled with zeros.  The number of sectors of the ROOT
  813.        is the logical sector number of the first cluster minus the logical
  814.        sector number of the 'home' position.
  815.  
  816.  
  817.  
  818.        DISKED                                                          page 18
  819.  
  820.  
  821.        4.2 Recovering Files
  822.  
  823.  
  824.        4.2.1 Text Files
  825.  
  826.        Getting back text files is basically a hit and miss situation.  Knowing
  827.        some of the text helps by searching for it.  If not, ranging, or paging
  828.        over the disk is the only way.  Once a sector with data to be recovered
  829.        is found, search back to the beginning of the data and then do a 'g1'
  830.        to get the rest of the track.
  831.  
  832.        Display the file buffer to find out how many sectors should have been
  833.        read in.  By the correct number of 'u's, or an 'e' followed by a 'gn'
  834.        with the correct number of sectors, a good chunk of data can be
  835.        retrieved.  If the data extends beyond a track, more data can be
  836.        retrieved by a '^N' (or pgdn) followed by a 'g0'.
  837.  
  838.        If the data is very fragmented, range by the 'r' command, stopping and
  839.        appending as needed.  Since DOS stores file data by clusters, it may be
  840.        more efficient to move a cluster at a time.
  841.  
  842.        If large amounts of data are to be recovered, always put the file
  843.        buffer to another disk to avoid overwriting recoverable data.
  844.  
  845.        Understanding the beginning byte sequence of formatted files and
  846.        worksheet and database files will give something to search for.  A
  847.        little investigation of files can provide this information.
  848.  
  849.  
  850.        4.2.2 Executable Files
  851.  
  852.        Executable files can only be recovered if the size is known and the
  853.        file is contiguous.  EXE format files provide the size information.
  854.        COM files and overlays do not.  In an EXE file, the fourth and fifth
  855.        bytes of the file contains the file size in 512 byte pages.  The number
  856.        is in hexadecimal and stored least significant byte first.  For example
  857.        17 00 shows that the file is 17 pages long not 1700.  Since a sector is
  858.        512 bytes long this makes recovering the file by getting that many
  859.               2
  860.        sectors .
  861.  
  862.        Also, the first two bytes of all EXE files is 4d 5a (hex), which is MZ
  863.        in ASCII.  This enables the finding of the beginning of the EXE file.
  864.  
  865.        If the recovered EXE file results in the DOS message "ERROR in EXE
  866.        file" (or if it hangs the system) then the file was not contiguous or
  867.        was corrupted.
  868.        _______________________________________________________________________
  869.  
  870.        2. More sectors than are needed may be saved and the program will run
  871.           correctly.
  872.  
  873.  
  874.  
  875.        DISKED                                                          page 19
  876.  
  877.  
  878.        4.3 Other Uses
  879.  
  880.        Another well suited use for DISKED is the changing of messages that a
  881.        program displays.  If many copies of a program are being distributed,
  882.        each copy having a unique serial number or message, DISKED can be used
  883.        to go to that particular sector holding the information, change data
  884.        and then to write the sector.  This takes the place of multiple
  885.        compilations or expensive serialization programs.
  886.  
  887.        This is further speeded up by making multiple floppies containing just
  888.        that one program, and setting to the appropriate sector once, make the
  889.        change, write the sector, put in the next disk, make the change, write
  890.        the sector, and so on.
  891.  
  892.        DISKED is the only program that allows this kind of work to be done (at
  893.        a reasonable price!).
  894.  
  895.        DISKED also lets you investigate and create small files containing
  896.        codes outside ASCII values.
  897.  
  898.        DISKED also lets you edit a file without an editor.
  899.  
  900.  
  901.  
  902.        DISKED                                                          page 20
  903.  
  904.  
  905.                                       Section 5
  906.                                  An Example of Usage
  907.  
  908.        C:>disked a:
  909.  
  910.             Serial No: 1.NF3.011          DOS: 3.3
  911.             buffer size: 16384            number of drives: 4
  912.             current drive: A:             media: IBM 3.3
  913.             volume label: ?               current directory: \
  914.             drive size: 363520            cluster size: 1024
  915.             sector size: 512              total sectors: 719
  916.             sectors/fat: 2                sectors/cluster: 2
  917.             sectors: 1-9                  tracks: 0-39
  918.             clusters: 0-355               heads: 0-1
  919.  
  920.             '/' for help
  921.  
  922.        track 0, sector 6(5), head 0
  923.        00000: 44 45 4d 4f 20 20 20 20 45 58 45 20 00 00 00 00 DEMO    EXE ....
  924.        00016: 00 00 00 00 00 00 74 8a c9 14 02 00 04 00 00 00 ......t.........
  925.                                      . . .
  926.        00096: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  927.        00112: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  928.  
  929.        (00000)*s track b
  930.  
  931.        track 0, sector 1(0), head 0 BOOT
  932.        00000: eb 34 90 49 42 4d 20 20 33 2e 33 00 02 02 01 00 .4.IBM 3.3......
  933.        00016: 02 70 00 d0 02 fd 02 00 09 00 02 00 00 00 00 00 .p..............
  934.                                      . . .
  935.        00096: 1a 7c 88 16 2a 7c a3 39 7c c3 b4 02 8b 16 39 7c .|..*|.9|.....9|
  936.        00112: b1 06 d2 e6 0a 36 3b 7c 8b ca 86 e9 8a 16 fd 7d .....6;|.......}
  937.  
  938.        (00000)*a append sector
  939.        (00512)*^P file: boot.rec put file w/o options? Yes putting
  940.        (00512)*. exit DISKED? Yes
  941.  
  942.        C:>
  943.  
  944.        The above example saved the BOOT record of the diskette in drive A: to
  945.        the disk so it could be investigated by a debugger or disassembled.
  946.  
  947.  
  948.  
  949.        DISKED                                                          page 21
  950.  
  951.  
  952.                                       Section 6
  953.                                    Command Summary
  954.  
  955.  
  956.        6.1 Movement
  957.  
  958.        n,N,^N    next sector, cluster, track
  959.        b,B,^B    back sector, cluster, track
  960.        st,s,h    set to track t, sector s, head h
  961.        Sn        set to cluster n
  962.        ^Sn       set to logical sector n
  963.        sb        set to BOOT sector
  964.        sf        set to FAT sector
  965.        0-9       set to tagged sector 0-9
  966.        home      set to root directory
  967.        end       set to last sector
  968.        r         range forward by sectors
  969.        ^R        range backward by sectors
  970.        R         range forward by clusters
  971.        j         jump to next cluster of file
  972.        J         jump to previous cluster of file
  973.        ^right    set to the next un-allocated cluster
  974.        ^left     set to the previous un-allocated cluster
  975.  
  976.  
  977.        6.2 Get
  978.  
  979.        a         append sector
  980.        A         append cluster
  981.        ^An,n     append from n, n bytes
  982.        g0|1|n    get sectors
  983.        ^G0|1|n   get sectors with move
  984.  
  985.  
  986.        6.3 Unget
  987.  
  988.        u         unappend sector
  989.        U         unappend cluster
  990.        ^Un       unappend n bytes
  991.        e         empty
  992.  
  993.  
  994.        6.4 Log
  995.  
  996.        lD        log disk D
  997.        ^L        re-log disk
  998.  
  999.  
  1000.        6.5 Search
  1001.  
  1002.        fs        find string s on disk
  1003.  
  1004.  
  1005.  
  1006.        DISKED                                                          page 22
  1007.  
  1008.  
  1009.        ^Fs       find s searching backward
  1010.        Fs        find s in file buffer
  1011.  
  1012.  
  1013.        6.6 Display
  1014.  
  1015.        SPACE     dump sector buffer
  1016.        dn        dump file buffer from n
  1017.        vn        view file buffer from n
  1018.        ^V        view sector buffer
  1019.        BS        display disk parameters
  1020.        /         display command summary
  1021.        m         display cluster map of current file
  1022.        M         map un-allocated clusters of drive
  1023.        Shft-F1   top 128 bytes of sector buffer
  1024.        Shft-F2   full sector buffer
  1025.        Shft-F3   view sector buffer
  1026.        Shft-F4   directory display of sector buffer
  1027.  
  1028.  
  1029.        6.7 Change
  1030.  
  1031.        cn        change sector buffer from n
  1032.        Cn        change file buffer from n
  1033.        ^C        change directory
  1034.        k         kill changes
  1035.  
  1036.  
  1037.        6.8 Files
  1038.  
  1039.        ps        put file buffer to file s
  1040.        ^Ps       put with no translation to file s
  1041.        Pn,n,s    put from n, n sectors to file s
  1042.        is        insert file s
  1043.        ^Is       insert file s with no translation
  1044.  
  1045.  
  1046.        6.9 Miscellaneous
  1047.  
  1048.        zs        change parameters
  1049.        Z         display parameters
  1050.        ,         toggle input radix
  1051.        F1        display files in current directory
  1052.        F2        display all files on disk
  1053.        F3        display number of files and directories
  1054.        F4s       change to directory s
  1055.        F5        re-read sector
  1056.        F6        append sector with 'strip'
  1057.        F7        append sector with 'convert'
  1058.        F8        append sector with 'mask'
  1059.        F9        append sector per translation keywords
  1060.  
  1061.  
  1062.  
  1063.        DISKED                                                          page 23
  1064.  
  1065.  
  1066.        F10s      set to the first sector of file s
  1067.        tn        tag sector n
  1068.        T         display tagged sector list
  1069.        x         view DISKED.INI
  1070.        X         view DISKED.SAV
  1071.        ^X        save state
  1072.        ^Z        restore state
  1073.  
  1074.  
  1075.  
  1076.        DISKED                                                          page 24
  1077.  
  1078.  
  1079.                                       Section 7
  1080.                                    Error Messages
  1081.  
  1082.        Most errors will be harmless and can be considered warnings.  DOS
  1083.        errors will be common on damaged diskettes.  The file buffer and spare
  1084.        buffer contents are always maintained until explicit commands empty
  1085.        them.
  1086.  
  1087.        Messages
  1088.  
  1089.        Invalid Boot Sector D:  Cannot run.
  1090.  
  1091.             DISKED was able to read but not able to interpret the boot sector
  1092.             of the current drive.  Select another drive or disk and try
  1093.             running DISKED again.
  1094.  
  1095.        Invalid Boot Sector D:  Use current?
  1096.  
  1097.             DISKED was able to read but not able to interpret the boot sector
  1098.             of drive designated on the command line.  A Y will use the current
  1099.             drive, any other key will exit.
  1100.  
  1101.        Drive Not Ready D:  Use current? (or Retry)
  1102.  
  1103.             DISKED cannot access the drive designated on the command line,
  1104.             usually because the drive door is not closed or the disk is
  1105.             physically damaged.  A Y will use the current drive, an R will
  1106.             retry drive D:, any other key will exit.
  1107.  
  1108.        General Failure D:  Use current?
  1109.  
  1110.             DISKED cannot read the drive designated on the command line,
  1111.             usually because the disk is not formatted or a format that DOS
  1112.             cannot read (such as a 1.2/1.4M disk on XT machines).  A Y will
  1113.             use the current drive, any other key will exit.
  1114.  
  1115.        Insufficient Memory, n
  1116.  
  1117.             There was not enough memory available for storing the cluster
  1118.             numbers for the particular disk, where n is the number of
  1119.             clusters.  The 'files' keyword will be turned off.  There was not
  1120.             enough memory for holding the FAT sectors in memory, where n is
  1121.             the amount of memory needed.
  1122.  
  1123.        FAT Entry Invalid, n=x
  1124.  
  1125.             The offset n into the FAT area is not valid.  Indicates a corrupt
  1126.             FAT.
  1127.  
  1128.        "filename" Starting Cluster Number Invalid
  1129.  
  1130.  
  1131.  
  1132.        DISKED                                                          page 25
  1133.  
  1134.  
  1135.             The starting cluster number for the directory entry "filename" is
  1136.             not a valid cluster number.  Indicates a corrupt directory.
  1137.  
  1138.        Create File Error
  1139.  
  1140.             DISKED could not create the file for saving the file buffer.
  1141.             Could indicate to many files in the root directory.  Has no effect
  1142.             except no file is written.
  1143.  
  1144.        Write Error
  1145.  
  1146.             DISKED could not write data to the file saving writing the file
  1147.             buffer.  Most likely this will be due to not enough disk space.
  1148.             Has no effect other than a file that may not hold any or all data.
  1149.  
  1150.        Data Error (CRC)
  1151.        Seek Error
  1152.        Sector Not Found
  1153.  
  1154.             DISKED encountered a damaged sector.  The bad sector will still be
  1155.             selected although the sector buffer will contain the last read
  1156.             sector's data (or garbage).  Any command that was in progress will
  1157.             be stopped.
  1158.  
  1159.  
  1160.  
  1161.        DISKED                                                          page 26
  1162.  
  1163.  
  1164.                                      Appendix A
  1165.                                       Anomalies
  1166.  
  1167.        Anomalies are strange functionings that will require too complicated
  1168.        programming to adjust, or aspects of DOS that DISKED cannot overcome.
  1169.        The following is a list of such phenomena.
  1170.  
  1171.        fs           The string can contain null characters (a value of zero)
  1172.                     by a \0 embedded in the string.  If the first byte is a
  1173.                     \0, then the next call to 'f' cannot be repeated with just
  1174.                     a return.
  1175.  
  1176.                     The string to be searched for will not be found if it lies
  1177.                     across sector boundaries so keep search strings as small
  1178.                     as possible.  This may be changed if I see a need for it.
  1179.  
  1180.        sb|sf        In hex mode, an sb and an sf will still set to the BOOT
  1181.                     and the FAT.  Use a leading 0 to avoid this.
  1182.  
  1183.        Some non-DOS floppy disk formats will be able to be read if they are
  1184.        formatted for 512 byte sectors.  DISKED will read them properly but not
  1185.        be able to determine the correct number of sectors the disk has.  There
  1186.        are many shareware utilities to read and write non-DOS diskettes.  A
  1187.        future version of DISKED may provide a way to use non-DOS diskettes if
  1188.        the need arises.
  1189.  
  1190.  
  1191.  
  1192.        DISKED                                                          page 27
  1193.  
  1194.  
  1195.                                      Appendix B
  1196.                           Legal Stuff and License Agreement
  1197.  
  1198.        This text is a legal agreement between you, the licensee, and me, the
  1199.        program developer.  By using this program, you are agreeing to abide by
  1200.        the terms of this agreement.  If you do not agree with the terms of
  1201.        this agreement, promptly return the disk package (or erase it, or give
  1202.        it away, or do not use it).
  1203.  
  1204.        I grant to the licensee the non-exclusive right, without right to
  1205.        sublicense, to use this copy of DISKED software on any number of
  1206.        computers at any time, and to make as many copies of said software as
  1207.        seems fit, and to freely distribute said software so long as a fee is
  1208.        not taken for the program for any reason including but not limited to
  1209.                                    *
  1210.        media costs and copying time , with the exception of barter type goods
  1211.        including other shareware and public domain software.
  1212.  
  1213.        The software and accompanying documentation (magnetic or paper) are
  1214.        provided "As Is" without warranty of any kind, expressed or implied
  1215.        (although registered users will get free future versions and support).
  1216.        In no event shall the program developer be liable for any loss of
  1217.        profit or any other commercial damage, including but not limited to
  1218.        special, incidental, consequential or other damages.  In no event shall
  1219.        any other person offer a warranty of any kind, nor shall any other
  1220.        person offer support for the use software unless a fee, of any kind, is
  1221.        waivered.
  1222.  
  1223.        DISKED can be customized for anyone who requests it.  Please send bug
  1224.        reports, suggestions, criticisms, thoughts, to:
  1225.  
  1226.                                    Gregg Jennings
  1227.                                      PO BOX 200
  1228.                                Falmouth, MA 02541-0200
  1229.                                    (508) 540-9711
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.        _______________________________________________________________________
  1242.  
  1243.        *      If you are willing to share this program with others for the
  1244.               sole reason of being monetarily compensated, you have no right
  1245.               to be even using it, PERIOD.
  1246.  
  1247.  
  1248.  
  1249.        DISKED                                                          page 28
  1250.  
  1251.  
  1252.                                      Appendix C
  1253.                                   Programming Notes
  1254.  
  1255.        DISKED is NOT another utility CLONE.  It was first developed around
  1256.        1982; I have not tried to copy any other program; DISKED was for my own
  1257.        use exclusively.  I realize now that it may be useful to others.
  1258.  
  1259.        DISKED uses DOS for all disk reads and writes, for all drive parameter
  1260.        information, and for all console I/O.  DISKED does not perform any BIOS
  1261.        calls; only DOS interrupts are used with the purpose in mind that it
  1262.        should work under any standard DOS system (it has been tested on MS-
  1263.        DOS, PC-DOS, and Compaq-DOS).  Although this may not be the fastest or
  1264.        the neatest way for coding this kind of a program, it is the most
  1265.        reliable.
  1266.  
  1267.        The reason for displaying only the first 128 bytes of each sector is
  1268.        two fold.  First, the CP/M operating system had only 128 byte sectors
  1269.        and DISKED was developed on CP/M.  Secondly, the displaying of data 16
  1270.        bytes per line, in hex followed by ASCII is the display format that I
  1271.        first saw when I became involved in computers so long ago and the whole
  1272.        sector will not fit entirely on the screen in this format.  A DOS
  1273.        directory is also better displayed in this format for each file's entry
  1274.        is 32 bytes in length (which is not just a coincidence).
  1275.  
  1276.        If any user encounters anything that may be a bug, or any errors in the
  1277.        operation of DISKED, a written letter to the address found above will
  1278.        be appreciated.  If DISKED was found on a BBS, a message left there
  1279.        will be appreciated as well.
  1280.  
  1281.        DISKED was first conceived and developed on what is called an S-100 bus
  1282.        computer using the CP/M operating system as a very basic sector
  1283.        oriented diskette editor for used for getting back a file's data after
  1284.        it's directory entry had been somehow lost (something that happened
  1285.        fairly often in those early days), and the file could not be "un-
  1286.        erased" (and since DOS was modeled after CP/M, this still holds true).
  1287.  
  1288.        Special thanks must be given to someone by the name of Ward
  1289.        Christensen, whose CP/M program called DU, for Disk Utility, gave me
  1290.        the basics of low level diskette I/O to relate to.  DU was (and still
  1291.        is if anyone has a CP/M machine) a neat utility for reading, modifying
  1292.        and writing diskette sectors.  It lacked, however, a way of saving
  1293.        diskette sectors to a file.
  1294.  
  1295.        DISKED is growing almost daily; new features are being added on the fly
  1296.        for I am constantly finding more uses for it.  If you are seriously
  1297.        using this program, your thoughts and criticisms will be listened to at
  1298.        this time -- I will seriously consider additions and changes.
  1299.  
  1300.  
  1301.  
  1302.        DISKED                                                          page 29
  1303.  
  1304.  
  1305.                                      Appendix D
  1306.                                    Other Utilities
  1307.  
  1308.        List of recommended commercial utilities.  There are not many, but I
  1309.        will update the list as I gather more information.  If anyone has there
  1310.        own useful utilities a note sent to me will be appreciated.
  1311.  
  1312.  
  1313.        Copy II Pc (R) Deluxe Option Board by Central Point Software.
  1314.  
  1315.        This is an add-in board for PC-XT's which is meant for Apple, Amiga and
  1316.        Atari floppy conversions as well as copy protected backups.  It comes
  1317.        with a really cool floppy disk editor of an unprecedented level -- it
  1318.        lets one view and edit stuff like the Gap and Sync bytes, Sector IDs,
  1319.        and all of the "real" data on the disk.  It also explains what all that
  1320.        stuff is.  I have used it to successfully copy physically damaged
  1321.        diskettes.  I forget the price but it was worth it.
  1322.  
  1323.  
  1324.        Spinrite by Gibson Research
  1325.  
  1326.        Spinrite will actually repair bad sectors on a hard drive.  I do not
  1327.        know how they can do this I swear it works.  It can take a long time --
  1328.        5-10 hours -- but can be interrupted and started ^LPage 2 again later
  1329.        where it left off.
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.                                       Contents
  1337.                WHAT DISKED IS  . . . . . . . . . . . . . . . . . . . .  2
  1338.                WHAT DISKED IS NOT  . . . . . . . . . . . . . . . . . .  2
  1339.                REQUIREMENTS  . . . . . . . . . . . . . . . . . . . . .  2
  1340.                TUTORIAL  . . . . . . . . . . . . . . . . . . . . . . .  3
  1341.                1  Using DISKED . . . . . . . . . . . . . . . . . . . .  4
  1342.                    1.1  Documentation Notes  . . . . . . . . . . . . .  4
  1343.                    1.1.1  Command Input Conventions  . . . . . . . . .  4
  1344.                    1.1.2  Keyboard Input . . . . . . . . . . . . . . .  5
  1345.                2  Commands . . . . . . . . . . . . . . . . . . . . . .  6
  1346.                    2.1  Drives . . . . . . . . . . . . . . . . . . . .  6
  1347.                    2.2  Moving . . . . . . . . . . . . . . . . . . . .  6
  1348.                    2.3  Editing  . . . . . . . . . . . . . . . . . . .  7
  1349.                    2.4  Copying  . . . . . . . . . . . . . . . . . . .  9
  1350.                    2.5  Storing  . . . . . . . . . . . . . . . . . . . 10
  1351.                    2.6  Files  . . . . . . . . . . . . . . . . . . . . 10
  1352.                    2.7  Displaying . . . . . . . . . . . . . . . . . . 11
  1353.                    2.8  Searching  . . . . . . . . . . . . . . . . . . 11
  1354.                    2.9  Exiting  . . . . . . . . . . . . . . . . . . . 12
  1355.                    2.10  Miscellaneous . . . . . . . . . . . . . . . . 12
  1356.                3  DISKED Initialization  . . . . . . . . . . . . . . . 14
  1357.                    3.1  DISKED Keywords  . . . . . . . . . . . . . . . 14
  1358.                    3.2  Changing DISKED Parameters . . . . . . . . . . 15
  1359.                    3.2.1  Outside DISKED . . . . . . . . . . . . . . . 15
  1360.                    3.2.2  Inside DISKED  . . . . . . . . . . . . . . . 15
  1361.                4  Hints on Usage . . . . . . . . . . . . . . . . . . . 16
  1362.                    4.1  Bad Sectors  . . . . . . . . . . . . . . . . . 16
  1363.                    4.1.1  Damage . . . . . . . . . . . . . . . . . . . 16
  1364.                    4.1.2  Corruption . . . . . . . . . . . . . . . . . 16
  1365.                    4.2  Recovering Files . . . . . . . . . . . . . . . 18
  1366.                    4.2.1  Text Files . . . . . . . . . . . . . . . . . 18
  1367.                    4.2.2  Executable Files . . . . . . . . . . . . . . 18
  1368.                    4.3  Other Uses . . . . . . . . . . . . . . . . . . 19
  1369.                5  An Example of Usage  . . . . . . . . . . . . . . . . 20
  1370.                6  Command Summary  . . . . . . . . . . . . . . . . . . 21
  1371.                    6.1  Movement . . . . . . . . . . . . . . . . . . . 21
  1372.                    6.2  Get  . . . . . . . . . . . . . . . . . . . . . 21
  1373.                    6.3  Unget  . . . . . . . . . . . . . . . . . . . . 21
  1374.                    6.4  Log  . . . . . . . . . . . . . . . . . . . . . 21
  1375.                    6.5  Search . . . . . . . . . . . . . . . . . . . . 21
  1376.                    6.6  Display  . . . . . . . . . . . . . . . . . . . 22
  1377.                    6.7  Change . . . . . . . . . . . . . . . . . . . . 22
  1378.                    6.8  Files  . . . . . . . . . . . . . . . . . . . . 22
  1379.                    6.9  Miscellaneous  . . . . . . . . . . . . . . . . 22
  1380.                7  Error Messages . . . . . . . . . . . . . . . . . . . 24
  1381.  
  1382.             Appendix A  Anomalies                                      26
  1383.  
  1384.             Appendix B  Legal Stuff and License Agreement              27
  1385.  
  1386.             Appendix C  Programming Notes                              28
  1387.  
  1388.                                           i
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.             Appendix D  Other Utilities                                29
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.                                          ii
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.                                        Tables
  1455.             Table 2.1: Change Formats  . . . . . . . . . . . . . . . . .8
  1456.             Table 2.2: Directory Change  . . . . . . . . . . . . . . . .8
  1457.             Table 2.3: Find Control Charcters  . . . . . . . . . . . . 12
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.                                          iii
  1507.  
  1508.