home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / utility / misc / reqchang.run / ReqChange / IdFile.example < prev    next >
Encoding:
Text File  |  1992-06-21  |  2.5 KB  |  66 lines

  1. #
  2. # This is an IDFILE for ReqChange. The format of the file is very free.
  3. # A '#' char is considered to be a comment (anything after it is
  4. # ignored, until end of line. The exception is if it is inside quotes
  5. # (e.g. "foo #"). Also, it must be preceeded by whitespace (i.e.
  6. # spaces, tabs and linefeeds), unless in the very beginning of the
  7. # file, to be recognized. Each id must be matched by exactly one string
  8. # to search for in the requester text. If the text is found within the
  9. # requester text, the corresponding id will be sent to Upd. Strings'
  10. # containing spaces must be quoted (NOTE: a quoted string may very well
  11. # span several lines, including everything between the quotes, such as
  12. # linefeeds etc). If you need a '"' char in the string, just enter
  13. # '\"' (the string doesn't have to be quoted). A newline is achieved by
  14. # entering '\n' (or having a real one within a quoted string). Note that
  15. # any NULL-byte will terminate this file!
  16. #
  17. # The string '*' will always match, regardless requester contents!
  18. #
  19. # This particual file mimics the behaviour of ARQ (I hope! :).
  20. #
  21. # Id to send         # String in requester text to find
  22. #
  23. warn_insert_volume   "Please insert volume"
  24. warn_insert_volume   "No disk present"
  25. warn_insert_volume   "You MUST replace"
  26. warn_insert_volume   "Please insert disk"
  27. warn_insert_volume     # Comments can be anywhere!
  28.                      "Please replace volume"   # Another comment
  29. error_task_held      "Software error"
  30. error_task_held      "Program failed"
  31. error_read_write     "has a write error"
  32. error_read_write     "has a read error"
  33. error_read_write     "has a read/write error"
  34. warn_write_protected "is write protected"
  35. warn_delete          "ok to format"
  36. warn_delete          "cannot get back"
  37. warn_delete          delete
  38. warn_printer         printer
  39. query_general        ?
  40. error_general        !
  41. #
  42. # This is a few IDs not found in ARQ. Just to demonstrate some other
  43. # features in ReqChange. Remove the comment-char ('#') the following
  44. # lines (between the ' --' lines) to try them out.
  45. #
  46. # --
  47. #rc_quoted_lf         "\nthis is a\"
  48. #test"                      # 1
  49. #rc_test_a_quote      \"    # 2
  50. #rc_test_a_linefeed   \n    # 3
  51. #rc_general_requester *     # 4
  52. # --
  53. #
  54. # Id 1 will match a requester which has a line (not the first one
  55. # though) like this:
  56. # 'this is a"'
  57. # and where the next line starts with
  58. # 'test'
  59. #
  60. # Id 2 will be sent if a requester contains a quote ('"')
  61. #
  62. # Id 3 will be sent if a requester contains more than one line
  63. #
  64. # Id 4 will match any requester
  65. #
  66.