| 1 |
LEGALESE |
| 2 |
~~~~~~~~ |
| 3 |
Copyright (c) 1995 Ilya Zakharevich. All rights reserved. |
| 4 |
This program is free software; you can redistribute it and/or |
| 5 |
modify it under the same terms as Perl itself. |
| 6 |
|
| 7 |
You should have received a copy of the Perl license along with |
| 8 |
Perl; see the file README in Perl distribution. |
| 9 |
|
| 10 |
You should have received a copy of the GNU General Public License |
| 11 |
along with Perl; see the file Copying. If not, write to |
| 12 |
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| 13 |
|
| 14 |
You should have received a copy of the Artistic License |
| 15 |
along with Perl; see the file Artistic. |
| 16 |
|
| 17 |
|
| 18 |
Author of this software makes no claim whatsoever about suitability, |
| 19 |
reliability, edability, editability or usability of this product, and |
| 20 |
should not be kept liable for any damage resulting from the use of |
| 21 |
it. If you can use it, you are in luck, if not, I should not be kept |
| 22 |
responsible. Keep a handy copy of your backup tape at hand. |
| 23 |
|
| 24 |
WHAT |
| 25 |
~~~~ |
| 26 |
|
| 27 |
This is a quick implementation of the minimal interface to Readline |
| 28 |
libraries. The implementation is made in Perl (mostly) by Jeffrey |
| 29 |
Friedl. The only thing this library does is to make it conformant (and |
| 30 |
add some minimal changes, like using Term::ReadKey if present, and |
| 31 |
correct work under xterm). |
| 32 |
|
| 33 |
(In fact this is an understatement now, a lot of additions are made, |
| 34 |
see CHANGES...) |
| 35 |
|
| 36 |
INSTALL |
| 37 |
~~~~~~~ |
| 38 |
|
| 39 |
To install this module type |
| 40 |
|
| 41 |
perl Makefile.PL |
| 42 |
make |
| 43 |
make test |
| 44 |
or (with newer makemaker) |
| 45 |
make test_dynamic |
| 46 |
(Check whether you are satisfied with the results. Try |
| 47 |
to redirect stdin and/or stdout.) |
| 48 |
make install |
| 49 |
|
| 50 |
You may need to install Term::ReadKey first if your system is new (Solaris |
| 51 |
is ;-(). (Available in standard places, checked with 1.98.) |
| 52 |
|
| 53 |
If you see something like |
| 54 |
|
| 55 |
Can't ioctl TIOCGETP: Invalid argument at ... |
| 56 |
|
| 57 |
this means you need ReadKey. |
| 58 |
|
| 59 |
Note that as of 0.95 Term/ReadLine.pm is unbundled to make CPAN.pm happier. |
| 60 |
On the other hand, if you get newer Term/ReadLine.pm (say, by installing |
| 61 |
newer Perl) you may get more features enabled. |
| 62 |
|
| 63 |
For most features of T::R::P one needs to look in the CHANGES file, and the |
| 64 |
comments at the start of of readline/readline.pm. Volunteers to make the |
| 65 |
corresponding OO interface into POD are welcome (wrappers are available in |
| 66 |
Term::ReadLine::Perl; see perl5db.pl for a sample usage of hairier features, |
| 67 |
such as accessing Readline variables and methods). |
| 68 |
|
| 69 |
AUTHOR BUGS |
| 70 |
~~~~~~~~~~~ |
| 71 |
Ilya Zakharevich |
| 72 |
[email protected] |
| 73 |
|
| 74 |
Std dstribution site: http://www.ilyaz.org/software/perl/modules |