Version 1 of tclreadline

Updated 2004-03-20 15:24:10

What: tclreadline

 Where: http://tclreadline.sourceforge.net/ 
 Description: Tcl extension binding for GNU reading.  Works with Tcl 8.1,
        as well as itcl.
        Currently at version 2.1.0 .
 Updated: 07/2001
 Contact: mailto:[email protected] 

Johannes Zellner


JMN 2004-03-20

According to 'requirements' tclreadline works with at least some versions of tcl8.4. I struggled to build tclreadline 2.1.1 on FreeBSD5.1, against tcl8.4.6 only to get a core dump when running ::tclreadline::Loop

I've also tried using rlwrap, which does not appear to run on FreeBSD4.9 and which complains "could not open master pty" on my FreeBSD5.1 box.

Seeing as I really only want the basic up & down arrow cycling through history, and not the fancy readline search & autocompletion and whatever else it may offer - is there some other way I can achieve this functionality in a plain tclsh shell? (I need to run this on plain X-less boxes and ssh sessions.)

It seems to me a very unfortunate lack of cross-platform consistency that the functionality I've always taken for granted on windows boxes doesn't seem to work on Unix-like machines. I understand the gnu readline license is unsuitable for inclusion in TCL, but is there no interest in including some *basic* history editing in tclsh to bring it into line with Windows behaviour?


[ Category Package | ]