home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / demon / amstrad / id.arc / ID.DOC < prev    next >
Encoding:
Text File  |  1994-03-14  |  3.9 KB  |  100 lines

  1. ID v1.01                                           J. Elliott, 12 December 1993.
  2. ================================================================================
  3.  
  4.   ID is a program allowing CP/M to inspect the "identity" record of LocoScript
  5. (and other) files. The command is:
  6.  
  7.       ID d:filename.typ { n } { >d:listfile.typ }
  8.  
  9.   The first filename can be ambiguous. 'n' is a number from 0-15.
  10.  
  11.   If there is a number, this refers to the CP/M user number ("group"), so that
  12. the command
  13.  
  14.       ID A:*.* 2
  15.  
  16. would show a listing of all files in group 2 of the disc in drive A:, with their
  17. "identities" (see below). The group number can also be ambiguous; if you use the
  18. command
  19.  
  20.       ID *.* *
  21.  
  22. this will show the "identities" of all files in all groups.
  23.   If there is a "listfile" specified, the entire "ID" listing is sent to the
  24. listfile as well as the screen. If there is a user number in the command line,
  25. then the listfile will go to this number, eg:
  26.  
  27.       ID B:*.DOC 3 >B:INDEX.ASC
  28.  
  29.   will do a listing of all files ending with .DOC in Drive B, group 3 -
  30. directing the output to the screen and the file INDEX.ASC also in Drive B,
  31. Group 3. The listfile produced can then be inserted into a LocoScript document
  32. using the f1=Actions menu (f7=Modes for LocoScript 1). If you do this in all
  33. groups, you get an index file in each group, which some people find useful. The
  34. command:
  35.  
  36.       ID C:*.* * >C:CONTENTS
  37.  
  38. will produce a file called CONTENTS on drive C:, group 0, containing a list of
  39. every file on C:.
  40.  
  41. Each file will appear in the listing as
  42.  
  43. nnD:FILENAME.TYP - What type this file is
  44. | | |                Information specific to this file (eg LocoScript identity)
  45. | | +----Filename
  46. | +------Drive
  47. +--------User number
  48.  
  49.   ID will attempt to classify the file under various categories (eg Document,
  50. Settings, Dictionary etc.). LocoScript files have their category given in the
  51. first three bytes; I cannot guarantee that I have successfully divined the
  52. correct interpretations of all of these.
  53.  
  54.   If the file is not LocoScript, ID can also detect:
  55.    ╝ Sinclair +3DOS files.
  56.    ╝ Mallard BASIC programs, and can tell if they are protected.
  57.    ╝ Microsoft BASIC programs, and can tell if they are protected.
  58.    ╝ Mallard BASIC Jetsam files.
  59.    ╝ PICture files from DR.LOGO.
  60.    ╝ CP/M utility programs written by Digital Research (eg PIP, SHOW, DUMP).
  61.    ╗ (but not machine-specific programs like PALETTE, SETKEYS).
  62.    ╝ Console Command Processor (CCP) files.
  63.    ╝ Files containing RSX modules.
  64.    ╝ Archive (.ARC/.ARK) files.
  65.    ╝ Compiled batch files produced by CHN.COM.
  66.    ╝ Compiled text files produced by WTXT.COM.
  67.    ╝ MSDOS EXE files.
  68.    ╝ Squeezed (.xQx) files.
  69.    ╝ Crunched (.xZx) files.
  70.    ╝ Multiface 3 datafiles.
  71.    ╝ GIF (PC clip art) files.
  72.    ╝ VFONTs (variable size fonts).
  73.  
  74.   If the file is none of these, ID will try to print whatever is printable in
  75. the first 128 bytes of a file. Some well-behaved binary files (like ID.COM
  76. itself) will produce recognisable text this way; some (eg SETSIO.COM) will be
  77. readable if a bit untidy and some (eg JnnCPM3.EMS) won't. If the questionable
  78. file is a textfile, the first few lines will be seen.
  79.   If ID produces the message "File size=0k" then the file in question is empty
  80. and is probably either a LocoScript group name, an old-style CP/M disc name
  81. (some PD software suppliers put these on the disc) or a listfile under
  82. construction.
  83. ________________________________________________________________________________
  84.  
  85. New features in v1.01 are:
  86.  
  87. 1. Different user numbers are available.
  88. 2. Listfiles can be generated.
  89. 3. Added detection abilities:
  90.   Squeezed files;
  91.   Crunched files;
  92.   Compiled textfiles;
  93.   Multiface 3 datafiles;
  94.   GIF files;
  95.   VFONTs.
  96. 4. High bits on filenames are ignored, so all filenames display correctly.
  97. 5. The first 7 RSX names are printed.
  98. 6. The screen output is paged.
  99.  
  100.