Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Talkd
@ 1996-02-18 14:38 Noah Lee Gibbs
  0 siblings, 0 replies; 5+ messages in thread
From: Noah Lee Gibbs @ 1996-02-18 14:38 UTC (permalink / raw)


I patched /usr/include/protocols/rwhod.h and talkd.h, and I
typed "rpm --rebuild /mnt/cdrom/RedHat/SRPMS/NetKit-B-0.06-5.src.rpm".
Now, instead of simply dumping core, it brings up the 'talk' screen, and
says "[No Connection Yet]", then prints 2 "UDP: Bad Checksum..." messages.
Then it checks for invitation on the caller's machine, and waits patiently
there until I kill it.  Anybody seen this behavior before?  I tried
rebuilding without patching the headers, but then it still just dumps core.
I have not tried patching without rebuilding.
	Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <ol9Y30y00iVGI4rUV4@andrew.cmu.edu>]
* Re: Talkd
@ 1996-02-18  4:06 David Mosberger-Tang
  0 siblings, 0 replies; 5+ messages in thread
From: David Mosberger-Tang @ 1996-02-18  4:06 UTC (permalink / 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 {

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Talkd
@ 1996-02-17 20:55 Noah L. Gibbs
  0 siblings, 0 replies; 5+ messages in thread
From: Noah L. Gibbs @ 1996-02-17 20:55 UTC (permalink / raw)


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?
    Also, is this list archived?  If so, where?

				Noah Gibbs

Proud supporter of the
campaign to bring back:   -->   printk("lp%d on fire\n", minor);
Join us!  Add 2 your sig.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-02-19  0:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
1996-02-18  4:06 Talkd David Mosberger-Tang
1996-02-17 20:55 Talkd Noah L. Gibbs

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