Skip to content

andreas-kupries/tcl-linenoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tcl Binding to the Linenoise minimal line editor

  • Welcome to TclLinnoise, a line editor based on the linenoise library.

Website

  • The main website of this project is https://andreas-kupries.github.io/tcl-linenoise

    It provides access to archives for various revisions and the full documentation, especially the guides to building and using it.

    Because of the latter this document contains only the most basic instructions on getting, building, and using TclLinenoise.

Versions

  • Version 1 is the actively developed version of TclLineNoise.

Getting, Building, and Using TclLineNoise

  • Retrieve the sources:

    % git clone http://github.com/andreas-kupries/tcl-linenoise

    Your working directory now contains a directory tcl-linenoise.

  • Build and install it:

    Install requisites: linenoise itself.

    Create a link from within the tcl-linenoise top directory to linenoise itself. Or copy linenoise into a subdirectory of that name.

    % cd tcl-linenoise

    % tclsh ./build.tcl install

    The generated package is placed into the [info library] directory of the tclsh used to run build.tcl. This may require administrative (root) permissions, depending on the system setup.

  • It is expected that a working C compiler is available. Installation and setup of such a compiler is platform and vendor specific, and instructions for doing so are very much outside of scope for this document. Please find and read the documentation, how-tos, etc. for your platform or vendor.

  • With tcl-linenoise installed try out one of the examples:

Documentation