Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: lua51-readline | Distribution: openSUSE Tumbleweed |
Version: 3.0 | Vendor: openSUSE |
Release: 3.4 | Build date: Fri Feb 9 19:44:19 2024 |
Group: Development/Languages/Other | Build host: i01-armsrv3 |
Size: 51752 | Source RPM: lua51-readline-3.0-3.4.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: https://pjb.com.au/comp/lua/readline.html | |
Summary: 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.
MIT
* Wed Jan 25 2023 Michal Suchanek <msuchanek@suse.de> - Fix missing dependency on lua-macros (boo#1205612) * Fri Dec 17 2021 Callum Farmer <gmbr3@opensuse.org> - Add Requires lua-luaposix >= 30 * Tue Jun 08 2021 Callum Farmer <gmbr3@opensuse.org> - Add Source Url * Wed May 19 2021 Callum Farmer <gmbr3@opensuse.org> - Initial packaging version 3.0
/usr/lib/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
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Nov 16 01:07:39 2024