home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / utility / archiver / unar241c / unarj.txt < prev    next >
Text File  |  1993-09-04  |  20KB  |  357 lines

  1. M()ir Brandts Honk BBS (+31-70-3457929 / +31-70-3461215) is very proud to
  2. present:
  3.  
  4.         UNARJ-ST 2.41α (rev. I_A/Ni! 1.01α: created @ Aug 31 1993 2:51:42)
  5.                ARJ (c) Copyright 1991-1993 Robert K. Jung
  6.  
  7. Usage:  UNARJ241.TTP <command> [{/|-}<switch>[-|+|<option>]...] 
  8.                      <archive_name>[.ARJ] [<base_directory_name>][<wild_name>] 
  9.                      [<path_name>|<wild_name>...]
  10.  
  11. Example UNARJ241.TTP commands:
  12.   Extract files from archive:                     e archive
  13.   Extract maintaining directory structure:        x archive
  14.   Extract new and newer files without query:      e archive -u -y
  15.   Extract all files (overwrite; no query!):       x -y archive
  16.   Extract subdirectory from archive:              e archive subdir\*.* -p1
  17.   List files in archive:                          l archive
  18.   Test integrity of files in archive:             t archive
  19.   Extract from a multiple volume archive with
  20.   pause for FIRST archive *and* any subsequently
  21.   loaded volume to enable disk-exchange! ->       x -~k a:\archive
  22.   Show extended help and pause per 10 lines:      -? -jp10
  23.   
  24. Detailed info of all supported options:
  25.  
  26. Command list:
  27.  
  28. <+       >: May only be used in environment variable or configuration file 
  29.             loaded by environment variable. See manual for more info.
  30. <e       >: Extract files from an archive.
  31. <l       >: List contents of archive.
  32. <t       >: Test integrity of an archive.
  33. <v       >: Verbose listing of contents of an archive.
  34. <x       >: Extract files from an archive with full pathname.
  35.  
  36. Option list:
  37.  
  38. <-?      >: Display complete help.
  39. <-#      >: Select files by number. Instead of specifying filenames and dirs 
  40.             you specify their numbers as listed by the 'VIEW' <v> command. 
  41.             Remember that every archive restarts with filenumber 1: this also 
  42.             applies to multiple volumes so take care depacking file-number [1] 
  43.             with those!
  44.             Example:
  45.                 t -# -ay .\ 22-24 5 16-98 35
  46.                                     As you see, ranges can be spacified as 
  47.                                     [number]-[number]. Also you may specify 
  48.                                     overlapping ranges and single-file numbers:
  49.                                     UNARJ241.TTP recognizes these overlaps!
  50.             NOTE: INDEED, you see correctly: we have included 'selective 
  51.             file-testing' with this version! (This is ARJ-compatible 
  52.             behaviour...)
  53. <-$      >: Add/Extract volume-label to specified drive. 
  54.             Example:
  55.             -$A:                    extracts volume label to drive A:
  56.             -$                      extracts vol.labels to current drive.
  57. <-&      >: Set critical error handler to use the internal NON-INTERACTIVE 
  58.             variant. This option may be used when using this tool from an 
  59.             'unwatched' batch- or script-file (you don't like to press any key 
  60.             in case of error...) or when you experience problems with 
  61.             redirection on some (older) TOS-versions. <-&-> switches to the 
  62.             interactive variant whihc is default.
  63. <-+      >: Inhibits ARJ_SW environment variable usage. If specified with a 
  64.             parameter, this parameter is used as the new env.var.name for this 
  65.             session's settings. 
  66.             Example:
  67.             -+ARJCFG *.ARJ          will reload the environment from env.var. 
  68.                                     'ARJCFG' after which the commandline will 
  69.                                     be parsed again.
  70.             Precautions against infinite loop have been taken: the user will be
  71.             warned if an infinite loop occurs...
  72. <-a      >: Allow any file attribute. (Default unless <-~arj> switch ON)
  73. <-a1     >: All file-attribs. are accepted. Empty directories are handled too.
  74. <-b3     >: Do not restore Archive-bits. Files are written with Archive-bit 
  75.             reset.
  76. <-c      >: Skip time-stamp check when updating files.
  77. <-e      >: Exclude paths from filenames. 
  78.             Example:
  79.             x -e GDA c:\depacked\   extracts all files in GDA.ARJ to 
  80.                                     'c:\depacked\' without adding any 
  81.                                     subdirectories.
  82. <-f      >: Freshen existing files. Only files that exist at the target are 
  83.             done.
  84. <-i      >: Show no progress indicator. (No point/bar/cycler/percentage)
  85.             Default-setting of UNARJ241.TTP is to show a progress-indicator 
  86.             (point) and increment in 64KByte steps...
  87. <-i1     >: Show bar graph progress indicator.
  88. <-i2     >: Show cycler progress indicator. (*)
  89. <-n      >: Do only new files which don't exist at the target.
  90. <-o      >: Do only those files which' time-stamp is ON or AFTER date 
  91.             specified. 
  92.             Example:
  93.             -o                      today, 0:00 am
  94.             -oYYMMDD                specified day, 0:00 am: specified time...
  95.             -oYYMMDDHHMMSS          both date and time specified by user.
  96. <-ob     >: Do only those files which' time-stamp is BEFORE date specified. 
  97.             Example:
  98.             -ob                     today, 0:00 am
  99.             -obYYMMDD               specified day, 0:00 am
  100.             -obYYMMDDHHMMSS         day, time specified.
  101. <-od     >: Do only those files which' time-stamp is NOT OLDER than N days. 
  102.             Example:
  103.             -od                     today
  104.             -od25                   not older than 25 days.
  105. <-p      >: Match using full pathnames.
  106. <-p1     >: Match path and it's subdirectories.
  107. <-q      >: Query on each file.
  108. <-r      >: Recursive search & match. Search: ARJ-files are searched for in 
  109.             subdirectories too.  Match: all target-files inside subdirectories 
  110.             are matched too. (You might use <-~sr> to enable/disable ARJ-file 
  111.             recursive search.
  112. <-u      >: Update target files. The target file's time-stamp is used unless 
  113.             <-o> flags are specified.
  114. <-v      >: Enable multiple volumes. (Default unless <-~arj> flag switched ON)
  115. <-y      >: Assume YES on all queries except the prompt for 'next volume' when 
  116.             ARJ-files are written to/read from a removable media.
  117. <--      >: Stop parsing of options. (This option might be necessary if 
  118.             filenames or paths are specified which start with '-'.
  119.  
  120. -h Shifted Options list:
  121.  
  122. <-ha     >: Ignore Readonly-attribute of target-file(s). When extracting these 
  123.             files are overwritten.
  124.  
  125. -j Shifted Options list:
  126.  
  127. <-ja1    >: Disable display of archive-banners & file-comments. Use <-~nb> or 
  128.             <-~nc> options if you want to disable only one of the above.
  129. <-jc     >: Exit after a specified filecount. 
  130.             Example:
  131.             x -jc50                 stops depacking and exits UNARJ241.TTP 
  132.                                     extracting 50 files successfully.
  133. <-jd     >: Ensure a specified amount of free disk space when extracting. 
  134.             Example:
  135.             x -jd2M *.ARJ           skips all files which would cause the free 
  136.                                     disk space to be less than 2 MegaByte. ('K'
  137.                                     (KiloByte), 'M' (MegaByte) and 'B' (Byte) 
  138.                                     size-modifiers are recognized.)
  139. <-jf     >: Store & Use full pathname including drive & root-specifiers.
  140. <-jf1    >: Store & Use full path except drive specifier.
  141. <-jg     >: Select 'Backup Type' files.
  142. <-jg1    >: Select 'Backup Type' files exclusively. 
  143.             Example:
  144.             x -jg1 *.ARJ *.H        will extract all files matching *.H in 
  145.                                     ARJ-archives only if those files have their
  146.                                     'Backup Type' flag switched on.
  147. <-jl     >: Display only filespec. when viewing archive contents.
  148. <-jo     >: Extract to unique filenames if target exists. Unique filenames are 
  149.             build by appending a file-extension in the range 000-999.
  150. <-jp     >: Pause after each screen full of data. 
  151.             Example:
  152.             -? -jp                  will list a complete usage overview of 
  153.                                     UNARJ241.TTP with the page-length set to a 
  154.                                     default [20 lines].
  155.             -? -jp50                will use a page-length of 50 lines.
  156. <-jr     >: Recover broken archive files. (This option must be used if an 
  157.             archive reports bad files/CRC errors/etc. when 
  158.             extracting/testing/viewing. If this flag is not specified, 
  159.             UNARJ241.TTP will exit on such errors and delete the targetfile 
  160.             when extracting. If <-jr> or <-jr1> is specified, all targetfiles 
  161.             are NOT deleted when an error (CRC/depack err.) occurs. Severe 
  162.             errors may cause some extra warnings while this program searches 
  163.             for the next valid file.
  164. <-jr1    >: This is an extension of the <-jr> switch and is only applicable if 
  165.             you suspect archives to be *badly* damaged. This switch will cause 
  166.             the extractor to continue if an EndOfArchive mark is found, thus 
  167.             causing 'broken archive' messages, even for correct archives. These
  168.             warnings are only informative and don't change the behaviour of 
  169.             this program.
  170. <-jy     >: Suppress queries assuming YES. See below for a list of <-jy> switch
  171.             extensions when you want a more detailed control over UNARJ241.TTP'
  172.             queries.
  173.  
  174. -jy Shifted Options list:
  175.  
  176. <-jyc    >: Skip 'Create Directory' query.
  177. <-jyn    >: Skip 'New Filename' query when not overwriting files.
  178. <-jyo    >: Skip 'Overwrite File' query.
  179. <-jyr    >: Erase all type-ahead before any query.
  180. <-jyv    >: Skip 'Proceed With Next Volume' query.
  181. <-jyy    >: Accept single character user input on Y/N/Q/A questions. (If 
  182.             disabled all queries must be terminated by pressing 
  183.             [Return]/[Enter].)
  184.  
  185. -~ Shifted Options list:
  186.  
  187. <-~&     >: Don't use the internal critical error handlers but leave it to the 
  188.             O.S.! This option might be needed when you experience problems 
  189.             using TOS 1.0 (first try the <-&> option though!) or MinT/MultiTOS.
  190.             However be warned that IF you disable the internal critical error 
  191.             handler you get Dialog Boxes (!!!) when running this TTP when in 
  192.             TOS 1.0-1.4 due to the well-known bug in TOS. (sigh!) So use with 
  193.             CAUTION!
  194. <-~ac    >: Assume command. Use the specified command if the user does invoke 
  195.             UNARJ241.TTP without specifying any specifc command. (This option 
  196.             is designed to be used in your ARJ_SW environment setup!) 
  197.             Example:
  198.             {environment}[+ -jy+ -~acx]
  199.             *.ARJ F:\WORK\*.*       will assume 'extract' (command <x>), thus 
  200.                                     extracting all specified ARJ archives to 
  201.                                     the basedir 'F:\WORK\'.
  202.             If this switch is used at the commandline, it is ignored!
  203.             IMPORTANT NOTE: If you don't specify any command anywhere, 
  204.                             UNARJ241.TTP will assume 'x' (EXTRACT) as the 
  205.                             default, unless you switched on <-~arj> 
  206.                             compatibility mode, in which case you will get an 
  207.                             'Unspecified Command' error...
  208. <-~arj   >: Switch to R. Jung's ARJ.EXE behaviour as much as possible. This 
  209.             causes a *lot* of queries to be enabled. This switch causes 
  210.             automatic multiple volume support to be disabled and also disables 
  211.             extracting files with  ReadOnly/Hidden/System attributes set & 
  212.             creation of empty directories.
  213. <-~b     >: IRA support. Specify attack-count as decimal number. 
  214.             Example:
  215.             -~b1                    will cause a single attack ;-))
  216. <-~ia    >: Ignore any file attributes (ReadOnly/Hidden/System). These 
  217.             attributes will be masked OFF when extracting.
  218. <-~k     >: Wait for keypress before loading first archive and before loading 
  219.             ANY multiple volumes (.A01, .A02, etc.). This option is introduced 
  220.             by (I_A) for diskette-users to enable them to have UNARJ241.TTP on 
  221.             one disk and the archives spread accross other diskettes while 
  222.             enabling the user to depack these archives without too much of a 
  223.             hassle.
  224. <-~lw    >: Use specified line-width when printing data to screen. (Default = 
  225.             80 characters) This option can be used to allow for wider display 
  226.             in Overscan(tm) mode or when using extended screen drivers (soft & 
  227.             hardware)
  228. <-~nb    >: Don't show banners.
  229. <-~nc    >: Don't show file-comments.
  230. <-~ns    >: Don't do VERY strict targetfile checking when extracting multiple 
  231.             volumes. If files packed by ARJ.EXE from Robert K. Jung are done in
  232.             'text mode' and multiple volumes are selected, it can happen that 
  233.             ARJ.EXE re-archived part of a file when crossing a volume limit and
  234.             switching to binary mode.
  235.             Without this switch enabled UNARJ241.TTP will issue a warning about
  236.             'oversized target'. Use this switch to enable ARJ.EXE compatible 
  237.             bahaviour here. (Other multiple volume related warnings are still 
  238.             issued!)
  239. <-~pe    >: Pause before exiting UNARJ241.TTP. Switch useful when your 
  240.             shell/desktop clears the screen immidiately after running any 
  241.             TTP/TOS program like this one. (Default enabled, switched off when 
  242.             using <-~arj> ARJ compatibility mode switch.)
  243. <-~rm    >: Specify removables. Only useful when you have removable media as 
  244.             device C: or higher and you want to switch media while using 
  245.             UNARJ241.TTP. (<-~k> switch required too then!) 
  246.             Example:
  247.             x -~k -~rmce-hnp        lists C: E: F: G: H: N: P: as removable 
  248.                                     drives. (Multiple lists of the form 
  249.                                     <driveletter>-<driveletter> are allowed.)
  250.             '-~rm' without any parameter assumes all existing devices in the 
  251.             range C: - Z: ...
  252. <-~sr    >: Search for ARJ archives recursively. (Look in subdirectories too!)
  253.             Example:
  254.             x -r -~sr- *.ARJ *.TXT  extracts any .TXT file in any ARJ archive 
  255.                                     in the current directory. Searching for ARJ
  256.                                     archives is however limited to the current 
  257.                                     directory by disabling <-r> on this matter 
  258.                                     by using '-~sr-'.
  259. <-~v     >: Set verbose level. (Default = 2)
  260. <-~v0    >: Set 'no' verbose. Any screen-output is discarded.
  261. <-~v1    >: Set 'little' verbose. Most screen-output is discarded.
  262. <-~v2    >: Set 'normal' verbose level. (Default)
  263. <-~v3    >: Set 'extreme' verbose. Extra warnings/advice is added.
  264. <-~xd    >: Search for ARJ archives accross drives. Switches on recursive 
  265.             search too! Drive-specification as with the <-~rm> option:
  266.             x -~xdc-ehj-l *.ARJ     lists C: D: E: H: J: K: L: as drives to be 
  267.                                     scanned for *.ARJ archives. (Multiple lists
  268.                                     of the form <driveletter>-<driveletter> are
  269.                                     allowed.)
  270.             '-~xd' without any parameter assumes all existing devices in the 
  271.             range C: - Z: ...
  272.  
  273. All options may be followed by '-' to DISABLE them or '+' (default action) to 
  274. ENABLE them.
  275. Options may be preceeded by '-' or '/' as switch-token, but they may not be 
  276. mixed on the commandline.
  277. UNARJ241.TTP fully supports the ARJ_SW environment variable, which may specify 
  278. any list of default options OR a filename, which contains those options, listed
  279. per command or as global default. Read the UNARJ241.TTP manual for more 
  280. detailed information.
  281.  
  282. Redirection of screen output
  283.  
  284.         Redirection has allways been a bit problematic on ST/e/TT series 
  285.         (unless you're one of those folks running Mint and CLI shells) so 
  286.         UNARJ241.TTP got it's own redirection code aboard for all those 
  287.         machines that don't have redirection support build-in. (Indeed, MinT 
  288.         and others will override UNARJ241.TTP' redirection method!) There are 4
  289.         redirection styles available:
  290.         
  291.                 > file        Redirect all normal screenoutput to file <file>.
  292.                 >file         Same as above.
  293.                 >> file       Redirect all normal output to <file>. If <file> 
  294.                               allready EXISTS new data is APPENDED!
  295.                 >>file        Same as above.
  296.                 >& file       Redirect all screenoutput to <file>. All ERROR & 
  297.                               WARNING messages are redirected to this file too!
  298.                 >&file        Same as above.
  299.                 >>& file      Same as '>& file' but if <file> allready EXISTS 
  300.                               new data is APPENDED!
  301.                 >>&file       Same as above.
  302.  
  303.         Example:
  304.                 UNARJ241.TTP l -~rs+ k:\*.ARJ >& c:\arjlist
  305.                               will redirect all ouput, including headers and 
  306.                               all, to file 'c:\arjlist'. The result will be a 
  307.                               file containing a complete overview of the 
  308.                               contents of every .ARJ file found on drive K: !
  309.         Example:
  310.                 UNARJ241.TTP -? > arj_man.txt
  311.                               will redirect this description to the file 
  312.                               'arj_man.txt' in the current directory.
  313.  
  314. Wildcards
  315.  
  316.         Wildcards are only allowed in filenames. Wildcards recognized as such 
  317.         by UNARJ241.TTP are '*' (zero or more arbritrary characters) and '?' 
  318.         (one arbitrary character). Please note that '*' does not 'cross' the 
  319.         '.' in filenames, so you will need to specify '*.*' to match anything 
  320.         with OR WITHOUT any extension.
  321.         The enhancement compared to other programs is the capability to accept 
  322.         multiple wildcards to match 'midstring' parts like:
  323.         
  324.                 *ar?*.lst           which will match:
  325.                                     'arj.lst', 'unarj.lst', 'larc.lst', [etc.]
  326.                                     but NOT
  327.                                     'ar.lst' or 'tar.lst'
  328.                                     
  329. Arguments
  330.  
  331.         Arguments can be concatenated like this:
  332.                 x -auyv+
  333.         You can mix normal options with <-h..> , <-j..>, <-jy..> and <-~..> 
  334.         'shifted' options like this (Remember: -h, -j, -jy, -~ are TOGGLES: 
  335.         they toggle between their own list of shifted switches and normal 
  336.         switches: this is NOT 100% ARJ compatible behaviour!!!)
  337.                 x -aujyoyjyvhajr1jod3  ...
  338.         which is equivalent of:
  339.                 x -a -u -jyo -jyy -v -ha -jr1 -od3 ...
  340.         You see: shift symbols ('-h', '-~', etc.) cannot be 'stacked'!
  341.         
  342. Defaults
  343.  
  344.         If no command is specified by the user and no <-~ac> switch is found in
  345.         your ARJ_SW environment, EXTRACTING will be used as the default in 
  346.         order to behave like LHA for ST/e/etc. (Unless you switched on ARJ 
  347.         compatibility mode using <-~arj> somewhere in your environment!)
  348.  
  349.  
  350.  
  351. With special thanx to the TOS-crew (Insh_Allah & Mr Ni!(the Great))
  352. Thank you for using the ATARI ST-version of UNARJ 2.41α (rev. I_A/Ni! 1.01α) 
  353. converted by M()ir Brandts Honk/Insh_Allah/Mr Ni!(the Great) (created @ Aug 31 
  354. 1993 2:51:42).
  355. For more info call MBH @ +31-70-3457929 / +31-70-3461215
  356. (Time used: 00:00.10.00)
  357.