home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / pocketbk / developmen / x_psion / psion.progs / SCCS / s.NOTES < prev    next >
Text File  |  1993-07-26  |  3KB  |  56 lines

  1. h30998
  2. s 00043/00000/00000
  3. d D 1.1 93/07/26 16:57:10 tim 1 0
  4. c date and time created 93/07/26 16:57:10 by tim
  5. e
  6. u
  7. U
  8. f e 0
  9. t
  10. T
  11. I 1
  12. The following are notes on how to use the psion program stuff
  13.  
  14. Compile the psion program in code, make works in both solaris 1 and solaris 2
  15.  
  16. To setup:
  17. Ensure that you have the suncom application installed on
  18. your psion (the opl source to this application is in psioncode/suncom.opl)
  19. and the psion executable is correctly installed in your search path
  20.  
  21. To run:
  22. connect the psion comms cable to an unused serial port. (the program
  23. defaults to /dev/term/a) startup the psion application on the sun and then
  24. start the suncom application on the psion (the options to psion are detailed
  25. below). The psion program will run the ~/.psrc.pscmd if it exists before
  26. running the commands specified on the command line. If you do not specify 
  27. any commands on the command line the program will enter an interactive mode
  28. and prompt you for commands
  29.  
  30. command line switches
  31.  
  32. Useage: psion [-v|-nv] [-i|-b] [-p|-q] [-r] [-d devname] [cmds]
  33.  
  34. -r (if the suncom program is already running resync the comms link, usefull in shell scripts)
  35. -d <devname> (<devname> is the device name of a serial port to use instead of /dev/term/a)
  36. -v (enable version checking , default)
  37. -nv (disable version checking)
  38.     (version checking does not provide any additional functionality in version 1)
  39. -i (Force interactive mode)
  40. -b (force background mode)
  41.    (interactive / background mode controls the verbosity of the program and is usualy auto determined)
  42. -p (in batch mode pause the psion suncom application instead of exiting as the end of the batch command, this is often used inconjunction with the -r argument when calling the psion program from shell scripts)
  43. -q (default, in batch mode quit the suncom psion application at the end of the batch command)
  44.  
  45. commands are given after the flags and are parsed and runn as if they were
  46. typed as input. after the command has been completed the program will normaly
  47. exit the program and the suncom application on the psion unless the -p
  48. flag has been used. The most common use of the commands is to run batch jobs.
  49.  
  50. once the psion program and suncom application have synced the psion program
  51. will prompt you. There is a help system available to you at this stage which
  52. will give an explanation of the commands. One point to notice is that the
  53. run command search path will default to the current directory and that all
  54. batch files for use with the run command must be suffixed with .pscmd
  55. E 1
  56.