Ticol Tcl README.TXT - 2023
----------------------------

* IMPORTANT! - Read this file before using Ticol Tcl

Virus Scanning
--------------
You MUST virus scan before using

All Ticol Tcl downloads are virus scanned before upload. Due to the nature of 
the language and some of the supporting tools, these may be subject to false
positive reports by some virus scanners. If you receive a positive scan then 
try to scan with more than one scanner.

Known false positives include:

	test_crt.exe	False +ve from Avast due to dynamically loading MSVCRT40.dll
	wintest.exe		False +ve from Avast - "IDP Generic" (not a virus)
					https://opentip.kaspersky.com confirms clean

* All files scanned with Avast and McAfee signatures 12.2.0.369

Supported Platforms
-------------------
As far as possible, Ticol is designed to work on all versions of Windows 
from NT4.0/SP6a through to the latest version of Windows Server (either 
32-bit or 64-bit platforms). It should work under Linux WINE and ReactOS
although both of these platforms may have varying degrees of stability.

Portability
-----------
Ticol Tcl is fully portable if the MSVC runtime is present on the current 
Windows system. Most full versions of Windows should have this installed.
No dotNet or other runtime is required so Ticol can be used on otherwise
defective or faulty systems.

Dependencies
------------
Other than the MSVC runtime which should be prsent on all Windows systems,
Ticol Tcl has no external dependencies. ticol.exe is fully self-contained

Plugin Extensions
-----------------
Around 40 plugin extensions are available which extend Ticol functionality
These are supplied in Windows DLL format but should not be directly linked
from another program. The Ticol command [lib] is used to load these.

Installer (install.bat)
-----------------------
The install.bat script allows an installation of Ticol Tcl to be copied or 
"installed" from one location to another, e.g. from hard drive to a pen drive

Runtime Compression
-------------------
All Ticol Tcl binaries are compressed using UPX
You may decompress using the command:   upx -d <filename>
https://en.wikipedia.org/wiki/UPX

Help
----
Load the Ticol and at the command line, type:

	help <topic>

A copy of the online man pages is usually supplied in either HTML, RTF or TXT
or Windows Help CHM format

Updates
-------
Updates may be released from time to time which contain enhancements and/or
bug fixes. As Ticol is a hobby project, no timescale for this is guaranteed

Unit Tests
----------
Tests are self-contained within a separate folder and may be supplied via a
separate ZIP file. The test collection includes any necessary test files.
To run the tests, unzip to a suitable sub-folder and run one of the following:

	ticol.exe tests.tcl /na
	wintest.exe tests.tcl /r         (requires ticol.dll)
	ticol_stub.exe source tests.tcl  (requires ticol.dll)

Bug Reports
-----------
Good bug reports are welcomed but must include any relevant script files
and dependencies, data files being operated on. Please don't send confidential
material. No guarantee is given of action on any particular bug report
Send bug reports to:

	ticol [at] kerys.co.uk

Note that I cannot offer to debug your scripts!

Unicode Support
---------------
Ticol is an ASCII only language. It does not directly support Unicode/MBCS and
thus only supports Western lanugages. This is by design as it was developed as 
a personal use project for use within the UK.

Filetypes
---------
The following file types may be encountered:

asm		Ticol Pseudo-Assembler script (TicASM)
bat		Windows batch script
bmp		Data which is encoded as a 2 colour bitmap by the ticol_bmp.dll plugin
chm		Windows help file
csv		Comma-Separated Value data file
db		Ticol specific data format
dbf		Xbase database
dll		Tcl add on DLLs. Plugins are in the format ticol_*.dll
ini		Configuration (initialisation) file
log		Text format log file
man		Ticol Tcl specific manual file for built-in help
md5		MD5 checksum validation file. Used to validate that a file has not been altered
pdf		Portable Document Format (PDF) File
reg		Windows registry file. Never merge a REG file without inspecting it first
t64		Ticol Tcl encoded script format (TCX) which has been saved with Base64 encoding
tcc		Tcl source code converted to a C/C++ string variable either with or without splitting
tcl		Ticol Tcl source code
tcx		Obfuscated (encoded) Ticol Tcl source code. Never run a 3rd party TCX script unless verified
vbs		Visual BASIC Script file
wav		Windows WAV format sound file
zip		Compressed ZIP archive (use 7-zip to extract)

//////////////////////////////////////////////////////////////////////////////////

Licence
-------
See the copyright sections which follow below and 'help licence' in the ticol CLI
to display the relevant section of the documentation or the file licence.txt

Testing and Due Diligence
-------------------------
Ticol should be thoroughly tested and evaluated before being used in any
mission-critical scenario. Ticol Tcl is NOT recommended for use in commercial
environments where there is a risk of data loss with cost overhead.

Ticol should not be used in any system which might put life at risk

Warranty
--------
No warranty is provided with this program, either express or implied
Use this program at your own risk. See the licence conditions in licence.txt

Sale and Resale
---------------
Ticol is freeware and licenced, not sold. Modified licences may be made
available on request

Support
-------
No support whatsoever is offered with Ticol. Nor is any warranty supplied
Please see the licence terms below and in the help (man) pages

Website
-------
http://ticol.kerys.co.uk (as of 2022)


Copyright Notices
-----------------

The following copyright notices are required to accompany the Ticol distribution

//////////////////////////////////////////////////////////////////////////////////
//
// ---------------------------------------------------------------------------
//  Ticol Copyright and BSD Licence
// ---------------------------------------------------------------------------
//	See LICENCE.TXT and in the Ticol Tcl documentation (man) file
//          also: ticol.exe /?
//---------------------------------------------------------------------------
//
//////////////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////////////
// ticol_zip.dll plugin (portions)
// in line with clause 3, the Ticol author makes it clear that ticol_zip.dll is
// not supported by the Info-ZIP team
//////////////////////////////////////////////////////////////////////////////////
//
// This is version 1999-Oct-05 of the Info-ZIP copyright and license.
// The definitive version of this document should be available at
// ftp://ftp.cdrom.com/pub/infozip/license.html indefinitely.
//
// Copyright (c) 1990-1999 Info-ZIP.  All rights reserved.
//
// For the purposes of this copyright and license, "Info-ZIP" is defined as
// the following set of individuals:
//
//   Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,
//   Jean-loup Gailly, Hunter Goatley, Ian Gorman, Chris Herborth, Dirk Haase,
//   Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz, David Kirschbaum,
//   Johnny Lee, Onno van der Linden, Igor Mandrichenko, Steve P. Miller,
//   Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs, Kai Uwe Rommel,
//   Steve Salisbury, Dave Smith, Christian Spieler, Antoine Verheijen,
//   Paul von Behren, Rich Wales, Mike White
//
// This software is provided "as is," without warranty of any kind, express
// or implied.  In no event shall Info-ZIP or its contributors be held liable
// for any direct, indirect, incidental, special or consequential damages
// arising out of the use of or inability to use this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it
// freely, subject to the following restrictions:
//
//    1. Redistributions of source code must retain the above copyright notice,
//       definition, disclaimer, and this list of conditions.
//
//    2. Redistributions in binary form must reproduce the above copyright
//       notice, definition, disclaimer, and this list of conditions in
//       documentation and/or other materials provided with the distribution.
//
//    3. Altered versions--including, but not limited to, ports to new operating
//       systems, existing ports with new graphical interfaces, and dynamic,
//       shared, or static library versions--must be plainly marked as such
//       and must not be misrepresented as being the original source.  Such
//       altered versions also must not be misrepresented as being Info-ZIP
//       releases--including, but not limited to, labeling of the altered
//       versions with the names "Info-ZIP" (or any variation thereof, including,
//       but not limited to, different capitalizations), "Pocket UnZip," "WiZ"
//       or "MacZip" without the explicit permission of Info-ZIP.  Such altered
//       versions are further prohibited from misrepresentative use of the
//       Zip-Bugs or Info-ZIP e-mail addresses or of the Info-ZIP URL(s).
//
//    4. Info-ZIP retains the right to use the names "Info-ZIP," "Zip," "UnZip,"
//       "WiZ," "Pocket UnZip," "Pocket Zip," and "MacZip" for its own source and
//       binary releases.
//
//////////////////////////////////////////////////////////////////////////////////



//////////////////////////////////////////////////////////////////////////////////
// Ticol [md5]
//////////////////////////////////////////////////////////////////////////////////
// MD5 Algorithm: RSA Data Security, Inc. MD5 Message-Digest Algorithm
//   Copyright (C) 1991-2, RSA Data Security, Inc. 1991. 
//  All rights reserved
//////////////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////////////
// [randomstr], [rnd]
//////////////////////////////////////////////////////////////////////////////////
// Mersenne Twister Random Number Generator
//   Copyright(C) 1997-2002, Makoto Matsumoto, Takuji Nishimura
//////////////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////////////
// All TCP/IP related commands
//////////////////////////////////////////////////////////////////////////////////
//  TCP/IP specific extensions in Windows Sockets 2
//   Copyright(C) 1980,1983,1988,1993 
//   The Regents of the University of California
//////////////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////////////
// ticol_sql.dll plugin (portions)
//////////////////////////////////////////////////////////////////////////////////
// 2001 September 15
//
// Public Domain
// The author disclaims copyright to this source code.  In place of
// a legal notice, here is a blessing:
//
//    May you do good and not evil.
//    May you find forgiveness for yourself and forgive others.
//    May you share freely, never taking more than you give.
//
//////////////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////////////
// GPL code
//////////////////////////////////////////////////////////////////////////////////
// To the best of the author's knowledge, no GPL code is used in this project
// External code. where used, has been limited to public domain, permissive or
// BSD compatible sources
//////////////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////////////
// Linux
//////////////////////////////////////////////////////////////////////////////////
// There is no, and will be no Linux version of Ticol
// See GPL code (above)
//////////////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////////////
// Personal Code Copyright to the Author - Copyright (C) M Shaw 1992-2018
//////////////////////////////////////////////////////////////////////////////////
// Just about everything has been written from the ground up, mainly for the fun
// of doing it. Personal code libraries accumulated over 25 years of coding have
// been incporporated into the project
//
// That includes, but not limited to: DB, DBASE code, hashtables, linked lists,
// stacks, DLL calling, lib plugin handling, encryption, recursive expressions,
// macro preprocessor, RLE compression, INI handling, code highlighting, CGI,
// SMTP email handling, NPN notation translator, big numbers, bracketiser etc.
//
// Most of this personal codebase is in use by other closed-source projects
// owned by the author
// Code has also been ported from the author's legacy VB5 projects into C++
//
// The oldest complete functional library is DBASE III handling which dates from
// 1994 and which has been ported from DOS/Turbo C++
//
// I'm still using C++ code which was written as an undergraduate from 1992!
// How did we manage then without StackOverflow and no internet?
//////////////////////////////////////////////////////////////////////////////////

// END copyright notices //

EOF