•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the *nix Software section within the Tech Talk category of DaniWeb, a massive community of 425,906 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,860 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our *nix Software advertiser: Lunarpages Linux Web Hosting
Views: 9631 | Replies: 5
![]() |
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,900
Reputation:
Rep Power: 32
Solved Threads: 117
I installed mytop but it won't run. It gives me the following error:
[root@daniweb root]# mytop
Can't locate Term/ReadKey.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/bin/mytop line 165.
[root@daniweb root]#
Apparently I don't have ReadKey installed? How can I get it? How difficult is it to install? Baby steps please! Thanks!
In addition to installing Term::ReadKey, how can I install Term:ANSIColor? Would I be able to see the color logged in remotely via SSH? (as the machine is quite a few states away from me!)
[root@daniweb root]# mytop
Can't locate Term/ReadKey.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/bin/mytop line 165.
[root@daniweb root]#
Apparently I don't have ReadKey installed? How can I get it? How difficult is it to install? Baby steps please! Thanks!
In addition to installing Term::ReadKey, how can I install Term:ANSIColor? Would I be able to see the color logged in remotely via SSH? (as the machine is quite a few states away from me!)
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
•
•
Join Date: Oct 2003
Location: Your sisters house
Posts: 766
Reputation:
Rep Power: 0
Solved Threads: 7
(suggestion)You need to install the missing module. Become root and type
perl -MCPAN -e 'install Term::ReadKey'
Without this module Perl has no mechanism to intercept the arrow key
presses and interpret them as requests to traverse the command line history.
perl -MCPAN -e 'install Term::ReadKey'
Without this module Perl has no mechanism to intercept the arrow key
presses and interpret them as requests to traverse the command line history.
Last edited by )BIG"B"Affleck : Nov 3rd, 2003 at 9:10 pm.
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,900
Reputation:
Rep Power: 32
Solved Threads: 117
I don't need to download this module from anywhere first? Just install it into Perl?
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
•
•
Join Date: Oct 2003
Location: Your sisters house
Posts: 766
Reputation:
Rep Power: 0
Solved Threads: 7
(suggestion)Let's make certain whether you have that module or not. Send the output of:
perl -MTerm::ReadKey -e 0
perl -dle 'print $INC{"Term/ReadKey.pm"}' # Then type 'c'
perl -MCPAN -le 'print $INC{"Term/ReadKey.pm"}'
DOWNLOAD AVAILABLE
http://www.redhat.com/swr/i386/perl-TermReadKey-2.20-2.i386_fl.html
http://search.cpan.org/~ilyaz/Term-ReadLine-Perl-1.0203/
WHEN I FOUND THIS LINK I RAN ACROSS THIS STATEMENT
[quote=THE RUSSIAN First I installed Readline from(the link above)
Then ReadKey didn't work not yet (Error message after instaling) inspite
of ReadKey.pm has been in the Lib path ($INC). But the history worked
already.
To get rid of the ReadLine Error message I reinstalled Term::ReadKey
interactive via "perl -MCPAN -e shell". Now it works perfect! quote
perl -MTerm::ReadKey -e 0
perl -dle 'print $INC{"Term/ReadKey.pm"}' # Then type 'c'
perl -MCPAN -le 'print $INC{"Term/ReadKey.pm"}'
•
•
•
•
Originally Posted by GAL
Apparently I don't have ReadKey installed? How can I get it?
DOWNLOAD AVAILABLE
http://www.redhat.com/swr/i386/perl-TermReadKey-2.20-2.i386_fl.html
http://search.cpan.org/~ilyaz/Term-ReadLine-Perl-1.0203/
WHEN I FOUND THIS LINK I RAN ACROSS THIS STATEMENT
[quote=THE RUSSIAN First I installed Readline from(the link above)
Then ReadKey didn't work not yet (Error message after instaling) inspite
of ReadKey.pm has been in the Lib path ($INC). But the history worked
already.
To get rid of the ReadLine Error message I reinstalled Term::ReadKey
interactive via "perl -MCPAN -e shell". Now it works perfect! quote
Last edited by )BIG"B"Affleck : Nov 4th, 2003 at 7:29 pm.
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,900
Reputation:
Rep Power: 32
Solved Threads: 117
I had to downloaded Term::ReadKey from the CPAN website. I untarred, compiled, and installed, and all works 
Thank you! :-D

Thank you! :-D
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
![]() |
•
•
•
•
•
•
•
•
DaniWeb *nix Software Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ajax asp blog browsing bt business business software developer development devices download erp systems experiment firefox india internet it japan malware mcafee media microsoft mmorpg mobile applications msdn news office online open-source programming project management publishing python rss search security software software selection software solutions spyware sql super technology evaluation tips vista vulnerability disclosure web wiki windows
- Installing Windows 98 On VMware. Floppy problem (Windows 9x / Me)
- configuring linux as network server and web server (Linux Servers and Apache)
- Installing RedHat 9.0 on Vmware 4.0 via XP (*nix Software)
- installing scsi (Storage)
Other Threads in the *nix Software Forum
- Previous Thread: grub or Lilo install
- Next Thread: RH9 + XP + VMWare + Intel



Linear Mode