File: FAQ

package info (click to toggle)
xitalk 1.1.11-9
  • links: PTS
  • area: main
  • in suites: potato
  • size: 928 kB
  • ctags: 830
  • sloc: ansic: 4,209; makefile: 186; sh: 102
file content (78 lines) | stat: -rw-r--r-- 2,479 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
Question 1:
I compiled and installed xitalk without any problem, but I get the 
following messages
>
>% xitalk &
>error in reading /usr/local/lib/xitalk/talk.xpm
>error in reading /usr/local/lib/xitalk/write.xpm
>error in reading /usr/local/lib/xitalk/wall.xpm
>error in reading /usr/local/lib/xitalk/xitalk.xpm: keeping default
>picture
>error in reading /usr/local/lib/xitalk/mail.xpm

Answer 1
I suspect that either 
1)
you dont have the xpm library (or xitalks configure couldnt find it), so 
xitalk was compiled without it which is perfectly fine, *but* you have a 
.xitalkrc that has entries to xpm files.the two solutions are either to edit 
that .xitalkrc and change mentions of .xpm to .xbm, as theres xbm versions of 
the pictures there as well, or to get the xpm library and recompile xitalk.
If you do have the xpm library but configure couldnt find it add the
directory the library is in to the compiler flags in the Makefile like this
-Ldir_of_xpm 
and
change 
/*#define HAVE_XPM 1*/
to
#define HAVE_XPM 1
in the config.h

2) 
ive made another huge mistake.

Could you tell me which line is in your xitalk source's config.h
#define HAVE_XPM 1
or
/*#define HAVE_XPM 1*/

If the line is the second one its probably the first problem. If not then
ive probably screwed something up.
Question 2:
I got mesg n in my shell startup files but i still sometimes get a write 
and/or tack request in an xterm, what gives ???

Answer 2:
1)
when you run an xterm, itll by default run your shell and go through the
shell start up config, often *not* .login so put mesg n in your .bashrc
or .tcshrc. 
2) 
When you have an xterm which is run something like 
xterm -e telnet someplace_or_other 
or any -e commands then xterm doesnt run the .bashrc/.tcshrc so it never runs
mesg n on that pty. You can either use xterm -ut so that the xterm doesnt
log itself into the utmp file so that requests wont end up here, or for e.g
i only use xterm -e for telnet so ive telnet aliased to
alias telnet 'sh -c "mesg n;exec telnet \!*"'
instead of making xterm not log me in, i get it to run mesg n before the 
executed command.

Question 3:
Noone talks to me coz they thing im idle for days seeing as xitalk shows up
as an idle pty in the who list

Answer 3:
Add this entry to your .xitalkrc
CHECKMAIL_BEGIN
TITLE = keep unidle
# the tty device youre logged in on is substituted for %(-1)
MAILBOX = %(-1)
TOUCH = YES
CHECKMAIL_END

its a kind of antiwatch, it keeps your tty fairly unidle.