http://qs1969.pair.com?node_id=15034


in reply to Get chatbox lines

I love this utility - after checking out both scripts, I believe I prefer ZZamboni's implementation because it was trivial to add a line to handle a firewall.

Very nice job!

Postscript: it would be nice to throw in a little Tk so I don't have to devote an entire terminal...but maybe that would have dangerous implications...the chatterbox is already just AOL Instant Messager with a funny penguin hat.

e-mail neshura

Replies are listed 'Best First'.
RE: RE: Get chatbox lines
by ZZamboni (Curate) on May 26, 2000 at 21:51 UTC
    Would you care to share that line?

    And yes, I was thinking Tk too. My idea is to have a module that you can use to get and post things to the chat. Then, using that module, you can implement any kind of user interface you want :-)

    Thanks,

    --ZZamboni

      I didn't put this in the constructor but that is where it should have gone. (quoth the non-expert)
      $ua->proxy(['http'], 'http://web-proxy.cup.hp.com:8088/');

      e-mail neshura

        I made a similar modification, but based it on LWP's support for proxies defined in environment variables.
        if ( defined $ENV{HTTP_proxy} ) { $ua->env_proxy(); }
        And then after the HTTP::Request gets initialized:
        my $proxy_user = $ENV{HTTP_proxy_user}; my $proxy_pass = $ENV{HTTP_proxy_pass}; if ( defined $proxy_user && defined $proxy_pass ) { $req->proxy_authorization_basic("$proxy_user", "$proxy_pass"); }
        Hope this helps! --Glenn