Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. subtelo

    Perl/Tk package

    I solved the problem by doing something same as ssh -X username@localmachine. Since I use a graphic interface "ssh secure shell" to do ssh, I forget to check the tunneling X11 connection. [blush] Thank you very much for all you valuable information. You are really a professional perl programmer...
  2. subtelo

    Perl/Tk package

    Thanks for the code. It is worked. Now there is another problem. When I try ssh to the Linux machine using a window XP machine. DO you know what this error message mean when I run the code. Xlib: connection to ":0.0" refused by server Xlib: No protocol specified couldn't connect to display...
  3. subtelo

    Perl/Tk package

    Hi Kirsle, after I bug to Dell, I got the perl-Tk source code from http://dag.wieers.com/rpm/packages/perl-Tk/. Finally I rpmbuild the .rpm without "XFT=1" after I add some dependency, libjpeg-devel, libpng-devel, and tk-devel. I got two rpm files, perl-Tk-804.028-2.rf.x86_64.rpm and...
  4. subtelo

    Perl/Tk package

    Why I can not put another star on Kirsle?
  5. subtelo

    Perl/Tk package

    Kirsle, good idea to bug RH about the yum issue. I will post here if I got any update. Here is another star. You really are a great help.
  6. subtelo

    Perl/Tk package

    Do you think the problem is the RH, I got the error message once I try `yum search perl-Tk`. Loaded plugins: rhnplugin There was an error communicating with RHN. RHN channel support will be disabled. Error communicating with server. The message was: Service Temporarily Unavailable Warning: No...
  7. subtelo

    Perl/Tk package

    Hi, once I do yumdownloader --source perl-Tk The terminal tell me that Loaded plugins: rhnplugin No Match for argument perl-Tk Nothing to download What is the problem? Thanks.
  8. subtelo

    Perl/Tk package

    If somebody install it before using cpan, but not successful, since I locate Tk.pm, There is following output /root/.cpan/build/Tk-804.028-ByfZCY/Tk.pm /root/.cpan/build/Tk-804.028-ByfZCY/blib/lib/Tk.pm Should I uninstall it? Thanks.
  9. subtelo

    Perl/Tk package

    I decide to dip into Tk since some of my old browsers had been built by Tk. Kirsle, welcome any input of built Tk without XFT. If there is a step-by-step tutorial, including rebuilt RMP, it is great. Thanks a lot.
  10. subtelo

    Perl/Tk package

    Thanks all for your valuable inputs. Kirsle, sounds like it is a little bit tough for install Tk and run correctly in RH. Before I dip in it, is there any other choices except Tk to run graphics in perl? Thanks.
  11. subtelo

    Perl/Tk package

    Want to use Perl/Tk for graphical tool in perl script. But it is not installed in my current RedHat Enterprise 5. Does anybody can give me a hint which package contain it and where I can download it. Thanks.
  12. subtelo

    PATH question

    I know it is a newbie question. But it confuse me for a long time. Every time I use command "setenv PATH $HOME/bin" to add the $HOME/bin to the $PATH. After I logout and login, the $HOME/bin is disappeared from the $PATH. I have to redo command "setenv PATH $HOME/bin" to add the $HOME/bin to the...
  13. subtelo

    does following code cause system crash

    Woo, there is a typo. What I mean is that I ask the server admin to reboot the server. Sorry for the misleading.
  14. subtelo

    does following code cause system crash

    Everything is fine when I only tar a single file. And all files are exist. Every time after i ask the server admin to rebuilt the server, the script will go through and untar all files without any problem. Next time I use the same code to untar same other different data, same problem will...
  15. subtelo

    does following code cause system crash

    Hmm, you are right. Multiple valuables may take more memory. Any other comment?
  16. subtelo

    does following code cause system crash

    For more than one time, once I run the following code to untar several files (total ~4G), the remote server always crash. I use ssh to reach remote server. The final data is around ~30G. I am wondering does this code cause memory leak? Or it eat all CPU space? I do not have any knowledge...
  17. subtelo

    perl array help

    rharsh, your code works perfectly. Sorting on several elements is what exactly I want. Thank you very much. And thank all of you guys for your inputs.
  18. subtelo

    perl array help

    rharsh, thanks for the code. I will give it a try and post here what looks like. Thanks a lot.
  19. subtelo

    perl array help

    Since i can not solve this problem by perl only. So what I did is input the original file into Excel, first sort by "id" ascending then sort by "score" descending. After output the file from Excel, then only output the first 3 lines of each id. my $in = "sorted_in.txt"; my $out =...
  20. subtelo

    perl array help

    Thank you KevinADC for you perfect code. Sorry I mislead you guys. Actually the file is much more complicated. Each line of the file contains 12 element. What I need is the 3 highest score(last element) of each id (first element), and output the original line. It is very easy to do it in Excel...

Part and Inventory Search

Back
Top