forked from pool/lua-readline
Compare commits
5 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
9b3c91d9e3
|
|||
|
11b8f25189
|
|||
|
e1ebab6637
|
|||
|
e4b561922a
|
|||
|
0f117d71db
|
@@ -1,5 +1,6 @@
|
|||||||
<multibuild>
|
<multibuild>
|
||||||
<package>lua51</package>
|
<package>luajit</package>
|
||||||
<package>lua53</package>
|
<package>lua53</package>
|
||||||
<package>lua54</package>
|
<package>lua54</package>
|
||||||
|
<package>lua55</package>
|
||||||
</multibuild>
|
</multibuild>
|
||||||
|
|||||||
@@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 2 20:01:57 UTC 2026 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Reformat %description.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 23 21:40:04 UTC 2026 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Enable lua55 build.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 24 14:50:51 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Switch off building lua51 build of the package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 20 19:53:56 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Add luajit version to _multibuild
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 25 11:52:07 UTC 2023 - Michal Suchanek <msuchanek@suse.de>
|
Wed Jan 25 11:52:07 UTC 2023 - Michal Suchanek <msuchanek@suse.de>
|
||||||
|
|
||||||
|
|||||||
@@ -37,16 +37,18 @@ Requires: %{flavor}-luaposix >= 30
|
|||||||
%lua_provides
|
%lua_provides
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This Lua module offers a simple calling interface to the GNU Readline/History Library.
|
This Lua module offers a simple calling interface to the GNU
|
||||||
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.
|
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.
|
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().
|
This module does not work lua -i because that runs its own readline, and
|
||||||
Most of readline's Alternate Interface is now included, namely handler_install, read_char and handler_remove.
|
the two conflict with each other.
|
||||||
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.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{mod_name}-%{version}
|
%autosetup -n %{mod_name}-%{version}
|
||||||
|
|||||||
Reference in New Issue
Block a user