Version 11 of ck

Updated 2005-01-12 06:29:00

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] 

LV I attempted to build Ck today, to try out CkChat. However, I can't get cwsh to run. I had to hack the Makefile to get it to compile (I'm on SPARC Solaris 2.8, and am using Tcl 8.4.1). When I run it, I see:

 Can't find a usable ck.tcl in the following directories: 
    /usr/tcl84/lib/ck8.0 /projects/xopsrc/lib/ck8.0 /projects/lib/ck8.0 /project

s/xopsrc/library /projects/library /projects/ck0/library /ck0/library

 /projects/xopsrc/lib/ck8.0/ck.tcl: wrong version of Ck loaded (8.0): need 8.0
 wrong version of Ck loaded (8.0): need 8.0
    while executing
 "error "wrong version of Ck loaded ($c.$d): need 8.0""
    invoked from within
 "if {$a == 7} {
    if {$c != 4} {
        error "wrong version of Ck loaded ($c.$d): need 4.X"
    }

Here's the interesting part:

 $ ls -l /projects/xopsrc/lib/ck8.0/ck.tcl
 -rw-r--r--   1 lwv26    xopsrc      2665 Jan 28 07:42 /projects/xopsrc/lib/ck8.0/ck.tcl

Victor Wagner You shold read this file rather than list it and find out. why it thinks that version is wrong and ck.tcl is unusable. It was quite easy to fix in particular case, but quite complicated to write better version of version test which would suite everybody. Really, Ck should have its own versioning scheme, and not require version of Tcl be exactly same as version of Ck


08feb03 jcw - If anyone wants it, I had a copy of Ck adapted to build with stubs and Tcl 8.4 lying around, and have placed the sources (plus a Linux build, IIRC) on the web at [L1 ].


2003-10-22 VI : Thanks for that. Related is the modified Ck - can't find the author name at [L2 ]. If anybody can the sources using CVS out of there, let me know. I tried the DOS box port from there and it works cool!

It is my site Victor Wagner. I don't put my name here, because I believe that anyone can find it out from domain name, and if not - write to webmaster of this domain. Which is my home machine anyway.

I built jcw's version from above. It refuses to build a shared version for me (Redhat 7.1). And the only way I can get cwsh to start is to start it in the library directory. Otherwise I get the dreaded can't find ck.tcl that LV mentions above.


24 September 2004: Victor Wagner has created his own public CVS for Ck [L3 ] [L4 ].

There are also debian packages available.


Ck requires much work to be drop-in replacement for Tk even for application which do not use images, canvases and fonts extensively (these features obvoisly cannot be used in character mode)

Partial list of missing features

 * [[event]] command
 * [[text]] undo feature
 * [[labelframe]] and [[pannedwindow]] widgets
 * [[entry]] validation.

Really, almost everything which appears in Tk since 8.0 release haven't been ported to Ck. Most worse, Ck is not objectified, which complicates borrowing source from recent Tk.


[ Category Package | See also : curses ]