home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / PSION / 1997 / 893.ZIP / AGNMERGE.TXT next >
Encoding:
Text File  |  1997-01-21  |  10.6 KB  |  205 lines

  1. AGNMERGE V1.0.0
  2.  
  3. Introduction
  4.  
  5. This program will merge a number of Psion 3a agenda files into a single agenda file.   During the merge process it will optionally delete memos or alarms, delete
  6. crossed out entries, change the display occurrence or repeating entries, omit entries that are outside a date range, prefix all or part of the agenda file name
  7. to each entries from that agenda, or change the style of entries.  All these options can be saved to a configuration file for repeated use.
  8.  
  9. This program was written to solve the following problem.  I have an agenda file for work only, an another for home only.  I have other agendas which contains
  10. details of the cycling club with which  I ride, and another of sunrise/sunset times.  To put all these together in a single agenda produces a file so big that
  11. I would be very slow to work with.  It would sometimes present too much information.  Each of my agenda files are about 20k.  This is an acceptable size to
  12. work with.  However, when setting an appointment you cannot see potential clashes between the agendas.  I started manually merging them, but the file was too
  13. big to be manageable, and alarms would be duplicated or would still go off unless deleted in two places.  AGNMERGE will optionally strip out memos and alarms,
  14. and will merge within a date range.  Currently I merge two months ahead and the combined agenda is 24k.
  15.  
  16. Much of the work done by AGNMERGE is concerned with minimising the size of the output agenda.  All deleted record are removed.  The output agenda will not be
  17. further compressed by the agenda compress utility.
  18.  
  19. AGNMERGE could also be used to shared agenda files between people.  The name of the source agenda file can be placed at the front of every entry in the combined
  20. agenda.
  21.  
  22. The program will not work will Series 3 agenda files.
  23.  
  24. The program has been tested on the Sienna emulator and appears to work.  There is a minor difference between the 3a and 3c agenda formats.  This program is
  25. not designed for the 3c format.
  26.  
  27. AGNMERGE is a complicated process that can take several minutes to run on a Psion 3a.  It was designed to minimize the size of the output file.  This is achieved
  28. at the expense of performance.  Tests have show that it runs up to 16 times faster on the Psion 3a emulator for PC (on a 486 DX2 at 66MHz).  If you are sharing
  29. agendas between Psions then it might be easier to copy the files to a PC and use the emulator to run the process.
  30.  
  31. If an agenda file is already opened by another process, the this will cause an error during the merge.  All agenda processes must be closed during merge.  My
  32. personal technique is to run AGNMERGE at the same time as I backup the Psion (several times a week).  I stop all the processes with JBSTOPGO, run AGNMERGE,
  33. perform the backup, and restart the processes with JBSTOPGO.  JBSTOPGO is available as freeware from all the usual places.
  34.  
  35. Installation
  36.  
  37. AGNMERGE is a self contained application consisting of a single OPA file that should be placed in the \APP directory.  AGNMERGE saves configuration files in
  38. directory \APP\AGNMERGE.  The icon may be added to the system screen using the install option (Psion + I).
  39.  
  40. Menu Driven
  41.  
  42. AGNMERGE, like many Psion application, is menu driven.  On startup the parameter screen is shown.  Press the Psion key to see the menu.  Use the cursor keys
  43. to navigate around the menu.  Each menu option shows the key combination equivalent.
  44.  
  45. Control Files
  46.  
  47. This menu item holds options to load and save configuration files.  These files record the combination of agenda files and how they are to be combined.
  48.  
  49. New (Psion + N)
  50.  
  51. This option clears the current configuration and enables the user to set up a configuration from scratch.
  52.  
  53. Load (Psion + L)
  54.  
  55. This will load a previously saved configuration.  The configuration files are shown on the system window below the icon before the program is executed.  AGNMERGE
  56. can automatically load a configuration file from the main system window.
  57.  
  58. Save (Psion + S)
  59.  
  60. This will save a configuration to disk.  You can choose the name of the file.  By default it will be written to \APP\AGNMERGE.  If it has been previously saved
  61. the configuration will be written to the same file.
  62.  
  63. Save As (Psion + A)
  64.  
  65. This option will save the current configuration to a different file name.
  66.  
  67. Agenda Files
  68.  
  69. This section deals with specifying which agenda files will be combined, and which agenda file they will be written to.
  70.  
  71. Add Input (Psion + I)
  72.  
  73. This option adds an agenda file to the list of agenda files to be merged.  Up to seven agendas can be merged.
  74.  
  75. Remove Input (Psion + R)
  76.  
  77. This option removes an agenda file to the list of agenda files to be merged.
  78.  
  79. Set Preferences (Psion + F)
  80.  
  81. This option specifies which of the input agendas will be used to supply the agenda preferences.
  82.  
  83. Set Output (Psion + O)
  84.  
  85. This option specifies the name of the agenda file that will be written.  This must not be the same as any of the input agendas otherwise a file error will
  86. result.
  87.  
  88. This dialog will also allow you to set the read only and modified attributes of the output agenda.
  89.  
  90. By default the output agenda file is made read only to prevent accidental updating of the wrong file.  If the previously generated output agenda file is read
  91. only it will be made writable at the beginning of this process.
  92.  
  93. The modified attribute is used by some backup utilities to determine which files to backup.  By default the modified attribute is set.  Turning it off can
  94. prevent unnecessary backup of a generated file.
  95.  
  96. Style
  97.  
  98. These options allow a style to be applied or removed for each entry.  It is possible to specify, for each input agenda, whether each of the three styles (bold,
  99. underline and italic) will be applied, removed, or left on each entry on all the entries for that agenda.
  100.  
  101. For instance you might want all the entries from a particular agenda to be italic but not bold.  By default existing styles are retained.
  102.  
  103. Bold (Psion + B)
  104. Italic (Psion + I)
  105. Underline (Psion + U)
  106.  
  107. Configuration
  108.  
  109. This menu item contains options to control what parts of the agenda is copied, and how it will be presented.  All options are specified for each input agenda
  110. file.
  111.  
  112. Memo (Psion + E)
  113.  
  114. This option specifies whether memos are copied over with the entry to which they are attached, or deleted from it.
  115.  
  116. Alarm (Psion + A)
  117.  
  118. This option specifies whether alarms are copied over with the entry to which they apply, or deleted from the entry.  By default alarms are deleted.
  119.  
  120. TIP: Delete the alarms from agenda which are usually kept open otherwise alarms will be doubled up.
  121.  
  122. Crossed Out (Psion + C)
  123.  
  124. This options specifies whether crossed out entries are copied over to the output agenda.  By default they are deleted.
  125.  
  126. Prefix agenda name (Psion + P)
  127.  
  128. In order to determine from which input agenda an entry in the output agenda has come it is possible to prefix the entry with the name of the input agenda. 
  129. This option will allow any number of letters, from none to all, of the input agenda name to be prefixed to the original entry.  The default is for all of the
  130. agenda name to be used.
  131.  
  132. Repeat occurrence show (Psion + W)
  133.  
  134. This option controls how repeated entries will be displayed in the output agenda.  The repeat occurrence can be left unchanged, which is the default, or all
  135. repeats can be set to either next only or all.
  136.  
  137. Date filter (Psion + D)
  138.  
  139. This options will filter entries by date.  Undated to-do entries are assumed to be dated with today's date.  The options for the filter are the whole agenda,
  140. ie. not filtering, from today, until today,  this calendar year, this calendar month, one month from today, two months from today, a fixed user defined period. 
  141. The date range for the agenda is 1st January 1980 to 31st December 2049.
  142.  
  143. Repeated entries receive special handling if date filtering is enabled.  If the end of the repeat period is before the beginning of the date filter period,
  144. or the start of the repeat period is after the end of the filter period, then the entry is completely omitted.  Otherwise, if the end of the repeat is after
  145. the end of the date filter period it is adjusted to be no later than the end of the date filter period.  If the start of repeat is before the date filter period,
  146. then first repeat on of after the date filter period is calculated.  If this is after the end of the repeat period or the date filter period, then the entry
  147. is omitted from the merge.
  148.  
  149. Special
  150.  
  151. This menu item contains three options
  152.  
  153. Merge (Psion + M)
  154.  
  155. This option runs the loaded merge process as defined by the other options.  While it runs there are two bar graphs displayed.  This give an idea of how far
  156. the process has got.  Each graph is labelled with the agenda file to which they relate.
  157.  
  158. The lower graph is for the output agenda file.
  159.  
  160. The upper graph is for the input agenda file.   It is redrawn for each input agenda.  Each input agenda is parsed twice.  During the first parse nothing is
  161. written to the output agenda, this will be reflected in the lower graph.  The lower graph will not move until the upper graph reaches the halfway  point.
  162.  
  163. Information (Psion + I)
  164.  
  165. This displays a simple version and copyright screen.
  166.  
  167. Exit (Psion + X)
  168.  
  169. This option terminates the application.  It does not check to that the configuration requires to be saved.
  170.  
  171. Change Control
  172.  
  173. V0.1.0    28/09/96  first stable version
  174. V0.2.0    28/12/96  date filtering added
  175. V0.2.1    01/01/97  days by month repeat calculation correction
  176. V1.0.0    20/01/97  first release version
  177.  
  178. Copyright
  179.  
  180. AGNMERGE is the intellectual property of David Kurtz (david@kurzbyrn.demon.co.uk).  I have decided to release it as free software because:
  181.  
  182. 1.   I do not suppose that there are many people who would find so useful that they would part with money.  The effort adding nag messages and registration
  183. codes and in administering a registration scheme would not be worth the expected income.
  184.  
  185. 2. While I have used my best endevour to develop this software,  I will not be responsible for an damage or loss of data or anything else.  You use this software
  186. at your own risk.  However, so do I!
  187.  
  188. 3. This might cause contractual problems with my employer.
  189.  
  190. If you do pass AGNMERGE on then please pass on all of the files!
  191.  
  192. Acknowledgements
  193.  
  194. The AGNMERGE.OPA supplied has been compiled from source code which has been compacted with AKA.  AKA is written by David Palmer (dpalmer@cix.compulink.co.uk),
  195. of Ferret Information Systems.
  196.  
  197. Feedback
  198.  
  199. If you find any problems, or wish to make an suggestions for enhancements then please mail me at
  200.  
  201. david@kurzbyrn.demon.co.uk
  202.  
  203. This and other pieces of software are available from my website
  204.  
  205. http://www.kurzbyrn.demon.co.uk/psion.htm