home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 8 / boot-disc-1997-04.iso / PDA_Soft / Psion / comms / pcis10 / PSIONCIS.TXT < prev   
Text File  |  1993-08-23  |  15KB  |  345 lines

  1. PSIONCIS 1.0
  2.  
  3. INTRODUCTION
  4. This is a cutdown version of a script I wrote to automate
  5. Compuserve navigation from the Psion Series 3 computer.
  6. The script is optimized for my requirements while traveling,
  7. and is not designed to be anyone's primary CIS access tool.
  8.  
  9. SCRIPT FEATURES
  10. 1) Configures the 3 Link serial port;
  11. 2) Allows user to control modem settings for travel related variables:
  12.    dialtone recognition, tone or pulse dialing, dialout code and speaker
  13.    status, without editing basic initilization string;
  14. 3) Allows user to choose from 5 stored phone numbers or enter a manual number;
  15. 4) Automatically dials and logs onto CIS (direct nodes only, no
  16.    supplementary network support);
  17. 5) Downloads waiting CIS:MAIL, deletes retrieved messages, but leaves
  18.    binary mail in mailbox;
  19. 6) Uploads outgoing CIS:MAIL, maximum 5 text messages per session,
  20.    including faxes, no support for binary mail.
  21.  
  22. HARDWARE REQUIREMENTS
  23. To use this script you must have:
  24. 1) Psion Series 3 Computer;
  25. 2) Psion 3 Link RS 232 Interface;
  26. 3) Psion Modem Adapter Cable,
  27.    -OR-
  28.    Psion Serial Cable plus Null Modem
  29.      Adapter and Gender Changer;
  30. 4) Hayes compatible Modem.
  31.  
  32. It is recommended that you have at least one SSD. An improperly
  33. configured modem can cause a serial overflow, which may lock up the
  34. Series 3 and require a reset. Files stored on the internal disk
  35. could be lost.  If you must use the internal disk, please backup
  36. your files before any online session.
  37.  
  38. FILE INSTALLATION
  39. You must install the Comms application as explained in the 3 Link manual.
  40. In the event you need to modify my serial port configuration script
  41. (Cis.sco), install the Script Editor also.
  42.  
  43. Copy the files in this archive to the directories indicated. You may need
  44. to create some new directories, including a \CIS\ directory on your
  45. DEFAULT drive.  Some files can be on any drive, but others must be on
  46. your Default drive. I recommend you not use a flash card as your default
  47. drive when running this script, because messages you create or retrieve
  48. will quickly exhaust the storage space.
  49.  
  50. FILENAME     DRIVE  DIRECTORY FLASH?
  51. Cis.als      Any     \APP\     OK
  52. Cis.sco      Any     \SCO\     OK
  53. Psioncis.sco Any     \SCO\     OK
  54. Psioncis.nam Any     \SCO\     NO
  55. Cis.scr      Any     \SCR\     NO
  56. Edit.wrd     Default \CIS\     NO
  57. Mail.wrt     Default \WDR\     OK
  58. Fax.wrt      Default \WDR\     OK
  59.  
  60. After copying all files install Cis.als on your system screen, using
  61. <Psion-I>.  I suggest you place it next to the Comms application.
  62. A simple CIS icon will show on your system screen. If anyone would like
  63. to design a nicer icon, I will incorporate it into a future version.
  64.  
  65. INITIAL SETUP
  66. Before you can run the script you must add information to the Names file.
  67. To access the file follow these steps:
  68.  
  69. 1) Attach the 3 Link to the Series 3.
  70.  
  71. 2) Start the Comms application by selecting "Comms [C]" from the list of
  72.    scripts under the Comms icon. Make certain you are using the Comms
  73.    icon, not the Script Editor. (If you see a "File or device in use"
  74.    message, press <Esc>,<Psion-L>, turn Remote Link off, and try again.)
  75.  
  76. 3) Press <Psion-L> to load names; choose the file called "Psioncis"
  77.    (change the drive, if necessary to find it), and press <Enter>.
  78.  
  79. 4) Press <Psion-M> to modify names. The first Name should be "Dialout".
  80.    If not, you are using the wrong file.
  81.  
  82. 5) Fill in the value for each Name as explained in MODIFY NAMES section
  83.    below. Press <Tab> after each change.
  84.  
  85. 5) After completing all values press <Enter>.
  86.  
  87. 6) Press <Psion-S> to save the changes you have made to the Names file.
  88.    If you do not save your changes, they will be lost when you exit Comms.
  89.  
  90. 7) Press <Psion-X> to exit Comms.
  91.  
  92. MODIFY NAMES
  93. You must provide a value for each variable in the file Psioncis.nam.
  94. Names are stored alphabetically, but are grouped here by function.
  95. Jump directly to a Name by pressing the first letter; most start with
  96. a unique character.
  97.  
  98. Modem Initilization
  99.  
  100. Initialize: String used to initialize modem. I have included mine, but
  101. there is no reason it should work with your modem.  Do not include the
  102. M or X options in this string, as they will be stored separately.
  103. The script issues  AT&F, returning the modem to the factory defaults,
  104. before sending your string.
  105.  
  106. Extended: The X value used in modem initialization. I have set it to X4,
  107. which recognizes US dialtone & busy signal, and provides extended connect
  108. messages (e.g. CONNECT 2400, rather than simply CONNECT).  You may need
  109. to change this value when calling from another country, with a US modem,
  110. due to the different dialtone and busy signal.
  111.  
  112. Loudspeaker: The M value used in modem initialization.  I have set it to
  113. M0 for silent operation, but you may change to M1 to hear the modem dial
  114. and handshake.
  115.  
  116. Phone Parameters
  117.  
  118. Tone: Selects Tone or Pulse dialing.  I have set it to T for Tone, use P
  119. if you require Pulse.
  120.  
  121. Dialout: Code required to access an outside telephone line. I have left
  122. it blank, but you may need to enter 8, or 9, when calling from a hotel
  123. or office.
  124.  
  125. Node1: Phone number of CIS USA toll free 2400bps node. There is a
  126. surcharge for using it, but it is often cheaper than paying .50 or .75
  127. to make a local call from a hotel.
  128.  
  129. Node2: Phone number of CIS node you use from Home.  I have left it blank,
  130. because I do not know where you live.
  131.  
  132. Node3: Phone number of CIS node you use from work.
  133.  
  134. Node4: Phone number of CIS node in London, UK.
  135.  
  136. Node5: Phone number of CIS node in Paris, France.
  137.  
  138. CIS Parameters
  139.  
  140. Userid: Your CIS user ID number.
  141.  
  142. Password: Your CIS password.  Do not confuse it with the password you
  143. may assign to protect the Psioncis.nam file.
  144.  
  145. Windup: Command sent to CIS at the end of the script.  I have set it to
  146. OFF, to logoff, but if you prefer to stay on line to do interactive work,
  147. you may use another command, like TOP or GO BASIC.
  148.  
  149. ONLINE SETUP
  150. To insure compatability with the script, and to make CIS easier to use
  151. with the Series 3, you should change your online settings.  This can be
  152. done with the Series 3, but it will be easier with an 80X25 screen.
  153. To change settings GO TERMINAL, and choose option 2, CHANGE PERMANENT
  154. SETTINGS from the menu. These are all my settings, with the important
  155. ones for Psion operation marked with an asterisk.
  156.  
  157. LOGON/SERVICE OPTIONS
  158. *1 First service at logon
  159.                        [COMMAND]
  160. *2 CompuServe Mail waiting
  161.                    [NOTIFY ONLY]
  162.  3 Personal menu established
  163.                            [YES]
  164.     (Select this to create or 
  165.     change a personal menu.)
  166.  4 TOP goes to            [MENU]
  167.  5 Online editor          [EDIT]
  168.  6 Forum presentation mode
  169.                           [MENU]
  170.  7 Basic Service Alerts     [NO]
  171.  
  172. PERM DISPLAY OPTIONS
  173.  1 PAGED display           [YES]
  174. *2 BRIEF prompts           [YES]
  175.  3 CLEAR screen between pages
  176.                            [YES]
  177. *4 BLANK lines sent         [NO]
  178.  5 Line feeds sent         [YES]
  179.  
  180. TERMINAL TYPE/PARAMETERS
  181. *1 TERMINAL type         [OTHER]
  182. *2 Screen WIDTH             [39]
  183. *3 LINES per page            [8]
  184.  4 Form FEEDS        [SIMULATED]
  185.  5 Horizontal TABS   [SIMULATED]
  186.  6 Chars. received (CASE)  [U/L]
  187.  7 Chars. sent in CAPS      [NO]
  188.  8 PARITY                 [ZERO]
  189.  9 Output DELAYS             [1]
  190. 10 ERASE when backspacing  [YES]
  191. 11 Micro inquiry sequence at logon
  192.                             [NO]
  193. FILE TRANSFER/GRAPHICS
  194. FILE TRANSFER PROTOCOL
  195.  1 PROTOCOL preference  [XMODEM]
  196. GRAPHICS SUPPORT
  197.  2 GIF SUPPORT              [NO]
  198.  3 NAPLPS SUPPORT           [NO]
  199.  4 RLE SUPPORT              [NO]
  200.  
  201. These settings may be incompatible with those required by other Comms
  202. programs, but most automated CIS navigators, such as Compuserve
  203. Information Manager and TapCIS use the "Micro inquiry sequence" at login,
  204. so these settings are ignored. However, if there is a conflict with
  205. another program, set parameters to match the other's requirements and
  206. try the script anyway, it will probably run, but your manual navigation
  207. of the system will be more difficult.  Also, you may wish to experiment
  208. with LINE PER PAGE settings. I have found that 11 works well in areas
  209. like AP NEWS. You can temporarily change this setting at any ! prompt
  210. by typing SET LINES X  where X is the number of lines.
  211.  
  212. RUNNING THE SCRIPT
  213. 1) Attach 3 Link and Modem to Series 3;
  214.  
  215. 2) Start the script by selecting Cis from the list under the Comms icon.
  216. Make certain you are using the Comms icon, not the Script Editor.
  217.  
  218. 3) The script Cis.sco performs two functions: it configures the 3 Link
  219. serial port, and it calls the script Psioncis.sco which does the logon
  220. and online work.  If the script does not work properly with your modem,
  221. open the file Cis.scr in the Script Editor to examine the setup
  222. parameters. You may edit this script, translate it using <Psion-T>
  223. overwriting Cis.sco with a new version.
  224.  
  225. 4) The Main Menu gives three options. If you need to change anything in
  226. the Names file, choose Modify Parameters and follow the instructions in
  227. the MODIFY NAMES section, above. If you wish to go online without
  228. retrieving or sending CIS:MAIL choose Cismail Toggle [On], press
  229. <Enter>, and the menu will show Cismail Toggle [Off].  Otherwise choose
  230. Select Node & Dial, and press <Enter>.
  231.  
  232. 5) The script will initialize your modem and display the Dialing Menu.
  233. Choose the node you wish to call, press <Enter>, and the script will
  234. dial, logon and retrieve waiting CIS:MAIL, without futher intervention.
  235. You can stop the script at any time by pressing <Esc>.
  236.  
  237. 6) If the script displays "No Dialtone", "Busy" or "No Carrier" alerts,
  238. press <Esc> and the A/ command will be issued to redial.  All other
  239. alerts terminate the script. If a failure occurs online the alert will
  240. offer a brief explanation of the problem.  Please read information
  241. displayed before pressing <Esc>. Most online failure alerts also
  242. include a number, which will help me determine where the problem occurred.
  243.  
  244. READING CIS:MAIL MESSAGES
  245. All CIS:MAIL retrieved in an online session is stored in \CIS\Newmail.wrd
  246. on your default drive. This file will appear on your system screen,
  247. beneath the CIS icon. To read your mail, simply select the file and press
  248. <Enter>. You can then work with this file like any other Psion Word
  249. document.
  250.  
  251. CREATING CIS:MAIL MESSAGES
  252. To create a CIS:MAIL message, follow these steps. Please don't second
  253. guess me by omitting any steps until you understand the whole process.  
  254.  
  255. 1) Select the file Edit under the CIS icon, and press <Enter>.
  256. The first time the file will contain on a single carriage return.
  257.  
  258. 2) Press <Psion-N> to create a new file.
  259.  
  260.    Name the new file:     Edit
  261.    Set Use template to:   Yes
  262.    Choose Template Name:  Mail.wrt
  263.    Press <Enter>
  264.    Press <Y> to overwrite existing file.  
  265.  
  266. 3) The mail template consists of two lines:
  267.     To:
  268.     Subj:
  269. with the cursor positioned after the colon on the first line. Type the
  270. name and CIS address on the first line, for example:
  271.     To: Dennis Lefebvre 71660,1273
  272. then use the down arrow key to move to the subject line, and type in a
  273. subject, for example:
  274.     Subj: Test Message
  275. then use the return key to move to the next line and compose your message
  276. just like any other Word document, but do not use emphases (e.g. bold,
  277. underline, italic) or non-ASCII characters, because the file must be
  278. saved as text. The template sets Text file type <Psion-Q> to Line.
  279. This causes Word to save the file with a carriage return at the end of
  280. each line, approximately every 80 characters, as required by CIS.
  281. Word wrap is operational to simplify editing, and you need press <Return>
  282. only at the end of a paragraph, but be aware that in Line mode Word will
  283. insert two carriage returns in the saved file for each one you use, so a
  284. column of short lines will always be double spaced. The template has
  285. "Show as symbols" <Psion-H> set to Yes for carriage returns, to remind
  286. you of this "feature".
  287.  
  288. 4) When you have completed your message press <Psion-A> to save the file.
  289.  
  290.    Use File name:    Mail1
  291.    Set Use new file: Yes
  292.    Set File type:    Text
  293.  
  294. To compose another message, press <Psion-N>, or to exit press <Psion-X>.
  295. The first message must be named Mail1, the second Mail2, and so forth
  296. through Mail5, the files must be in the \CIS\ directory on your default
  297. drive. Each must have a .wrd extension, which will be automatically
  298. added. The series of file names must be unbroken; if there is no Mail1
  299. file, the script will not look for Mail2, etc.
  300.  
  301. 5) If you must edit a message you have already saved, be sure to use
  302. <Psion-A> to Save As text, completing the dialogue exactly as for a
  303. new file. If you do not explicitly save as Text, and set Use new file
  304. to Yes, you will end up with a .wrd format file when exiting, <Psion-X>.
  305.  
  306. CREATING CIS FAX MESSAGES
  307. Fax messages are created just like other CIS:MAIL messages, but use the
  308. Fax.wrt template.  On the To: line insert the recipient's name after the
  309. colon, but before >FAX:, and put the fax number, including the national
  310. dialing prefix, after >FAX:.  For example:
  311.  
  312. TO: Dennis Lefebvre >FAX:1-305-688-7661
  313.  
  314. You _must_ include a name in the space indicated, or the script will fail.
  315. Fax messages must be saved with a name Mail1 - Mail5, just like any other
  316. CIS:MAIL message.  
  317.  
  318. FILE MANAGEMENT
  319. The Series 3 Comms program includes no file management tools. It can
  320. create new files, and check for the existence of specific files, but
  321. it cannot append to existing files, nor move, rename, or delete files.
  322. Therefore the user must manually deal with files, else unread mail
  323. could be overwritten or outgoing messages sent twice.
  324.  
  325. The script checks for the existence of \CIS\Newmail.wrd at startup,
  326. and warns you that it may be overwritten by new messages.
  327. If you have already read the file, and do not care to save the
  328. contents, just press <Esc> and the script will run normally.
  329. Otherwise, move or rename the file to protect it.
  330.  
  331. After uploading Mail1 - Mail5 you must similarly delete, rename or
  332. move those files, else they will be sent again. I have created a
  333. series of subdirectories under \CIS\ for each person that I regularly
  334. correspond with; it's easy to rename and move a file to a subdirectory
  335. of the current directory, in one operation, using Purple Software's
  336. File Manager program.
  337.  
  338. DISCLAIMERS
  339. This script works reliably on my computer, with my modem, but I cannot
  340. assume any liability for lost data, telephone cost, or CIS charges if
  341. it doesn't work properly for you.  Use at your own risk.  The script is
  342. provided free of charge, but I retain ownership. I will be happy to
  343. answer questions or provide assistance on CIS:PALMTOP or through
  344. CIS:MAIL @ 71660,1273.
  345.