SunOS 4.1 talk
Vick Khera
khera at thneed.cs.duke.edu
Thu Apr 11 02:35:50 AEST 1991
In article <1991Apr10.032308.802 at athena.mit.edu> jik at athena.mit.edu (Jonathan I. Kamens) writes:
Grab the version of talk in /pub/bsd-sources/ucb/talk.tar.Z and talkd in
/pub/bsd-sources/etc/talkd.tar.Z on gatekeeper.dec.com. That's the 4.3bsd
version, which should compile fine under SunOS, although I had to make the
patches at the end of this message to it, because htonl, ntohl, etc. are
noop macros defined in <netinet/in.h>, rather than library functions, on my
system.
[patches deleted]
i'm not sure if the version out on gatekeeper is the same as the pure
4.3BSD tapes we have, but i needed to make the following change to the
error messages correspond with the order in protocols/talkd.h. this
otherwise compiled just fine on our SunOS 4.1 system and works well
talking to other sun's running ntalk and to a decstation running ntalk.
*** /tmp/RCSAa06378 Wed Apr 10 12:31:39 1991
--- invite.c Tue Mar 26 12:26:41 1991
***************
*** 92,102 ****
}
static char *answers[] = {
"Your party is not logged on", /* NOT_HERE */
"Target machine does not recognize us", /* MACHINE_UNKNOWN */
"Target machine can not handle remote talk", /* UNKNOWN_REQUEST */
- "Target machine is too confused to talk to us", /* FAILED */
- "Your party is refusing messages", /* PERMISSION_REFUSED */
"Target machine indicates protocol mismatch", /* BADVERSION */
"Target machine indicates protocol botch (addr)",/* BADADDR */
"Target machine indicates protocol botch (ctl_addr)",/* BADCTLADDR */
--- 92,103 ----
}
static char *answers[] = {
+ "", /* SUCCESS */
"Your party is not logged on", /* NOT_HERE */
+ "Target machine is too confused to talk to us", /* FAILED */
"Target machine does not recognize us", /* MACHINE_UNKNOWN */
+ "Your party is refusing messages", /* PERMISSION_DENIED */
"Target machine can not handle remote talk", /* UNKNOWN_REQUEST */
"Target machine indicates protocol mismatch", /* BADVERSION */
"Target machine indicates protocol botch (addr)",/* BADADDR */
"Target machine indicates protocol botch (ctl_addr)",/* BADCTLADDR */
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vick Khera, Gradual Student/Systems Guy Department of Computer Science
ARPA: khera at cs.duke.edu Duke University
UUCP: ...!mcnc!duke!khera Durham, NC 27706 (919) 660-6528
More information about the Comp.unix.questions
mailing list