summaryrefslogtreecommitdiff
path: root/dist/Term-ReadLine
Commit message (Collapse)AuthorAgeFilesLines
* (perl #132008) make sure the test behaves without a ttyTony Cook2017-09-191-7/+15
| | | | | | | | | | The test is intended to test how Term::ReadLine behaves without a tty and mocks up an invalid tty. Unfortunately some of the checks it does fail if the test starts without a tty. Modified the test to handle the lack of a tty.
* (perl #132008) try to prevent the similar mistakes in the futureTony Cook2017-09-181-0/+2
|
* Term::ReadLine generates empty &STDERR filesJames E Keenan2017-09-182-6/+52
| | | | | | | | | | | | | | | | | | | | Revert to 2-arg open in one case. If /dev/tty is inaccessible, redirecting file handles to STDERR: open (my $fh, ">&STDERR)) ... cannot be done as a 3 arg open or it'll actually try to write to that file. Bump $Term::ReadLine::VERSION. Add unit test for RT #132008 For: RT #132008 (cherry picked from commit e4dc68d725b19f46c6fca9423e6e7a0eaeff47f4) Signed-off-by: Nicolas R <atoomic@cpan.org> xx
* Switch most open() calls to three-argument form.John Lightsey2016-12-231-4/+3
| | | | | | | | | | Switch from two-argument form. Filehandle cloning is still done with the two argument form for backward compatibility. Committer: Get all porting tests to pass. Increment some $VERSIONs. Run: ./perl -Ilib regen/mk_invlists.pl; ./perl -Ilib regen/regcharclass.pl For: RT #130122
* Increase $Term::ReadLine::VERSION to 1.15Father Chrysostomos2014-09-151-1/+1
|
* Term::ReadLine: Check $^O before -eFather Chrysostomos2014-09-151-2/+2
| | | | | Put faster checks first. $^O is internal to perl, but -e has to go out to the file system.
* Bump $Term::ReadLine::VERSIONFlorian Ragwitz2013-09-071-1/+1
|
* added Term::ReadLine::EditLine supportTokuhiro Matsuno2013-09-071-1/+3
|
* typo fixes for Term::ReadLineDavid Steinbrunner2013-05-251-4/+4
| | | | Bump $VERSION.
* Bump version of Term::ReadLineKarl Williamson2013-03-091-1/+1
| | | | | commit 20a5039af69d81e9003664af771f2dd5e0446c2b changed this module's pod but didn't bump the version.
* Standardize spelling of 'supersede' throughout the distribution.James E Keenan2013-03-081-1/+1
| | | | | Change two instances of 'supercede' to match many more instances of the former.
* Bump Term::ReadLine version.Craig A. Berry2012-11-251-1/+1
|
* Rational findConsole dispatch for Term::ReadLine.Craig A. Berry2012-11-251-11/+4
| | | | | | | | | | | | | | | | Back in 5.002 or so, if we didn't find /dev/tty and weren't on Windows, the console was assumed to be sys$command, which only makes sense on VMS (possibly $^O didn't work yet on VMS?). Later accretions have assumed that the sys$command default meant something other than laziness and a second if block with various specific overrides was added, some of which set the console back to undef after its having been set to sys$command. That can all be avoided by simply checking we're on VMS before setting the console to sys$command and letting it default to STDIN for cases where we don't know of something else specific that it should be.
* (msys) perl readline creates sys$command files w/o STDIN connectedSven Strickroth2012-11-251-1/+1
| | | | This fixes [perl #115900].
* Don't use /dev/tty if it happens to exist on WindowsSteve Hay2012-08-181-2/+2
| | | | This fixes CPAN RT#79001 and CPAN RT#79064.
* correct argument handling in Term::ReadLineRicardo Signes2012-03-151-1/+1
| | | | | | https://rt.perl.org/rt3/Ticket/Display.html?id=111758 patch by Darin McBride
* avoid some long-line errors in podcheck of Term-ReadlineRicardo Signes2012-03-121-12/+12
|
* new patch for Term::ReadLine event loop supportRicardo Signes2012-03-124-128/+192
| | | | | | | https://rt.perl.org/rt3/Ticket/Display.html?id=108470 This is more work from Darin McBride and Rocco Caputo to get the event loop code offered earlier working, tested, and documented.
* Refactor the Tk event loop to allow for other event loopsMax Maischein2012-02-194-148/+161
| | | | | | Term::ReadLine supports any event loop, including unpubished ones and simple IO::Select loops without the need to rewrite existing code for any particular framework.
* Increase $Term::ReadLine::VERSION to 1.08Father Chrysostomos2012-01-291-1/+1
|
* [perl #108470] Make Term::ReadLine use AE if availableDarin McBride2012-01-294-27/+172
| | | | | | | | | | | | Term::ReadLine only allows the Tk event loop to be called during a readline call. This should be updated to use AnyEvent which will still work with Tk, as well as any other event loop the user may need. With this patch, T::RL now uses AnyEvent if it is loaded, falling back to Tk otherwise; so the Tk mode won't be affected. T::RL::Stub has its own get_line. This does not honour the tkRunning flag at all. If I remove it, it's fine. This patch does so.
* Dual-life Term::ReadLineFlorian Ragwitz2011-07-072-0/+433