home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
internet
/
starterpck
/
!SLIPdial
/
Versions
< prev
Wrap
Text File
|
1995-04-11
|
17KB
|
408 lines
0.10 15-Sept-93
---------------
First released version, sent to demon.co.uk for ftp.
0.11 06-Oct-93
--------------
Changes:
Fixed 'Abort' button so it works properly.
Added "if" statement, which checks return codes from other commands; executes
another command if return code is zero.
Added "?file" command to check file existance - can take action by
using in "if" statement.
"dial" command can now take a list of numbers. They are dialled in order (if
first one fails after n retries, goes on to second, etc). Suggested by
Geoff Riley (for demon users: more than one access number).
"wait" command modified to accept timeout. Syntax changed to be VMSlike...
sort of! Eg, "wait /ring" "wait /dcd" "wait /delay=n string" or "wait string".
0.12 Changes:
-------------
Added configure window.
Can now set which windows to open on startup, and whether to run the
'default' script automatically.
Can force running default script by starting with -auto flag.
Altered templates to new 3d style; improvement of user feedback messages.
"Debug window" code tidied up for incoming data: slightly faster.
Wait-for-string code also tidied-up.
Changes to allow loading of different scripts.
Fixed bug where quitting dropped serial line even if not claimed!
Iconbar icon changes correctly with serial status;nicer icons.
Messed-up device claim probably fixed - "claim" now takes parameter for
number of device claim retries (-1=infinite). Wait between attempts is same
"delay" parameter as for dialling. "claim" also returns success code
(0=success, as usual) so can take action on device claim fail.
More new commands:
"trace" (takes filename parameter; replaces "log")
"move" and "copy" to move or copy a file (with substitution %% -> rnd number).
"?task" tests if a task is running
"?line" tests condition of serial line
"dopen" sends dataopen message to a task
"exit" stops script without quitting SlipDial program
0.20 12-Nov-93 Changes (many!):
-------------------------------
Script subroutines
Variables
Working alarms
User menus
Call log file
return codes changed so that 0->failure
New commands:
error
message [/close /wait]
alarm [/repeat]
call, return
rawsend
reinit
wait /dtr
wait /event
wait [multiple strings]
menu [definitions]
set, unset
?flen
eval
test
task /kill
Commands deleted:
kill (now "task /kill")
delay (now part of "retry")
0.21 26-Nov-93
--------------
oscli bug fixed (typo in program)
handling of streams to log file fixed (Rick Hewit)
log file is now appended to rather than overwritten each time
- should make an option?
reports failure if "task /kill" fails (task not known)
faster handling of incoming characters/string recognition (removed
excessive wimp-polls)
0.22 17-Jan-94
--------------
minor fixes to file closing routines (sometimes did a CLOSE#0 by mistake!)
added device polls to help operation with Intelligent Interfaces serial card.
0.23 05-Feb-94
--------------
rewrote script interpreter to use more common routines and slightly more
intelligent parsing. Can now correctly decode parameters or qualifiers
enclosed in quotes (so you can now pass spaces in a parameter); use "" to
substitute a 'real' quote (BASIC-style). Finds qualifiers without spaces -eg,
wait/delay=50 "baked barbequed" "gorilla ribs"
(example courtesy of Screamin' Jay Hawkins...)
Syntax of menu definition changed (separate entries with space not comma).
Now increases wimpslot if memory is getting tight (but still uses static memory allocation for the script etc).
"alarm/stop <command>" - execute command when Stop clicked.
Code for stop and pause buttons changed completely to get closer to
sensible behaviour (now finishes executing current command before entering
pause or stop mode).
Fixed writable icon for default script in choices window (didn't accept
keypresses).
Hopefully the shoddy filehandling is now fixed (no more CLOSE#0 idiocies).
Added call timer to status window (call time also recorded in logfile).
0.24 19-Feb-94
--------------
Fixed copy command in 0.23 (half-changed variable names)
Alarm syntax changed:
alarm /repeat /time=03:00 /id=everyday "message test"
id field allows cancellation... (alarm/cancel=id)
Alarms for line events: /dtr=xxx, /dsr /rng /dcd. Self-cancelling; replaces
wait/dtr (etc).
also note /time=xxxxx
taskwindow added:
taskwindow /name=lemming /size=32k /exit="message hi" /output=file "*ex"
Also /exit=command flag added for normal tasks.
Made 'menu icon' respond to select & adjust.
Configurable size of debug window; should adjust wimpslot if needed.
-quiet startup switch (-> open no windows)
Alarms, menus now work anytime by adding to event queue.
Command entry in status window writable icon.
Added /lock qualifier to 'call' - prevents re-entrancy to same procedure.
Modem drivers, using system variables.
Obsolete commands (test, oscli, wait/dtr/dsr/rng/dcd) trapped/reported.
$dest system variable set during copy,move commands.
?eq, ?ne, ?gt, ?lt, ?le, ?ge comparison operators replace 'test'.
?eq and ?ne work on strings & numbers; others numbers only.
Started to add case...when...endcase support.
Parameters to subroutines are now split up to p1 p2 p3 etc.
message/wait now causes pause mode.
'set variable value': value should be quoted if spaces included.
0.242 (alpha) release: 24-Feb-94
--------------------------------
Tidied alarm, variable and usermenu lists; added line event alarms to list.
Fixed variable substitution code (only addressed 1st 30 vars).
Adding code for reversal of line alarm sense. Sorry, this meant changing
syntax again... now:
alarm/dcd=[0 or 1] <command>
Fixed claim [attempts] [delay] (didn't accept delay param)
Changed timeout for delay in 'init' from default to 5 secs.
For task, taskwindow & alarm; made /id and /name synonymous.
?file [/size]
list /var /tasks /menus /script /alarms
Now allow multiple commands per line - separate with ";"
Altered parameter splitter to count odd-even quotes, and bracket counting.
Added serial line LEDs to status window - CTS, DSR and DCD (left to right).
added sprite merge code - iconbar/file=<filename> bit works
0.243
-----
When setting an alarm, now checks identifier and replace if it already
exists. (or cancels that identifier before setting anew...)
icon/id=<name>[/action=<command>] <sprite> and iconbar/cancel=<id> now work.
icon/action=<command> associates command with select/adjust-click
menu/icon=<id> <menustruct> works, (flakily).
Most of code for definable debug-window menu is present (menu/debug).
Fixed stop (when no stop-alarm) and pause problems (occasional inf. loop!)
- also cancels dial if stopped during a dial
0.244 (09-Mar-94)
-----
Added alarm/icon=<id> <command> for dropping file on iconbar.
Filename is put into $file, filetype into $type.
Added /delete synonym for /cancel in alarm and icon commands.
Made user-icon addition width-sensitive.
Added 'delay' to obsolete command trap.
Added 'event/enable' and 'event/disable' to enable/disable event processing,
for sensitive routines. Events are still queued but not acted upon until
re-enabled.
?free [/mem] [/next] [/free] [/device=<file>] added to return free memory
(either RAM or filing system space). Default if no qual -> total free RAM.
Added error handler: 'alarm/error=<command>'.
Fixed 'task' command to cope properly with non-wimp tasks which don't
return a task handle.
Attempted to make 'if' work correctly for multistatement lines. Seems ok.
Message window now accepts up to 25 lines of 80+ characters.
message/capture=<start>[/end=<end>][/max=<n>][centre] captures lines of input
stream to message window, starting with the string <start> and ending with
<end> or a maximum number of lines <n>. /center centers output within window.
Added $time variable - monotonic time, in seconds
Altered status variable to $status (consistency of slipdial-set variables)
Optimised variable substitution and lookup code.
Added input window:
input [/prompt=<prompt>] variable [[/prompt=<prompt2>] variable2...]
Reads input from user into variable
Added interactive help - "help <subject>" - outputs to message window.
0.245
-----
Status window (first opening) and message window centered on screen.
Command input moved from status t