home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1B
/
DATAFILE_PDCD1B.iso
/
_pocketbk
/
pocketbook
/
003
/
sy_zip
/
HELP.TXT
next >
Wrap
Text File
|
1993-05-12
|
12KB
|
354 lines
HELP - SYLINK
SYLINK is a communications utility designed for communicating to Psion
computers. Invocation from the command line is very flexible:
SYLINK [-<option>[ ...]] [@<cmdfile>[ ...]] [<command>[ : ...]]
Once invoked, SYLINK sets the options and then runs each of the
command files. Once the command files have been executed the user will
be left at the command level to give further commands unless the -q option
was given. Following execution of the command files the commands on the
command line are executed. Before the commands are executed the link to
the remote device will automatically be made. Several commands may be given
separated by a colon and spaces.
Communications is performed using Psion's own communications protocol which
incorporates error detection combined with a retry mechanism to correct
errors arising from noisy lines. If modems are to be used there is no
added value in using the modem's error detection. However, if data
compaction is available on the modem, this will speed up the transfer
The error return to DOS is provided so that ERRORLEVEL may be used.
The values returned are:
0 No error
1 Line failure
2 Error during execution of a command
3 File not found error (including directory listings)
4 Device full
5 No response from remote device during connection
6 General error
7 SYLINK internal error
The file sy$serv.img must be in the same directory as sylink and is
copied to rem::m:\ when required if not already on the remote device.
The handshaking that should be used is DSR/DTR if a direct link is to
be made. If a modem is to be used then use both DSR/DTR and DCD
handshaking. This can be done easily by setting handshaking to DIRECT
or MODEM, eg set -phdirect or set -phmodem.
HELP - COMMANDS
Runs the command given. If the -s option is set and the command run
from a command file then only informative messages are displayed.
If an error occurs in a command file, execution of the command files
is automatically halted and control passed back to the console, or
SYLINK is exited if the command file was invoked from the command line.
The command line editor has a memory of commands so that the up and down
arrow keys may be used. There is also a type-ahead facility to enable
you to type the next commands whilst still executing other commands.
Control C aborts the current command and, if a batch file is running,
that too is aborted.
If the command is preceded by a dollar sign ($) then the command is
passed to the remote device for execution and the completion returned
to the user.
If the line is preceded by the at symbol (@) then that command file
with default extension .SYL is invoked. Command files may be nested to
a depth of about 15 depending on the memory available. The prompt will
display the command file being executed and the depth of the nesting.
HELP - OPTIONS
Sets the options for the system. Invoked from the command line, e.g.
sylink -s -pb2400
or using the SET command
HELP - OPTIONS - SERIAL PORT
Sets the serial parameters (default in brackets):
-pa<addr> - sets the comms base address of the port for COM port
or for the multiport card (0x3f8)
-pb<baud> - sets the baud rate. Supports 300,1200,2400,4800,9600,19200 (9600)
-pc<port no> - sets the port interrupt and address for COM1 to COM4 (COM1)
-pd<7|8> - sets the number of data bits to 7 or 8 (8)
-pf - use XON/XOFF flow control (not used)
-ph<(rts|cts)|(dsr|dtr)|dcd|direct|modem|none> - use the handshaking required
(DSR)
-pi<int no> - sets the comms interrupt number (4)
-pm<n><hostess|none> - use the driver for the Comtrol Hostess multiport card
treating it as port <n>(1 to n) (1,none)
-pp<none|odd|even> - use the parity required (No parity)
-ps<1|2> - use 1 or 2 stop bits (1)
-pt<second> - timeout during connection (10)
All the option arguments may be given as decimal or, if preceded by
0x, as hexadecimal.
The handshaking that should be used is DSR/DTR if a direct link is to
be made. If a modem is to be used then use both DSR/DTR and DCD
handshaking.
HELP - OPTIONS - GENERAL
Sets parameters used by SYLINK:
-q - quit SYLINK after command files and commands executed.
-l<lines> - number of lines in the output window. Defaults to 25.
It is used to control the break between giving pause
messages which is set to 2 less than the number of lines.
If set to 0 then pauses are suppressed.
HELP - COMMANDS - AT
Syntax: at <col>,<row>
Set the position for output.
HELP - COMMANDS - AUTOLINK
Syntax: autol[ink] [on|off]
If no parameter is given then the status is shown. If autolink is set
to ON the link will be made when the 2 computers are connected and the
hardware handshaking has been established. If the link fails or is
closed by the remote end then the autolink remains active. The autolink
is automatically switched off if the link is closed at the local end.
Alternatively, it may be switched off explicitly using this command.
If autoquit is switched on then the program will exit once the link is
broken or closed.
HELP - COMMANDS - AUTOQUIT
Syntax: autoq[uit] [on|off]
If no parameter is given then the status is shown. If autoquit is set
to ON the program will exit once the link has been closed by the remote
end or if SYLINK fails to connect. The DOS errorlevel may be used to
ascertain the exit reason. SYLINK does not quit if the CLOSE command
has been used.
HELP - COMMANDS - CLOSE
Syntax: close
Close the communications link
HELP - COMMANDS - CLS
Syntax: cls
Clear the screen
HELP - COMMANDS - COPY
Syntax: copy <from> [<to>] [/a]
Copy the files <from> to the location and name <to>. The relevant
filing system is used to parse the file name.
If the /a flag is given then the <to> file is appended to the
<from> file
HELP - COMMANDS - DELETE
Syntax: delete <fname>
Deletes the file <fname>. The relevant filing system is used to parse
the file name.
HELP - COMMANDS - DIR
Syntax: dir <fspec> [/w/h/s]
Perform a directory listing of <fspec>. The relevant filing system
is used to parse the file name. The flags are:
/w - give a wide listing containing only file names
/h - include hidden files
/s - include system files
HELP - COMMANDS - EXIT
Syntax: exit|quit
Exit from SYLINK closing the communications link as necessary.
HELP - COMMANDS - FORMAT
Syntax: format rem::<device>[\<name>[.<ext>]]
Format the SSD in the remote device. All the information will be
lost and all files deleted. The SSD will be given the name name.ext
and you will be shown the total amount of free space.
A percentage complete indicator is provided to inform you of the
progress of the format.
HELP - COMMANDS - FREE
Syntax: free [<dev>]
Displays the amount of free space on the device defaulting to
the current device on loc::.
Not implemented
HELP - COMMANDS - HELP
Syntax: help [<command>]
Gives help on the required command
Not implemented
Currently lists help for all commands.
HELP - COMMANDS - LDISP
Syntax: ldisp <text>
Display <text> on the local screen.
HELP - COMMANDS - LINK
Syntax: link
Links to the remote device with the timeout set using SET -t<seconds>.
It uses the port as defined by set and assumes that all modem commands
have been executed.
HELP - COMMANDS - LOGCLOSE
Syntax: logc[lose]
Closes the log file. This is automatically closed when the program
exits. If the log file has been opened on the remote device then it
must be closed before the link is closed.
HELP - COMMANDS - LOGOPEN
Syntax: logo[pen] <fname> [/a]
Open the log file with default extension .LOG. The file will contain
the date and time of the entry followed by the text that would be
displayed to the screen. Any extra information may be written to the
file with the logwrite command. The file extension will be .LOG by
default. If the /a flag is supplied data will b