Skip to content
Simple binding to GNU libreadline
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Remove 'rl-' prefix, no point now. May 30, 2015
lib 0.1.5 Feb 25, 2019
t Disable 'free-keymap' test as it's not available on CentOS 6. Apr 4, 2016
xt Update readline to new META6.json Mar 23, 2017
.gitignore
.travis.yml Fix .travis.yml to use the new installer Sep 21, 2017
Changes 0.1.5 Feb 25, 2019
LICENSE Initial commit Mar 28, 2015
META6.json 0.1.5 Feb 25, 2019
README.md Add Darwin fix, refactor for cleanup, update documentation Jul 15, 2018
dist.ini

README.md

Readline

Readline provides a Perl 6 interface to libreadline.

XXX This will probably be a frontend to Readline::Gnu when that's factored out. XXX For the moment keep all the code here in the Readline module.

Installation

Please make sure that libreadline is installed beforehand, the tests will fail otherwise. If libreadline is installed but the tests still fail, please note that the Perl 6 package searches a given set of directories for libreadline.{so,dynlib}.* files, otherwise it defaults to v7. If your libreadline installation isn't on any of these paths, or requires non-standard setup, please file an issue.

For those of you on Linux Debian and Linux-alike systems, you should be able to get the latest version with this CLI invocation:

	sudo apt-get install libreadline7

(I'd prefer to use LibraryCheck, but it fails inside the 'is native()' method call.)

  • Using zef (a module management tool bundled with Rakudo Star):
    zef update && zef install Readline

Or alternatively installing it from a checkout of this repo with zef:

    zef install .

Testing

To run tests:

    prove -e perl6

Author

Jeffrey Goff, DrForr on #perl6, https://github.com/drforr/

License

Artistic License 2.0

You can’t perform that action at this time.