home *** CD-ROM | disk | FTP | other *** search
/ PSION CD 2 / PsionCDVol2.iso / Programs / 444 / STLINK.TXT < prev   
Encoding:
Text File  |  1999-01-28  |  23.1 KB  |  546 lines

  1.                                   ST-Link 5
  2.  
  3. What is STLink 5
  4.  
  5.     STLink 5 is a communications package to allow files to be
  6. transfered between the Psion Series 5 palmtop computer and the Atari ST
  7. series of desktop machines.
  8.  
  9.     STLink can transfer individual files, complete directories or even
  10. the complete contents of a C.F. in a single operation.
  11.  
  12.     Like PsiWin, the official P.C. communications software, all
  13. transfers are controlled by the desktop computer.
  14.  
  15. How it works
  16.  
  17.     STLink uses a dual file-selector type of interface, similar to
  18. that used by several archiving utilities. Copying  a file from one computer
  19. to the other is simply a matter of selecting the file in the appropriate
  20. file selector, and clicking on COPY.
  21.  
  22. Installation
  23.  
  24.     STLink is in two parts, the program for the Atari, and the
  25. Application for the Psion. The contents of the Atari folder should be
  26. placed into an appropriate location on the Atari disc drive. The contents
  27. of the System folder should be placed onto the Psion. If you unzipped this
  28. archive with 'Recurse subdirectories' selected, the files should already
  29. be within the correct folders. If not, create a directory called 'STLink'
  30. within your \System\Apps directory, and place the application files within
  31. it.
  32.  
  33.     Of course, until you have installed STLink you may have no method
  34. of installing the files on the Psion. To overcome this the Installation program 
  35. INSTALL5.PRG will transfer the application on the Psion for you. See
  36. 'Installation Program' later.
  37.  
  38. Files
  39.  
  40.     README.1ST -        Read this first    
  41.     STLINK.TXT -        This document (in plain ASCII).
  42.     STLINK.WRD -        This document in Psion Word format.
  43.     INSTALL5.PRG -        The installation program
  44.     INSTALL5.RSC -        The resource file for installation
  45.     INSTALL    -        The OPL file for installation
  46.     
  47. In the Atari folder:-
  48.  
  49.     STLINK55.PRG -          The STLink programme for the Atari.
  50.     STLINK55.RSC  -      The Resource file for STLink.
  51.  
  52. In the Convert folder within the Atari folder:-
  53.  
  54.     PSIRTF.TTP -        File conversion utility by Jeremy Smith
  55.     PSICLIP.TTP -        Clipboard conversion utility (see text)
  56.     CLIPPSI.TTP -        Clipboard conversion utility
  57.  
  58. In the System folder:-
  59.  
  60.     STLink.app -         The application for the Psion Series 5
  61.     STLink.aif -         The Icon for STLink
  62.     STLink.mbm -         Graphics used by the application
  63.  
  64. Running STLink
  65.  
  66.         Once STLink has been installed, connect the Psion link cable
  67. between the Psion and the Atari. This will plug directly into an Atari
  68. Falcon, but will need a 9-pin to 25-pin adapter for use on the ST.
  69.  
  70.     Start STLink by touching the STLink icon in the Psion extras 
  71. bar. Next run STLINK55.PRG on the Atari. After a short copyright 
  72. notice, you should see the main screen showing the two file selectors.
  73.  
  74.         Whilst not essential, I recommend always running STLink on the
  75. Psion first, as the Atari end of STLink will time-out after 10 seconds.
  76.  
  77. The file selector
  78.  
  79.         The main screen for STLink is a dialogue containing two file
  80. selectors, one showing files on the Atari, the other showing files on the
  81. connected Psion.
  82.  
  83.         The operation  of the file selectors is similar to that of the
  84. standard Atari file selector, although due to the different directory
  85. handling of the Psion, there are some differences as explained below.
  86.  
  87. Selecting files:
  88.  
  89.                To select a file, click on it with the mouse. You can select
  90.                as many files as you can see in the file window. If a
  91.                filename is scrolled out of the window it becomes de-
  92.                selected. Several files may be selected in one operation by
  93.                clicking and dragging. To de-select a file click on it
  94.                again.
  95.  
  96.                To find a file quickly in a large directory, enter the
  97.                initial letter of the filename on the keyboard. The file
  98.                selectors will scroll to show the files beginning with this
  99.                letter.
  100.  
  101. Selecting folders:
  102.  
  103.                As well as selecting files it is possible to select folders
  104.                (sub-directories) for copying. To open a folder to see its
  105.                contents it is therefore necessary to double-click on it, as
  106.                you would in the Atari desktop.
  107.  
  108.                To return to the previous directory, click on the 'close'
  109.                icon at the top left corner of the selector.
  110.  
  111. Selecting discs:
  112.  
  113.                To select between disc drives/partitions on the Atari, click
  114.                on the drive letter with the mouse. When opening a new
  115.                partition it will always open at the root directory. This is
  116.                therefore a quick way of returning to the root directory of
  117.                any partition.
  118.  
  119.                On the Psion you may select from the internal RAM (C), the
  120.                CF slot (D) or the internal ROM (Z). There is also a
  121.                button to select an E drive, should that become available
  122.                in the future.
  123.  
  124. File masks:
  125.  
  126.                The STLink file selector does not handle complex file
  127.                masks, but file extensions can be selected by clicking on
  128.                the buttons in the lower half of the dialogue.
  129.  
  130.                To use a different file mask to those shown, you may modify
  131.                the contents of a button by pressing Shift, Control or
  132.                Alternate whilst clicking on the button. You can now enter
  133.                the new file extension.
  134.  
  135.                If you have changed a file extension it can be saved for future 
  136.                use by selecting Save from the Preferences menu.
  137.  
  138.                Unlike the normal Atari file selector, when a file mask is
  139.                selected, the selector no longer shows sub-directories
  140.                (unless they also match the file mask). To reshow these
  141.                directories, click on the *.* button. Because of this the
  142.                file mask is automatically deselected when navigating up and
  143.                down the directory tree.
  144.  
  145.                For consistency, the Atari and Psion file selectors operate
  146.                identically.
  147.  
  148. Copying files
  149.  
  150.         To copy a file from one machine to the other, select the file (or
  151. files) in the appropriate selector. Set the other selector to show the
  152. directory you wish to copy the file to, and click on the appropriate COPY
  153. button. The top button copies from the Psion to the Atari and the bottom
  154. button does the reverse.
  155.  
  156.         If, when you attempt to copy the file, a file of the same name
  157. already exists in the destination directory, STLink will warn you of the
  158. fact. You can then choose from the three options:
  159.  
  160. Copy -    Copy the file anyway, overwriting the original.
  161.  
  162. Skip -    Ignore this file and copy the next (if any).
  163.  
  164. Cancel -  Cancel the copying process completely.
  165.  
  166.         Alternatively you can edit the filename in the dialogue and copy
  167. the file under the new name. If this filename also exists, STLink will
  168. again tell you.
  169.  
  170. Copying directories
  171.  
  172.         As well as copying files you may also copy directories. If you have
  173. selected a folder, STLink will ask you whether you wish to copy the
  174. directory empty or with its contents. If you select "With Contents" then
  175. all the contents of that directory will be copied including any
  176. subdirectories and their contents. If you have selected several folders,
  177. your selection will apply to them all.
  178.  
  179.         If you try and copy a directory which already exists, the new
  180. directory will not be created. Instead the existing directory will be
  181. opened and any contents copied into it.
  182.  
  183. Bulk copying
  184.  
  185.         If you click on a  copy button without selecting any files or
  186. folders, STLink will assume that you wish to copy the whole of the
  187. displayed directory. Before doing do however, STLink will ask you to
  188. confirm this. You may then change the selection in the following way:-
  189.  
  190. Files -   Copies all the files in the directory without copying any of
  191.           the sub-directories. If you have selected a file mask, only
  192.           those files which match the mask will be copied.
  193.  
  194. Folders - Copies all the folders in the directory as empty
  195.       subdirectories in the destination.
  196.  
  197. Tree -    Copies all the files and folders including their contents
  198.       and any subdirectories (subject to the file mask).
  199.  
  200.         You may also modify these commands as follows:
  201.  
  202. All -     Copies all files (subject to the file mask) whether they
  203.           exist in the destination directory or not. Any files which 
  204.           already exist will be overwritten.
  205.  
  206. New -     Only copies files if they do not already exist in the
  207.           destination directory or the copy in the source directory is 
  208.           newer than that in the destination.
  209.           
  210.           This facility allows true incremental backups to be carried 
  211.           out.
  212.  
  213. Ask -     If a file exists, STLink asks whether to overwrite it.                                   not, as in normal copying.
  214.  
  215.         Using the above you can copy the complete contents of a drive in a
  216. single operation.
  217.  
  218. Open files
  219.  
  220.     It is quite common on the Psion when trying to copy a file, to 
  221. find that it is open in another application. If this should happen 
  222. STLink will ask you whether or not you wish to close the file. If you 
  223. click on 'Close all' STLink will automatically close any other open 
  224. files it finds during the transfer.
  225.  
  226.     When you Quit STLink it will ask you whether you wish to 
  227. restart the files that the program closed. Note that STLink is not 
  228. guaranteed to successfully open all files it closed. This will depend 
  229. to a large extent on the application which created them.
  230.  
  231. Local copying
  232.  
  233.         For convenience STLink also gives you the ability to copy files
  234. locally within either computer. If you wish to copy a file within the
  235. Psion, say, select the file(s) you wish to copy in the normal manner
  236. and click on the left Copy button.
  237.  
  238.         The Atari file selector will then 'grey out' and the Copy button
  239. will change to say "OK". The QUIT button will also change to say 
  240. "CANCEL". Select the directory you wish to copy the file(s) to and click on      
  241. OK. The file(s) will then be copied. You can copy directories in exactly the 
  242. same manner as copying between both machines. Bulk copying is not 
  243. however supported.
  244.  
  245. Erasing files
  246.  
  247.         Files may be erased by selecting and clicking on the appropriate Delete 
  248. button. You will be asked to confirm that you wish to delete the files you have
  249. selected.
  250.  
  251.         You may also delete Directories. In this case you will be presented
  252. with a confirm dialogue for each directory you have selected. If you click
  253. on 'Delete' the directory will be deleted with all its contents including
  254. any subdirectories. You may also click on 'Files' in which case only the
  255. files within the directory will be deleted. Any subdirectories and their
  256. contents will be left intact.
  257.  
  258. Renaming files
  259.  
  260.         Files may be renamed by clicking on the Rename button. Edit the
  261. filename in the dialogue box to enter the new name. You can also rename
  262. folders if you wish.
  263.  
  264.                Note: You cannot rename folders on the ST with early
  265.                versions of TOS.
  266.  
  267. Creating new folders
  268.  
  269.         If you wish to create a new folder, you can do so by clicking on
  270. the Rename button without selecting a file first. The new folder will be
  271. created in the directory which was displayed in the file selector.
  272.  
  273. File Conversion
  274.  
  275.     STLink now has the ability to support file conversion whilst 
  276. transferring a file. At present the only file conversion supported is from 
  277. Psion 5 Word to RTF (for import into Calligrapher or Papyrus). 
  278. The conversion software is installed into a folder called "CONVERT" in the 
  279. same directory on the Atari as STLink itself.
  280.  
  281.     In order to convert files, the conversion option should be ticked 
  282. in the "Conversion" menu. There are seperate options for conversions whilst 
  283. transferring from Psion to Atari, and from Atari to Psion (the latter option
  284. is currently 'greyed out' as there are no conversions available in that 
  285. direction).
  286.  
  287.     All conversions take place on the Atari machine, consequently when a 
  288. file is transferred. both the original format file and the converted format 
  289. will be found on the Atari. If "Delete original" is ticked the Psion format 
  290. file will be deleted from the Atari, leaving just the converted file. (If 
  291. the transfer is from the Atari to Psion, the Psion version will be deleted 
  292. leaving just the Atari format original).
  293.  
  294.     The only conversion currently available is PSIRTF written by Jeremy 
  295. Smith, which converts from the Psion 5 Word format to RTF. this is currently 
  296. a  beta test version which has some known faults:-
  297.  
  298.     1.    It does not support Objects within the Word file. If an object
  299. is encountered, the conversion will halt, and PSIRTF will have to be exited 
  300. via the desktop (Alt-Cntrl-Esc under Magic).
  301.  
  302.     2.    The converter assumes that the file has a heading, either 
  303. underlined or in bold type. If this is not the case, the converted file is 
  304. blank, containing only the RTF header. An update of this software should 
  305. soon be available.
  306.  
  307. Converting in situ
  308.  
  309.     Occasionally it may be useful to convert a file locally on the Atari, 
  310. perhaps to access a file from your Psion back-up directory. As the conversion 
  311. utility is a TTP program, it may be run from the desktop. Double click on the 
  312. TTP file then enter the following information into the command line 
  313. dialogue:-
  314.  
  315.     Source_file_name <space> Destination_file_name
  316.  
  317.     If no command line is entered, copyright information will be displayed.
  318.  
  319. Cut and Paste
  320.  
  321.     Cut and Paste provides an alternative method of transferring textual
  322. data between the two machines without the need to convert files. Cut and Paste 
  323. makes use of the system scratchpad on both machines. To transfer data, first 
  324. select it in the appropriate application on the source computer then Copy (or 
  325. Cut) it to the clipboard. Connect the two machines via STLink, then select the 
  326. appropriate direction from the Cut and Paste menu. Once the file has been 
  327. transferred, you should be able to Paste the data directly into your target 
  328. application.
  329.  
  330.     If you are running a multitasking system on the Atari, you may keep 
  331. STLink running whilst transferring a series of clipboards between 
  332. applications on the two machines.
  333.  
  334.     Note that some programmes on the Atari (Such as Everest) need the Gem 
  335. clipboard to be specifically selected before Cut and Paste will work.
  336.  
  337.     At present Cut and Paste has problems with data transferred from the 
  338. Psion spreadsheet. This is because the clipboard data includes formatting 
  339. information. I hope to cure this soon, however until then, Paste the data into a 
  340. Psion Word file first, then copy from there to the Atari. Importing data into 
  341. the Psion Spreadsheet works perfectly, especially if the data is Tab 
  342. delimited.
  343.  
  344. Speed
  345.  
  346.     STLink can operate at one of four speeds depending on the type of 
  347. hardware you are using:
  348.  
  349. 19200 baud -    suitable for basic unmodified Atari STs
  350. 38400 baud -    suitable for TTs and STs with a modified serial port
  351. 57600 baud -    suitable for Atari Falcons
  352. 115200 baud :    suitable for accelerated Falcons and faster machines
  353.  
  354.     Note that due to limitations of the Atari operating system, speeds 
  355. above 19200 baud cannot be selected  unless HSModem or another serial port 
  356. accelerator is installed.
  357.  
  358.     To change the link speed, select the new speed from the Speed 
  359. menu. The speed may be changed at any time, although if selected 
  360. during a file transfer, the rate will not change until the transfer 
  361. has completed. The Tick in the menu indicates the current rate, not 
  362. that which you have just selected.
  363.  
  364.     Once you have selected the appropriate speed for your hardware, you 
  365. should Save Preferences. The link will then start at this rate next time the 
  366. program is run.
  367.  
  368.     Note that actual transfer speed is not totally dependant on 
  369. the serial data rate. There is some processing 'overhead' which will 
  370. differ depending on the type of machine you are running.
  371.  
  372. Too fast?
  373.  
  374.     If the link speed is set too fast for your hardware, errors in 
  375. the link will occur. These may take the form of a Link Failed dialogue, or 
  376. you may get corrupted filenames in the file selector. If the rate is only 
  377. slightly too fast, you may find that a file transfer starts but fails with 
  378. an error dialogue containing a string of data from the file.
  379.  
  380.     In any of these events, you need to reduce the speed, but this may be 
  381. difficult if the link has failed. You can solve this by one of two methods. 
  382. Either delete the settings file "STLINK.SET" and start again, or start the 
  383. Atari end of the link first, quickly select the correct rate, then start the 
  384. Psion end of the link. Remember you only have a few seconds to do this before 
  385. the link times out.
  386.  
  387. The Menu bar
  388.  
  389.     Desk Menu
  390.     
  391.         Allows access to Desk accessories and displays STLink's 
  392.         'About' screen.
  393.  
  394.                 Note: If calling up the Control Panel accessory do not
  395.                 change the Modem settings as this will cause STLink to 
  396.                 'hang'.
  397.  
  398.     Preferences Menu
  399.     
  400.         Allows current preferences to be saved. These include the 
  401.         conversion settings, link speed and file extensions
  402.  
  403.     Speed Menu
  404.  
  405.         Allows the link speed to be adjusted to match your hardware.
  406.  
  407.     Conversion Menu
  408.  
  409.         Allows conversions to be selected as required.
  410.  
  411.     Cut and Paste menu
  412.  
  413.         Allows clipboard data to be transferred between the 
  414.         two machines.
  415.  
  416. Aborting a transfer
  417.  
  418.         If you need to abort a process you have started you may do so by
  419. clicking on the 'close' icon of the STLink window. This will display
  420. an error dialogue with the message "Process interrupted". Clicking on
  421. OK will allow the process to continue as before. Clicking on Cancel
  422. will allow the current file transfer to complete, then return to the
  423. main dialogue. As with other errors, clicking on Quit will quit
  424. STLink completely.
  425.  
  426. Multitasking
  427.  
  428.         STLink is written to be compatible with multitasking operating
  429. systems such as MagiC or Multitos. All dialogues (except the About 
  430. info box) are movable by dragging their title bars. The Main file 
  431. selector dialogue is also amodal, allowing you access to other 
  432. programmes or desk accessories. The file selector cannot currently be 
  433. iconised, but it may be hidden by the operating system. The progress 
  434. window can also be moved.
  435.  
  436.         On the Psion, you may run STLink in the background, however if too
  437. many tasks are running simultaneously, the Psion may miss characters on the
  438. link, which will cause STLink to 'hang'. If possible make STLink the
  439. foreground task on the Psion.
  440.  
  441. Errors
  442.  
  443.         With a link programme such as STLink, two types of error may
  444. occur: errors on the Psion and errors on the Atari. In both cases you
  445. should see an error dialogue, and you can tell which machine the error has
  446. occurred on from the symbols in the dialogue. I hope that I have trapped
  447. all likely errors.
  448.  
  449. Errors on the Psion
  450.  
  451.     When an error occurs on the Psion, the error message displayed 
  452. in the error dialogue is generated by the Psion. For the meanings of 
  453. these messages, consult the Psion manual.
  454.  
  455.     Some errors may be transitory (e.g you may be trying to copy a 
  456. file whilst it is open in an application which is busy). In this case 
  457. pressing OK will continue with copying the next file.
  458.  
  459.     Other errors may be more serious and you may have to Cancel 
  460. the transfer. Finally some errors may be fatal (e.g. Batteries too 
  461. low) in which case you may have to hit Quit. Clicking on Quit exits 
  462. the program on both machines, although closed filed will not be 
  463. reopened.
  464.     
  465. Errors on the Atari
  466.  
  467.         Errors occurring on the Atari are handled similarly to those on the
  468. Psion except that in the event of a fatal error, STLink will only allow
  469. you to click on the Quit button. In this case STLink assumes that the link
  470. with the Psion has failed, and you will have to exit the Psion end of the
  471. link from the system screen.
  472.  
  473.                Note: If an error occurs during the copying of a file, it
  474.                will nearly always result in the presence of a zero length
  475.                file in the destination directory.
  476.  
  477. Bugs and other problems
  478.  
  479.         The most likely other problem to occur with STLink is one of
  480. "hanging". This is caused when both computers are waiting for a valid reply
  481. from the other. If the link does fail, STLink will time-out with an error
  482. message after 10 seconds.
  483.  
  484.         The most likely cause of this problem is faulty handshaking. If
  485. this occurs, check that any interconnecting cables (if any) you have
  486. between the Atari and Psion have the RTS and CTS lines connected. Also
  487. check that you have any necessary serial patch programmes installed in the
  488. Atari. The Psion is also not totally bug-free in this respect, so ensure
  489. that you do not have too many other active applications running beside
  490. STLink as this can also cause loss of characters over the link.
  491.  
  492. Long file names
  493.  
  494.     STLink 5 is fully compatible with long file names up to 40 
  495. characters in length (full path up to 255 characters), however unless 
  496. you use a recent version of MagiC or MiNT, it is unlikely that your 
  497. Atari is capable of retaining these names once the files have been 
  498. transferred.
  499.  
  500.     In most cases, the Atari operating system will truncate the file
  501. names to the standard DOS 8.3 system. This should not be a problem unless
  502. two files with different names truncate to the same name. For this reason
  503. I recommend that you try and keep filenames short. File names will also be
  504. converted to upper case on the Atari.
  505.  
  506.     Greater problems occur where filenames include spaces. In this
  507. case, the name is normally truncated at the space. Once again this should
  508. not be a problem unless two filenames are truncated to the same 8
  509. characters, however if you have file names like "My notes" and "My
  510. letters" problems will definitely occur.
  511.  
  512.     Spaces in folder names can create serious problems as the Atari
  513. will try and create a folder with an invalid name. Further attempts to
  514. access this folder result in 'access denied' errors. Take particular care
  515. that a folder name does not truncate to the same name as a folder already
  516. existing on the Atari, as data loss can result.
  517.  
  518.     Note that none of these problems are a result of bugs in STLink.
  519. I cannot be held responsible for any problems resulting from incompatible
  520. file names.
  521.  
  522. The Installation Program
  523.  
  524.     The installation program INSTALL5.PRG installs the Psion part of 
  525. the link onto your Psion using the Psion's internal comms program and OPL.
  526.  
  527.     Before running Install, your files need to be in the correct 
  528. respective directories as in the zip - i.e., INSTALL5.PRG in the top 
  529. directory and the files STLINK.APP, STLINK.AIF and STLINK.MBM inside a 
  530. SYSTEM\APPS\STLINK\ directory structure.
  531.  
  532.     To install the software, connect your Psion and Atari machines then 
  533. run INSTALL5.PRG. The screens will guide you through using the Psion Comms 
  534. program to load a small OPL file, which you then Translate. When it is run. 
  535. the OPL program takes over the task of completing your installation.
  536.  
  537.     Once STLink has been installed, exit (Ctrl-E) the OPL editor and 
  538. erase the two installation files 'Install' and 'Install.opo'.
  539.  
  540.  
  541.                               Gary Bainbridge
  542.  
  543.                               (gbainbridge@cix.co.uk)
  544.  
  545.  
  546.