home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / fileutil / cf.arj / CF.HLP < prev    next >
Encoding:
Text File  |  1991-02-18  |  7.5 KB  |  177 lines

  1.  
  2. CF VERSION 0.9X
  3.  
  4. KEYS:
  5.  
  6.            F1 = View small help      SHIFT-F1 = View large help
  7.            F2 = NC menu
  8.            F3 = Toggle size mode     SHIFT-F3 = Toggle date mode
  9.            F4 = Toggle cursor lock
  10.          F5,? = Information page
  11.            F6 = Create list file     SHIFT-F6 = Create sorted list
  12.            F7 = Create 'batch' file
  13.            F9 = XTGOLD menu
  14.           F10 = Change sort order    SHIFT-F10 = Re-load config file
  15.  
  16.                         SPACE = View duplicates
  17.                        RETURN = Execute NC extension file entry
  18.  
  19.          Q,q,Alt-Q,Ctrl-Q,ESC = Clear the screen and exit to DOS
  20.                     X,x,Alt-X = Exit to DOS (no clear screen)
  21.  
  22.   Home,C-PgUp = First page               PgUp = Page up
  23.   End,C-PgDwn = Last page               PgDwn = Page down
  24.         CsrUp = Previous line          CsrDwn = Next line
  25.       CsrLeft = File left            CsrRight = File right
  26.     C-CsrLeft = Sel mode left      C-CsrRight = Sel mode right
  27.  
  28.           V,v = View file                 E,e = Edit file
  29.           O,o = Execute XTGOLD batch file
  30.  
  31.         Alt-V = Auto-view mode          Alt-E = Auto-edit mode
  32.         Alt-O = Auto-batch mode
  33.  
  34.           T,t = Tag file                  U,u = Untag file
  35.     Space,N,n = Invert file tag        Ctrl-T = Tag all in set
  36.        Ctrl-U = Untag all in set       Ctrl-N = Invert all in set
  37.         Alt-T = Tag all files           Alt-U = Untag all files
  38.         Alt-N = Invert all files
  39.  
  40. PARAMETERS:
  41.  
  42.         -SE   Sort file records by extension
  43.         -SL   Sort CF readable output by location (sets -TB)
  44.  
  45.         -TD   Toggle date display mode
  46.         -TS   Toggle sizes display mode
  47.         -TC   Toggle cursor lock mode
  48.         -TO   Toggle use of mono 'colours'
  49.         -TK   Toggle buffering of keys
  50.         -TB   Toggle batch mode (set by -SL)
  51.  
  52.         -IL   Ignore locations (don't store them)
  53.         -IM   Ignore EMS (don't use it)
  54.         -IX   Ignore XMS (don't use it)
  55.         -ID   Ignore date field when high-lighting files
  56.         -IT   Ignore time field when high-lighting files
  57.         -IS   Ignore size field when high-lighting files
  58.         -IE   Ignore extensions when sorting file records
  59.         -IU   Ignore duplicate details (don't store them)
  60.  
  61.         -C    Read file contents rather than storing its details
  62.         -P    Pause until key-press (use before logging diskettes)
  63.         -D    Descend any sub-directories encountered
  64.         -W    Switch day and month order while processing next source
  65.  
  66.         -F<pattern> = File name patterns, separated by a semi-colon
  67.         -Y<filename>= Change location of temporary file
  68.         -M<letter>  = Switch selection mode (<letter> = ASDUONLHT; if letter is
  69.                                              'T', then set number can follow)
  70.         -V<mode>    = Flip to specified (decimal) video mode and back afterwards
  71.         +           = Append files to last file set
  72.  
  73.         {<number>   = Loop start <number> times loop
  74.         }           = End-of-loop indicator
  75.  
  76. ENVIRONMENT VARIABLES:
  77.  
  78.         (a)   CFTEMPNAME - This holds the name of the temporary file to be used
  79.               by CF when carrying out certain operations.  Note that this string
  80.               will be over-ridden by any '-Y' command that is encountered.
  81.  
  82.         (b)   CFCFGNAME - Holds the name of the config file.  If it does not
  83.               exist, then a file of the name CF.INI will be sought in the
  84.               directory from where CF was started.
  85.  
  86.         (c)   CFXTGOLDDIR - Tells CF in which directory to look for XTGOLD files
  87.               that it wishes to access.
  88.  
  89.         (d)   CFNCDIR - Specifies which directory should be searched for Norton
  90.               Commander files.  If this environment variable doesn't exist, then
  91.               CF will use the standard NC variable, "NC".
  92.  
  93. CONFIG:
  94.  
  95.         (a)   PROGARCH <match> <progname> <beforeparams> <afterparams>
  96.               PROGVIEW <match> <progname> <beforeparams> <afterparams>
  97.               PROGEDIT <match> <progname> <beforeparams> <afterparams>
  98.  
  99.         (b)   PARAMETER <parameter>
  100.  
  101.         (c)   VARIABLE <environment-variable-name> <value>
  102.  
  103.         (d)   RECOGNISE <file-extension-with-dot>
  104.  
  105. NOTES:
  106.  
  107.         (a)   The -SL option automatically sets the -TB option
  108.  
  109.         (b)   CF can only access .ARC and .ZIP files to extract a list file or
  110.               edit and view text files, if you have a relevant program on your
  111.               search path.
  112.  
  113.         (c)   Certain parameters can be concatenated together.  Any from one
  114.               'class' can be grouped.  For example, if you want to ignore file
  115.               extensions and sizes, use '-IES' instead of '-IE -IS'.
  116.  
  117.         (d)   If you use a drive letter on its own (say, 'C:'), this is
  118.               processed as if you'd specified a recursive descent of the
  119.               corresponding root directory.  (In the previous example, it would
  120.               act as if you had used '-D C:\'.)
  121.  
  122.         (e)   The emulation of the NC extension file system is not complete.
  123.               However, it seems to work most of the time.  CF actually converts
  124.               the special "!" entries, in the NC extension file, into XTGOLD "%"
  125.               equivalents.  Also, the NC menu is handled by reading the NC menu
  126.               file and creating a (temporary) XTGOLD menu file, so the XTGOLD
  127.               limits (number of entries and number of lines per entry) also
  128.               apply to NC menus displayed via CF.
  129.  
  130.         (f)   If the NC menu or extension files are editted from within CF, the
  131.               changes take effect straight away.  I believe that this is NOT the
  132.               case with Norton Commander itself, where it only appears to read
  133.               these files at start-up.
  134.  
  135.         (g)   Environment varibles defined by using "VARIABLE" lines in the
  136.               config file OVERRIDE the real MS-DOS environment defintions since
  137.               CF searches the config file contents before looking in the MS-DOS
  138.               environment.
  139.  
  140.         (h)   Graphics video modes, specified using the -V parameter, will NOT
  141.               work because of the window libraries used by CF.
  142.  
  143. EXAMPLES:
  144.  
  145.         (a)   CF C: + D: + E: + F: -SE
  146.  
  147.               This will log all files on all drives (on my machine) into one
  148.               file set.  The files will be in extension order.  Note that there
  149.               will only be ONE file set.
  150.  
  151.         (b)   CF C: D: E: F: -MT2
  152.  
  153.               This will log all the files, as above, but the files on each drive
  154.               will be in a separate file set.  The files will be sorted by file
  155.               NAME rather than file extension.  At start-up, the mode will be
  156.               such that all the files in file set two (that is, those of drive
  157.               D:) will be shown.
  158.  
  159.         (c)   CF {3 -P A: }
  160.  
  161.               This will compare the files from three different diskettes.  CF
  162.               will pause before each diskette is logged.
  163.  
  164.         (d)   CF -F*.DEF;*.MOD -D -C \*.ZIP
  165.  
  166.               Using an external program, examine the contents of all .ZIP files
  167.               on the default drive, but, from these .ZIP files, only log .DEF
  168.               and .MOD files.
  169.  
  170.         (d)   CF -F*A.* C:
  171.  
  172.               Find all files, on drive C:, where the "root" of the file name
  173.               ends with an "A".  Note that if you try this in a normal MS-DOS
  174.               command, you'll get ALL files - the -F parameter uses a much
  175.               better string matching algorithm.
  176.  
  177.