| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Comments:
<0> mauke: yeah, all space-type characters .. <1> ok <2> Gokee2 - each PoCo-IRC object creates its own internal session... <3> okay, what about mcedit, how do you guys like that one? <4> so you don't want it to attach to a terminal.. but want to read the stdout.. maybe you should pipe it <4> eDhat: never heard of it <2> Gokee2 - you'll need a new PoCo-IRC object for each server and _one_ 'controlling' Session. <5> I wrote a small C program that will load any executable in a forked process state... that seems to work but it's not portable <4> unless it's that editor in midnight commander <5> Kulrak: the program is ssh... it wants to read p***words from /dev/tty... <6> dec_, What is a PoCo-IRC object? <3> Kulrak: i think it is that, i pretty sure <3> yeah it is <2> Gokee2 - sorry, short form of POe::COmponent::IRC <6> ah right <4> zeeeee: so you trying to set up a tunnel or something? I
<4> eDhat: whatever works for you <4> whether or not we like your editor is irrelevant if you like it <5> Kulrak: I'm trying to create a perl program that connects to X amount of remote hosts using a pipe using open ("ssh host cmd |") and then reads/writes them using select. <7> it's sad that people don't see vim for what it is... ho well <5> basically a concurrent ssh <5> I figured out how to do it using a loader <8> hi <7> zeeeee IPC::Session may be helpful <7> i wrote a program with it that connects to X amounts of servers and then lets you run commands "interactively" <5> cool <9> how can I get cursoring through command history working in perl debugger with Term::ReadLine? <5> the problem I was having is that ssh grabs /dev/tty to read a p***word and so the rest of the concurrent connections never authenticate right <7> it's synchronous though so you have to wait for the first server to finish before it goes to the next <5> linuxnohow: yeah that won't work <5> I need asynchronous i/o <7> zeeeee set up keys so a p***word isn't required <2> why don't you check out pdsh, linuxnohow <5> linuxnohow: I can't <5> linuxnohow: the abillity to do that is beyond my control <5> i.e. the servers I connect to get reimaged and the keys are lost. Getting the keys put in the image would take a signature from like 20 VPs <6> dec_, When I call the connect command is disconnects from the last server, how do I keep it from doing this?/ <10> I cannot find my writing utensils <10> I KNOW I have tons of highlighters, pens, and pencils <10> they are all missing <11> man <10> let this be a lesson to you: do not wait until the 7th month to arrange **** in your apartment. <11> what happens to @ARGV when when perl is given -n <11> it's suddenly empty <11> shouldn't it be perl's arguments/ <10> sparc - it becomes empty at the end. <6> dec_, Nevermind I think i have it thanks for your help :) <10> sparc - the -n tells perl to treat @ARGV as files to read <2> Gokee2 - you have multiple POE::Component::IRC objects, right? You need to post your connect command to the right object, otherwise you'll disconnect the current server =) <11> do you think there's another way to get at my commandline args? <10> and it adds a 'while (<>) { ... }' loop around your code <12> bod: thanks for the "p" <10> sparc - why are you using -n? <11> yessah :) <12> I should be careful about dessert and desert, I guess, after sup{1,2}er. <2> Gokee2 - I was told the best way to do it is to keep a list/hash of the POE::Component::IRC object's session IDs. <2> then you can post to the right session easily :) <11> maybe i should try to copy them to @copy_of_argv in a BEGIN {} ? <10> I mean, you could do: perl -n 'BEGIN { @args = @ARGV } ...' <10> yeah <11> ok <11> that works <11> cool <6> dec_, hmmm <11> thanks :) <10> yups <6> dec_, what makes a new object? is it "my ($irc) = POE::Component::IRC->spawn();"? <12> zeeeee: if you want to use ssh automatically, check out ssh-keygen and authorized_keys <2> yes Gokee2. In that case, $irc->ID (I think) is the session ID. <2> sorry, $irc->session_ID() <6> dec_, ok thanks <2> np <6> dec_, I need to go now but I will play around with it some more when I get back. Thanks again :) <3> does nedit have syntax highligting? <2> np Gokee2 - have fun. :) <7> yes, and nedit ****s
<7> :-D <3> okay, im sticking with vim then, but i do wish pico had syntax highlighting <13> In Benchmark, the examples have "use Benchmark qw(:all)" and similar things. What does the "qw" bit do? <7> eDhat pico single handedly took down my colleges network once <7> it is also sub-standard <14> Fructose: perldoc perlop, search "quote-like" <15> Fructose: perldoc perlop look it up.. <16> The perldoc for perlop is at http://perldoc.perl.org/perlop.html <3> how?? <14> buu: feature time! <17> YES <14> buu: add a cache, don't let it give the same answer twice in... say, a minute. :) <17> Weird, I just got back. <12> "Who likes bots that are repetitious." Reminds me of a folks sonlg <18> also don't respond to perldoc ... in the middle of messages <3> linuxnohow: how did it take down a network? <12> arguably, perldoc is fair game anytime. <14> eDhat: pico really is a piece of crap. And UW's license terms are ****y. <12> s/sonlg/song/ # http://www.christinelavin.com/00031704snag.html <14> Khisanth: I've actually come to like it. <3> okay, is there anyhting other than emacs, and vim/vi that is good? <12> linuxnohow: pico took down the network? <14> eDhat: a lot of people like joe <18> hobbs: bots should not speak unless spoken to :) <12> If stuck on a M$ LoseDos box, I rather like UltraEdit32. <19> I've got a mod_perl'd httpd. How can I tell what version of Perl my mod_perl is/was? <12> "joe" was cool many years ago, and probably still is. <14> eDhat: also something or other for OSX, but I don't recall the name. So if you're not planning on running OSX I won't go find out ;) <17> rofl <17> So that's what killall does! <12> buu: you were expecting, Ping? <14> killall -9 -1 <12> hobbs: ouch <20> I'm making an gtk2-perl app whose main window consists of a bunch of buttons which launch other windows. If I launch a window, close it, then try to launch it again, its not populated with any widgets. What do I need to do to correct this? <17> Bill_N1VUX: Yes! <14> Bill_N1VUX: highly useful on occasion :) <17> perldoc perlref <16> The perldoc for perlref is at http://perldoc.perl.org/perlref.html <17> perldoc perlref <9> how can I get cursoring through command history working in perl debugger with Term::ReadLine? <3> does joe have syntax highlighting? <19> lin: I thought it just started working once you install Term::ReadLine? <14> linolium: if you have Term::ReadLine, it ought to "just work" according to your input config <12> hobbs: Ok, i'll byte: why would "sudo killall -9 -1" be more useful than "sudo /sbin/reboot now" ? <19> hobbs: true dat <14> Bill_N1VUX: without the sudo <12> buu++ <14> Bill_N1VUX: to murder your entire session :) <7> dec_ pdsh doesn't maintain a "session" like the program i wrote <9> hobbs: I went into the perl cpan thing and "install Term::ReadLine"'d, but it's still not doing anything when I press the up or down button <17> Am I missing any of my bots <12> ahh, attack the session leader, got it. <14> linolium: you have to restart the cpan shell :) <9> wha? <7> Bill_N1VUX it put in automatic newlines that broke a configuration file <10> how can I be tired at only 9:30pm? <14> linolium: it doesn't work instantly. CPAN won't notice you have Term::ReadLine until you start it again :) <10> perhaps I need to play some xbox live... <10> that'll wake me up <9> hobbs: so I just have to start up the cpan shell and close it and it will work? <12> linuxnohow: oh, autowrap crud in config. got it. Sounds like a net admin used the hammer instead of the screwdriver. <14> linolium: well, more of the other way around :) <10> [six hours later] OH MAN I CAN'T STOP PLAYING <19> I've got a mod_perl'd httpd. How can I tell what version of Perl my mod_perl is/was? <2> linuxnohow - ah, okay <7> basically <9> hobbs: you're confusing me :-/ <3> hobbs: does joe have syntax highlighting? <7> dec_ although I would like to make mine multi processed <13> So where can I read up on the :all bit of qw(:all)? <12> Fructose: :all is defined in the package qw() is p***ed to <14> eDhat: yes. Though google could have told you the same. :) <12> or not
Return to
#perl or Go to some related
logs:
django ImportError: No module named pkg_resources #gentoo +debian +apt-get +untrusted source justfuckinggooogleit #perl tightvncserver versus vncserver nvidia boot-screen tv-out pal steam.exe cannot open blob
#linux [function.mysql-connect]: Client does not support authentication protocol reques
|
|