[comp.sys.apple2] TIC 3.31 Update Notes

mdavis@pro-sol.cts.com (Morgan Davis) (04/02/91)

(Forwarded by me for Don Elton...)

TIC 3.31 Update changes
=======================

Set Timer 0 is supposed to wait forever on strings or keypresses.  This didn't
always happen but has been fixed now.

Set ULCapture ON should capture everything coming from the host during text
uploads.  Previously this didn't work right with prompted uploads.  It does
now though.

The delay between the sending of the X-Off signal and the saving of the
copy buffer has been increased from 1 to 2 seconds to account for slowly
responding hosts.

The Create <DirName> command has been added to the scripting language to
allow a script to create a subdirectory file.

The OA-F command brings up a Filing menu where all file manipulation commands
are now gathered.  Included are Delete, Rename, Copy, Catalog, Volumes,
Type, and Prefix. The Catalog and Set Prefix commands are still available
as OA-D and OA-N as they were before.

Some bugs that made the multiple-string waitfor statement fail to properly
register a string match under some circumstances was fixed

GetKey <Variable Number> is used to wait for a keypress or modem byte and   
save it into the specified variable.  Note that the timeout counter is
active with this command.  If the timeout expires then the variable will
be set to null and FAILED will be TRUE.

RENAME <file1> <file2> allows you to rename a file from a script.  You can
also rename files from the OA-F Filing menu.

COPY <file1> <file2> allows you to copy a file from a script.  You can also
copy files from the OA-F Filing menu.

SET TOKEN <character> allows you to change the character used to designate a
control character.  The default is "^" but this can be set to any value.  Note
that this value is saved in the tic.config file and leaving it set to a value
that is unexpected by your scripts can cause the scripts to fail.

SET QUOTE <character> allows you to change the quote character from the
default value ".  Note that this value is saved in the tic.config file and
leaving it set to a value that is unexpected by your scripts can cause the
scripts to fail.

When variables are expanded into your script, any imbedded control
characters are now inserted in a tokenized format (i.e. a CR is ^M)
rather than being inserted as control characters.  This will not affect
the arguments of the XMIT, DISPLAY, and WRITEFILE commands.

When in DEBUG mode, if recording is enabled, the DEBUG statements will be
recorded in the copy buffer.

The QUIT and EXIT script commands can now take one or two arguments. The
first argument is the pathname to a system file to launch and the second
argument is a startup string to be passed to the system file. Note that
if you boot from GS/OS or ProDOS 16 that the QUIT and EXIT commands can
lauch GS/OS system programs of type S16 though startups cannot be passed
to GS/OS programs.

The FKEY command can be used to define up to 10 strings of up to 31 characters
in length that are immediately sent to the host upon pressing OpenApple plus
a number key.  These macros keep their value until you exit the program or
until you redefine them.  Note that accessing the text editor will erase
previously defined FKEYS.  The syntax is FKEY <number> <string> and that
control characters are allowed using the TOKEN character as you would with
other strings containing control characters.

The TIC.Icons file is now included with TIC for TIC users who use GS/OS and the
Finder.  With TIC 3.31 an the TIC.Icons file installed you can double click
TIC scripts with filenames like TIC.KEY.* and TIC will be launched and will
execute the script.  Note that to use this feature TIC must be saved on your
disk as */TIC/TIC where * is the boot disk name. If this is not the case you
will have to use an icon editor to change the pathname information saved in
the scripts.

The CA/Option-? screen now pages to show the defined FKEY's after showing any
defined script macro keys.  Inverse characters designate control characters.

Control characters are now masked from the copy buffer.

The syntax for the ON <number> <label list> statement has been changed to
ON <number> <Goto / Do> <label list> such that you specify whether you want
the label branched to as an unconditional GOTO transfer or want it called
as a DO subroutine.  Note that older scripts using this statement will have
to have the GOTO keyword added after the <number> or the scripts will not
function properly.  Anything other than a GOTO or DO keyword following the
<number> position will result in a script syntax error.
------------

Please address all replies to:

        delton@pro-carolina.cts.com (Don Elton)

UUCP: crash!pro-sol!mdavis           AOL, BIX: mdavis  
ARPA: crash!pro-sol!mdavis@nosc.mil  GEnie:    m.davis42
INET: mdavis@pro-sol.cts.com         ProLine:  mdavis@pro-sol