home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / LAN / CMAIL26L.ZIP / MAILPROG.DOC < prev    next >
Text File  |  1992-03-23  |  11KB  |  217 lines

  1.  
  2. USERS GUIDE
  3.  
  4. The four main functions on the main menu are read new mail, send mail, 
  5. transfer a file and view old mail.
  6.  
  7. The read new mail function allows you to use the arrow keys, Page Up, 
  8. Page Down, Home and End keys to move around as you read the message.  
  9. When you have finished reading the message, you can leave the reader by 
  10. pressing either Enter or F10.  When you do this, you will be prompted to 
  11. press enter to delete the message, or to type a filename.  If you don't 
  12. need to look at the message again, just press the enter key.  You will 
  13. be asked to confirm that you want to delete the message if it is a 
  14. particularly long one. 
  15.  
  16. If you want to keep a copy of the message, type a file name (up to eight 
  17. letters plus an optional three letter extension).  The message can then 
  18. be viewed later using the view old mail function.  The file name can 
  19. include a path, in which it will be extracted to that directory.
  20.  
  21. The second function available allows you to send a message to other 
  22. users. If the user is logged into the network at the time, a message 
  23. will be sent to their screen.  Otherwise they will be informed of the 
  24. waiting message next time they log on.
  25.  
  26. On selecting the send message function you will be prompted to enter a 
  27. list of groups or users.  Users have names that are the same as their 
  28. login names.  Users are also allocated to different groups, and sending 
  29. a message to a group sends it to all members of that group.  The groups 
  30. have names of one letter in length.
  31.  
  32. After entering a list of groups or users, you will find yourself in a 
  33. text editor.  The controls for this editor are the same as for entering 
  34. comments in the various database programs.  Pressing F10 will leave the 
  35. editor and send the message.  Pressing Esc will leave the editor and NOT 
  36. send the message.  Pressing F1 will give a help screen (here and in many 
  37. parts of the program).  The keys F2 to F9 are programmed with useful 
  38. phrases which will be inserted into the text when these keys are 
  39. pressed.
  40.  
  41. Transfer a file allows you to move a file to someone else.  Having sent 
  42. a file, you will be asked if you want to delete the original.
  43.  
  44. The view old mail function allows you to view old messages rename (and 
  45. move) them, delete them and print them.  I hope it is fairly self 
  46. explanatory.
  47.  
  48. The fifth option allows you to see a list of the users, or to print that 
  49. list.
  50.  
  51. The "Xtra Features" option allows the network administrator to enter and 
  52. add users, assign strings to the function keys, set up printers and so 
  53. on.
  54.  
  55.  
  56.  
  57. MORE TECHNICAL STUFF
  58.  
  59. The program won't work unless the DOS enviromental variable MAILID is 
  60. set.  
  61.  
  62. I have tried to make this program completely independant of the network 
  63. type. All mail is sent by copying files to the appropriate mail 
  64. directory, and then invoking a suitable command (under Novell I use SEND 
  65. to inform the user of the arrival of mail, but you can invoke any other 
  66. program, including a mail transport program or a comms program with a 
  67. script).
  68.  
  69. Commands, printer strings and function key definitions can contain 
  70. clipper expressions delimited by square brackets.  Of use in commands 
  71. are the variables "user", "filename", "name", and "maildir" which 
  72. contain the names of the user, the name of the file generated, the name 
  73. of the person to send to and their mail directory name respectively.  
  74. Thus the command
  75.  
  76. SENDBAT [maildir] [filename] [name]
  77.  
  78. could be used to invoke a batch file to send the mail on to a particular 
  79. user.
  80.  
  81. Clipper functions can also be used.  Of particular interest to users, is 
  82. the predefined command PROMPT(string), which prompts the user for input 
  83. and returns the user.  Thus the command
  84.  
  85. SENDFAX [fullfilename] [prompt("Phone number ... ")]
  86.  
  87. could be used to prompt for a phone number, and invoke the command 
  88. SENDFAX with the full file name (with path, stored in "fullfilename") 
  89. and the phone number entered.
  90.  
  91. If the ammount of memory required to run a particular command is 
  92. specified, the program will check that this memory is available.
  93.  
  94. Users should have open, read and search access only to the directory 
  95. with the mail program in, full rights to their own mail directory and 
  96. create and write access to each others mail directories.  As overlays 
  97. are created by the program, the program must be run from a directory 
  98. where the user has rights to create, write to and delete files.  The 
  99. best way to do this is to put the mail program in the path, and run it 
  100. from the users home directory.  An alternative is to SET 
  101. CLIPPER=SWAPPATH:'H:' (or whatever) in the environment.
  102.  
  103. The F1 key provides context sensitive help throughout the program.
  104.  
  105. The program can take one parameter; the word check causes the program to 
  106. check the user's mail directory, allows him to read any new mail and 
  107. then exits.  This should be used in people's login scripts, or better 
  108. still in a batch file called by their login script when it exits.
  109.  
  110. Enjoy!
  111.  
  112. Peter Summers
  113.  
  114.  
  115. VERSION HISTORY (from when I started keeping one):
  116.  
  117. 2.4e:   Fixed a problem which caused the program to crash after using the Xtra 
  118.         features/Xamine database option.
  119. 2.4f:   Fixed an incorrect example of how to set up a printer in one of the
  120.         help screens.
  121. 2.4g:   Cleaned up a few more help screens.
  122. 2.4h:   Centred a misalligned error message.
  123.  
  124. 2.5:    Rewrote the code for Clipper 5.01.  This allows for better error
  125.         handling, and therefore renaming (moving) files to other partitions
  126.         is now supported.  Transfer a file now works from any disk.  The
  127.         program now can (and should) be run from the path.
  128.  
  129.         I haven't got Ralf Brown's swapping spawn routine to run with Clipper
  130.         5.01 yet, so commands are now run using Clippers own swapping.  This
  131.         will typically give about 150k of available memory.  The amount of
  132.         memory required to run a user's command can be specified in the user's
  133.         database entry, and the program will check this before proceeding.
  134.         If you have an old version of the program, you want to use this feature
  135.         and you want to keep your old database, you may need to use dBase or
  136.         something equivilent to add a numeric field of length 3 called MEMREQ.
  137. 2.5a    A bit of tweaking and documentation prior to release of v2.5.
  138. 2.5b    The editor now defaults to insert mode on.  Clipper's Alt-C break out
  139.         of the program is now re-enabled.
  140. 2.5c    Now allows up to 1024 items in the mail directory, rather than
  141.         the previous 256.
  142. 2.5d    The program no longer gives the SET MAILID message if the check
  143.         parameter is set.  If the program is called without the check
  144.         parameter, the user no longer gets the "You have new mail..." 
  145.         message, but a discrete flashing warning in the top left hand 
  146.         corner of the screen.
  147. 2.5e    The program now checks that the user's mail directory exists,
  148.         and optionally creates it if it doesn't.
  149. 2.5f    Fixed the help function, which didn't work within memoedit after
  150.         the change to Clipper 5.01.
  151. 2.5g    Fixed a problem which occured if help was called within help and
  152.         provided seperate help screens for reading and writing mail.  
  153.         Also fixed the problem with with prompts on the bottom line of 
  154.         the screen which didn't scroll in Clipper 5.
  155. 2.5h    Fixed the program so you can't overwrite existing files when
  156.         renaming a file from various parts of the program.  Also, the 
  157.         the startup screen is now cleared when the user presses any key.
  158. 2.5i    Overwriting of existing files is now possible but requires
  159.         confirmation.  Also fixed a problem with renaming old mail onto 
  160.         another volume.
  161. 2.5j    Discovered that I could make the message edit and display
  162.         windows one character wider, so I did.
  163. 2.5k    Reduced the edit window width by one character, to stop blank
  164.         lines appearing in messages when the line wrapped on the last 
  165.         character.  Also spaced out the messages associated with doing a 
  166.         file transfer.
  167. 2.5l    Fixed a bug associated with deleting the last file in the mail
  168.         directory while viewing old mail.
  169. 2.5m    Recoded the fix for 2.5l slightly.
  170. 2.5n    Removed the clearing of all but the first character in the
  171.         keyboard buffer when the program started.
  172. 2.5o    Changed the startup code to improve the speed on slow machines.
  173. 2.5p    Cleaned up the code for renaming files.
  174. 2.5q    Cleaned up the code for transfering files.
  175. 2.5r    A bit more tweaking of the rename file code.
  176. 2.5s    Fixed a potential problem with mail messages of length between 
  177.         65,519 and 65,535 bytes.
  178. 2.5t    Fixed the "You have mail..." code so that it clears the keyboard 
  179.         buffer before asking the user if they want to read it.
  180. 2.5u    Fixed the "No unread mail..." message so that it times out after 
  181.         two seconds and returns to the main menu.
  182. 2.5v    After a save/rename fail, the file name is cleared if the user
  183.         presses a non-editing key first when prompted for a different name.
  184. 2.5w    Indicates the number of messages remaining when reading new mail.
  185. 2.5x    Made the size of tabs consistant throughout the program (4 spaces).
  186. 2.5y    Made the size of tabs equal 8 spaces to be consistent with other 
  187.         mail programs.
  188. 2.5z    Minor alterations to the "You have new mail..." message, and 
  189.         fixed the mail display window to avoid blank lines appearing in 
  190.         messages.
  191.  
  192. 2.6     Allows the use of alternative new mail extensions, for 
  193.         communication with other mail programs (notably Pegesus).
  194. 2.6a    Allows the new mail extension to be defined from within the
  195.         program.
  196. 2.6b    Renames any existing new mail when the new mail extension is 
  197.         redefined.
  198. 2.6c    Allows incorrectly typed mail directories to be retyped without 
  199.         having to return from the main menu.
  200. 2.6d    Fixed the Date: field to be RFC822 compliant, with optional time
  201.         zone specification.
  202. 2.6e    Wrote the help code for the setting the new mail extension and 
  203.         time zone.
  204. 2.6f    Cleaned up the code that postions the selection bar when viewing 
  205.         old mail.
  206. 2.6g    Turned snow supression on.
  207. 2.6h    Turned snow supression on only for color graphics cards, because 
  208.         it hangs with Hercules cards.
  209. 2.6i    Prevents the new mail extension from being changed while others 
  210.         are using the mail program.
  211. 2.6j    Improvements to the function of the Del and Backspace keys in 
  212.         the editor, which now do reformating automatically.
  213. 2.6k    Improvements to the left arrow, right arrow, control left arrow 
  214.         and control right arrow functions.
  215. 2.6l    Fixed a problem with the program not finding the setup file when 
  216.         running form a local disk.
  217.