			 Installing Unison for Motif


   1- You should find on your distribution media the following files:

	1- unimwm
	2- unimwm.uid
	3- unimwm.csc
	4- unimwm.ini
	5- XXX.AFM (12 files)
	6- afm.dir
	7- xvtprolg.ps
	8- readme


   2- Put these files in a directory of your choice. 
      For example: /usr/bin/unison.


   3- Set the evironment value XVTPATH to the directory you have chosen:

       ex.: setenv  XVTPATH  /usr/bin/unison

      If you are using the k shell (ksh) then instead of using setenv 
      wherever it is mentioned in this document, do this instead:

	 XVTPATH=/usr/bin/unison
	 export XVTPATH

      If you skip this step, you will get the following error every time
      you try to print: 
	 "Print Error: Bad Or Missing Environment Variable XVTPATH" 


   4- Set the environment value UIDPATH to the directory you have chosen 
      with the three characters "/%U" tagged on at the end:

	 ex.: setenv  UIDPATH  /usr/bin/unison/%U

      If you are using the k shell (ksh) then do this instead:

	 UIDPATH=/usr/bin/unison/%U
	 export UIDPATH

      If another application uses this environment value, concatinate the unison
      path software to the existing UIDPATH value. 
      You can specify multiple paths the following way::

	 ex.: setenv  UIDPATH  ./%U:/usr/bin/unison/%U

      You can concatinate a path to the existing value the following way:

	 ex.: setenv  UIDPATH  $UIDPATH:/usr/bin/unison/%U

      This path indicates that all UID files used by Motif applications could
      reside in those directories. The %U variable is a value subtituted at
      run time by the application's base name. If you don't provide this path,
      the application will search in the current default directory. If this 
      path is not set correctly or if the unimwm.uid file is missing, the 
      following error message will appear:

	 Warning: Couldn't open file unimwm.uid - MrmNOT_FOUND
	 Fatal Internal XVT Error: 49955 - XXXXXX


   5- Make sure the XVTPATH is in the users' PATH searched for executables.


   6- Edit the file unimwm.ini and replace the host entry's "YOURHOSTNAME" with
      the name of the host where the Unison engine is running. Ex.:

	 host = pegasus


   7- Edit the file unimwm.ini and replace the node Id entry's "YOURNODEID" with
      the Node Id (number) of the host where the Unison engine is running. Ex.:

	 NodeId = 401

      To have your own agenda automatically loaded when you start the unimwm
      program, enter your user ID in the unimwm.ini file using the following 
      format. For example, if your user ID is 257 enter this line:

	 ItemId = 257

      If you don't know your user ID, run unimwm the first time without the
      ItemId entry in the unimwm.ini file and select your name from the
      search box that will appear. Then you can get your user ID by selecting
      the "About Connection..." command from the "Help" menu.

   8- Edit the file unimwm.ini and replace the PrintCmd entry "YOURPRINTCOMMAND"
      with the command you use to send postscript files to your printer.
      For example if your command to print a file of the name FileName to 
      a POSTSCRIPT PRINTER is: "lp -lpt1 FileName" make the following 
      changes to the unmwm.ini file:

	  PrintCmd = lp -lpt1 %s
	
      Otherwise the error Print Error Bad Or Missing PrintCmd Line Will
      appear if you attempt to Print.

   9- When adjustsments need to be made on the right and bottom margins of
      printouts, entries in the ini file can be used to do this. The right
      margin value represents the number of dots by which the right margin 
      will be moved to the left. The bottom margin value represents the 
      number of dots by which the bottom margin will be moved up. To change
      these margin enter values the following way:

	  RightMargin = 100
	  BottomMargin = 100

  10- If there are more then one Unison servers available, the users of the
      Unison motif interface can copy the unimwm.ini file into their home 
      directory and modify the host and NodeId entries to reflect the Unison 
      server they wish to connect to.
   
   
  11- A user can also create a unimwm.ini file in the current default directory.
      When the Unison for Motif interface is started up, it will first look for 
      a copy of the file unimwm.ini in the current default directory. If none
      exist, the $HOME environment path will be used to get the unimwm.ini file.
      If the user's home directory does not have a copy of unimwm.ini, the one
      found in the XVTPATH directory will be used.


  12- To execute Unison for Motif, type "unimwm".

  13- When the Print command is used, a post script output file named 
      "diarydoc.ps", "eventdoc.ps" or "taskdoc", will be created depending
      on whether you are printing an agenda, event or task, respectively.
      

  14- If your Motif system with the message "couldn't open font rk18" then 
      you may want to change the font used. Edit the file unimwm.ini and add 
      the following entries with another font name such as "helv16" or 
      "timr18". These fonts are not used everywhere in the program. 
      They are used in some dialog boxes only. The MotifFontName1 must be 
      less or equal to a size 14 point font. The MotifFontName2 must be less 
      or equal to a size 18 point font.
      To get the list of all fonts available, use the command "xlsfonts".

	 MotifFontName1 = rk12
	 MotifFontName2 = rk12

  15- As super user on the unix system, make sure the file /etc/services
      has the following entry:
                   unieng  5730/tcp


