Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Mosberger-Tang <davidm@AZStarNet.com>
Subject: Re: Talkd
Date: Sat, 17 Feb 1996 21:06:41 -0700	[thread overview]
Message-ID: <199602180406.VAA08777@koala.azstarnet.com> (raw)

>>>>> On Sat, 17 Feb 1996 18:07:15 -0600 (CST), (cosc1) 95h02740 <yxc02740@Bayou.UH.EDU> said:

  >>  I have RedHat AXP/Linux 2.1.  My talk client dies with a memory
  >> violation of some kind when I try to use 'talk'.  Is this a known
  >> problem?  Is there a known fix?

  Noah> me too, don't know any fix yet, I think people still does not
  Noah> have time to fix it.

For what it's worth, I just did:

rpm --rebuild /cdrom/RedHat/SRPMS/NetKit-B-0.06-5.src.rpm

and the resulting talk binary seems to work fine (notice that this is
not the latest NetKit release by RedHat---I just happened to have this
version on a CD-ROM and didn't feel like downloading 1.2MB of
sources...).  I would the newer release works too---probably something
in the library fixed the segfault.

But it won't work to other (non-Alpha) machines.  Since just talking
to yourself gets old after a while, I appended a patch that should fix
this, too.

  >> Also, is this list archived?  If so, where?

Yes, try http://www.linux.ncm.com (or see the FAQ at
http://www.azstarnet.com).

	--david

---
--- usr/include/protocols/talkd.h~	Tue May 16 17:40:49 1995
+++ usr/include/protocols/talkd.h	Sat Feb 17 20:23:51 1996
@@ -62,10 +62,10 @@
 	u_char	type;		/* request type, see below */
 	u_char	answer;		/* not used */
 	u_char	pad;
-	u_long	id_num;		/* message id */
+	u_int	id_num;		/* message id */
 	struct	osockaddr addr;		/* old (4.3) style */
 	struct	osockaddr ctl_addr;	/* old (4.3) style */
-	long	pid;		/* caller's process id */
+	int	pid;		/* caller's process id */
 #define	NAME_SIZE	12
 	char	l_name[NAME_SIZE];/* caller's name */
 	char	r_name[NAME_SIZE];/* callee's name */
@@ -81,7 +81,7 @@
 	u_char	type;		/* type of request message, see below */
 	u_char	answer;		/* respose to request message, see below */
 	u_char	pad;
-	u_long	id_num;		/* message id */
+	u_int	id_num;		/* message id */
 	struct	osockaddr addr;	/* address for establishing conversation */
 } CTL_RESPONSE;
 
--- usr/include/protocols/rwhod.h~	Tue May 16 17:40:49 1995
+++ usr/include/protocols/rwhod.h	Sat Feb 17 20:24:16 1996
@@ -44,7 +44,7 @@
 struct	outmp {
 	char	out_line[8];		/* tty name */
 	char	out_name[8];		/* user id */
-	long	out_time;		/* time on */
+	int	out_time;		/* time on */
 };
 
 struct	whod {

             reply	other threads:[~1996-02-18  4:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-18  4:06 David Mosberger-Tang [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-02-18 14:38 Talkd Noah Lee Gibbs
     [not found] <ol9Y30y00iVGI4rUV4@andrew.cmu.edu>
1996-02-18  0:07 ` Talkd yxc02740
1996-02-19  0:59 ` Talkd Erik Troan
1996-02-17 20:55 Talkd Noah L. Gibbs
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox