Sybtcl - Tcl interface to Sybase database server * * Copyright 1992 Tom Poindexter and U S WEST Enhanced Services, Inc. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appear in all copies. * Tom Poindexter and U S WEST make no representations about the suitability * of this software for any purpose. It is provided "as is" without express or * implied warranty. By use of this software the user agrees to * indemnify and hold harmless Tom Poindexter and U S WEST from any * claims or liability for loss arising out of such use. * *----------------------------------------------------------------------- * Version 1.0 June, 1992 * Tom Poindexter, Denver Colorado * tpoindex@nyx.cs.du.edu *----------------------------------------------------------------------- * Version 1.1 August, 1992 * Tom Poindexter, Denver Colorado * tpoindex@nyx.cs.du.edu *----------------------------------------------------------------------- * Version 1.2 October, 1992 * Tom Poindexter, Denver Colorado * tpoindex@nyx.cs.du.edu *----------------------------------------------------------------------- * Version 1.3 May, 1993 * Tom Poindexter, Denver Colorado * tpoind@advtech.uswest.com or tpoindex@nyx.cs.du.edu *----------------------------------------------------------------------- * Version 2.0 November, 1993 * Tom Poindexter, Denver Colorado * tpoind@advtech.uswest.com or tpoindex@nyx.cs.du.edu *----------------------------------------------------------------------- * Version 2.1 February, 1994 * Tom Poindexter, Denver Colorado * tpoind@advtech.uswest.com or tpoindex@nyx.cs.du.edu *----------------------------------------------------------------------- * Version 2.11 April, 1994 * Tom Poindexter, Denver Colorado * tpoind@advtech.uswest.com or tpoindex@nyx.cs.du.edu *----------------------------------------------------------------------- * Version 2.2 October, 1994 * Tom Poindexter, Denver Colorado * tpoindex@nyx.cs.du.edu <<>>>>>> I've put sybtcl-2.5.tar.gz on ftp.neosoft.com in /pub/tcl/sorted/databases/sybtcl-2.5/sybtcl-2.5.tar.gz Also available at: http://www.neosoft.com/tcl/ftparchive/sorted/databases The Tcl archive at ftp.neosoft.com is due for reorganization, so the path may have changed. Just keep looking in the tcl area. see the newsgroup comp.lang.tcl for general Tcl discussion and the Tcl Frequently Asked Questions. I've built Sybtcl in Sequent PTX 1.3 (System V 3.2), SunOS 4.1.x, Solaris 2.5, Dec Unix, HPUX 9.x/10.x, Linux/ELF (RedHat 4.2), and Windows NT 4.0/VC++ 4.0. Other users have reported successful compiles on: SGI Irix IBM AIX SCO Unix (mail to me on a successful port on other platforms; I'll add to this list) >> Linux users: See ctcompat/README.ctcompat! WINDOWS NT/95 AND MACINTOSH DLLs for Windows NT/95 are supplied in the ./win directory. Two DLLs are supplied, one compiled with Tcl 7.6, the other compiled with Tcl 8.0. Run the 'install.tcl' to install the correct version. See the win/README.win file for more information. ** Windows users can use 'WinZip' to unpack .tar.gz files. At this time, no Macintosh libraries are supplied. (Anyone with a Mac, a C compiler, and Sybase libraries care to contribute? email me!) SAMPLES Some samples are included using the Extended Tcl tcl(1) and wishx(1) interpreters. In particular, the "wisqlite" (Windowing ISQL) program is a handy replacement for Sybase's Isql in an X11 environment. Also, De Clarke's enhanced wisql is included in ./samples/uco/*. A very nice query tool to give to users who haven't learned SQL. See ./samples/README.samples plus each file's comments and code. MAN PAGE You're in luck! I've written one. OTHER DOCUMENTATION Sybtcl is explained in greater detail in "Tcl/Tk Tools", edited by Mark Harrison, and published by O'Reilly and Associates. "Tcl/Tk Tools" is a new book that covers many of the popular Tcl extensions, written by the authors of each extension (I wrote the chapters on Sybtcl and Oratcl.) 1st Edition published September 1997, ISBN: 1-56592-218-2 See your local bookstore, or try: http://www.softpro.com http://www.amazon.com http://www.ora.com http://www.barnesandnoble.com BUG REPORTS Comments, suggestions, et.al., should be mailed to me or posted to comp.lang.tcl if general enough nature. Hell, you can even mail to me if you like Sybtcl! Mail bug reports to: tpoindex@nyx.net If you post a question or bug report to comp.lang.tcl, I may not see it, so please copy me also. Please ALWAYS include: -version of Sybtcl -version of Tcl, Tk, and TclX -version of Sybase server and DB-Libary -version of your operating system -switches used with configure (see config.status) -compiler used, stock cc or Gcc -samples of SQL or Sybtcl code causing problems -relevant database table definitions, views, procedures SYBTCL WWW PAGE I keep terse, but usually up to date information at: http://www.nyx.net/~tpoindex TCL DATABASE MAILING LIST A mailing list is available for specific discussions about using Tcl with databases, including Oratcl, Sybtcl, etc. Feel free to join and mail to the list. The list is hosted by De Clarke. To subscribe to this list send mail to listserv@ucolick.org and in the body of the message write subscribe tcldb To unsubscribe... (well, you get the idea). Please remember to write to tcldb-owner with problems about the list itself, or to postmaster@ucolick.org if you have difficulties getting through to the tcldb-owner address. Please do not send subscribe and unsubscribe messages to the list itself. INSTALLATION Quickie install instructions: ./configure --prefix=/same/prefix/path/as/with/tcl/configure \ --exec-prefix=/same/exec-prefix/path/as/with/tcl/configure make make install Didn't work? You'll have to read the INSTALL file. Maybe you should read it anyway. NOTE!!! I strongly advise that you build Tcl with the '--enable-shared' option. Sybtcl uses information that Tcl's configure finds, particularly information about compiling and linking for dynamic shared libraries. Sybtcl by default builds a shared library. See the INSTALL file for additional notes. OTHER Try out the Sybtcl C API. It allows your C programs to access Sybase using the Sybtcl model. It's experimental; please mail to me if it works for you, or if you have improvements. See ./sybtcl-capi/* See the file CHANGES for changes in versions of Sybtcl. -finis-