Upstream software project

lua-readline

a simple interface to the readline and history libraries

About lua-readline

a simple interface to the readline and history libraries

This project links 11 native package records across 4 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

Debian 12 (Bookworm): 2 package records; Debian 13 (Trixie): 2 package records; openSUSE Leap 16.0: 3 package records; openSUSE Tumbleweed: 4 package records. Catalog coverage diagram, not an application screenshot.lua-readline: recorded package coverageDebian 12 (Bookworm)2 recordsDebian 13 (Trixie)2 recordsopenSUSE Leap 16.03 recordsopenSUSE Tumbleweed4 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
lua-readline
Publisher
Not authoritatively mapped
Native package records
11
Operating systems
debian-12, debian-13, opensuse-leap-16-0, opensuse-tumbleweed
License expression
MIT
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

This Lua module offers a simple calling interface to the GNU Readline/History Library. The function readline() is a wrapper, which invokes the GNU readline, adds the line to the end of the History List, and then returns the line. Usually you call save_history() before the program exits, so that the History List is saved to the histfile. Various options can be changed using the set_options{} function. The user can configure the GNU Readline (e.g. vi or emacs keystrokes ?) with their individual ~/.inputrc file, see the INITIALIZATION FILE section of man readline. By default, the GNU readline library dialogues with the user by reading from stdin and writing to stdout; this fits very badly with applications that want to use stdin and stdout to input and output data. Therefore, this Lua module dialogues with the user on the controlling-terminal of the process (typically /dev/tty) as returned by ctermid(). Most of readline's Alternate Interface is now included, namely handler_install, read_char and handler_remove. Some applications need to interleave keyboard I/O with file, device, or window system I/O, typically by using a main loop to select() on various file descriptors. To accommodate this need, readline can also be invoked as a 'callback' function from an event loop, and the Alternate Interface offers functions to do this. The Alternate Interface does offer tab-completion; but it does not add to the history file, so you will probably want to call RL.add_history(s) explicitly. See handler_install() Access to readline's Custom Completion is now provided. This module does not work lua -i because that runs its own readline, and the two conflict with each other.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Debian 12 (Bookworm)

  1. Package lua-readline

    bookworm (Debian 12 (Bookworm)) (interpreters): readline library for the Lua language

    3.2-2: amd64 arm64

  2. Package lua-readline-dev

    bookworm (Debian 12 (Bookworm)) (libdevel): readline development files for the Lua language

    3.2-2: amd64 arm64

    Source: lua-readline

Debian 13 (Trixie)

  1. Package lua-readline

    trixie (Debian 13 (Trixie)) (interpreters): readline library for the Lua language

    3.3-3+b3: amd64 arm64

    Source: lua-readline

  2. Package lua-readline-dev

    trixie (Debian 13 (Trixie)) (libdevel): readline development files for the Lua language

    3.3-3+b3: amd64 arm64

    Source: lua-readline

openSUSE Leap 16.0

  1. Package lua51-readline

    leap-16.0 (openSUSE Leap 16.0) (Development/Languages/Other): a simple interface to the readline and history libraries

    3.0-bp160.1.10: aarch64 ppc64le s390x x86_64

    Source: lua51-readline

  2. Package lua53-readline

    leap-16.0 (openSUSE Leap 16.0) (Development/Languages/Other): a simple interface to the readline and history libraries

    3.0-bp160.1.10: aarch64 ppc64le s390x x86_64

    Source: lua53-readline

  3. Package lua54-readline

    leap-16.0 (openSUSE Leap 16.0) (Development/Languages/Other): a simple interface to the readline and history libraries

    3.0-bp160.1.10: aarch64 ppc64le s390x x86_64

    Source: lua54-readline

openSUSE Tumbleweed

  1. Package lua53-readline

    tumbleweed (openSUSE Tumbleweed) (Development/Languages/Other): a simple interface to the readline and history libraries

    3.0-5.4: x86_64

    Source: lua53-readline

  2. Package lua54-readline

    tumbleweed (openSUSE Tumbleweed) (Development/Languages/Other): a simple interface to the readline and history libraries

    3.0-5.4: x86_64

    Source: lua54-readline

  3. Package lua55-readline

    tumbleweed (openSUSE Tumbleweed) (Development/Languages/Other): a simple interface to the readline and history libraries

    3.0-5.4: x86_64

    Source: lua55-readline

  4. Package luajit-readline

    tumbleweed (openSUSE Tumbleweed) (Development/Languages/Other): a simple interface to the readline and history libraries

    3.0-5.4: x86_64

    Source: luajit-readline

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.