home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / FILE / LTARV1.ZIP / AAREADME.1ST next >
Encoding:
Text File  |  1991-11-26  |  3.0 KB  |  86 lines

  1.  
  2.  
  3.         LTAR ( long TAR )
  4.  
  5.     (1) view - no difference from UNIX's style.
  6.  
  7.     C> ltar tvf yourTar.tar            ! detail list form
  8.     C> ltar tf yourTar.tar            ! brief list form
  9.  
  10.     (2) extract - provides special filename converting method.
  11.  
  12.     C> ltar xf yourTar.tar g yourTar.map
  13.        g is a new option and tell LTAR to create a filename mapping file
  14.        between your original UNIX's files and DOS's extracted file. 
  15.     C> ltar xtf yourTar.tar g yourTar.map
  16.        same as above but with brief messages.
  17.     C> ltar xvf yourTar.tar g yourTar.map
  18.        samw as above but with a detail messages.
  19.  
  20.     N.B. you can type mapping file since it is just a text file.
  21.  
  22.     (3) to solve the problem of filename converting.
  23.  
  24.     Let's suppose you have a TAR file to extract but a file in it:
  25. This.is.a.very/long.UNIX.filename/and.How.can.I/solve.such.long.file/Huh
  26.     As we know, DOS only accept 62 chars in its full path, and I convert
  27.     such name via a special mapping to avoid identical name:
  28. Thisisav.XXX/longUNIX.XXX/andHowca.XXX/solvesuc.XXX/Huh.XXX
  29.  
  30.     N.B. where XXX are 3 hexidecimal digits. (type your mapfile)
  31.  
  32.     as you see, I extracted 8 letters in each segment of path but it still
  33.     had 'FILENAME TO LONG' problem. How can I do?
  34.  
  35.     Try this:
  36.     C> ltar xtf yourTar.tar g yourTar.map 1  <- note here!!!
  37.     That's it. To modify the length of path-converting, it now is:
  38. T.XXX/l.XXX/a.XXX/s.XXX/Huh.XXX
  39.     I don't want filename to be truncated, so Huh is still
  40.     Huh.XXX.
  41.  
  42.     (4) compatible with UNIX filelink.
  43.  
  44.     UNIX support filelink (see UNIX manual). I only copy the target filename
  45.     as the content of the linked file, you can type the file content to
  46.     know how I accomplish this.
  47.  
  48.     (5) f and g option are all support DOS full file path & name.
  49.  
  50. That's all for LTAR.
  51.  
  52.  
  53.  
  54.         TARV (TAR viewer)
  55.  
  56.     (1) view.
  57.     Suppose your TAR file is extracted under the directory: C:\mytar. 
  58.     and your mapping file is C:\tarmap\mytar.map, and you want to view
  59.     files by EDIT (DOS 5's editor).
  60.  
  61.     C>tarv c:\tarmap\mytar.map c:\mytar edit
  62.  
  63.     Then you can see a shell-like interface, use number-keypad to scroll
  64.     the table, use Enter to apply the target file to the command EDIT,
  65.     or course you can reenter the DOS command you like, such as TYPE,
  66.     DIR, etc. I only apply the command in the following format: 
  67.  
  68.     YourDOSCommand TargetFile (for instance: EDIT Target.XXX)
  69.  
  70. That's all for TARV.
  71.  
  72. These files are freely to copy, distribute, or embed in your application,
  73. you can also study TAR's format...
  74.  
  75. Regards,
  76. Anthony Li
  77.  
  78. <<<<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>>>
  79. >>> Anthony Li <Li3, Shih4 Hao2><Li:fruit's Name><Shih:Scholar><Hao:Hero>   <<<
  80. <<< Institute of CSEE, National Central Univ, Chungli, Taoyuan, Taiwan, ROC >>>
  81. <<< Bitnet:    U230700@twncu865.bitnet                        <<<
  82. >>> Internet:    U230700@ncu865.ncu.edu.tw cs805023@ncuee.ncu.edu.tw        >>>
  83. <<<        oper2@ncuee.ncu.edu.tw    csee8001@sparc4.ncu.edu.tw        <<<
  84. >>><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><<<<
  85.  
  86.