summaryrefslogtreecommitdiff
path: root/vchat-howto
blob: 22c34b71d320c14a2cd42aa93ad2684678900470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
Newbies Guide to vchat via 'Buntclient'
=======================================

1. Get the Source, Luke
-----------------------

Make sure, you got a shell and the tool called cvs.
cd to a directory the source shall reside in.

Type:

$ cvs -d:pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot login
$ cvs -z3 -d:pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot co vchat-client

(press return at password prompt)


2. Do the verpile
-----------------

Enter the vchat-client/ directory.
Type:

$ make

If that fails due to some readline fuckups, try again with:

$ make OLDREADLINE=-DOLDREADLINE

If you are administrator of your computer and want to install
vchat-client permanently, type:

$ make install

You may also run the binary from its compile location.


3. Get protected
----------------

Run the script vchat-keygen, located in the vchat-client/ directory.
Follow its instructions.


4. Home sweet Home
------------------

Create a .vchat/ directory in your homedir.

$ cd
$ mkdir .vchat/

Copy your key to the .vchat/ directory:

$ cp ~/.vchat.key ~/.vchat/key

Whenever your signed cert arrives from vchat at vchat.berlin.ccc dot de,
copy it to the .vchat/ directory as well:

$ cp ~/.vchat.cert ~/.vchat/cert

In order to modify the look of your client, you may copy one of
the sample-xxx.fmt files to the .vchat/ directory:

$ cd vchat-client/
$ cp sample-erdgeist.fmt ~/.vchat/formats

If you want to set the chat server to vchat.berlin.ccc.de now,
type:

$ echo host=vchat.berlin.ccc.de >> ~/.vchat/config

If you want to ignore SSL-warnings due to missing CA-files, type:

$ echo ignssl=1 >> ~/.vchat/config

If you don't want to ignore SSL-warnings, get the root-certificates from:

   http://www.cacert.org/certs/class3.txt
   and
   http://www.cacert.org/certs/root.txt

and copy them into your openssl-certs directory. For example:
   
   # cp root.txt /etc/ssl/certs/
   # cp class3.txt /etc/ssl/certs/
   # cd /etc/ssl/certs
   # ln -s root.txt `openssl x509 -in root.txt -hash | head -n 1`.0
   # ln -s class3.txt `openssl x509 -in class3.txt -hash | head -n 1`.0

Now you can type:
   
   $ echo ignssl=0 >> ~/.vchat/config
   

If you want a seperate private message window, type:

$ echo messages=10 >> ~/.vchat/config

If you want to have no topic line, like in the oldschool client,
do not choose a private message window an type:

$ echo usetopicbar=0 >> ~/.vchat/config

5. First bunt
-------------

Check, whether you REALLY got a signed cert.

[....
If you did not get a reply from vchat at vchat.berlin.ccc dot de within
3 days, this might either be due to you not being known to the
certificate masters, or simply because of the verpeil. You may,
after 3 days, contact me at erdgeist at erdgeist dot org. If I don't
reply, too, reconsider your lifestyle.
....]

Start the client:

$ vchat-client

or

$ vchat-client/vchat-client

Enter the passphrase to your private key, if you added one.

Look around.

Try to feel comfortable with the new look of your vchat-
environment. Close your mouth. Try playing around with the
following commands:

If you did not enable the seperate private message window,
ignore this part:

[ STARTIGNORE

Press Ctrl-G and Ctrl-T several times.
Press Ctrl-X, then send yourself a private message, watch, what
happens
Press Ctrl-C ONCE!!!
Press Ctrl-R and watch the asteriks at the very right of your
screen, this one indicates, which window to scroll back

ENDIGNORE]

Press Ctrl-B Ctrl-F, if you collected some text in your
message window. This should scroll back and forth.
A red console bar should indicate, that you scrolled up.

Press Ctrl-L to redraw and reset scroll indices.

Play around with the completion:

Hitting <TAB> at start of line will complete to

.m <lastpersonyouexchangedprivatemessageswith> 

if you hit <TAB> more often, you will cycle through this list,
sorted by the last time you exchanges PMs with.

Hitting <TAB> when you already typed some letters but no space
yet will expand to all nicks in your current channel. You may
cycle through this list, too.

Hitting tab anywhere else expands to all nicks in all channels.

Most other readline hotkeys (Ctrl-U, Ctrl-K, Ctrl-W, Ctrl-A...)
will work as expected.


6. Commandoe
------------

In addition to the server commands (.h, .m, .a, .s ...) the
client brings its own set of commands, which will be triggered
IRC-style by /COMMAND. These may be abbrevated to the lowest
unambigous substring.

Try /HELP for a first glimpse.
The status window may be forced off by hitting Ctrl-X.

/HELP KEYS should give you a short summary of available hot
key commands.

Some client commands are wrappers around server commands:

/ME   == .a
/MSG  == .m
/M    == .m
/QUIT == .x

The other commands are used to enable client side filtering
and highlighting.

Try:

/HELP FILTERS
/HELP FLT
/HELP FILTERS

Highlight yourself:

/FLT 6 <nickname>

if you don't see anything getting highlighted, you probably
have a mac. If you got this far despite of that problem, you
will surely find a way to enable colors in your terminal.

Remove the filter rule:

/rmflt 1

Zoom in all channel leaves:

/flt + left channel

List your filter rules:

/lsflt

Remove all filters:

/clflt

Ignore all server leave and join messages

/flt - ((left|joined|entered) (the )?(channel|chat))

Reenable those lines

/rmflt ((left|joined|entered) (the )?(channel|chat)) 

Note: zoom overrides ignore.

Be careful about setting your filters, as these are treated
as regular expressions, which easily may lead to time
consuming evaluations. Avoid brackets.


7. Fiiiiiiiiieschas
-------------------

As I am still young *cough cough* I am _STILL_ willing to
implement features of all stupidity grades. Contact me
with /m erdgeist <feature request> at any time.


8. You help
-----------

Since you will probably start fiddeling around with your
.vchat/formats file, I'd appreciate getting YOUR format,
too, as this may be helpful for others to make their own.
Just send them to erdgeist at erdgeist dot org. Bug reports,
feature request that are to long for the chat and diffs
implementing some features are welcome at this address,
too.