Ask SIPB August 31, 2006Want to learn more about Zephyr? Need to figure out if someone is logged in and communicate with him or her quickly? In this final introductory column, we cover the basics of using Zephyr.
What is this white rectangular thing that just popped up?
That would likely be a Zephyr. Zephyr is Athena’s instant messaging system. The default program responsible for displaying these messages is called zwgc – Zephyr WindowGram Client. Unlike some chat programs like AIM, zwgc displays each “IM” in its own window by default. It may be an official notice, or perhaps just a message from a friend. When you’re done with it, click on it to close the window.
What are some other good Zephyr client programs?
Owl is a good Zephyr client. It’s tty-based (text-only) and displays all messages in one scrolling window. To run owl:
athena% add ktools; owl
Once running owl, you may find it useful to hit ‘h’ to read through the help menus. Owl has its own set of commands for sending messages and adding classes. You may also want to exit zwgc once owl is running, to avoid seeing multiple copies of each message:
athena% add consult; punt zwgc
vt, zwgc -ttymode, Gaim (gaim on Athena), WinZephyr, and MacZephyr are other client options, but Zephyr clients are a very personal thing. Owl is probably the easiest to customize. owl, vt, and zwgc -ttymode are all console programs, and thus they can be run from non-Athena computers by using ssh to connect to www.athena.dialup.mit.edu.
So, I can receive zephyrs, but how do I send one?
Use the zwrite command:
athena% zwrite username
You can send a message to more than one user by listing each additional user after the first name.
Can I use group chats in Zephyr?
Zephyr has group chats, called classes. Any message in a Zephyr class also has a subject, which is called an instance. You can see all messages that go to any instance within a particular class, or just the messages sent to a particular instance of a particular class. (Example: A message about the SIPB office might be sent to class sipb instance office. Since most SIPB members like seeing anything about SIPB, they subscribe to all instances of class sipb.)
Some commonly used public classes are help (for asking all sorts of questions), geek (for various technically oriented questions), and message (the default Zephyr class).
Here are the commands for joining and leaving Zephyr classes:
zctl sub classname \* \* - Join the class temporarily until you logout
zctl add classname \* \* - Join the class until you logout, AND add to your Zephyr subscriptions (so you join it automatically next time you log in).
zctl unsub classname \* \* - Leave the class.
zctl del classname \* \* - Leave the class, AND remove it from your Zephyr subscriptions.
The first \* signifies that you should sub to all instances in the class, and the second \* signifies that this is a group chat. Your Zephyr subscriptions are saved in your home directory in the file ~/.zephyr.subs.
To send a message to a Zephyr class:
athena% zwrite -c classname -i instance
Class message, the default class, is a special case. When people talk about subscribing to an instance, they usually mean an instance of class message. Examples of such instances are white-magic (for random discussion), war (war-related topics), war.d (discussion about the war instance), and weather (for automated weather announcements). Several courses also have instances they use.
To temporarily join a specific instance of class message without seeing any other instances, type:
athena% zctl sub message instancename \*
To send a message to an instance of class message, type:
athena% zwrite -i instance
NOTE: Class message instances are NOT private. All instances of class message are logged in the zlog locker, and some people subscribe to all instances.
How do I create my own Zephyr class?
Just subscribe to whatever classname you want, and start zephyring there. It is common for people to use classes named after their usernames, since other people know to sub there.
Before subscribing, if you’re creating a class that’s not your username, you should check to make sure that no one is using the class, by sending a message to the class. If you get a message that says no one is subscribed, then you’re all set. Otherwise, you may want to choose a different class name.
One important fact to note is that any Zephyr class is only as private as its name. Anyone who knows the name of a Zephyr class can subscribe there and send messages there — there are no ways to ban, kick, or block people from Zephyr classes.
How does Zephyr do buddy lists?
Create a file in your home directory called ~/.anyone, and list each friend’s username on a separate line.
To see who’s online, just type the command znol at the athena prompt. You’ll get a list of people, the machines they’re logged into, and some other information. People who aren’t logged in usually won’t show up.
user1: this-machine-does-not-exist.mit.edu owl Sun Oct 2 02:51:05 2005
friend2: contents-vnder-pressvre.mit.edu pts/26 Sun Sep 25 13:10:30 2005
There are a few conventions that you should use when sending to group chats on Zephyr.
First, subscribe to the class (or instance) before zephyring there. The only time when you wouldn’t want to do this is if you’re trying to see if a class is in use, as mentioned above.
Second, instances should be short and limited to alphanumeric characters, underscores, hyphens and periods. Spaces are especially annoying.
Third, linewrap your zephyrs. Long messages that don’t have returns are annoying to users of several common Zephyr clients which deliberately don’t wrap lines, including zwgc.
How do I find out more about Zephyr?
You can check out SIPB’s Inessential Zephyr, at http://www.mit.edu/afs/sipb.mit.edu/project/doc/izephyr/html/, or in hard copy form at the SIPB office.
You can also see http://www.mit.edu/~asksipb/2003columns/2003-03-07-zephyrp2/ for some additional information.
SIPB stands for the Student Information Processing Board. To ask us a question, send email to email@example.com. We’ll try to answer you quickly, and we might address your question in our next column. You can also stop by our office in W20-557 or call us at x3-7788 if you need help. Copies of each column and pointers to additional information are posted on our website: http://www.mit.edu/~asksipb/