home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / TextEditors&Viewers / Texteditors / FFRED10.LHA / fpl / SimpleHelp.FPL.README < prev    next >
Encoding:
Text File  |  1994-10-24  |  1.4 KB  |  44 lines

  1. ############################################
  2. File: SimpleHelp.FPL
  3. Author: Kjell Ericson
  4. Email: FidoNet 2:201/328
  5. Short description: A simple interface to AmigaGuide
  6. Version: 1.1
  7. Date: 24.10.94
  8. Local settings:
  9. Global settings:
  10. Keysequence: 'Help'
  11. Type: function
  12. Prereq: run grep as explained.
  13. ############################################
  14.  
  15. BEFORE
  16.   Before using SimpleHelp() you have to execute the command...
  17.  
  18. grep -$ -n @node #?.guide >Guide:AllNodes
  19.  
  20.  ...standing in your guide directory.  You can append other guide files
  21. to the 'Guide:AllNodes'.
  22.  
  23.  
  24. FUNCTION
  25.   SimpleHelp() is assigned to the 'Help' key.  When you press it, the word
  26. currently under the cursor will be passed to SimpleHelp().
  27.   SimpleHelp() will try to find that word in the 'Guide:AllNodes' file.  If
  28. a match is made, it will start 'AmigaGuide' with the correct parameters to
  29. get your help.
  30.  
  31.   The first try of SimpleHelp() is to find a match to the word surrunded with
  32. '"', ie '"NodeName"'.  If that match fails, a try is made to the word with a
  33. space attached to the beginning and end, ie ' NodeName '.  If that match fails, 
  34. a last try is made to see if the word exists (a word only search).
  35.  
  36.   When a match is found, SimpleHelp() expect the node name to start at
  37. position 6 (it is important that the '-n' flag is given to 'grep').
  38.  
  39.   If it fails to find a match, FrexxEd.guide will be shown.
  40.  
  41. NOTE
  42.   'grep' is a utility that is copyright by SAS Institute, Inc., Cary, NC
  43.  
  44.