Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Tree [8d8f5a] /
History



File Date Author Commit
GPL 1999-02-28 Johannes Zellner Johannes Zellner [758b0c] before initial relase
Makefile.in 1999-05-10 Johannes Zellner Johannes Zellner [1ccd11] before initial relase
README 1999-05-08 Johannes Zellner Johannes Zellner [fb6c26] changes for 8.1
pkgIndex.tcl 1999-05-10 Johannes Zellner Johannes Zellner [1ccd11] before initial relase
sample.tclshrc 1999-05-08 Johannes Zellner Johannes Zellner [fb6c26] changes for 8.1
tclreadline.c 1999-05-08 Johannes Zellner Johannes Zellner [fb6c26] changes for 8.1
tclreadline.h.in 1999-05-08 Johannes Zellner Johannes Zellner [fb6c26] changes for 8.1
tclreadline.n.in 1999-05-10 Johannes Zellner Johannes Zellner [8d8f5a] *** empty log message ***
tclreadlineConfig.sh.in 1999-05-08 Johannes Zellner Johannes Zellner [fb6c26] changes for 8.1
tclreadlineInit.tcl.in 1999-05-08 Johannes Zellner Johannes Zellner [fb6c26] changes for 8.1
tclreadlineSetup.tcl 1998-10-05 Johannes Zellner Johannes Zellner [ebfe07] ci after porting this to configure
tclreadlineSetup.tcl.in 1999-05-10 Johannes Zellner Johannes Zellner [1ccd11] before initial relase

Read Me

    FILE: "/krispc6/home/joze/src/tclreadline/README"
    LAST MODIFICATION: "Sat May  8 14:05:41 1999 (joze)"
    (C) 1998, 1999 by Johannes Zellner, <johannes@zellner.org>
    $Id$
    ---

    tclreadline -- gnu readline for tcl
    Copyright (C) 1999  Johannes Zellner

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

    <johannes@zellner.org>, http://www.zellner.org/tclreadline/


tclreadline


1. Introduction
---------------

This directory contains the sources and documentation for tclreadline,
which builds a connection between tcl and the gnu readline.
The information here corresponds to release 0.7 (initial developers release).

2. Documentation
----------------

The tclreadline.n nroff man page in this release contains the reference
manual entries for tclreadline.  If you only want to use tclreadline as
a tool for interactive script development,  you don't have to read this
manual page at all.  Simply change your .tclshrc according to the section 4.

3. Compiling and installing tclreadline
---------------------------------------

This release will probably only build under UNIX (Linux).

Before trying to compile tclreadline you should do the following things:

    (a) Make sure you have tcl 8.0 or higher.  I've tested tclreadline
        with tcl 8.0.3 and 8.0.4.  tclreadline relies on a proper tcl
        installation:
        It uses the tclConfig.sh file, which should reside somewhere
        in /usr/local/lib/ or /usr/local/lib/tcl8.0/...

    (b) Make sure you have gnu readline 2.2 or higher.
        tclreadline uses the gnu readline callback handler, which
        wasn't implemented in early releases.

The usual ./configure; make; make install sequence should do the rest.


4. Using tclreadline for interactive tcl scripting.
---------------------------------------------------

copy the sample.tclshrc to $HOME/.tclshrc. If you use another interpreter
like wish, you should copy the file sample.tclshrc to $HOME/.wishrc
(or whatever the manual page of your interpreter says.) If you have
installed tclreadline properly, you are just ready to start:
start your favorite interpreter. The tclreadlineSetup.tcl script
does the rest.