From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,d358d2d9f60a200b,start X-Google-Attributes: gid10d4db,public From: gray@voicenet.com (Scott Gray) Subject: Sqsh-1.5 Enhanced isql for Sybase Date: 1997/02/24 Message-ID: X-Deja-AN: 221000595 X-Original-Date: 19 Feb 1997 22:21:31 -0500 X-Server-Date: 24 Feb 1997 06:03:53 GMT Followup-To: comp.os.linux.misc Organization: VoiceNet Internet Access X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce Newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Sqsh Release 1.5 18-Feb-1997 The following is available from: http://www.voicenet.com/~gray/sqsh.html Announcing sqsh-1.5, the ever popular replacement for Sybase's 'isql' program available on most UNIX platforms. This version provides several feature enhancements over the 1.4 release, as well as a complete re-write of the database internals to use Sybase CT-Library rather than DB-Library, opening up the available platforms to support Linux (and potentially NetBSD, FreeBSD, etc.) What is SQSH? - -=-=-=-=-=-=- Sqsh (pronounced skwish) is short for SQshelL (pronounced s-q-shell), it is intended as a replacement for the venerable 'isql' program supplied by Sybase. It came about due to years of frustration of trying to do real work with a program that was never meant to perform real work. Sqsh is much more than a nice prompt (a la 'dsql', from David B. Joyner), it is intended to provide much of the functionality provided by a good shell, such as variables, redirection, pipes, back-grounding, job control, history, command completion, and dynamic configuration. Also, as a by-product of the design, it is remarkably easy to extend and add functionality. The following are a brief list of the more notable features of sqsh (a '*' indicates a new or modified feature of 1.5): o Command line editing (using GNU Readline library) o Variables o Redirection ("go > file") and piping ("go | more") o Command substitution ("SELECT * FROM `echo syscolumns`") o Background queries and job control ("go &") o Command aliasing o SQL batch history o Configurable script aborting and exit status o BCP result sets between servers o Direct remote procedure calls * Multiple display styles (horizontal, vertical, bcp, and HTML) * X Windows support o Session locking * Smart semicolon go ("sp_who;") o Configurable prompt o Dynamic reconnection and server switching o Configurable keyword completion (using GNU Readline library) o Named SQL buffers o Specify database context on command line Platforms - -=-=-=-=- Sqsh was designed with portability in mind and has been successfully compiled on most major UNIX platforms supported by Sybase, such as Linux, HP-UX, AIX, IRIX, SunOS, Solaris, Dynix, OSF/1, DEC Unix, SCO, NeXT, and CP/M (just kidding). And, no, it has not been ported to NT. Changes Since 1.4 - -=-=-=-=-=-=-=-=- The following is a condensed list of the more noticable changes since 1.4, a more detailed list may be found from the Sqsh Home Page and ChangeLog: o Ported to CT-Lib - if you have built sqsh in the past, make sure you re-read the provided README and INSTALL for build differences. o Enhanced 'configure' to be a smarter. o Replaced entire signal handling mechanism. Will now use POSIX signal handling when available (SGI users, make sure you read README.SGI concerning this change). o Added HTML display style to output HTML constructs. o Added X windows support for displaying result set in a separate window (requires X11R4 or later). o Added $batch_pause environment variable to cause a "hit enter to continue" message following each batch executed. o Semicolon will no longer be interpreted within comments, both "/* */" style and "--" style. o Added '-e ' to \loop command to execute contents of within its own SQL Buffer (thanks to Dan Roitman for the patch). o Added '-r sqshrc' option to allow you override the name of the .sqshrc file to read upon start-up. If sqshrc is not supplied then no startup file is read. o Added -B flag so that sqsh will now attempt to turn off buffering of stdin, stdout, and stderr upon start-up. This should allow it to be controlled by such libraries as 'expect'. o '\go' without an empty command buffer will re-run last command (thanks again to Dan). o $thresh_exit will only be applicable while in a non-interactive session. o Added FAQ to the distribution. Mailing List On-Line - -=-=-=-=-=-=-=-=-=-=- Thanks to the tireless efforts of Pablo Sanchez (pablo@sgi.com, our fearless maintainer of the Sybase FAQ), and the excellent people at SGI (http://www.sgi.com), the sqsh mailing list is now available for use! Keep track of the latest developments. Offer suggestions for future additions. Offer me money :) To subscribe, send mail to external-majordomo@postofc.corp.sgi.com With a *body* of: subscribe sqsh-users [optional e-mail address] Or with a body of just: help for a list of commands. Availability - -=-=-=-=-=-=- Sqsh may be found on the following sites: http://www.voicenet.com/~gray/sqsh.html ftp://poseidon.csci.unt.edu/pub/sqsh ftp://ftp.netcom.com/pub/he/heyjude/gray ftp://davox2.davox.com/pub/sqsh Licensing - -=-=-=-=-=- 99% of the software that I use is free, therefore I like to give back in kind. Sqsh is held under the GNU General Public License (GPL) and therefore may be freely distributed under the terms of this license. If you have any questions, comments, etc, or you want to go mountain biking, offer me hardware, money, or buy me a beer :), send me e-mail at gray@voicenet.com. Enjoy! - -scott - -- Scott C. Gray gray@voicenet.com "my keybard is brken" Sybase Professional Services scott.gray@sybase.com http://www.voicenet.com/~gray/sqsh.html -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv iQCVAwUBMxEuXYQRll5MupLRAQGh6gP9EoU02rbwHlWxUiSEb2B6wxtpUfp1dLGp 1hVGXmABPPymylmxHZikxl1Haf9HZZfevVTVQg8aVC1SJCh5q9YrB74qrr/u8UKe d710Ya+gw1bCRRaIuSPbAyGpXVCqguX0e2MTMVKxF91z6EW77Tv2tWuKX0/7HFA4 EtT2xo0FrgA= =hWDg -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION. This group is archived at http://www.iki.fi/liw/linux/cola.html