]> sipb.mit.edu Git - wiki.git/blob - doc/zephyr.mdwn
Keyholder is a student again
[wiki.git] / doc / zephyr.mdwn
1 [[!meta title="Using Zephyr (a.k.a. Zephyr For Dummies)"]]
2
3 <!-- For information on the archaic way of using Zephyr, see TraditionalZephyr.-->
4
5 ## Introduction to Zephyr
6
7 Zephyr is a general purpose chat system for MIT.
8
9 People use it to exchange information about classes, how their days are
10 going, and talk on Zephyr classes and instances about everything
11 from the latest episode of Game of Thrones to the next 18.03
12 problem set.
13
14 Zephyr is an underlying chat system; the built-in tools for exchanging messages via Zephyr are rudimentary. Most people who use Zephyr today take advantage of integrated clients that make the system easy to use.
15
16 Here are [detailed instructions for getting onto Zephyr.](https://sipb.mit.edu/doc/zephyr-quick/)
17
18 ## Major clients
19
20 Here are some of the primary clients used at MIT. There's also a listing of [other Zephyr clients](http://zephyr.1ts.org/wiki/ZephyrClients), but their use is generally not recommended.
21
22 ### BarnOwl
23
24 [BarnOwl](http://barnowl.mit.edu/) is a command-line Zephyr client that supports advanced filtering and customisation. It is probably the most commonly used client, but requires some effort to get started. To use BarnOwl effectively, you should connect to an [Athena dialup](http://web.mit.edu/dialup/www/ssh.html) and run BarnOwl along with a program to renew your Kerberos tickets. The Athena command `athrun sipb pag-screen` will set up ticket renewal, and `athrun barnowl` after that will run BarnOwl itself.
25
26 In addition to primarily supporting Zephyr, BarnOwl also lets you connect to [AIM](http://aim.com), [XMPP/Jabber](http://xmpp.org/) (Google Talk, Facebook, etc.), [Twitter](http://twitter.com), and IRC networks.
27
28 See [Getting Started with BarnOwl](http://barnowl.mit.edu/wiki/GettingStarted) for more information.
29
30 ### Roost
31
32 [Roost](https://roost.mit.edu/) is a graphical Zephyr client built by [David Benjamin](https://davidben.net/) (MIT '12, SIPB member) as part of his [master's thesis](https://davidben.net/thesis.pdf). It is relatively new and currently considered experimental by its author.
33
34 Roost makes use of [Webathena](https://webathena.mit.edu/) to keep you subscribed to Zephyr. This makes for a much easier setup.
35
36 ### Zulip
37
38
39 [Zulip](https://zulipchat.com/zephyr) ([source code](https://github.com/zulip/zulip)) is a web-based Zephyr client that also provides [mobile apps](https://zephyr.zulipchat.com/apps) for Android and iOS and desktop apps for Linux, Mac, and Windows. Zulip was originally a proprietary product developed by a company composed largely of MIT alums and SIPB members. It was acquired by [Dropbox](https://www.dropbox.com/about) in 2014, and [released as open-source software](https://blogs.dropbox.com/tech/2015/09/open-sourcing-zulip-a-dropbox-hack-week-project/) a year later. The Zulip for Zephyr service is offered by [Tim Abbott](http://web.mit.edu/tabbott/www/) (MIT '06, SIPB member)'s Kandra Labs.
40
41 Zulip, like Roost, is easy to set up because it uses Webathena for authentication.
42
43 See [Zulip for MIT setup](http://zulipchat.com/zephyr) for details.
44
45 <!-- merge to http://zephyr.1ts.org/wiki/ZephyrClients (I would do this, except I can't log in…)
46
47 ## Other Clients
48
49 There are other clients besides the above, but their use is not
50 nearly as widespread.  Some of these include:
51
52 * Owl (unmaintained, BarnOwl evolved from this)
53 * vt / jervt
54 * zwgc (see TraditionalZephyr)
55 * Pidgin
56 * zephyr-mode for emacs
57 * [ZephyrPlus web client](https://zephyrplus.mit.edu)
58
59 -->
60
61 ## Culture
62
63 ### Classes and Instances
64
65 Generally the most interesting discussion on Zephyr happens
66 on so-called Zephyr <em>classes</em>. A class is a bit like a chat
67 room in other IM systems. Anyone can send a zephyr to a class, and
68 anyone who is subscribed to that class will receive it. There is no
69 security on classes &mdash; anyone who knows the name of a class can
70 subscribe, and there is no way to determine who is subscribed to a
71 given class. (For secure or private zephyring, consider [[zcrypt]].)
72
73 To subscribe to a class, use the subscribe command:
74
75     :subscribe CLASSNAME * * 
76
77 To send a zephyr to a class, use the zwrite command with the -c option:
78
79     :zwrite -c CLASSNAME
80
81 Zephyrs to classes usually have an instance attached. An instance is a
82 short &ldquo;topic&rdquo; or &ldquo;subject&rdquo; that indicates the
83 context of a zephyr.  Different instances are often used to multiplex
84 multiple conversations on a high-traffic class. You can specify an
85 instance with the -i option to zwrite:
86
87     :zwrite -c CLASSNAME -i INSTANCE
88
89 A message without an instance specified will default to the instance
90 &ldquo;personal&rdquo;.
91
92 You can send zephyrs to individuals (as opposed to classes) with:
93
94     :zwrite USERNAME
95
96 It is possible to `zwrite` to multiple individuals at once, by listing the
97 usernames separated by spaces:
98
99     :zwrite -C USERONE USERTWO USERTHREE
100
101 The `-C` option automatically puts the line `CC: USERONE USERTWO USERTHREE`
102 in the body of the zephyr,
103 although this is only a convention and is not required or enforced.
104
105 ### Aside: zephyr triplets
106
107 All messages are actually sent to a "zephyr triplet" &mdash; a class, instance, and recipient. Subscriptions are also made to zephyr triplets. The recipient can be either "*" &mdash; to indicate a broadcast message &mdash; or a specific individual.
108
109 When sending, the default class is "message", instance is "personal", and recipient is "*". `zwrite` supports sending to arbitrary triples with `:zwrite -c CLASS -i INSTANCE USERNAME` &mdash; the two examples above use the defaults for the parts that aren't specified.
110
111 For subscriptions, the class must be specified. You can specify all instances on a class with "\*", or specify just one instance. You can only sub to recipient "\*" or your own personals (indicated by "%me%").)
112
113 ### Common classes
114
115 Some common classes include:
116
117 <strong>help</strong>:
118 > -c help is a class for asking (and answering) questions on virtually
119 > any topic imaginable. Be sure to use an instance (such as
120 > &ldquo;linux&rdquo;, &ldquo;barnowl&rdquo;, &ldquo;campus&rdquo;, or
121 > so on) when asking questions, since it's a fairly high-traffic
122 > class.
123
124 <strong>sipb</strong>:
125 > -c sipb is where most SIPB members hang out. It's a place for
126 > technical discussion, questions, support, and organizing SIPB events
127 > or projects. You should also always use an instance when sending to
128 > -c sipb.
129
130 <strong>Personal Classes</strong>:
131 > By convention, nearly every Zephyr user has a "personal" class that
132 > is the same as their username. How this class is used varies from
133 > person to person, but it's often a sort of mini-blog, a place to
134 > report what one is working on or up to, or ask friends questions, or
135 > just rant about something.
136
137 <strong>hello</strong>:
138 > -c hello is for introducing yourself to the Zephyrsphere!
139 > Send a zephyr to `-c hello -i YOUR_USERNAME` to let people
140 > know you're a Zephyr user! This is a way to find out who else you know
141 > uses Zephyr so you can subscribe to their class, and to get to know
142 > new people through Zephyr. Also, feel free to invite others to
143 > subscribe to your class!
144
145 <strong>unclasses</strong>:
146 > Most classes have an unclass, formed by prefixing "un" to the name. For
147 > example, -c help has the unclass -c unhelp. The unclass is generally used for
148 > snarky or unproductive replies; the prototypical example that first inspired
149 > their creation was telling somebody with computer issues to run
150 > `sudo rm -rf /`. Rarely, un- prefixes are stacked for even snarkier
151 > discussion, on -c ununhelp and so on.
152
153 <strong>.d classes</strong>:
154 > Classes like -c help.d are sometimes used for discussions that deviate from
155 > the conversation on the main class. .d instances are more common, though;
156 > see below.
157
158 ### Zephyr Slang
159
160 If you spend enough time on Zephyr, you'll begin noticing some strange
161 phrases and words being thrown around.  Some of these include:
162
163 <strong>i,i foo</strong>:
164 > USENET saying picked up from CMU zephyrland that expands to "I have no point here, I
165 > just like saying:".  Sometimes people use
166 > [scare quotes](https://en.wikipedia.org/wiki/Scare_quotes) (e.g. `"foo"`) 
167 > for similar purposes.
168
169 <strong>mix</strong>:
170 > If somebody accidentally sends a Zephyr to the wrong class or
171 > person, they will send another Zephyr to that wrong/class person
172 > simply saying "mix".  This basically just means, "oops, sorry, I
173 > didn't mean to send that Zephyr here".  You might also see "-i mix",
174 > which is the same thing, only with instances. The specific invocation "unmix"
175 > is used when accidentally sending a Zephyr to a class instead of its unclass
176 > or vice versa.
177
178 <strong>to Stark</strong>:
179 > To answer a question or replying to a topic to a topic several hours
180 > (or days, occasionally) later. The term originates from Greg Stark,
181 > who would often reply to zephyrs hours or occasionally days later
182 > without seeing if anyone had answered yet, or worse, if the instance
183 > had moved on to an entirely different topic.
184
185 <strong>.d</strong>:
186 > You may see an instance change from `-i foo` to `-i foo.d`.  This
187 > indicates a deviation or tangent from the the original topic.
188
189 <strong>.q</strong>:
190 > Similarly, `.q` at the end of an instance name indicates a quote.
191
192 <strong>ttants</strong>:
193 > Literally, "Things That Are Not The Same". When the things are people,
194 > <strong>pwants</strong> for "People Who Are Not The Same" may be used.
195
196 <strong>prnf</strong>:
197 > Literally, "Pseudo-Random Neuron Firing".
198
199 <strong>eiz</strong> or <strong>eip</strong> or <strong>else</strong>:
200 > Instances used to comment on discussions on other classes in Zephyr without
201 > linking to the original source for reasons of privacy or discretion. "eiz"
202 > means "Elsewhere in Zephyr", "eip" means "Elsewhere in Personals".
203
204 <strong>eiw</strong>:
205 > "Elsewhere in Webspace": instance used to comment on events on the Internet beyond Zephyr (like, say, on another messaging service).
206
207 <strong>eim</strong>:
208 > "Elsewhere in Meatspace": instance used to comment on events not on Zephyr.
209
210 <strong>doxp</strong>:
211 > "Do X predicate", from Lisp naming convention. A discussion on whether one
212 > should do X.
213 > A common variation is "doxory", literally "Do X or Y".
214
215 Many of the acronyms may be suffixed onto normal instance topics with a period
216 to indicate relation. There are many other acronyms that are used; if you don't
217 know what it means, try using the `whats foo` command at an Athena terminal. If
218 you don't have the command, run `add sipb` first. Alternatively, running the
219 single command `athrun sipb whats foo` works as well.
220
221 ### Zephyr Etiquette
222
223 There are rules that people tend to use on Zephyr.  These include:
224
225 Good grammar, spelling, and punctuation.  Not everybody uses
226 capitalization, but they will still use good English.  Please do not say
227 things such as "hey wut r u up to???".
228
229 You don't need multiple question marks or exclamation points.  Usually.
230
231 There are a few abbreviations people use, such as YMMV (Your Mileage May
232 Vary) or IIRC (If I Remember Correctly), as well as some nerdier ones
233 like DTRT (Do The Right Thing, in reference to
234 [ The Rise of "Worse Is
235 Better"](http://www.jwz.org/doc/worse-is-better.html)). 
236 As mentioned above, try running `athrun sipb whats dtrt` to look up an
237 abbreviation.
238
239 Personal classes are by convention considered a little more private than
240 non-personal (public) classes. Although most people don't mind people
241 they've met subscribing to their personal class and lurking, it's poor
242 form to talk loudly on the personal class of someone you don't know.
243
244
245 ## Interaction with Traditional Zephyr
246
247 The default Athena startup scripts launch `zwgc`  on login. `zwgc` displays a popup for each message, so if you are subscribed to many classes and use Zephyr as many do today, `zwgc`'s behavior is not very desirable. To disable `zwgc` startup, add:
248
249     setenv ZEPHYR_CLIENT false
250
251 to your `~/.environment` file if you use `tcsh` or
252
253     ZEPHYR_CLIENT=false
254
255 to your `~/.bash_environment` if you use `bash`. This will cause your
256 shell to launch the `false` executable instead of `zwgc`, thereby disabling it ('false' does nothing).