home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / utilities / comms / ascii2scp / ascii2scp.doc < prev    next >
Encoding:
Text File  |  1993-07-22  |  2.1 KB  |  54 lines

  1. There  isn't much to this, so I see no reason to have a long doc file.  After
  2. reading  complaints  on  Internet  from  some people who didn't like doing an
  3. ASCII  send  to  upload  their  signature  files, I decided to crank out this
  4. little  program.   All it does is take a regular text file and turn it into a
  5. Terminus  script  file.   It ignores the CR characters, and starts a new line
  6. whenever  a  LF is found.  This is normal for Amiga text editors such as CED,
  7. and  will also properly convert IBM type text files that end each line with a
  8. CR-LF sequence.  For instance, the following text:
  9.  
  10. This is an example of what the text could be.
  11. It can include the ", \, and ' characters as well,
  12. and ascii2scp will prepend them with an extra \ so
  13. they are interpreted properly by Terminus.
  14.  
  15. into:
  16.  
  17. /* Terminus Script File */
  18. /* Created with ASCII2SCP by Don Lester */
  19. SEND "This is an example of what the text could be.\r"
  20. SEND "It can include the \", \\, and \' characters as well,\r"
  21. SEND "and ascii2scp will prepend them with an extra \\ so\r"
  22. SEND "they are interpreted properly by Terminus.\r"
  23. /* End of ASCII2SCP script */
  24.  
  25. Pretty  straightforward.   The proper usage is to have ascii2scp somewhere in
  26. your path (or current directory) and type:
  27.  
  28. ascii2scp path:textfile path:scriptfile
  29.  
  30. where  textfile is the file you want converted, and scriptfile is the name of
  31. the  script  file  you  wish to have created.  For instance, if you created a
  32. file  called  signature.txt in RAM that you wanted to use as a signature, the
  33. following command line would accomplish what you wanted:
  34.  
  35. ascii2scp ram:signature.txt terminus:scripts/signature.scp
  36.  
  37. The  output  file,  signature.scp,  can  now be assigned to a function key by
  38. going  to  the  pulldown menu [SETTINGS][MACROS] and typing the following for
  39. whichever key you want it assigned to:
  40.  
  41. !&signature.scp
  42.  
  43. That  is  about  it.   If  you  wish  to contact me for some reason, I can be
  44. reached at:
  45.  
  46. Internet:  dlester@eecs.wsu.edu
  47.  
  48. Fidonet:   1:344/87 (Don Lester)
  49.  
  50. Regular Mail (some people still use it):    Don Lester
  51.                                             NW 205 Larry #16
  52.                                             Pullman, WA  99163
  53.  
  54.