help with Term::Visual

2003-06-13 Thread Bruno Boettcher
Hello, seems i got my thing (finally) working with Term::Visual, but there's still stuff that needs some tweaking seems i can't get the control over the colors correctly is there somewhere a description about which colorname corresponds to what? my termcap seems to be recognize

RE: definitely a POE::Wheel::ReadLine understanding problem....

2003-06-13 Thread Erick Calder
Bruno, just as a side comment, the inline_states => { method => \&method } can also be expressed as: package_states => [ "method" ] which allows for something like: package_states => [ qw/_start _stop got_input/ ] -Original Message- From: Bruno Boettcher [mail

definitely a POE::Wheel::ReadLine understanding problem....

2003-06-13 Thread Bruno Boettcher
ok, sorry bothering so much and beeing too dumb as it seems just to test (and maybe that would be a better code snippet (once commented..) for the man page script is at the bottom of this mail... set up the smallest possible sample program that uses readline... but here too

Re: creating new events without catching through POE::Component::Client::TCP?

2003-06-13 Thread Bruno Boettcher
On Fri, Jun 13, 2003 at 07:22:38PM +0200, Bruno Boettcher wrote: > besides the POE::Wheel::ReadLine syntax is quite strange... uhm yeah.. its getting late and its very hot over here... uhm maybe that explains corrected myself the thing with the eent name and added the state to my actual sess

Re: creating new events without catching through POE::Component::Client::TCP?

2003-06-13 Thread Bruno Boettcher
On Fri, Jun 13, 2003 at 01:03:59PM -0400, Rocco Caputo wrote: > It makes the attempted delivery of a message to a non-existent session > an error. ok! hmm but since the messages are caught, there's no error... > You may also want to set $session->option(default => 1) in your > sessions, to make th

Re: creating new events without catching through POE::Component::Client::TCP?

2003-06-13 Thread Bruno Boettcher
On Fri, Jun 13, 2003 at 06:40:07PM +0200, Bruno Boettcher wrote: > »··· #program => &runshell, ok.. silly me found out myself that i was lacking a \ hmmm so far so good... but now the progeam issues a prompt, and blocks irremediably after the first char typed in. besi

Re: creating new events without catching through POE::Component::Client::TCP?

2003-06-13 Thread Rocco Caputo
On Fri, Jun 13, 2003 at 06:40:07PM +0200, Bruno Boettcher wrote: > On Fri, Jun 13, 2003 at 11:22:44AM -0400, Rocco Caputo wrote: > > If messages are being sent but not received, you can easily find them > > by setting POE::Kernel::ASSERT_EVENTS, like so: > > > > sub POE::Kernel::ASSERT_EVENTS ()

Re: creating new events without catching through POE::Component::Client::TCP?

2003-06-13 Thread Bruno Boettcher
On Fri, Jun 13, 2003 at 11:22:44AM -0400, Rocco Caputo wrote: > If messages are being sent but not received, you can easily find them > by setting POE::Kernel::ASSERT_EVENTS, like so: > > sub POE::Kernel::ASSERT_EVENTS () { 1 } > use POE; > > It's important to set ASSERT_EVENTS before using P

Re: creating new events without catching through POE::Component::Client::TCP?

2003-06-13 Thread Rocco Caputo
On Fri, Jun 13, 2003 at 04:19:57PM +0200, Bruno Boettcher wrote: > Hello! > > again i am stuck in a surely trivial and stupid problem, showing again > that i didn't understand a single thing about POE [...] > unfortunately that event is gobbled up somewhere by some other > session i supp

creating new events without catching through POE::Component::Client::TCP?

2003-06-13 Thread Bruno Boettcher
Hello! again i am stuck in a surely trivial and stupid problem, showing again that i didn't understand a single thing about POE (thus the general POE questions at the end of this mail, you might want ot jump directly there searching for 'GENERAL QUESTIONS') anyways... i am trying to move a