Thread View: news.software.readers
3 messages
3 total messages
Started by Michael Hjorth
Wed, 22 Feb 1995 16:45
Succeded. TIN on VMS/UCX
Author: Michael Hjorth
Date: Wed, 22 Feb 1995 16:45
Date: Wed, 22 Feb 1995 16:45
686 lines
24391 bytes
24391 bytes
For some time I've been searching for a version of TIN for VMS/UCX, but
apparently it didn't exist. Thus I downloaded the MULTINET version
(from coco.cchs.su.oz.au) to see how much it would take to make it run
with UCX. It appeared to be relatively simple, as the code is mostly the
same as with the MULTINET version, except that the UCX socket library
don't have the socket_ prefix.
The differences is listed below.
The system is VMS 6.1 AXP, UCX 3.1 and DECC 4.0.
There is a huge number of compilation warnings (pointer mismatch etc.),
but apparently it works OK. (This posting is done with TIN).
Michael.
--
\|/
o o
+---------------------------------+--------------------------+----m--~--m----+
| Michael Hjorth | michael@skemi.klb.dtu.dk |---------------|
| Chemistry Department B | mh@tkemi.klb.dtu.dk |---------------|
| Technical University of Denmark | |---------------|
| DK-2800 Lyngby | +45 42881777 |---------------|
| Denmark | ext. 2026 |---------------|
+---------------------------------+--------------------------+---------------+
----------------Differences for UCX--------------------------------------------
$ diff/match=10/width=255 config.h
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]CONFIG.H;6
70 #if !defined(M_OS2) && !defined(VMS)
71 # define HAVE_SYS_PARAM_H
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]CONFIG.H;1
70 #if !defined(M_OS2)
71 # define HAVE_SYS_PARAM_H
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]CONFIG.H;6
113 #if defined(__386BSD__) || defined(apollo) || defined(BSD) ||
defined(__hpux) || defined(linux) || defined(M_OS2) ||
defined(__osf__) || defined(RS6000) || defined(sinix) ||
defined(UMAXV) || defined(MULTINET) || defined(UCX)
114 # define HAVE_NETDB_H
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]CONFIG.H;1
113 #if defined(__386BSD__) || defined(apollo) || defined(BSD) ||
defined(__hpux) || defined(linux) || defined(M_OS2) ||
defined(__osf__) || defined(RS6000) || defined(sinix) ||
defined(UMAXV) || defined(MULTINET)
114 # define HAVE_NETDB_H
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]CONFIG.H;6
165 #if defined(apollo) || defined(BSD) || defined(__hpux) ||
defined(linux) || defined(__osf__) || defined(M_OS2) ||
defined(RS6000) || defined(sinix) || defined(UMAXV) ||
defined(MULTINET) || defined(UCX)
166 # define HAVE_GETHOSTBYNAME
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]CONFIG.H;1
165 #if defined(apollo) || defined(BSD) || defined(__hpux) ||
defined(linux) || defined(__osf__) || defined(M_OS2) ||
defined(RS6000) || defined(sinix) || defined(UMAXV) ||
defined(MULTINET)
166 # define HAVE_GETHOSTBYNAME
************
Number of difference sections found: 3
Number of difference records found: 3
DIFFERENCES /IGNORE=()/WIDTH=255/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]CONFIG.H;6-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]CONFIG.H;1
$ diff/match=10 inews.c
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]INEWS.C;3
87 #ifdef VMS
88 char nntpbuf[1024];
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]INEWS.C;1
87 #ifdef MULTINET
88 char nntpbuf[1024];
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]INEWS.C;3
101 #ifdef VMS
102 write(sockt_wr, ".", 1);
103 }
104 sprintf(nntpbuf, "%s\r\n", line);
105 #ifdef MULTINET
106 socket_write(sockt_wr, nntpbuf, strlen(nntpbuf));
107 #else
108 write(sockt_wr, nntpbuf, strlen(nntpbuf));
109 #endif
110 #else
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]INEWS.C;1
101 #ifdef MULTINET
102 write(sockt_wr, ".", 1);
103 }
104 sprintf(nntpbuf, "%s\r\n", line);
105 socket_write(sockt_wr, nntpbuf, strlen(nntpbuf));
106 #else
************
Number of difference sections found: 2
Number of difference records found: 10
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]INEWS.C;3-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]INEWS.C;1
$ diff/match=10 make.com
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]MAKE.COM;15
4 $! TIN on VMS/UCX with DECC. 22-Feb-95 michael@skemi.klb.dtu.dk
5 $!
6 $! If you don't have MULTINET... pass :-(
7 $! Now UCX included :-) Michael Hjorth
8 $!
9 $!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10 $!
11 $! Change this line:
12 $ newsserver := "news.uni-c.dk"
13 $!
14 $ if f$getsyi("hw_model").ge.1024
15 $ then arch = "AXP"
16 $ else arch = "VAX"
17 $ endif
18 $ if p1 .nes. "UCX" .and. p1 .nes. "MULTINET"
19 $ then
20 $ copy sys$input sys$output
21 Specify TCP/IP package as parameter 1
22 MULTINET and UCX is currently supported.
23 $ exit
24 $ endif
25 $ write sys$output "Building TIN for ''p1' on ''arch' processor"
26 $!
27 $ if (P2 .eqs. "DEBUG")
28 $ then dbg := "/NOoptimize/Debug=ALL"
29 $ else dbg :=
30 $ endif
31 $!
32 $ if p1.eqs."MULTINET"
33 $ then
34 $ Define SYS Multinet_Common_Root:[Multinet.Include.Sys],Sys$Library
35 $ Define VAXC$INCLUDE Multinet_Common_Root:[Multinet.Include.Sys],Sys$Library
36 $ DEFS = "VMS,MULTINET,''arch'"
37 $ CFLAGS := "/Include=([.vms],[.sio])"
38 $ OPTIONS = "[.vms]vms-multinet.opt"
39 $ endif
40 $!
41 $ if p1.eqs."UCX"
42 $ then
43 $ DEFS = "VMS,UCX,''arch'"
44 $ CFLAGS := "/Include=([.vms],[.sio])/prefix=all"
45 $ OPTIONS = "[.vms]vms-ucx.opt"
46 $ endif
47 $!
48 $ if (P2 .eqs. "DEBUG")
49 $ then LFLAGS := "/debug/map=TIN.MAP/full"
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]MAKE.COM;1
4 $!
5 $! If you don't have MULTINET... pass :-(
6 $!
7 $!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
8 $!
9 $ newsserver := "news.cchs.su.edu.au"
10 $!
11 $ if (P1 .eqs. "DEBUG")
12 $ then dbg := "/NOoptimize/Debug=ALL"
13 $ else dbg :=
14 $ endif
15 $!
16 $ Define SYS Multinet_Common_Root:[Multinet.Include.Sys],Sys$Library
17 $ Define VAXC$INCLUDE Multinet_Common_Root:[Multinet.Include.Sys],Sys$Library
18 $!
19 $ DEFS = "VMS,MULTINET,SLOW_SCREEN_UPDATE"
20 $!
21 $ CFLAGS := "/Include=([.vms],[.sio])"
22 $ if (P1 .eqs. "DEBUG")
23 $ then LFLAGS := "/debug/map=TIN.MAP/full"
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]MAKE.COM;15
120 $ @make.com 'P1' 'P2'
121 $ Set Default [-]
122 $ Set Default [.sio]
123 $ @make.com 'P1' 'P2'
124 $ Set Default [-]
125 $!
126 $linkit:
127 $ write sys$output "Linking ''EXE' v''VER'..."
128 $ link 'LFLAGS' /exe='EXE' objs.opt/opt,'OPTIONS'/opt,'LIBS'
129 $!
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]MAKE.COM;1
94 $ @make.com "''P1'"
95 $ Set Default [-]
96 $ Set Default [.sio]
97 $ @make.com "''P1'"
98 $ Set Default [-]
99 $!
100 $linkit:
101 $ write sys$output "Linking ''EXE' v''VER'..."
102 $ link 'LFLAGS' /exe='EXE' objs.opt/opt,[.vms]vms-multinet.opt/opt,'LIBS'
103 $!
************
Number of difference sections found: 2
Number of difference records found: 54
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]MAKE.COM;15-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]MAKE.COM;1
$ diff/match=10 nntplib.c
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
30 #ifndef VMS
31 FILE *nntp_rd_fp = NULL;
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
30 #ifndef MULTINET
31 FILE *nntp_rd_fp = NULL;
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
197 #ifndef VMS
198 if ((nntp_rd_fp = (FILE *) fdopen (sockt_rd, "r")) == NULL) {
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
197 #ifndef MULTINET
198 if ((nntp_rd_fp = (FILE *) fdopen (sockt_rd, "r")) == NULL) {
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
214 #ifndef VMS
215 if ((nntp_wr_fp = (FILE *) fdopen (sockt_wr, "w")) == NULL) {
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
214 #ifndef MULTINET
215 if ((nntp_wr_fp = (FILE *) fdopen (sockt_wr, "w")) == NULL) {
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
344 /*
345 if ((sp = (struct servent *) getservbyname (service, "tcp")) == NULL) {
346 fprintf (stderr, "%s/tcp: Unknown service.\n", service);
347 return (-1);
348 } */
349 /* If not a raw ip address, try nameserver */
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
344
345 if ((sp = (struct servent *) getservbyname (service, "tcp")) == NULL) {
346 fprintf (stderr, "%s/tcp: Unknown service.\n", service);
347 return (-1);
348 }
349 /* If not a raw ip address, try nameserver */
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
373 sin.sin_port = htons (port); /* sp->s_port; */
374 #else /* EXCELAN */
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
373 sin.sin_port = sp->s_port;
374 #else /* EXCELAN */
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
634 #ifndef VMS
635 fprintf (nntp_wr_fp, "stat\r\n");
636 fflush (nntp_wr_fp);
637 #else
638 #ifdef MULTINET
639 socket_write(sockt_wr, "stat\r\n", 6);
640 #else
641 write(sockt_wr, "stat\r\n", 6);
642 #endif
643 #endif
644 respno = get_respcode ();
645 if (respno != OK_NOTEXT && respno != ERR_NCING && respno != ERR_NOCRNT) {
646 /*
647 * STAT was not happy, close the connection
648 * it will reopen on next get_server
649 */
650 #ifndef VMS
651 fclose (nntp_wr_fp);
652 fclose (nntp_rd_fp);
653 #else
654 #ifdef MULTINET
655 socket_close(sockt_rd);
656 #else
657 close(sockt_rd);
658 #endif
659 #endif
660 strcpy (last_put, string);
661 time_last = 0;
662 return;
663 }
664 }
665 time_last = time_now;
666
667 #ifndef VMS
668 fprintf (nntp_wr_fp, "%s\r\n", string);
669 (void) fflush (nntp_wr_fp);
670 #else
671 {
672 char line[256];
673 sprintf(line, "%s\r\n", string);
674 #ifdef MULTINET
675 socket_write(sockt_wr, line, strlen(line));
676 #else
677 write(sockt_wr, line, strlen(line));
678 #endif
679 }
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
634 #ifndef MULTINET
635 fprintf (nntp_wr_fp, "stat\r\n");
636 fflush (nntp_wr_fp);
637 #else
638 socket_write(sockt_wr, "stat\r\n", 6);
639 #endif
640 respno = get_respcode ();
641 if (respno != OK_NOTEXT && respno != ERR_NCING && respno != ERR_NOCRNT) {
642 /*
643 * STAT was not happy, close the connection
644 * it will reopen on next get_server
645 */
646 #ifndef MULTINET
647 fclose (nntp_wr_fp);
648 fclose (nntp_rd_fp);
649 #else
650 socket_close(sockt_rd);
651 #endif
652 strcpy (last_put, string);
653 time_last = 0;
654 return;
655 }
656 }
657 time_last = time_now;
658
659 #ifndef MULTINET
660 fprintf (nntp_wr_fp, "%s\r\n", string);
661 (void) fflush (nntp_wr_fp);
662 #else
663 {
664 char line[256];
665 sprintf(line, "%s\r\n", string);
666 socket_write(sockt_wr, line, strlen(line));
667 }
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
709 #ifndef VMS
710 while (fgets (string, size, nntp_rd_fp) == NULL) {
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
697 #ifndef MULTINET
698 while (fgets (string, size, nntp_rd_fp) == NULL) {
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
720 #ifndef VMS
721 fclose (nntp_wr_fp);
722 fclose (nntp_rd_fp);
723 #else
724 #ifdef MULTINET
725 socket_close(sockt_rd);
726 #else
727 close(sockt_rd);
728 #endif
729 #endif
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
708 #ifndef MULTINET
709 fclose (nntp_wr_fp);
710 fclose (nntp_rd_fp);
711 #else
712 socket_close(sockt_rd);
713 #endif
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
740 #ifndef VMS
741 fgets (last_put, NNTP_STRLEN, nntp_rd_fp);
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
724 #ifndef MULTINET
725 fgets (last_put, NNTP_STRLEN, nntp_rd_fp);
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
755 #ifdef VMS
756 #ifndef USE_SFGETS
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
739 #ifdef MULTINET
740 #ifndef USE_SFGETS
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
788 #ifndef VMS
789 if (nntp_wr_fp == NULL || nntp_rd_fp == NULL)
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
772 #ifndef MULTINET
773 if (nntp_wr_fp == NULL || nntp_rd_fp == NULL)
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7
799 #ifndef VMS
800 (void) fclose (nntp_wr_fp);
801 (void) fclose (nntp_rd_fp);
802 #else
803 Sdone(sockt_rd);
804 #ifdef MULTINET
805 socket_close(sockt_rd);
806 #else
807 close(sockt_rd);
808 #endif
809 #endif
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
783 #ifndef MULTINET
784 (void) fclose (nntp_wr_fp);
785 (void) fclose (nntp_rd_fp);
786 #else
787 Sdone(sockt_rd);
788 socket_close(sockt_rd);
789 #endif
************
Number of difference sections found: 12
Number of difference records found: 77
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;7-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]NNTPLIB.C;1
$ diff/match=10 parsdate.y
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]PARSDATE.Y;6
26 #ifdef VMS
27 #define NO_SIGNED_VERB
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]PARSDATE.Y;1
26 #ifdef VAXC
27 #define NO_SIGNED_VERB
************
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]PARSDATE.Y;6
694 int
695 date_lex()
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]PARSDATE.Y;1
694 static int
695 date_lex()
************
Number of difference sections found: 2
Number of difference records found: 2
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]PARSDATE.Y;6-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]PARSDATE.Y;1
$ diff/match=10 patchlev.h
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]PATCHLEV.H;2
31 #ifdef VAX
32 # define OS "[VAX/VMS]"
33 #endif
34 #ifdef AXP
35 # define OS "[AXP/VMS]"
36 #endif
37 #endif
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]PATCHLEV.H;1
31 # define OS "[VAX/VMS]"
32 #endif
************
Number of difference sections found: 1
Number of difference records found: 6
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]PATCHLEV.H;2-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22]PATCHLEV.H;1
$ diff/match=10 [.sio]impl.h
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]IMPL.H;2
201 #ifndef VMS
202 #include <memory.h>
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]IMPL.H;1
201 #ifndef VAXC
202 #include <memory.h>
************
Number of difference sections found: 1
Number of difference records found: 1
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]IMPL.H;2-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]IMPL.H;1
$ diff/match=10 [.sio]make.com
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]MAKE.COM;9
5 $ if (P2 .eqs. "DEBUG")
6 $ then dbg := "/Debug=ALL"
7 $ else dbg := ""
8 $ endif
9 $!
10 $ if p1.eqs."MULTINET"
11 $ then
12 $ Define SYS Multinet_Common_Root:[Multinet.Include.Sys],SYS$LIBRARY
13 $ Define VAXC$INCLUDE Multinet_Common_Root:[Multinet.Include.Sys],SYS$LIBRARY
14 $ DEFS := HAS_ISATTY,HAS_MEMOPS,MULTINET,CANT_ENUM,VMS
15 $ cflags = ""
16 $ endif
17 $ if p1.eqs."UCX"
18 $ then
19 $ DEFS := HAS_ISATTY,HAS_MEMOPS,CANT_ENUM,VMS,UCX
20 $ cflags = "/prefix=all"
21 $ endif
22 $!
23 $ VERSION := 1.6.1
24 $ VERSION_DEF := VERSION="""""""""""""""SIO Version ''VERSION'"""""""""""""""
25 $ CPP_DEFS := /define=('VERSION_DEF','DEFS')
26 $!
27 $ CC 'dbg' 'cflags' 'CPP_DEFS' sio
28 $ CC 'dbg' 'cflags' 'CPP_DEFS' siosup
29 $ CC 'dbg' 'cflags' 'CPP_DEFS' sprint
30 $!
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]MAKE.COM;1
5 $ if (P1 .eqs. "DEBUG")
6 $ then dbg := "/Debug=ALL"
7 $ else dbg :=
8 $ endif
9 $!
10 $ Define SYS Multinet_Common_Root:[Multinet.Include.Sys],SYS$LIBRARY
11 $ Define VAXC$INCLUDE Multinet_Common_Root:[Multinet.Include.Sys],SYS$LIBRARY
12 $!
13 $ VERSION := 1.6.1
14 $ DEFS := HAS_ISATTY,HAS_MEMOPS,MULTINET,CANT_ENUM
15 $ VERSION_DEF := VERSION="""""""""""""""SIO Version ''VERSION'"""""""""""""""
16 $ CPP_DEFS := /define=('VERSION_DEF','DEFS')
17 $!
18 $ CC 'dbg' /Include=([]) 'CPP_DEFS' sio
19 $ CC 'dbg' /Include=([]) 'CPP_DEFS' siosup
20 $ CC 'dbg' /Include=([]) 'CPP_DEFS' sprint
21 $!
************
Number of difference sections found: 1
Number of difference records found: 25
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]MAKE.COM;9-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]MAKE.COM;1
$ diff/match=10 [.sio]siosup.c
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]SIOSUP.C;3
543 #ifndef VMS
544 if ( fstat( fd, &st ) == -1 )
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]SIOSUP.C;1
543 #ifndef MULTINET
544 if ( fstat( fd, &st ) == -1 )
************
Number of difference sections found: 1
Number of difference records found: 1
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]SIOSUP.C;3-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]SIOSUP.C;1
$ diff/match=10 [.sio]sprint.c
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]SPRINT.C;2
312 PRIVATE char *conv_10( num, is_unsigned, is_negative, buf_end, len )
313 */
314 char *conv_10( num, is_unsigned, is_negative, buf_end, len )
315 register wide_int num ;
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]SPRINT.C;1
312 */
313 PRIVATE char *conv_10( num, is_unsigned, is_negative, buf_end, len )
314 register wide_int num ;
************
Number of difference sections found: 1
Number of difference records found: 3
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]SPRINT.C;2-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.SIO]SPRINT.C;1
$ diff/match=10 [.vms]make.com
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.VMS]MAKE.COM;4
5 $ if (P2 .eqs. "DEBUG")
6 $ then dbg := "/Debug=ALL"
7 $ else dbg := ""
8 $ endif
9 $!
10 $ if p1.eqs."MULTINET"
11 $ then
12 $ Define SYS Sys$Library
13 $ cflags = ""
14 $ endif
15 $ if p1.eqs."UCX"
16 $ then
17 $ cflags = "/prefix=all"
18 $ endif
19 $!
20 $ If (f$search("strings.h") .eqs. "") then Copy Sys$Library:String.h strings.h
21 $!
22 $ CC 'dbg' 'cflags' /Include=([]) vmsdir
23 $ CC 'dbg' 'cflags' /Include=([]) vmspwd
24 $ CC 'dbg' 'cflags' /Include=([]) vmsfile
25 $ CC 'dbg' 'cflags' /Include=([]) parse
26 $ CC 'dbg' 'cflags' /Include=([]) getopt
27 $ CC 'dbg' 'cflags' /Include=([]) getopt1
28 $ CC 'dbg' 'cflags' /Include=([]) qsort
29 $!
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.VMS]MAKE.COM;1
5 $ if (P1 .eqs. "DEBUG")
6 $ then dbg := "/Debug=ALL"
7 $ else dbg :=
8 $ endif
9 $!
10 $ Define SYS Sys$Library
11 $!
12 $ If (f$search("strings.h") .eqs. "") then Copy Sys$Library:String.h strings.h
13 $!
14 $ CC 'dbg' /Include=([]) vmsdir
15 $ CC 'dbg' /Include=([]) vmspwd
16 $ CC 'dbg' /Include=([]) vmsfile
17 $ CC 'dbg' /Include=([]) parse
18 $ CC 'dbg' /Include=([]) getopt
19 $ CC 'dbg' /Include=([]) getopt1
20 $ CC 'dbg' /Include=([]) qsort
21 $!
************
Number of difference sections found: 1
Number of difference records found: 24
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.VMS]MAKE.COM;4-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.VMS]MAKE.COM;1
$ diff/match=10 [.vms]vmstimval.h
************
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.VMS]VMSTIMVAL.H;3
10 #ifdef UCX
11 #include <sys/socket.h>
12 #else
13 struct timeval {
14 long tv_sec;
15 long tv_usec;
16 };
17 #endif
18
******
File SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.VMS]VMSTIMVAL.H;1
10 struct timeval {
11 long tv_sec;
12 long tv_usec;
13 };
14
************
Number of difference sections found: 1
Number of difference records found: 8
DIFFERENCES /IGNORE=()/MATCH=10/MERGED=1-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.VMS]VMSTIMVAL.H;3-
SYS$SYSDEVICE:[MICHAEL.NEWS.SRC.TIN-1_22.VMS]VMSTIMVAL.H;1
$ type [.vms]vms-ucx.opt !NEW File!!
sys$share:ucx$ipc_shr/share
Re: Succeded. TIN on VMS/UCX
Author: Caleb Cohen
Date: Wed, 22 Feb 1995 20:52
Date: Wed, 22 Feb 1995 20:52
41 lines
2879 bytes
2879 bytes
[followups directed to only comp.os.vms]
In article <3ifpnj$jdu@news.uni-c.dk>, MICHAEL@skemi (Michael Hjorth) writes:
>
>The differences is listed below.
Argh... I always thought I was missing out on something, but now I know I was.
I had been trying to 'port' TIN to work on my UCX system for a while and only
through the posts to this group did I see that it was only written for
Multinet. Nowhere in my distribution was it written so.
In applying the differences files to my distribution, I had to modify MAKE.COM
- well, i don't have such a file in my distribution - nowhere. nowhere is
there a comment such as "If you don't have Multinet... pass :-(" nowhere at
all... So somehow I have a distribution which is different than what most of
you have...
Can someone point me to the 'real' source save set or such. I got mine via a
pointer in the list of news readers for VMS (duquesne univ?) so that is
obviously not the right place to start. I had to use the make.exe utility to
get it to even try to compile... it looks like this version which was modified
may not even use that...
I'll take a pointer to either
1) the right files to modify via the root level of this thread
or
2) a modified set of sources.
Either an FTP/WWW site or a share'd or uuencoded ZIP/compress/bck file emailed
to me would be wonderful...
thanks
caleb
===========================================================================
| Caleb Cohen | cohenc@dbisna.com | People usually get what's |
| Systems Programmer | (W) (908) 665-6272 | coming to them... |
| Dun & Bradstreet | (F) (908) 464-2079 | unless it was mailed. |
===========================================================================
| The views expressed are not necessarily those of Dun & Bradstreet. |
===========================================================================
Re: Succeded. TIN on VMS/UCX
Author: Malcolm Macarthur
Date: Mon, 27 Feb 1995 19:10
Date: Mon, 27 Feb 1995 19:10
25 lines
1992 bytes
1992 bytes
Michael Hjorth (MICHAEL@skemi) wrote: :> For some time I've been searching for a version of TIN for VMS/UCX, but :> apparently it didn't exist. Thus I downloaded the MULTINET version :> (from coco.cchs.su.oz.au) to see how much it would take to make it run :> with UCX. It appeared to be relatively simple, as the code is mostly the :> same as with the MULTINET version, except that the UCX socket library :> don't have the socket_ prefix. :> The differences is listed below. :> The system is VMS 6.1 AXP, UCX 3.1 and DECC 4.0. :> There is a huge number of compilation warnings (pointer mismatch etc.), :> but apparently it works OK. (This posting is done with TIN). :> Michael. Hmm, got it to work (eventually; I'm posting this article via it...) but it falls over with an AST fault first time you run it. Has anyone lese encountered this problem and if so, how did you fix it? -- Malcolm MacArthur M.McArthur@zippy.dct.ac.uk Remember when you were young, you shone like the sun... http://www.dct.ac.uk/people/mcscs2mm.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads