linenoise_introduction - Introduction To Linenoise
Welcome to Linenoise, a binding to Antirez's linenoise minimal line editor library, as modified and extended by Steve Bennet of Workware.au
Linenoise is actually quite simple. Originally starting from Salvatore Sanfilippo's C library for a minimal line editor in tty, coincidentally also called linenoise, a simple wrapper exposing the functionality to Tcl scripts was written. This was later switched to Steve Bennet's fork of the same, due to its enhanced portability and set of features (Windows, UTF-8, more editing commands). Currently my own fork of the same is prefered, due to its support for hidden input, i.e. password prompts and the like.
This here is the result.
The following sections first reference a few related documents which may or may not be of interest to you, depending on if you are just a plain user of the system, trying to get and build/install it, or are going deep into the internals for either edification or modification.
This is followed by a quick overview of the general architecture as seen by a user.
The system's architecture is super simple. There are only two layers, consisting of the linenoise core, and of the binding sitting on top. The user sees only the binding, and nothing else.
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report them at the Issues tracker. Ideas for enhancements you may have for either package, application, and/or the documentation are also very welcome and should be reported at the Issues tracker as well.
Copyright © 2013 Andreas Kupries