Package: lua51-readline (3.0-bp160.1.10)
a simple interface to the readline and history libraries
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.
Package information
- Homepage
- [https://pjb.com.au/comp/lua/readline.html]
- License
- MIT
- Downstream-Paketbetreuer
- Unbekannt: in der indizierten Quelle nicht gemeldet
- Quellpaket
- [lua51-readline]
- Software project
- [lua-readline]
Versions and downloads for lua51-readline
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 3.0-bp160.1.10leap-16.0 / oss | aarch64openSUSE Leap 16.0 · OSS · multi-architecture | 23 KiB | 103 KiB | list of files | lua51-readline-3.0-bp160.1.10.aarch64.rpm |
| 3.0-bp160.1.10leap-16.0 / oss | ppc64leopenSUSE Leap 16.0 · OSS · multi-architecture | 23 KiB | 103 KiB | list of files | lua51-readline-3.0-bp160.1.10.ppc64le.rpm |
| 3.0-bp160.1.10leap-16.0 / oss | s390xopenSUSE Leap 16.0 · OSS · multi-architecture | 23 KiB | 55 KiB | list of files | lua51-readline-3.0-bp160.1.10.s390x.rpm |
| 3.0-bp160.1.10leap-16.0 / oss | x86_64openSUSE Leap 16.0 · OSS · multi-architecture | 23 KiB | 55 KiB | list of files | lua51-readline-3.0-bp160.1.10.x86_64.rpm |
About these downloads
Jede Zeile ist Paketindex-Metadaten für eine Version, Architektur, Suite und ein Repository. Namen, URLs und Größen stammen aus der Quelle; ein Link ist ein veränderbarer Abrufort, kein Weitergabanspruch von OpenFactory.
Dependencies and recommendations for lua51-readline
dep: ld-linux-aarch64.so.1()(64bit)
Package not available
dep: ld-linux-aarch64.so.1(GLIBC_2.17)(64bit)
Package not available
dep: liblua5.1.so.5()(64bit)
Package not available
dep: libreadline.so.8()(64bit)
Package not available
dep: libreadline.so.8(READLINE_7.0)(64bit)
Package not available
dep: [lua51-luaposix] (>= 30)
POSIX-Bibliothek für Lua
dep: libc.so.6(GLIBC_2.17)(64bit)
Package not available
Paketdateipfade (4)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib64/lua/5.1/C-readline.so
- /usr/share/doc/packages/lua51-readline
- /usr/share/doc/packages/lua51-readline/readline.html
- /usr/share/lua/5.1/readline.lua
Field source: openSUSE Leap 16.0 OSS
