分类: LINUX
2011-06-09 16:32:03
BitlBee allows you to chat on Instant Messaging protocols within your IRC client, it is an open source project released under GnuGPL v2.
The main page for Bitlbee is at , which is where you'll need to go if you want more information about what it is, where to download, how to try it out without installing anything, and lots of other wonderful things. For documentation on installing, connecting and other things check out Bitlbee's external documentation page.
The center of BitlBee is the control channel, &bitlbee. Two users will always be there, you (where "you" is the nickname you are using) and the system user, root. This quickstart guide navigates you through the first steps you may want to take when you begin using Bitlbee.
Step One: Registering
You need register so that all your IM settings (passwords, contacts, etc) can be saved on the BitlBee server. It's important that you pick a good password so no one else can access your account. Register with this password using the register command: register
Be sure to remember your password. The next time you connect to the BitlBee server you will need to identify
Step Two: Add and Connect To your IM Account(s).
To add an account to the account list you will need to use the account add command: account add
For instance, suppose you have an ICQ account with UIN 72696705 with password QuickStart, you would:
Other available IM protocols are jabber, msn, and yahoo. Oscar is the protocol used by ICQ and AOL. For oscar, you need to specify the IM-server as a fourth argument (for msn and yahoo there is no fourth argument). For AOL Instant Messenger, the server name is login.oscar.aol.com. For ICQ, the server name is login.icq.com.
When you are finished adding your account(s) use the account on command to enable all your accounts
Step Three: Managing Contact Lists: Rename
For most protocols (currently MSN, Jabber, Yahoo and AOL) BitlBee can download the contact list automatically from the IM server and all the on-line users should appear in the control channel when you log in.
BitlBee will convert names into irc-friendly form (for instance: tux@example.com will be given the nickname tux). If you have more than one person who would have the same name by this logic (for instance: tux@example.com and tux@bitlbee.org) the second one to log on will be tux_. The same is true if you have a tux log on to AOL and a tux log on from Yahoo.
It would be easy to get these two mixed up, so BitlBee has a rename command to change the nickname into something more suitable: rename
* tux_ is now known as bitlbeetux
Step Four: Managing Contact Lists: Add and Remove
Now you might want to add some contacts, to do this we will use the add command. It needs two arguments: a connection ID (which can be a number (try account list), protocol name or (part of) the screenname) and the user's handle. It is used in the following way: add
* r2d2 has joined &bitlbee
In this case r2d2 is online, since he/she joins the channel immediately. If the user is not online you will not see them join until they log on.
Lets say you accidentally added r2d3@example.com rather than r2d2@example.com, or maybe you just want to remove a user from your list because you never talk to them. To remove a name you will want to use the remove command: remove
Step Five: Chatting
First of all, a person must be on your contact list for you to chat with them (unless it's a group chat, help groupchats for more). If someone not on your contact list sends you a message, simply add them to the proper account with the add command. Once they are on your list and online, you can chat with them in &bitlbee:
If you'd rather chat with them in a separate window use the /msg or /query command, just like you would for a private message in IRC. If you want to have messages automatically come up in private messages rather than in the &bitlbee channel, use the set private command: set private true(set private false to change back).
You now know the basics.
These are just some notes I threw together for my own reference. Remove < > brackets when using these commands, when [ ] brackets are used it means the field is optional or conditional.
In order to see the commands that bitlbee offers, type: help commands in the bitlbee control channel. You can type help