home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / dized49o.zip / DIZEDIT.DOC next >
Text File  |  1994-08-14  |  17KB  |  373 lines

  1. DIZEDIT Version 4.9o
  2. Copyright (c) 1993 GDSOFT
  3.  
  4. August 14, 1994
  5.  
  6. WHAT IS IT :
  7. ------------
  8.  
  9. DIZEDIT  is a  simple utility  that  allows  editing of  those nice  little
  10. description files  commonly found in archive  files (ZIP,ARJ,LZH). Many BBS
  11. systems use this  file as the ACTUAL description  whenever the archive file
  12. is uploaded to them. Commonly, the file is named FILE_ID.DIZ, however other
  13. variations are FILE.DES  or FILE.SDI. In this document,  I'll refer to this
  14. file regardless of the flavor as the FILE_ID.
  15.  
  16. DIZEDIT  easily allows  you to  create the  existing FILE_ID  if it already
  17. exists in the archive, and if not,  it allows you to create it.
  18.  
  19. Additionally, with Version 4.0, several useful abilities have been added :
  20.  
  21.      ....  Convert archives to a DEFAULT format.
  22.      ....  REPACK archives to minimize size
  23.      ....  Recognizes most ARJ,ZIP and LZH SFX files
  24.      ....  Strip or add Archive comments (ARJ and ZIP ONLY)
  25.      ....  Automatic VIRUS SCAN using popular SCAN programs.
  26.      ....  Update ARCHIVE date with TODAY,NEWEST,OLDEST file date.
  27.      ....  Add BBS files to the archive such as ADS etc.
  28.      ....  Included  an  .INI  file  which  can  be edited
  29.            interactively to save setup information.
  30.      ....  Can be used in AUTOMATIC mode to do archive conversions
  31.            of entire directories.
  32.      ....  Maintains LOG file of all activity.
  33.  
  34. BASIC STARTUP :
  35. ---------------
  36.  
  37. Unpack the  distribution archive to some  directory on your disk,  and type
  38. the command  : DIZEDIT <ENTER>.  If it is  the first time  you have used to
  39. program,  DIZEDIT will  create a  DIZEDIT.INI file  on the  same path  that
  40. DIZEDIT.EXE exists.  This is a  plain vanilla ASCII  file and contains  the
  41. following information :
  42.  
  43. MARGIN=40 (anything from 30 to 78 chars)
  44. COLOR=BLUE (Choices are : BLUE,RED,GREEN,CYAN,MAGENTA)
  45. INSERT=ON (Start DIZEDIT in insert mode.  Could be OFF)
  46. FORCEDIZ=NO (ABSOLUTELY save FILE_ID.DIZ no matter if SDI or DES file)
  47. DOUBLEUP=NO (Save the ORIGINAL FILE_ID.DIZ as ARCHIVENAME.DIZ in the file )
  48. SAVEDIZPATH=D:\SOMEPATH (path for saving DIZ's ..  OPTIONAL)
  49. DIZLOGFILE=D:\UTILITY\DIZEDIT.LOG (path and name of DIZEDIT LOG file )
  50. SWAPDRIVE=D (The drive DIZEDIT should create SWAP on.  Use FASTEST drive.)
  51. EXTENSIONS=*.ZIP *.ARJ *.LZH *.EXE *.COM *.SDN (whatever you want)
  52. EMS=YES     (Use EMS for Swapping if available.  Make this NO for 286/386sx)
  53.  
  54. ARJ=D:\UTILITY\ARJ.EXE A (The address of ARJ.EXE PLUS extra switches)
  55. PKZIP=D:\UTILITY\PKZIP.EXE -EX  $B -a -r  -p (ditto, whatever you use)
  56. PKUNZIP=D:\UTILITY\PKUNZIP.EXE -d -$ (ditto again MAKE SURE THEY MATCH !!)
  57. LZH=D:\UTILITY\LHA.EXE (ditto again and again)
  58. SCAN=D:\TOOLS\SCAN.EXE /NOMEM /BELL  (use any switches you like)
  59. SCANDELAY=2     (seconds to leave scan screen displayed )
  60.  
  61. DATE=NEWEST,EXT (sets archive date to newest PLUS extension, OR
  62.                  oldest PLUS extension OR
  63.                  TODAY (today's date) OR
  64.                  just blank for NOTHING (current archive date)).
  65. COMMENT=D:\TURBO\ARCS\ZIPLOGO.TXT (the address and name of a comment file)
  66.                                   (NONE will leave the comment alone)
  67. BBSAD=D:\BBS\ABBS.TXT (name and address of file to add to archive).
  68. DEFAULT=ZIP (ARJ,ZIP, or LZH.  Archives WILL be converted to this)
  69. REPACK=NO (Repack archives for MAXIMUM compression .. either YES or NO)
  70. REPACKSFX=NO (Repack Self extracting files ??  If REPACK above is YES this
  71.               is NOT used)
  72.  
  73. The easiest  way to create this  file is to execute  DIZEDIT. A DIZEDIT.INI
  74. file will  AUTOMATICALLY be created. Press  the F1 key BEFORE  selecting an
  75. archive  file,  and  DIZEDIT  will  allow  you  to  edit these values. When
  76. finished,  press F10  to save  your changes.  The changes  WILL TAKE EFFECT
  77. IMMEDIATELY, so you don't have to exit DIZEDIT and re-run it. Of course you
  78. can use any ASCII word processor  to change your DIZEDIT settings. Also, if
  79. you want DIZEDIT  to return to whatever the default  value was, just DELETE
  80. everything AFTER the EQUAL (=) sign. For example, to STRIP all comments for
  81. archives as they are process, just DELETE everthing AFTER the COMMENT= line
  82. from  DIZEDIT.INI. If  you want  to leave  the comment  that exists  in the
  83. archive, then enter "COMMENT=NONE" without the quotes.
  84.  
  85. You can  use the F2 key  when in the FILE_ID  edit window to write  out the
  86. current FILE_ID to any valid directory on  your disk. This is useful if you
  87. want to save them for creating BBS lists or whatever. The file will be name
  88. ARCHIVENAME+.DIZ
  89.  
  90. Additional NEW  features of DIZEDIT are :
  91.  
  92. The file copy function. Press F4 on a valid file, and you will be permitted
  93. to copy the  file to any path on  your system. This is nice  if you want to
  94. create  an upload  directory to  send a  group of  files somewhere. You can
  95. change the  current drive using  F8. This  let's  you pick any  path on any
  96. drive on your system. Also, on the file selection screen, you can press the
  97. DELETE key, and you'll be able to DELETE or MOVE the archive if you desire.
  98.  
  99. AH... NOW FOR THE GOOD PART
  100. ---------------------------
  101.  
  102. You will be  presented with a directory list of  the current directory. You
  103. can select the '..' entry to get  to the ROOT directory. From there, select
  104. a directory where there  are files that have ZIP, ARJ  or LZH files. Select
  105. anyone of  them, and DIZEDIT will  open the archive and  extract all of the
  106. files to a "blind" directory that it creates.
  107.  
  108. The DEFAULT  file that DIZEDIT looks  for is FILE_ID.DIZ. If  that does NOT
  109. exist, then it looks  for a file with the extension of  "DES". If that does
  110. NOT exist  then it looks  for a file  with the extension  of "SDI". If your
  111. archive contains NONE of these then DIZEDIT will present you with a list of
  112. the files in this archive. You may choose one of them to be READIN, and the
  113. DIZEDIT  permits editing.  This is  useful  if  you DO  NOT already  have a
  114. FILE_ID, and  you want to  use the DOC   file or a  TXT file as  a basis to
  115. create from. The file that will be created in this case is FILE_ID.DIZ.
  116.  
  117. If one  of these files  already exist, then  DIZEDIT permits editing.
  118.  
  119. You can  enter up to  4096 characters.  BE  WARNED !!! Many  BBS sites ONLY
  120. permit 15 lines by 40 characters to be displayed in their descriptions. You
  121. can have as many  lines as you have memory for, and each  line can be up to
  122. 78 characters.
  123.  
  124. SETTING IN THE INI FILE FOR PROPER REPACKING OF ARCHIVES
  125. --------------------------------------------------------
  126.  
  127. The INI file contains three very important switches that control the way in
  128. which DIZEDIT operates :
  129.  
  130.         DEFAULT=ZIP
  131.         REPACK=NO
  132.         REPACKSFX=NO
  133.  
  134. These three switches  are "layered" in order of  performance perference. In
  135. other words, the FIRST one overrides the other two and the second overrides
  136. the third.
  137.  
  138. If the DEFAULT is set, and the archive  is either an SFX file or an archive
  139. of another  type, then NO MATTER  what the setting of  REPACK or REPACKSFX,
  140. the archive will be converted using  the MAXIMUM compression to the default
  141. archive type. This is the most common use of DIZEDIT, and and most BBS's do
  142. have a common archive type, and DO NOT prefer EXE type archives.
  143.  
  144. The  purpose of  REPACK is  to define  whether or  not you  will repack the
  145. entire  archive of  the same  type using  the MAXIMUM compression. Assuming
  146. DEFAULT is  NOT set, then this  switch ONLY determines whether  the FILE_ID
  147. will be added or if the entire  archive will be repacked. If this switch is
  148. set  and the  archive is  an SFX,  then it  will be  converted to  a normal
  149. archive.
  150.  
  151. REPACKSFX  is similar  to REPACK  and allows  you to  determine if SFX type
  152. archives will be converted to normal ones. If REPACK=YES or DEFAULT is set,
  153. then it doesn't matter what the switch is set to, the SFX WILL BE CONVERTED
  154. TO A NORMAL ARCHIVE. !!
  155.  
  156. FORCEDIZ SWITCH
  157. ---------------
  158.  
  159. This switch allows you to FORCE and  FILE_ID.DIZ to be saved in the archive
  160. even when there is already a SDI or DES file.
  161.  
  162.  
  163. DOUBLEUP SWITCH
  164. ---------------
  165.  
  166. This switch allows you to FORCE the ORIGINAL FILE_ID.DIZ to be saved in the
  167. archive along with the edited FILE_ID. In order to make this work, you MUST
  168. have this  switch set to  YES in  the  INI file. Save  the ORIGINAL FILE_ID
  169. using F2. Edit your FILE_ID. When you press F10 to save the edited FILE_ID,
  170. DIZEDIT will place  the saved FILE_ID in the archive  too. It will be named
  171. ARCHIVENAME.DIZ.
  172.  
  173. DIZEDIT LOG FILE
  174. ----------------
  175.  
  176. As  files  are  processed  with  DIZEDIT,  a  log  of  all  activity may be
  177. maintained. To accomplish  this, you need to define  a "DIZLOGFILE=" in the
  178. INI file. Include  the COMPLETE path and file name.  If this is blank, then
  179. NO log will be maintained. This log  file is very useful when using DIZEDIT
  180. in AUTOMATIC mode.
  181.  
  182. LAST.DIZ FILE
  183. -------------
  184.  
  185. Once a  FILE_ID is saved,  DIZEDIT creates a  buffer of the  LAST data, and
  186. whenever you use  F1 to READIN files, you will  notice the file LAST.DIZ in
  187. the list.  You may select  this file. This  makes it nice  and easy to edit
  188. multiple archives in a series.
  189.  
  190.  
  191. ARCHIVE PROGRAM LOCATIONS
  192. -------------------------
  193.  
  194. Again,  DIZEDIT recognizes  the extensions  ZIP,ARJ, and  LZH. In order for
  195. DIZEDIT to work for each of these respective archives, you MUST have a copy
  196. of  the following  files SOMEWHERE  on your  path. DIZEDIT  will search for
  197. them, and if NOT  found, will tell you. You must then  make sure that these
  198. files are in the same directory as  DIZEDIT.EXE or in a directory listed in
  199. your PATH statement.
  200.  
  201.                 ZIP - PKZIP.EXE and PKUNZIP.EXE
  202.                 ARJ - ARJ.EXE
  203.                 LZH - LHA.EXE or LHARC.EXE
  204.  
  205. From there,  if a file  in the files  display window ends  in one of  these
  206. extensions, simply press  <ENTER>, and the FILE_ID for  that archive can be
  207. edited. At anytime, you can press the 'F1' key, and READIN any file on your
  208. disk  as a  basis for  the FILE_ID.  To save  the FILE_ID  and re-pack  the
  209. archive, press the 'F10' key. Pressing ESCAPE exits WITHOUT saving.
  210.  
  211. A WORD ABOUT THE DIZEDIT SWAP AREA
  212. ----------------------------------
  213.  
  214. DIZEDIT  creates a  temporary directory  that it  uses to  unpack files for
  215. viewing or printing.  Normally, this directory is created  on the same disk
  216. that the program is on. PKZIP also uses a temporary file to do its work.
  217.  
  218. DIZEDIT will use  the same temporary disk that you  assign for PKZIP unless
  219. you have SWAPFILE=somedisk in the DIZEDIT INI File.
  220.  
  221. You  may have  this temporary  file  created  in a  different directory  by
  222. setting the  environment variable PKTMP.  Set this equal  to the drive  you
  223. wish  to  use  as  your  temporary  file  location  and  ARCTOOL  temporary
  224. directory.
  225.  
  226. For optimal  performance on your  local harddrive, the  PKTMP could be  set
  227. equal to  a RAM drive  if a large  enough one is  available. This will make
  228. EVERYTHING run VERY FAST !!!! The  temporary file location must have enough
  229. free space to hold ALL the files in their UNCOMPRESSED state.
  230.  
  231. A one or two MEG RAM drive would be sufficient for most compressed files.
  232.  
  233. DIZEDIT  swaps to  EMS (see  switch in  the INI  file) memory if available.
  234. Becuase it's executing PKZIP and PKUNZIP  as external shells, there may not
  235. be enough  EMS memory available for  PKUNZIP to do it's  job properly. This
  236. might be ESPECIALLY TRUE on 286/386sx machines. If you have one of these, I
  237. recommend setting the  "EMS=" switch in the INI file  to "EMS=NO". Also, if
  238. you  machine should  hang after  unpacking the  archive, try  changing this
  239. switch to NO as well.
  240.  
  241. COMMAND LINE  USAGE
  242. -------------------
  243.  
  244. DIZEDIT  if "batch  file" capable,  and can  be executed  directly from the
  245. command line such as :
  246.  
  247.                         DIZEDIT \PATH\SOMEZIP.ZIP
  248.  
  249. In this  case, DIZEDIT does NOT  show you the normal  selection screen, but
  250. instead goes DIRECTLY to the archive specified if it exists. You MUST enter
  251. the FULL name and COMPLETE path of  the archive file. You will then be able
  252. to edit the FILE_ID.DIZ for the named file.
  253.  
  254. Also, you can start DIZEDIT on a particular directory by typing :
  255.  
  256.                         DIZEDIT \PATHNAME
  257.  
  258. If the pathname is  a valid path, you will presented will  all of the files
  259. matching EXTENSIONS in that path
  260.  
  261.  
  262. USING DIZEDIT IN AUTOMATIC MODE
  263. -------------------------------
  264.  
  265. DIZEDIT can be used as straight-forward archive convert too !! You WILL NOT
  266. BE ABLE to edit the FILE_ID.DIZ in this case, but the is very useful if you
  267. have directory  of files that  you simple want  to convert to  a particular
  268. archive  format. Also,  as files  are converted,  they may  be scanned  for
  269. viruses, and  your comment and  BBS advertisment added.  To run DIZEDIT  in
  270. AUTOMATIC mode on a single file, just type from the DOS command line :
  271.  
  272.                             DIZEDIT filename /A
  273.  
  274. DIZEDIT  will  process  the  archive  based  on  your DIZEDIT INI settings.
  275.  
  276. You can process an entire directory  of files with DIZEDIT in the automatic
  277. mode. From DOS just type the following :
  278.  
  279.                       DIZEDIT /A \pathname\*.ZIP
  280.  
  281. ALL of the archive files in  the selected directory will be processed using
  282. DIZEDIT in the  AUTOMATIC mode. Pressing the ESCAPE  key during the process
  283. with permit you to abort.
  284.  
  285.  
  286. MULITASKERS  -  OS2/WINDOWS/DESQVIEW
  287. ------------------------------------
  288.  
  289. Just for your information, DIZEDIT  will run nicely under WINDOWS, DESQVIEW
  290. and OS/2. It'll give up the  timeslices to allow these operating systems to
  291. work properly.
  292.  
  293.  
  294. BASIC COMMANDS AND CURSOR MOVEMENT :
  295. ------------------------------------
  296.  
  297. DIZEDIT uses the normal cursor keys to go LEFT, RIGHT, UP, DOWN, HOME, END,
  298. PGUP, PGDN.
  299.  
  300. The editor is "WORDSTAR" compatible.
  301.  
  302. Here is a list of the function and CTRL keys and what each does :
  303.  
  304. Command                  Description
  305. --------------------     ------------------------------------------------
  306.  
  307. PROGRAM KEYS (BEFORE Archive is selected)
  308.  
  309. [F1]                  -  Edit the DIZEDIT.INI File
  310. [F4]                  -  Copy the selected file to another path.
  311. [F8]                  -  Select another path or drive to work from.
  312. [DEL]                 -  Permits archive to be DELETED or MOVED.
  313. [ESC]                 -  Quit DIZEDIT
  314.  
  315. EDITOR KEYS   (AFTER Archive is selected)
  316.  
  317. [F1]                  -  Presents a list of files to be READIN.
  318. [F2]                  -  Allows the current FILE_ID to be written to disk.
  319. [F10]                 -  Save the current FILE_ID and repack the archive.
  320. [ESC]                 -  Quit back to the file selection screen.
  321.  
  322. INSERT                -  Toggle INSERT/OVERWRITE Mode
  323. DELETE                -  Delete Character
  324. [CTRL]-[Y]            -  Delete current line
  325. [CTRL]-[B]            -  Reformat paragraph
  326. [CTRL]-[O][J]         -  Reformat & Justify paragraph
  327. [CTRL]-[S]            -  Character Left
  328. [CTRL]-[D]            -  Character Right
  329. [CTRL]-[A]            -  Word Left
  330. [CTRL]-[F]            -  Word Right
  331. [CTRL]-[E]            -  Line Up
  332. [CTRL]-[X]            -  Line Down
  333. [CTRL]-[W]            -  Scroll Up
  334. [CTRL]-[Z]            -  Scroll Down
  335. [CTRL]-[Q]            -  Delete To End Of Line
  336. [CTRL]-[T]            -  Delete Word
  337.  
  338.  
  339. MANY Thanks to Felix Mueller and James Duckworth, Guy Hunter and others for
  340. recommending MANY IMPORTANT improvements to DIZEDIT !!
  341.  
  342. Well, that's  pretty much it.  I think that  you will find  DIZEDIT easy to
  343. use, FAST, and  once you get used to using  it, indispensable !! Especially
  344. if you maintain a BBS.
  345.  
  346. If you like DIZEDIT, then please register it. For those who do, I will send
  347. my super dooper BONUS archive as well. Believe me there are many goodies on
  348. this  BONUS  disk.  including  ARCTOOL,  ARCPLUS  and  FILEMANAGER PLUS, an
  349. exciting NEW program which does ALL that you could EVER want a file manager
  350. program to do and MUCH MORE, including DIZEDIT built in !!!
  351.  
  352.  
  353. Register :
  354.  
  355.         GDSOFT
  356.         G.D. DAVIS
  357.         57280 Osage Drive
  358.         Goshen, Indiana 46526
  359.  
  360.         Please Include a $15.00 registration fee.
  361.  
  362.         Make sure that you include your return address.
  363.  
  364.  
  365. If you have any comments or questions,  I would REALLY love to receive your
  366. comments  or  suggestions.  I  can  be  reached  by  leaving  mail on GENIE
  367. (G.D.DAVIS) or CompuServe (72067,2726), or write to me at the above address
  368. or better yet,  call GDSOFT BBS (219) 875-8133,  HST 14400,8,N,1 v.32/v.42.
  369. This is a FREE BBS, and you'll  find MANY GDSOFT programs and files as well
  370. as lots of other goodies.
  371.  
  372. Thank you for using DIZEDIT.
  373.