[net.sources] Talk for SysV

nwh@hrc63.UUCP (Nigel Holder Marconi) (05/30/86)

   In Article 2762 of net.unix, Ken Mandelberg writes :
>  Has anyone done a split screen version of 'write' for
>  System V? I mean something similar to Berkeley 'talk'
>  but presumably limited to one host.

   I have a version of a talk program that works for Sys V if anyone
wants it.  It is limited to one host and was written in June 1985.
I make no claims to how good it is since I haven't looked at it
since December '85.

Nigel Holder                    UK JANET:       yf21@uk.co.gec-mrc.u
Marconi Research,               ARPA:           yf21%u.gec-mrc.co.uk@ucl-cs
Chelmsford,
Essex. CM2 8HN.

+44 245 73331   ext. 3219 / 3214

PS  My mail address is different to the machine I use to access usenet
PPS the reply option of my readnews doesn't work - hence I'm using
postnews, sorry about breaking convention in replying to articles

edward@ukecc.UUCP (Edward C. Bennett) (06/04/86)

In article <360@hrc63.UUCP> nwh@hrc63.UUCP writes:
>
>   In Article 2762 of net.unix, Ken Mandelberg writes :
>>  Has anyone done a split screen version of 'write' for
>>  System V? I mean something similar to Berkeley 'talk'
>>  but presumably limited to one host.
>
>   I have a version of a talk program that works for Sys V if anyone
>wants it.  It is limited to one host and was written in June 1985.
>I make no claims to how good it is since I haven't looked at it
>since December '85.
>
>Nigel Holder                    UK JANET:       yf21@uk.co.gec-mrc.u

	I also have a written 'talk' for SysV. It went through
mutil-site beta testing last November. The trouble is there is
one nagging bug in the deamon that refuses to die. If I can ever
kill this bug, 'talk' will go to mod.sources.

-- 
Edward C. Bennett

UUCP: ihnp4!cbosgd!ukma!ukecc!edward

Kentucky: The state that needs Japan to bring it into the 20th century.

"Goodnight M.A."

nwh@hrc63.UUCP (Nigel Holder Marconi) (06/06/86)

   Oops - I made the age old mistake of signed and unsigned chars.  On
my machine there is no problem (GEC 63 (what I here you ask) running 5.2).
A few of you are having such problems so here is the fix in diff
format which I hope works since I can't test them properly on my machine
(talk still works though).


-------- Cut Here -------------- Cut Here ---------------- Cut Here --------

60,72c60,66
< 
< /*******************
< *   Top bits of char are stripped on input to enable some of
< *   these unique representations for internal communications.
< *******************/
< #define		CONNECT			( (unsigned char) 0xF0 )
< #define		DISCONNECT		( (unsigned char) 0xF3 )
< #define		DELETE			( (unsigned char) 0xFC )
< #define		END_OF_FILE		( (unsigned char) 0x04 )
< #define		REFRESH			( (unsigned char) 0x0C )
< #define		SPACE			( (unsigned char) 0x20 )
< #define		BELL			( (unsigned char) 0x07 )
< 
---
> #define		CONNECT			( 0xF0 )
> #define		DISCONNECT		( 0xF3 )
> #define		DELETE			( 0xFC )
> #define		END_OF_FILE		( 0x04 )
> #define		REFRESH			( 0x0C )
> #define		SPACE			( 0x20 )
> #define		BELL			( 0x07 )
108c102
< unsigned char	delchar;			/*  favourite delete char  */
---
> int	delchar;				/*  favourite delete char  */
237,238c231
< 	char	*retry_message, *dialtty;
< 	unsigned char	c;
---
> 	char	*retry_message, *dialtty, c;
355c348
< unsigned char	status;
---
> int	status;
433c426
< 	delchar = (unsigned char) erasechar();
---
> 	delchar = erasechar();
498d490
< 	unsigned char	c;
503,505c495
< 		x &=  0x7F;		/*  strip off top bit of char  */
< 		c = (unsigned char) x;		/*  make it a char  */
< 		switch(c)   {
---
> 		switch(x)   {
522c512
< 				if (c != delchar)   {
---
> 				if (x != delchar)   {
528c518
< 					waddch(inwin, c);
---
> 					waddch(inwin, x);
533c523
< 					c = DELETE;
---
> 					x = DELETE;
550c540
< 	unsigned char	c;
---
> 	char	c;
-------- Cut Here -------------- Cut Here ---------------- Cut Here --------


Nigel Holder			UK JANET:       yf21@uk.co.gec-mrc.u
Marconi Research,		ARPA:           yf21%u.gec-mrc.co.uk@ucl-cs
Chelmsford,
Essex. CM2 8HN.

+44 245 73331   ext. 3219 / 3214

jte@gondor.UUCP (07/04/86)

I have only one thing to say about the talk for system 5.  It is slow.
But I like it and we now have it running on a AT&T 3b2/300.  Thanks
for posting it.  If you have any more programs for System 5 please
post.  Thanks again.

--Jon Eckardt