home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 1 / AU_CD1.iso / internet / starterpak / !SLIPdial / Versions < prev   
Text File  |  1995-02-16  |  16KB  |  368 lines

  1. 0.10 15-Sept-93
  2. ---------------
  3. First released version, sent to demon.co.uk for ftp.
  4.  
  5. 0.11 06-Oct-93
  6. --------------
  7. Changes:
  8. Fixed 'Abort' button so it works properly.
  9. Added "if" statement, which checks return codes from other commands; executes
  10. another command if return code is zero.
  11. Added "?file" command to check file existance - can take action by
  12. using in "if" statement.
  13. "dial" command can now take a list of numbers. They are dialled in order (if
  14. first one fails after n retries, goes on to second, etc). Suggested by
  15. Geoff Riley (for demon users: more than one access number).
  16. "wait" command modified to accept timeout. Syntax changed to be VMSlike...
  17. sort of! Eg, "wait /ring" "wait /dcd" "wait /delay=n string" or "wait string".
  18.  
  19. 0.12 Changes:
  20. -------------
  21. Added configure window.
  22. Can now set which windows to open on startup, and whether to run the
  23. 'default' script automatically.
  24. Can force running default script by starting with -auto flag.
  25. Altered templates to new 3d style; improvement of user feedback messages.
  26. "Debug window" code tidied up for incoming data: slightly faster.
  27. Wait-for-string code also tidied-up.
  28. Changes to allow loading of different scripts.
  29. Fixed bug where quitting dropped serial line even if not claimed!
  30. Iconbar icon changes correctly with serial status;nicer icons.
  31. Messed-up device claim probably fixed - "claim" now takes parameter for
  32. number of device claim retries (-1=infinite). Wait between attempts is same
  33. "delay" parameter as for dialling. "claim" also returns success code
  34. (0=success, as usual) so can take action on device claim fail.
  35. More new commands:
  36. "trace" (takes filename parameter; replaces "log")
  37. "move" and "copy" to move or copy a file (with substitution %% -> rnd number).
  38. "?task" tests if a task is running
  39. "?line" tests condition of serial line
  40. "dopen" sends dataopen message to a task
  41. "exit" stops script without quitting SlipDial program
  42.  
  43. 0.20 12-Nov-93 Changes (many!):
  44. -------------------------------
  45. Script subroutines
  46. Variables
  47. Working alarms
  48. User menus
  49. Call log file
  50. return codes changed so that 0->failure
  51.  
  52. New commands:
  53. error
  54. message [/close /wait]
  55. alarm [/repeat]
  56. call, return
  57. rawsend
  58. reinit
  59. wait /dtr
  60. wait /event
  61. wait [multiple strings]
  62. menu [definitions]
  63. set, unset
  64. ?flen
  65. eval
  66. test
  67. task /kill
  68.  
  69. Commands deleted:
  70. kill (now "task /kill")
  71. delay (now part of "retry")
  72.  
  73. 0.21 26-Nov-93
  74. --------------
  75. oscli bug fixed (typo in program)
  76. handling of streams to log file fixed (Rick Hewit)
  77. log file is now appended to rather than overwritten each time
  78. - should make an option?
  79. reports failure if "task /kill" fails (task not known)
  80. faster handling of incoming characters/string recognition (removed
  81.   excessive wimp-polls)
  82.  
  83. 0.22 17-Jan-94
  84. --------------
  85. minor fixes to file closing routines (sometimes did a CLOSE#0 by mistake!)
  86. added device polls to help operation with Intelligent Interfaces serial card.
  87.  
  88. 0.23 05-Feb-94
  89. --------------
  90. rewrote script interpreter to use more common routines and slightly more
  91. intelligent parsing. Can now correctly decode parameters or qualifiers
  92. enclosed in quotes (so you can now pass spaces in a parameter); use "" to
  93. substitute a 'real' quote (BASIC-style). Finds qualifiers without spaces -eg,
  94. wait/delay=50 "baked barbequed" "gorilla ribs"
  95. (example courtesy of Screamin' Jay Hawkins...)
  96. Syntax of menu definition changed (separate entries with space not comma).
  97. Now increases wimpslot if memory is getting tight (but still uses static memory allocation for the script etc).
  98. "alarm/stop <command>" - execute command when Stop clicked.
  99. Code for stop and pause buttons changed completely to get closer to
  100. sensible behaviour (now finishes executing current command before entering
  101. pause or stop mode).
  102. Fixed writable icon for default script in choices window (didn't accept
  103. keypresses).
  104. Hopefully the shoddy filehandling is now fixed (no more CLOSE#0 idiocies).
  105. Added call timer to status window (call time also recorded in logfile).
  106.  
  107. 0.24 19-Feb-94
  108. --------------
  109. Fixed copy command in 0.23 (half-changed variable names)
  110. Alarm syntax changed:
  111.   alarm /repeat /time=03:00 /id=everyday "message test"
  112. id field allows cancellation... (alarm/cancel=id)
  113. Alarms for line events: /dtr=xxx, /dsr /rng /dcd. Self-cancelling; replaces
  114.  wait/dtr (etc).
  115. also note /time=xxxxx
  116. taskwindow added:
  117.   taskwindow /name=lemming /size=32k /exit="message hi" /output=file "*ex"
  118. Also /exit=command flag added for normal tasks.
  119. Made 'menu icon' respond to select & adjust.
  120. Configurable size of debug window; should adjust wimpslot if needed.
  121. -quiet startup switch (-> open no windows)
  122. Alarms, menus now work anytime by adding to event queue.
  123. Command entry in status window writable icon.
  124. Added /lock qualifier to 'call' - prevents re-entrancy to same procedure.
  125. Modem drivers, using system variables.
  126. Obsolete commands (test, oscli, wait/dtr/dsr/rng/dcd) trapped/reported.
  127. $dest system variable set during copy,move commands.
  128. ?eq, ?ne, ?gt, ?lt, ?le, ?ge comparison operators replace 'test'.
  129.  ?eq and ?ne work on strings & numbers; others numbers only.
  130. Started to add case...when...endcase support.
  131. Parameters to subroutines are now split up to p1 p2 p3 etc.
  132. message/wait now causes pause mode.
  133. 'set variable value': value should be quoted if spaces included.
  134.  
  135. 0.242 (alpha) release: 24-Feb-94
  136. --------------------------------
  137. Tidied alarm, variable and usermenu lists; added line event alarms to list.
  138. Fixed variable substitution code (only addressed 1st 30 vars).
  139. Adding code for reversal of line alarm sense. Sorry, this meant changing
  140.  syntax again... now:
  141.  alarm/dcd=[0 or 1] <command>
  142. Fixed claim [attempts] [delay] (didn't accept delay param)
  143. Changed timeout for delay in 'init' from default to 5 secs.
  144. For task, taskwindow & alarm; made /id and /name synonymous.
  145. ?file [/size]
  146. list /var /tasks /menus /script /alarms
  147. Now allow multiple commands per line - separate with ";"
  148. Altered parameter splitter to count odd-even quotes, and bracket counting.
  149. Added serial line LEDs to status window - CTS, DSR and DCD (left to right).
  150. added sprite merge code - iconbar/file=<filename> bit works
  151.  
  152. 0.243
  153. -----
  154. When setting an alarm, now checks identifier and replace if it already
  155.  exists. (or cancels that identifier before setting anew...)
  156. icon/id=<name>[/action=<command>] <sprite> and iconbar/cancel=<id> now work.
  157. icon/action=<command> associates command with select/adjust-click
  158. menu/icon=<id> <menustruct> works, (flakily).
  159. Most of code for definable debug-window menu is present (menu/debug).
  160. Fixed stop (when no stop-alarm) and pause problems (occasional inf. loop!)
  161.  - also cancels dial if stopped during a dial
  162.  
  163. 0.244 (09-Mar-94)
  164. -----
  165. Added alarm/icon=<id> <command> for dropping file on iconbar.
  166.  Filename is put into $file, filetype into $type.
  167. Added /delete synonym for /cancel in alarm and icon commands.
  168. Made user-icon addition width-sensitive.
  169. Added 'delay' to obsolete command trap.
  170. Added 'event/enable' and 'event/disable' to enable/disable event processing,
  171.  for sensitive routines. Events are still queued but not acted upon until
  172.  re-enabled.
  173. ?free [/mem] [/next] [/free] [/device=<file>] added to return free memory
  174.  (either RAM or filing system space). Default if no qual -> total free RAM.
  175. Added error handler: 'alarm/error=<command>'.
  176. Fixed 'task' command to cope properly with non-wimp tasks which don't
  177.  return a task handle.
  178. Attempted to make 'if' work correctly for multistatement lines. Seems ok.
  179. Message window now accepts up to 25 lines of 80+ characters.
  180.  message/capture=<start>[/end=<end>][/max=<n>][centre] captures lines of input
  181.  stream to message window, starting with the string <start> and ending with
  182.  <end> or a maximum number of lines <n>. /center centers output within window.
  183. Added $time variable - monotonic time, in seconds
  184. Altered status variable to $status (consistency of slipdial-set variables)
  185. Optimised variable substitution and lookup code.
  186. Added input window:
  187.  input [/prompt=<prompt>] variable [[/prompt=<prompt2>] variable2...]
  188.  Reads input from user into variable
  189. Added interactive help - "help <subject>" - outputs to message window.
  190.  
  191. 0.245
  192. -----
  193.  
  194. Status window (first opening) and message window centered on screen.
  195. Command input moved from status to debug window.
  196. Added command-recall for command entry icon.
  197. Altered "append" to use OS_GBPB loop instead of *print w.redirection
  198.  
  199. 0.25 (19-Mar-94)
  200. ----------------
  201.  
  202. "%%" in move/copy had stopped working - changed to use "*" instead.
  203. append didn't close source file - fixed.
  204. Added new qualifiers to dial command:
  205.  dial /busy=<n> /nodial=<n> /nocar=<n> <number1> <number2>
  206.  define alternative delays before retry for different conditions: busy,
  207.  no dialtone, no carrier.
  208. Added timeout for message capture - window updated when no incoming text
  209. Added new qualifier to "message": "/add" to add new text to existing msg.
  210. Fixed some of message window peculiarities.
  211. Fixed new bug in eval.
  212. Added code to permit continuation lines.
  213. Otherwise unrecognised parameters on slipdial startup line are passed to
  214.  script as parameters (p0,p1,p2, etc). Not right yet...
  215. Increased internal sprite area by a meagre 1k.
  216. Added "icon/free" command; returns free space (in bytes) in icon area.
  217. Fixed script-error handler to work with new message window.
  218. Added "open/id=<id>/eof=<command> <filename>" to open file.
  219. Added "read", "write", "close" and "ptr" file handling commands.
  220. Added "?free /internal" qualifier to return internal workspace.
  221. On loading new scripts, now only clear non "system" variables (those beginning
  222.  with "$" are retained).
  223. Added "source <filename>" command to read extra commands from file.
  224. Added "library <filename> [<parameters>]" command.
  225. Some optimisation of serial and taskwindow receive -> debug window routines.
  226. Speedup of debug-window scrolling.
  227. Added "ptr/set=eof"
  228. Commands & qualifiers now case-insensitive.
  229. Allow escaping of significant characters (" ( ) { } / \) using \.
  230. Quotation marks " are now included directly by escaping: \" rather than ""
  231. Added ability to place results of a command into another command, using {}.
  232. Can now also configure width of debug window.
  233. Added iconised window icon...
  234. Added "chain" command and $caller variable.
  235. Can now load scripts via scrapfile.
  236. Added "send/id=<name> <string>" to send text to a taskwindow (doesn't work!)
  237. Some modifications to let BASIC cruncher work successfully.
  238. Fixed ?task to return task handle instead of 1/0. Now case-insensitive.
  239. Improved script memory management.
  240. Added discrimination of event types for enable/disable.
  241. Added "/type" and "/attrib" qualifiers for "?file".
  242.  
  243. 0.251 (21-Mar-94)
  244. -----------------
  245. Altered subroutine-return to enable returning of textual values.
  246. Fixed "-s" startup switch to set sprite area size (didn't work).
  247. Fixed status-window menu (incorrectly still had "Debug..." entry).
  248. Added "/wait" qualifier to "task" and "taskwindow" commands - forces
  249.  script to wait until task terminates.
  250. Added vertical offsets to screen-centered window opening.
  251. IP display is now updated on setting of "ipaddress" variable.
  252.  
  253. 0.26 (25-Mar-94)
  254. ----------------
  255. "send/id=<id> <string>" command fixed after comp.sys.acorn.tech reveals
  256.  PRM error... can now send to taskwindows.
  257. Output file is closed immediately if taskwindow process creation fails.
  258. Default wimpslot for new taskwindows is now that of the "Next" slot, not 640k.
  259. Fixed bugs in "driver" and "source" commands.
  260. Taskwindow output now goes to individual windows instead of main window.
  261. Added "/keep" and "/kill" qualifiers to "taskwindow" command.
  262. The qualifier "message/title=<string>" now works.
  263. Added "wait/id=<task> <string>" to wait for strings from taskwindow.
  264. Added 10-line command scrollback buffer.
  265. Added taskwindows and exit commands to "list/tasks" output.
  266. Added auto-scroll to control and taskwindow windows.
  267. Control window now grabs input focus when opened.
  268. Fixed new script-memory allocation to permit reloading new script.
  269. Added to !Help file slightly.
  270.  
  271. 0.27 (27-Mar-94)
  272. ----------------
  273. Loading new scripts now removes old icons, etc - better cleanup code.
  274. Fixed erroneous opening of control-window.
  275. Improved comparison operator parsing very slightly.
  276. Added copy/head=<n> and /tail=<n> commands.
  277. Added string functions: /size, /upper, /lower, /left, /right,
  278.  /start=<n> /len=<n> and /instr=<string>.
  279. Added "delete <file>" command.
  280.  
  281. 0.28 (29-Mar-94)
  282. ----------------
  283. Further improvements to comparison testing.
  284. Altered "eval" command - now takes single parameter (expression) and
  285.  returns result in $status.
  286. Finished implementing *very* simple case...when...endcase structure.
  287. Fixed bug in script memory allocation.
  288. Altered $time variable; added $date.
  289. Added "?file /expand", "/path" and "/leaf".
  290. Added "echo [/status] <string>" command to echo text to control or status
  291.  window.
  292. Fixed error-handling for "open" when file-open fails.
  293.  
  294. 0.29 (31-Mar-94)
  295. ----------------
  296. Made tracefile opening more bomb-proof.
  297. Further fixes to eval.
  298. Sets created files to Text filetype.
  299. Extended debug levels to permit including taskwindow output in trace files
  300.  (bit 2=taskwindows, bit 1=serial i/o, bit 0=script progress).
  301. Bugfix setting ptr in write-only files.
  302. Removed open/eof=<xxx> qualifier; added read/eof=<xxx> and open/error=<xxx>
  303.  qualifiers (VMS DCL behaviour).
  304. Fixed bug in "ptr/set=eof".
  305.  
  306. 0.30 (02-Apr-1994)
  307. ------------------
  308. Added "/delay=<n>" qualifier to "ipget". Default delay reduced to 60 seconds.
  309.  ipget now returns captured ip address (or 0 for fail).
  310. Added some interactive help support.
  311. Corrected reversed sense of "echo/status".
  312. Added minimal hooks for "/name=<id>" in "message" command.
  313. Added "ask /delay=<time> /default=<yes|no> <question>" command.
  314. Fixed environment setup routines.
  315. Now stagger taskwindow opening positions.
  316.  
  317. 0.31 (05-May-1994)
  318. ------------------
  319. Fixed typo in when command (didn't set $status)
  320. Added /date qualifier to echo command. echo now also outputs to debug file.
  321. Added /pulse and /tone qualifiers to dial command (/tone is default). I
  322.  forgot people could still be using pulse-dial!
  323. Added newsrate <abbr> command to compute news rx rate (thanks to
  324.  Rick Hewitt & Nick Craig-Wood).
  325. Added ability to save position of status window, and use the saved position
  326.  as a default.
  327.  
  328. 0.32 (04-Sep-1994)
  329. ------------------
  330. Added "ipget /auto" switch to grab IP address without a 'seed' value.
  331. Added use of same assembler routines as NewsBase (for string manipulation -
  332.  thanks to Richard Sargeant for many of these).
  333. Improved file handling to handle errors better - slipdial shouldn't now
  334.  bomb when file opens fail.
  335. Fixed various typos (thanks to everyone who pointed them out!).
  336. Fixed variable unsetting routine.
  337. Added serial speed check - if a speed is unavailable, variable "speed"
  338.  will be altered to reflect true speed set in driver.
  339.  
  340. 0.33 (15-Nov-1994)
  341. ------------------
  342. Fixed bug which caused crash when trying to claim port without first
  343.  loading a driver.
  344. Added redial button (idea of Tom Hughes).
  345. Fixed problem of script going haywire during interactive help requests.
  346. Made jumping to script labels more reliable.
  347. Moved all (or most!) text from program to Messages file.
  348. Increased length limit of menu definitions to 255 chars for descriptions
  349.  plus 255 characters for commands.
  350. Fixed rpoblem with claiming internal serial device (no device claim sent).
  351. Improved icon-switching code for main slipdial icon.
  352.  
  353. To do:
  354. ------
  355. Add comments to source!
  356. Attach menus to taskwindows.
  357. Permit correct stop response during device claim retry.
  358. Permit "!" as 1st character of an event command -> immediate execution.
  359. ... leading to... user-definition (again) of ALL or most menus.
  360. ... or (better), priority scheme.
  361.  
  362.  
  363. Still to do (later...)
  364. ----------------------
  365. Possibility of alarm/ring for incoming calls? Connection of incoming
  366. call to either !TCPIP or a taskwindow shell.
  367.  
  368.