home *** CD-ROM | disk | FTP | other *** search
/ Old Hackers Atari User Group Newsletter / Old_Hackers_Atari_User_Group_Newsletter_OHMA93B.atr / dlfilsp.txt < prev    next >
Text File  |  2023-02-26  |  5KB  |  1 lines

  1.                */*/*¢          Download Doctor ¢  (Will be found on  this  disk  under¢  the name "DLFILSPL.OBJ") By  Matthew¢  Gilarde-Reprinted by the OL' HACKERS¢  A.U.G. 8 BIT,  NY¢¢   Notice:   This  program was written¢ using Action!. Action! is a trademark¢ of Action Computer Services.¢¢      Download   Doctor   (DLDR),   or¢ DLFILSPL.OBJ,  is  a   program   that¢ allows you to strip extra bytes off a¢ file   which  was  transferred  using¢ XModem. It  also  can  convert  Ascii¢ carriage  return/line  feed  codes to¢ Atascii  EOLs  and  vice  versa,  and¢ split large text files into  separate¢ smaller files. **   ¢    To  load DLDR simply go to Dos and¢ binary load DLDOCTOR.OBJ. The program¢ uses  only  "legal"  CIO  calls   and¢ should  work  with any Dos. When run,¢ the main menu appears.  Simply  press¢ the  letter of the option you want to¢ use.  You will be  asked  to  provide¢ the name of the file you want to work¢ on and the drive to which  DLDR  will¢ write  the  output file.  Each option¢ will add a different extender to  the¢ name,  so that you know what was done¢ to the  file.   Make  sure  you  have¢ enough  room  on the destination disk¢ for the  output  file.   If  you  are¢ using one drive, you will be prompted¢ to  swap disks as necessary.   ¢    The options are explained below:  ¢¢ **       Strip  File Method #1 - This¢ option will strip  the  excess  bytes¢ from  a file downloaded with XModem. ¢ The   output   file   will  have  the¢ extender "ST1".  This  command  works¢ by  finding the last byte of the file¢ and  then  removing  bytes  until  it¢ finds a byte that does not match.  It¢ then saves the file without the extra¢ bytes.           ¢ **      Strip File Method #2  -  This¢ option is similar to #1 above, except¢ that  it  creates  a  file  one  byte¢ longer, since the byte  stripped  may¢ be part of the file.  The output file¢ is given the extender "ST2".¢¢ **      Strip File -  Manual  -  When¢ you  select  this option, the file is¢ loaded and you are shown the last 128¢ bytes  in  a window.  Move the cursor¢ within the window until  it  is  over¢ the  byte  where  you  want  to begin¢ stripping, and  then  press  RETURN. ¢ The  byte  the  cursor  is on and all¢ following bytes will be removed.  The¢ output  file has  the extender "ST3".¢¢ **      Ascii To Atascii Conv. - This¢ command will read  through  the  file¢ and    change    CR/LF   (or   LF/CR)¢ combinations to  EOLs.   The  current¢ byte count is shown in a window.  The¢ output file  is  given  the  extender¢ "ATA".¢¢ **      Atascii To Ascii Conv. - This¢ command will read  through  the  file¢ and change EOLs to Ascii CR/LFs.  The¢ output file  is  given  the  extender¢ "ASC".¢¢ **       Split  File  -  This command¢ divides  a  large  file  into  1K-16K¢ sections. The program  will  ask  how¢ big  you  want  each  section  to be.¢ Pressing  RETURN  gives  the  default¢ value of 16K.  Each section  will  be¢ saved with an extender of "Pnn" where¢ "nn" is the section  number  (0-99). ¢ This  command  is  really only useful¢ with text files, but will  work  with¢ all file types.¢¢ **       Set  Default  Drive  -  This¢ command  lets  you set the drive that¢ filename prompts  will  default  to. ¢ This  makes  it  easier  to  use  the¢ program  with  files  in  a ramdisk. ¢ Just set the  default  drive  to  the¢ number  of your ramdisk and you won't¢ have to change the drive number  when¢ asked for a filename.¢¢ **      Disk Directory 1-8 - Pressing¢ a number 1-8 will allow you  to  view¢ the  directory  of  that  drive.  You¢ will be asked for  a  mask.   If  you¢ want  to  see  all  files, just press¢ RETURN.¢¢ **      Mini-Dos Menu - This  command¢ will  take  you  to another menu that¢ allows you to  erase,  lock,  unlock,¢ rename  and copy files.  You can also¢ format a disk (single density only). ¢ To  return  to  the  main menu, press¢ 'H'.¢         ** **   Notes   ** **¢        1. If you are stripping a file¢ and  get the message "File can not be¢ stripped", press CTRL-B at  the  main¢ menu  and try again. This will change¢ the buffer size so there will  enough¢ data  in  the  buffer  for  the strip¢ routines to  work  (they  require  at¢ least 128 bytes in the buffer).¢       2. Wildcards are allowed in the¢ input   filename,   and   all   files¢ matching  the filename will be worked¢ on.    For   example,  if  you  enter¢ '*.OBJ'  as  the  input  file  for  a¢ command,  any  file  with  an  '.OBJ'¢ extender will  be  manipulated.   The¢ copy    command    does   NOT   allow¢ wildcards.¢       3. If you have two  files  with¢ the  same  filename   but   different¢ extenders,  and  try  to  do the same¢ operation on both, the first one will¢ be written over.  For example, if you¢ strip TEST1.OBJ and  TEST1.DOC,  both¢ will  be  written  to  TEST1.ST1.  To¢ avoid this, make sure all files  have¢ unique filenames.¢       4. You can abort any command by¢ pressing ESCAPE at  any  prompt  that¢ requires you to press a key.  You can¢ not stop a command at a  prompt  that¢ asks you to press START.¢             =-=END=-=¢