Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!mcnc!duke!khera From: khera@thneed.cs.duke.edu (Vick Khera) Newsgroups: comp.unix.questions Subject: Re: SunOS 4.1 talk Message-ID: Date: 10 Apr 91 16:35:50 GMT References: <7084@auspex.auspex.com> <1991Apr10.032308.802@athena.mit.edu> Sender: news@duke.cs.duke.edu Organization: Duke University CS Dept., Durham, NC Lines: 49 Nntp-Posting-Host: thneed.cs.duke.edu In-reply-to: jik@athena.mit.edu's message of 10 Apr 91 03:23:08 GMT In article <1991Apr10.032308.802@athena.mit.edu> jik@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 , 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@cs.duke.edu Duke University UUCP: ...!mcnc!duke!khera Durham, NC 27706 (919) 660-6528