Rich Lafferty's LiveJournal (mendel) wrote,
Rich Lafferty's LiveJournal

  • Mood:
  • Music:

Right, I *needed* more IRC.

I have a RIM Blackberry 957, a little always-connected PDA-and-pager combo that work provides for on-call and entertainment value. They pay for flat-rate connectivity too, so I figure I might as well get some personal use out of it.

And what better personal use than being able to IRC from anywhere?

Unfortunately, it's not directly connected to the 'net -- any Internet-based applications on it have to communicate with gateway applications at the provider, via WAP. But it comes with a decent web browser, so for all practical purposes, the thing can speak email, WAP, and HTTP.

So I found Alan Cox's 'wapirc', which with a bit of tweaking works pretty well -- the IRC server and nickname are compile-time settings, so it's a little limited, but it's limitations I can live with. And the WAP was specific to his phone, so I've fixed that a bit too.

So anyhow, I can now IRC from anywhere. But I'm staring at this source code, thinking that it'd be neat if it did THIS and THAT and the OTHER THING. But it's a daemon and a CGI program in C. C is not a pretty language for writing things CGI in.

This means I have three choices:

  • Use it as-is.
  • Brush up on C well enough to maintain this.
  • Port the whole thing to Perl.

The second and third option have the advantage of giving me a neat project to work on; there's really nothing else like this out there, and I get the feeling Alan's not planning on preparing for general release. The first option has the advantage of not needing a bunch of effort for something that pretty much already works for me.

WWMLJFD? (And would any of you find a wap-irc gateway useful?)


  • New Year's resolution

    I'm going to post this on my zen blog later this week, but right now I want to post it somewhere and I'm too tired to compose a post over…

  • how's this work again

    So uh hi there everyone, long time no see? So I've got this theory where I think it'd be good for me to just write about stuff that's going on here,…

  • o hai lj.

    I should totally start using this again.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded