|
Introduction. When I wrote
Psion utilities for OS/2 I dreamt about writing of specialized
Installable File System (IFS) communication between
Psion and OS/2. However writing an IFS is a task for
nerveless people. I had found all tools, documentation
and libraries which were necessary for that task but
couldn't make up my mind to that. Than, I have found
a short announcement about NetDrive V2.0, it had to
support third party plugins. I used NetDrive v1.X in
that time, so I have decided it would be a great solution
for the IFS writing problem. I had contacted the NetDrive
development team and they were very kind and granted
me the access to the NetDrive Plugins Development Kit.
And now I'm proud to introduce the Psion plugin for
NetDrive.
What is Psion plugin ? Psion plugin is a dynamic loadable library
for Psion link and file access protocols. Strictly speaking, every NetDrive
plugin is a part of the NetDrive IFS (NDFS). OS/2 treats NDFS as one
IFS, but actually it is a set of IFSes with a common interface. So,
this design allows, just with one or two commands, load and unload different
IFSs, mount and unmount resources with different inner structure and
nature without rebooting. The IFS design also allows to integrate different
resources into OS/2 seamlessly.
What can and can't the Psion plugin do ? Psion plugin allows
you to perform almost any file operation allowed in OS/2 - copying,
moving, deleting files and directories. Psion plugin doesn't support
reconnect at all, but it's very easy to reconnect with NetDrive commands
(just unmount the Psion resource and then mount it again). I have included
simple scripts for these tasks. Psion plugin doesn't perform any file
conversion, it works with files without any intervention in their content.
How to install ? Plugin installation is very easy with the new
NetDrive 2.0 version. Psion plugin is contained in one archive
ndppsion.zip. You have to unzip it into an empty directory. Then
run instpl.cmd from the directory. You do not have to reboot
the system.
How to work with Psion plugin ? Switch on your Psion first.
Turn on the remote link on your Psion (follow the documentation for
Psion). As every of the NetDrive resources, Psion plugin has to be mounted
before using. There is a sample command file for mounting Psion - psionmount.cmd:
nd attach u:
nd createmp u:\MyPsion
nd mount psion u:\MyPsion PSICP=ibm-1251;PSICOM=com1;PSIBAUD=115200
w
First line - create a new NetDrive drive letter.
Second line - create the mount point for mounting the Psion resource.
Third line - mount Psion plugin into the created mount point. There
are three parameters for the Psion plugin.
PSICP - the name of the code page used on your Psion. This parameter
is necessary to show Psion filenames in a correct form. The value of
this parameter can be any of OS/2 codepage names. The default value
for this parameter is current default code page in your OS/2.
PSICOM - the name of the serial port to communicate to your
Psion. It can be either - com1, com2... etc. Default serial
port name is com2.
PSIBAUD - the baud rate to communicate to your Psion. You should
set the same speed as you are going to set on your Psion. Default serial
port speed is 115200.
After mounting, you may go to the NetDrive drive. When you open MyPsion
folder you will see some sub-directories - C$,D$,..Z$. Each of these
sub-directories corresponds to Psion drives - C:, D:...Z: (Z: drive
is a ROM drive on your Psion, PsiWin doesn't show this drive
at all). That's all. Now you can manipulate with Psion files as well
as with all other files in your OS/2.
If your Psion went to sleep you should switch it on and run another
command file - psionreconnect.cmd. Communication will be restored.
If you want to finish work with Psion, you should unmount the Psion
resource :
nd unmount u:\MyPsion 0
You also can use NetDrive Control Panel to mount Psion. The new version
of the Control Panel supports any external plugins. When mounting Psion
you select the 'psion' type from the 'Type of the resource' list box.
The following pages have some additional information on the Psion plugin:
My ftp site is ftp://cbs-edu.chel.su/pub/Porro/Psion
and it might contain latest version of the plugin.
If you have bug report or suggestions, you are welcome :-)
Credits:
Philip Proudman <philip.proudman@btinternet.com>
Alexander Thoukydides <alex@thouky.co.uk>
Hans Hockx <jcm.hockx@hccnet.nl>
Vitali E. Pelenyov <sunlover@anduin.net>
NetDrive Development team <netdrive@bmtmicro.net>
Copyright (C) 2000-2001 Andrei A. Porodko <porro@cbs-edu.chel.su>
|