Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2974269
  • 博文数量: 401
  • 博客积分: 12926
  • 博客等级: 上将
  • 技术积分: 4588
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-22 14:51
文章分类

全部博文(401)

文章存档

2015年(16)

2014年(4)

2013年(12)

2012年(82)

2011年(98)

2010年(112)

2009年(77)

分类: LINUX

2011-06-09 16:32:03

Bitlbee Quickstart Guide (Online Edition) & Notes

Bee

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.

QuickStart:






QuickStart

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  (without the brackets!).

Be sure to remember your password. The next time you connect to the BitlBee server you will need to identify  so that you will be recognised and logged in to all the IM services automatically.

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:

account add oscar 72696705 QuickStart login.icq.com
Account successfully added

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

rename tux_ bitlbeetux
* tux_ is now known as bitlbeetux
Nick successfully changed

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

add 0 r2d2@example.com
* 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:

tux: hey, how's the weather down there?
you: a bit chilly!

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.

Notes

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  for more detailed help on each subject. You will find many very useful settings by just typing set.

  • account add [] -- for specific information about connecting to each type of IM server try help account add .
  • account del  -- get the account id using list
  • account list -- lists all your accounts, including the account id which is required for such things as deleting accounts and managing users.
  • info  -- requests info such as user info and away message (does not work on all protocols)
  • identify  -- identify yourself with bitlbee server
  • add [] -- adds user to your contact list
  • set  -- change the charset, iso8859-1 is default
  • set strip_html true -- strips HTML from clients that use it
阅读(1339) | 评论(0) | 转发(0) |
0

上一篇:emacs MSN

下一篇:slab内存管理介绍

给主人留下些什么吧!~~