this is a really lite aim client for the command line. Maybe a possibility with the terminal now on the phone.

http://bsflite.sourceforge.net/download.html
what do you think?