Term::ReadLine::Gnu

Term::ReadLine::Gnu (TRG) is an implementation of Term::ReadLine Perl module, and is the interface to the GNU Readline/History Library. This Perl module gives you input line editing facility, input history management facility, word completion facility, etc.

Latest version: 1.46 registry icon
Maintenance score
52
Safety score
97
Popularity score
3
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
1.46 0 0 0 0 0
1.45 0 0 0 0 0
1.44 0 0 0 0 0
1.43 0 0 0 0 0
1.42 0 0 0 0 0
1.41 0 0 0 0 0
1.40 0 0 0 0 0
1.39 0 0 0 0 0
1.38 0 0 0 0 0
1.37 0 0 0 0 0
1.36 0 0 0 0 0
1.35 0 0 0 0 0
1.34 0 0 0 0 0
1.33 0 0 0 0 0
1.32 0 0 0 0 0
1.31 0 0 0 0 0
1.30 0 0 0 0 0
1.29 0 0 0 0 0
1.28 0 0 0 0 0
1.27 0 0 0 0 0
1.26 0 1 0 0 0
1.25 0 1 0 0 0
1.24 0 1 0 0 0
1.23 0 1 0 0 0
1.22 0 1 0 0 0
1.21 0 1 0 0 0
1.20 0 1 0 0 0
1.19 0 1 0 0 0
1.18 0 1 0 0 0
1.17 0 1 0 0 0
1.16 0 1 0 0 0
1.15 0 1 0 0 0
1.14 0 1 0 0 0
1.13 0 1 0 0 0
1.12 0 1 0 0 0
1.11 0 1 0 0 0
1.10 0 1 0 0 0
1.09 0 1 0 0 0
1.08 0 1 0 0 0
1.07 0 1 0 0 0
1.06 0 1 0 0 0
1.05 0 1 0 0 0
1.04 0 1 0 0 0
1.03 0 1 0 0 0
1.01 0 1 0 0 0
1.17a 0 1 0 0 0
1.00 0 1 0 0 0
0.10 0 1 0 0 0
0.09 0 1 0 0 0
0.07 0 1 0 0 0
0.06 0 1 0 0 0

Stability
Latest release:

1.46 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

Artistic-1.0   -   Artistic License 1.0

Not a wildcard

Not proprietary

OSI Compliant


GPL-1.0-or-later   -   GNU General Public License v1.0 or later

Not a wildcard

Not proprietary

OSI Compliant



Term::ReadLine::Gnu --- The GNU Readline Library Wrapper Module

Copyright (c) 1996-2022 Hiroo Hayashi. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Description

Term::ReadLine::Gnu (TRG) is an implementation of the interface to the GNU Readline Library. This module gives you input line editing facility, input history management facility, word completion facility, etc. It uses the real GNU Readline Library and has the interface with the almost all variables and functions which are documented in the GNU Readline/History Library Manual. So you can program your custom editing function, your custom completion function, and so on with Perl. TRG may be useful for a C programmer to prototype a program which uses the GNU Readline Library.

TRG is upper compatible with Term::ReadLine included in Perl distribution. Term::ReadLine uses TRG automatically when TRG is available. You can enjoy full line-editing feature with Perl debugger which use Term::ReadLine without any additional settings.

Ilya Zakharevich has been distributing his implementation, Term::ReadLine::Perl, which bases on Jeffrey Friedl's readline.pl. His module works very well, and is easy to install because it is written by only Perl. I tried to make my module compatible with his. He gave me a lot of valuable advises. Unfortunately readline.pl simulated old GNU Readline library before TRG was born. For example, it was not 8 bit clean and it warns to the variables in ~/.inputrc which it did not know yet. We Japanese usually use 8 bit characters, so this was a bad feature for me. I could make a patch for these problems but I had interest with C interface facility and dynamic loading facility of Perl, so I thought it was a good chance for me to study them. Then I made this module instead of fixing his module.

Prerequisites

You must have Perl 5.8 or later. If you have to use old Perl for some reason, use Term::ReadLine::Gnu 1.09. (I recommend you to use newer Perl.)

You must have GNU Readline Library Version 2.1 or later. See INSTALL for more detail.

A report said GNU Readline Library might not work with perl with sfio, which was deprecated by Perl 5.20.

How to build/install

See INSTALL.

Bugs

There may be some bugs in both programs and documents. Comments and bug reports are very welcome. Send me a E-Mail or open a ticket on the bug tracker on GitHub

Author

Hiroo Hayashi hiroo.hayashi@computer.org

Links

Revision History

See Changes.