File: FAQ

package info (click to toggle)
centericq 4.20.0-1sarge5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,712 kB
  • ctags: 11,687
  • sloc: cpp: 45,557; ansic: 39,745; sh: 17,325; makefile: 677; yacc: 316; perl: 235; sed: 16
file content (201 lines) | stat: -rw-r--r-- 6,758 bytes parent folder | download | duplicates (3)
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
/*
*
* The centericq FAQ (frequently asked questions)
* by Konstantin Klyagin <konst@konst.org.ua>
*
* $Id: FAQ,v 1.17 2004/11/11 13:42:05 konst Exp $
*
*/

Q: "Who are you?" - a question usually addressed to the user "konst"
   on the default centericq contact list by everybody who doesn't
   like to read documentation.

A: I usually answer "Santa Claus".

/* *** */

Q: What about implementing such a neat <blah-blah> feature in centericq?

A: Hey, centericq is GPL and opensource, so feel free to contribute.
   Don't wait for the author/maintainer to implement it, just do it
   yourself and send a patch.

/* *** */

Q: Can't build it under FreeBSD..

A: Use gmake instead of make

/* *** */

Q: (by Paonia Ezrine, paonia@home.welcomehome.org)
   When I run centericq in a xterm or from the console it is fine but
   when I run it in a gnome terminal windows the screen does not update
   correctly. Specificly the right side of the screen does not get
   cleared after I send a message or other similar events.

A: (by Jakub Travnik, j.travnik@sh.cvut.cz)

   It happens only with the gnome-terminal. centericq works fine on
   linux-console and eterm (enlightenment) so it is problem with
   gnome-terminal. It does not support all xterm sequences.
   /usr/share/terminfo/g/gnome file could correct that (gnome users
   should have it), so that ncurses will not use such a extended
   sequences for gnome-terminal.

   Workaround: For me it worked setting TERM variable to gnome and then
   running centericq without problems.
   
   (gnome-terminal)
   $ export TERM=gnome
   $ centericq
   
   and it is ok

/* *** */

Q: How do I authorize someone's request with centericq?

A: You'll see as soon as someone requests it.

/* *** */

Q: I can't use Ctrl-O to view history and Ctrl-Y to delete a line under
   FreeBSD

A: Execute the following before starting centericq:
    stty dsusp undef
    stty discard undef

/* *** */

Q: I can't get out from a dialog or a menu. When I press ESC, nothing
   happens.

A: Have you ever used mc (Midnight commander)? It requires users to
   press ESC twice to close a dialog, menu, etc. It's not a problem, but
   just a terminal specific issue.

/* *** */

Q: How do I enable logging the protocol info, etc?

A: Run centericq with --debug flag.

/* *** */

Q: Centericq compiles way too slow on my box. What's wrong?

A: C++ compiler optimization being a rather slow thing is on by default.
   To turn it off, do the following.
   [konst@morgue]$ CXXFLAGS=-O0 ./configure && make

/* *** */

Q: From: jeff covey <jeff.covey@pobox.com>

  if i understand the faq correctly, centericq makes esc into escesc
  because some terminals don't map esc properly. could the use of esc or
  escesc be made a configuration choice? for me, hitting escape twice is
  reallyreally annoyingannoying, especially if i'm two menus in, and to
  get out, i have to hit escape four times in a rowrowrowrow.

A: From: lanzz@lanzz.org

  it's a limitation of the console. keys like f1..f12, the arrows, etc,
  generate sequences of characters starting with esc. if the application
  was to handle esc as cancel unconditionally, you'll have arrows
  cancelling your dialogs. so the app must do one of these things to
  avoid that:

  1. require esc-esc instead of single esc, as that disambiguates it
     from the function keys

  2. have a certain timeout and accepting the esc as a cancel only if
     there wasn't a function sequence after the esc during the timeout

  3. switch keyboard to raw or medium-raw mode and do keycode mapping
     internally

  as 2. is annoying and sluggish (at least to me) and 3. is too much
  work for too little gain, i think the current situation with double
  esc is the best choice. centericq was using timeout esc in the past (i
  think it's the default way ncurses handles esc) and at least i'm happy
  with the change :)

  perhaps there could be a configurable choice between double-esc and
  timeout, if that doesn't complicate the input routines too much.

/* *** */

Q: From: staale@lorentzen.org

   > + [icq] connecting to the server
   > + [icq] disconnected, turboing

   > Msn works fine.

   > I've tried different icq-servers, with no luck. Anyone with a
   > clue to what this can be?

A: It means exactly "turboing". You're loggin in and out too fast, so
   that the server turns on DoS attack protection. All you can do is
   to try again in half an hour.

/* *** */

Q: WTF?! My centericq binary is more than 20Mb. SOS! HELP! Virus? Aliens?

A: There are three steps you need to take.

    1. Look at other applications written in C++ compiled in your system.
    2. Read the install(1) and strip(1) man-pages.
    3. Type "strip centericq; ls -l centericq"

/* *** */

Q: I need a program for sending messages on IM networks from the command
   line. Is it possible to write a program that would use the centericq
   libraries, or maybe there is a special batch mode in the program?

A: Batch mode like you described is not possible to be implemented, because
   due to frequent logons followed by disconnections the servers will turn
   on their DoS attacks protection. So there is the only decent way which
   consists in sending messages in batch mode through an already running
   centericq instance. If you want to run it like a "daemon", use
   screen(1). More details on the batch mode usage can be found in the
   README, chapter 9.2.

/* *** */

Q: ICQ new UINs registration doesn't work! It just sends a request and
   then after 30 seconds reports a timeout.

A: It does work. Though, the ICQ server doesn't report the "password is
   too simple" situaion. Try to enter another one, more complicated. Also,
   as far as I know, "xxx123" is complicated enough to be accepted by
   the server software.

/* *** */

Q: What about storing passwords in some kind of an encrypted mode in the
   config file?

A: It doesn't make much sense, because in many cases they're transferred
   unencrypted. And also the program must first decrypt them before sending,
   so the one who really wants to find out them anyway will make it quite
   easily. But if you still think that such a crypting will help, please
   consult homepage of the program which was made especially for ones
   like you: http://konst.org.ua/kripp/

/* *** */

Q: When $HOME/.centericq/config gets created, you should set it mode 0600
   so only the user can read it. It contains passwords in clear text
   which other users on a system could read.

A: Your filesystem permissions knowledge is very sound, but please just try
   to access the config file before making any affirmations. You'll see
   that the .centericq directiory permissions do not allow others to read
   your configuration data.