Version 1 of curses

Updated 2002-06-07 15:09:54

Purpose: detail some of the packages intended to provide a Tcl interface to curses.


curses in this case is NOT the things that you say when you cannot get Tk interfaces working...

Instead, it is a C library designed to provide the C developer a level of abstraction for writing software to drive character based displays.

There are various attempts to define a Tk interface based on curses. If you check out http://www.purl.org/NET/Tcl-FAQ/part5.html you will see:

 What: ck
 Where: http://www.ch-werner.de/ck/
 Description: Curses Tcl Toolkit .  Tk like toolkit but in character mode,
        using XPG4 curses.
        Runs on Linux, AIX, HP-UX, DEC Unix, SCO OpenServer, FreeBSD, and
        Win32.
        Currently at version 8.0 .
 Updated: 09/2001
 Contact: mailto:[email protected]

 What: CTk
 Where: ftp://ccfadm.eeg.ccf.org/pub/ctk/
        http://www.neosoft.com/tcl/ftparchive/sorted/packages-7.6/devel/ctk4.0.tar.gz
        http://www.neosoft.com/tcl/ftparchive/sorted/packages-7.6/devel/ctk4.0b1.tar.gz
        http://www.du.edu/%7Emschwart/ctk8.0.tar.gz
        ftp://ftp.redhat.com/pub/contrib/libc5/
 Description: This is a version of Tk which uses curses.  Applications with
        a modern GUI-ish interface can be created for character terminals.
        CTk is a subset of Tk, being unable to do things like scaling
        canvases, selection, send, active backgrounds, etc.
        A version 4.2 is available at ccfadm.
        The version by Mr. Schwartz, at du.edu, has been upgraded to
        work with Tcl 8, but does not yet support Tk 8 features.
        There are rpms at redhat which have been upgraded with patches
        to seem to work with Tk 4.2.p12/Tcl 7.4p3.
 Updated: 02/2000
 Contact: mailto:[email protected] (Martin Andrews)
        mailto:[email protected] (Michael Schwartz)
        mailto:[email protected] (Karl O. Pinc)

 What: Miscellaneous Tcl procs (Dillinger)
 Where: http://zork.net/%7Ephil/projects.html
 Description: A variety of extensions are available, such as an interface
        between Tcl and GTk+, a Samba extension (Windows networking),
        an ODBC like extension called MODDBC (allows you to connect to
        Postgres, Sybase, MS SQL Server, and mSQL databases),
        MODrl (readline extension),
        MODcit (tcl Citadel with telnet-able and web interfaces),
        MODform (generic CGI form processor), MODPkg (replaces tclPkgUnknown
        to permit downloading packages from the Internet using digital
        signatures for authentication), tclLDAP (for accessing lightweight
        directory services), CTk (Curses extension compatible with Tcl 8),
        network based GIS package allowing access to many different data
        types.
 Updated: 08/1999
 Contact: mailto:[email protected]

 What: Network Management / SNMP
 Where: http://www.neosoft.com/tcl/ftparchive/sorted/packages-7.6/net/tcl_nm-1.03/tcl-nm-1.03.tar.gz ???
        http://www.neosoft.com/tcl/ftparchive/sorted/packages-7.6/devel/tcl_curses.shar.gz
 Description: An initial implementation of an API for SNMP.  This is currently
        being reworked in the light of SNMPv2.  Please check with the mail-
        server for current status.  Send a help line to the mailserver
        for details of signing up for the SNMP Tcl mailing list.
        Also note that packages such as
        tcl_curses, tcl_dbm, tcl_mib, tclnm, and tcl_snmp or tk_snmp
        are available.
        Contact the mailing list to ask for details.
 Updated: 10/1998
 Contact: mailto:[email protected] (Mailing service daemon)

 What: Tcl Extensions by Michael Schwart
 Where: http://www.du.edu/%7Emschwart/tcl-tk.htm
 Description: This page contains pointers to a number of Tcl extensions,
        including a Tk that uses Curses,
        GD (Image file rendering based on the Tom Boutell's gd library
        - supports PNG and GIF) - version 0.1.0.4,
        GDI (Graphics device drawing similar to Tk canvas, but for Windows)
        - version 0.9.8.3,
        HDC (Name/address manipulations) - version 0.2.0.1,
        WMF (Windows metafile context for copying to clipboard)
        - version 0.1.0.2,
        Tkmsmail (MAPI and CMD mail interfaces, allowing Windows programs to
        send mail) - version 1.0.1.1 (now available from the tcl core's
        CVS repository and is TEA compliant) ,
        Print (printer contexts, providing invocation of common printer
        dialogs and exposes the device context for supporting interaction
        with other platform specific drawing primitives - Windows and Unix) -
        version 0.9.5.2,
        Profile (.INI file manipulations - Windows and Unix) - version 0.6.0.2,
        Signal (simple signal processing - Unix) - version 1.4,
        Winexec (Windows exec command which can properly launch detached
        16 bit and DOS apps as well as Win32 apps) - version 0.6.0.1,
        a .zip bundle of Tcl 8.2 DLLs with NT stubs.
 Updated: 06/1999
 Contact: mailto:[email protected]

 What: TUI for Windows NT
 Where: From the contact
 Description: Contact indicates that he is working on a port of Ncurses and
        the XTerminal 0.6.9 interface) to Windows NT for use by Tcl.
 Updated: 08/1999
 Contact: mailto:[email protected] (David Gravereaux)














There are several choices for the "service library", including ncurses and pdcurses.