home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / txtutl / note2.lbr / NOTE.DZC / NOTE.DOC
Encoding:
Text File  |  1987-09-10  |  3.0 KB  |  72 lines

  1.  
  2.           ** NOTE.COM  Instant message maker. **
  3.  
  4.    Note is a very simple but effective program that will
  5. place any ASCII text file within a com file for display on
  6. the console device when the file is executed.  This is a
  7. great way to create files that can trap for common user
  8. parameter or syntax errors.  It also can be used to create
  9. small help files or any other message that must be printed
  10. on demand.  The format for use is:
  11.  
  12. NOTE text-filename [ >destination-filename ]
  13.                      ^--^
  14.   (notice there is no space between the 'Greater-than'
  15.   symbol and the destination filename)
  16.  
  17.     Lets say you operate a RCPM and are running ZCPR2 on the
  18. system.  Now and then you are sure to get a user that is not
  19. familiar with the ZCPR syntax for changing user numbers and
  20. will type in things such as user 2, user 4, ect.  All you
  21. have to do is create a small text file explaining the the
  22. proper syntax for drive/user logging in ZCPR2, name it USER,
  23. and process it with NOTE by typing in the following command
  24. line:
  25.  
  26. NOTE USER >USER.ASM
  27.  
  28.    This will create an asm file with the text file embedded
  29. as DB's that will assemble with ASM or MAC.  After assembling
  30. and loading the file, you will have a file named USER.COM
  31. that will display your message every time the user types
  32. USER 1, USER 4, ect.  The same system could be used to point
  33. the user towards the files you use to operate your system.
  34. Example:  Lets assume you use TYPEL 2.3 to replace TYPE,
  35. LTYPE, & LDIR.  You could rename TYPEL to TYPE and create
  36. two files using NOTE called LDIR and LTYPE explaining that
  37. these files are not on line and that TYPEL has been renamed
  38. to TYPE for ease of use.  This approch is much better than
  39. having the user pull up directories searching for the proper
  40. files to operate your system.
  41.     Another good application for NOTE is the creation of
  42. small help files with familar names such as naming a help
  43. file for PIP, PIPH or HPIP. Anything that is easy to
  44. remember will work well.  For the best, least cluttered
  45. effect, make these files "system" files that are not dis-
  46. played so that the non-integration of these files to the
  47. operating system is transparent to the user.
  48.  
  49.  
  50.   Update Ideas-
  51.  
  52. Command line options at run time for the following features
  53. would be a nice touch.
  54.  
  55.    Clear screen code.  An option to place a clear screen
  56. code or sequence at the front of the file consisting of the
  57. actual control codes so that this could be done for any
  58. terminal.
  59.  
  60.    Number of lines displayed before page pause.  Defining
  61. the number of lines to display, at run time, before pausing
  62. for a page break would also allow this feature to be used on
  63. any terminal.
  64.  
  65.    The main requirement is to keep the size of the final com
  66. file small!  At present a file that displays a normal screen
  67. of text is less that 2k.
  68.  
  69.    Send all updates to: 
  70.                          Tek-80 RBBS/RCPM  (707) 425-2277
  71.                          John Ray (SYSOP)
  72.