M
Martin Mohr
Hello,
I'm having a problem with Term::ReadKey, which works fine everywhere
except on one of my Linux boxes (Suse 8.2). I am aware that this is
probably a wrong setting somewhere in the OS and not a real perl
problem, but I have no idea, so I'm asking here.
###############
#!/usr/bin/perl
use strict;
use Term::ReadKey;
ReadMode('cbreak');
while (not ReadKey(-1)) {}
ReadMode('normal');
###############
For some reason, this doesn't receive any keystrokes on one of my
computers (equipped with "ReadKey.pm,v 2.23 2005/01/11 21:16:31
jonathan" as everywhere else).
Making a ssh connection from this computer to another one, and executing
the script there works. Connecting from the working machine to the
broken machine and executing the script doesn't work. On the broken
machine it works neither in kde nor the plain terminal.
Does anyone have an idea please?
Thanks a lot,
Martin
I'm having a problem with Term::ReadKey, which works fine everywhere
except on one of my Linux boxes (Suse 8.2). I am aware that this is
probably a wrong setting somewhere in the OS and not a real perl
problem, but I have no idea, so I'm asking here.
###############
#!/usr/bin/perl
use strict;
use Term::ReadKey;
ReadMode('cbreak');
while (not ReadKey(-1)) {}
ReadMode('normal');
###############
For some reason, this doesn't receive any keystrokes on one of my
computers (equipped with "ReadKey.pm,v 2.23 2005/01/11 21:16:31
jonathan" as everywhere else).
Making a ssh connection from this computer to another one, and executing
the script there works. Connecting from the working machine to the
broken machine and executing the script doesn't work. On the broken
machine it works neither in kde nor the plain terminal.
Does anyone have an idea please?
Thanks a lot,
Martin