Skip Menu |

This queue is for tickets about the TermReadKey CPAN distribution.

Report information
The Basics
Id: 59682
Status: rejected
Priority: 0/
Queue: TermReadKey

People
Owner: Nobody in particular
Requestors: bitcard [...] smoky.tikasys.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.30
Fixed in: (no value)



Subject: ReadKey failure with newline in ActivePerl
Hi, I'm using Active Perl: This is perl, v5.10.1 built for MSWin32-x86-multi-thread (with 2 registered patches, see perl -V for more detail) Copyright 1987-2009, Larry Wall Binary build 1007 [291969] provided by ActiveState http://www.ActiveState.com Built Jan 26 2010 23:15:11 If I execute the code below, it takes four presses of the carriage return before the program exits. The output is "13 was typed". I need to figure out a way to be in mode 3 (cbreak) and still sense each CR. code: # perl use Term::ReadKey; ReadMode 3; $k = ReadKey 0; warn ord($k) . " was typed\n"; exit(0);
From: bitcard [...] smoky.tikasys.com
I forgot to add: This behavior is apparent on WinXP running on VMware and on Windows Vista on HP hardware. Those are the only OS's I have tried
No further reports