linux-decnet-commit Mailing List for DECnet for Linux (Page 34)
Brought to you by:
chrissie_c,
ph3-der-loewe
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(15) |
Nov
(16) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(20) |
Feb
(27) |
Mar
(25) |
Apr
(12) |
May
(2) |
Jun
(6) |
Jul
(36) |
Aug
(12) |
Sep
(12) |
Oct
(16) |
Nov
(5) |
Dec
(5) |
2003 |
Jan
(8) |
Feb
(9) |
Mar
(25) |
Apr
(18) |
May
(29) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(10) |
Oct
(5) |
Nov
(3) |
Dec
(9) |
2004 |
Jan
(17) |
Feb
|
Mar
(9) |
Apr
|
May
(4) |
Jun
(1) |
Jul
(2) |
Aug
(21) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2005 |
Jan
(5) |
Feb
|
Mar
(13) |
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
|
Sep
(13) |
Oct
(83) |
Nov
(2) |
Dec
|
2006 |
Jan
(21) |
Feb
(1) |
Mar
(32) |
Apr
(31) |
May
(3) |
Jun
(1) |
Jul
|
Aug
(7) |
Sep
|
Oct
(1) |
Nov
(3) |
Dec
(13) |
2007 |
Jan
(1) |
Feb
(7) |
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(20) |
Sep
|
Oct
|
Nov
|
Dec
(7) |
2008 |
Jan
(4) |
Feb
(13) |
Mar
(24) |
Apr
(18) |
May
(10) |
Jun
|
Jul
|
Aug
(40) |
Sep
(72) |
Oct
(61) |
Nov
(9) |
Dec
(2) |
2009 |
Jan
(6) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
|
Dec
(3) |
2010 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
(41) |
Aug
(28) |
Sep
(2) |
Oct
(5) |
Nov
(4) |
Dec
|
2011 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Patrick C. <pa...@us...> - 2002-11-04 11:20:37
|
Update of /cvsroot/linux-decnet/dnprogs In directory usw-pr-cvs1:/tmp/cvs-serv1550 Modified Files: NEWS Log Message: NEWS and changelog for 2.22 Index: NEWS =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/NEWS,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** NEWS 13 Sep 2002 10:50:36 -0000 1.17 --- NEWS 4 Nov 2002 11:20:32 -0000 1.18 *************** *** 1,2 **** --- 1,34 ---- + dnprogs (2.22-1) unstable; urgency=low + + * Make some bits of dncopy conditional on it being connected to VMS. + This helps with RSX connectivity. + * Fix bug in fal where it sends an extra newline at the end of a text file. + * Make .fal metadata directories 0777 so multiple users can use them. + * Make metadata file have the same protection as the real file + * Make records array (for VAR files) increase by 100s rather than 10s as + that's far too weedy. + * Red Hat startup scripts sets node name and default device now. + * getnodename & setnodename in libdnet actually work now. + * Tidy PTY definitions in Makefile.common & fix PTYs in rmtermd. + Thanks to Maciej W. Rozycki + * Fixes and chkconfig to the Red Hat startup script. + Thanks to Mats Magnusson + * Added loads of new error messages to libdap so it should be able to + make sense of most DAP errors now. + * Minor changes to debian control files to get rid of lintian/linda + warnings. + + -- Patrick Caulfield <pa...@de...> Sat, 2 Nov 2002 18:18:02 +0000 + + dnprogs (2.21-1) unstable; urgency=low + + * Don't check_kernel when building DEBS so + autobuilders can build it. Instead default to kernel 2.4.x + Previously I had done this manually but I often forgot, this + should remove that possibility + * Suggest: kernel-image-2.4 + + -- Patrick Caulfield <pa...@de...> Fri, 13 Sep 2002 11:48:28 +0100 + dnprogs (2.20-1) unstable; urgency=low *************** *** 6,15 **** shouldn't do that anyway, but FAL shouldn't fail on you either. * Fix dncopy -mblock when copying file from VMS. - Thanks to Zdenek Cermak for reporting this. * dncopy blocks ATTRIB & ACCESS messages for efficiency. * Mention libdumbnet in package description in case people are looking for libdnet.sf.net software. ! -- dnprogs (2.19-1) unstable; urgency=low --- 38,46 ---- shouldn't do that anyway, but FAL shouldn't fail on you either. * Fix dncopy -mblock when copying file from VMS. * dncopy blocks ATTRIB & ACCESS messages for efficiency. * Mention libdumbnet in package description in case people are looking for libdnet.sf.net software. ! -- Patrick Caulfield <pa...@de...> Fri, 13 Sep 2002 11:31:45 +0100 dnprogs (2.19-1) unstable; urgency=low |
From: Patrick C. <pa...@us...> - 2002-11-04 11:20:12
|
Update of /cvsroot/linux-decnet/dnprogs/libdap In directory usw-pr-cvs1:/tmp/cvs-serv1302/libdap Modified Files: protocol.cc Log Message: Message 12 should be 012, and the text is better now too. Index: protocol.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/libdap/protocol.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** protocol.cc 17 Oct 2002 14:44:46 -0000 1.9 --- protocol.cc 4 Nov 2002 11:20:06 -0000 1.10 *************** *** 1838,1843 **** return "unknown transfer error"; } ! case 12: ! return "Message Type error"; } return "WTF"; --- 1838,1843 ---- return "unknown transfer error"; } ! case 012: ! return "Message received out of synchronisation"; } return "WTF"; |
From: Patrick C. <pa...@us...> - 2002-11-04 11:19:36
|
Update of /cvsroot/linux-decnet/dnprogs/libdnet In directory usw-pr-cvs1:/tmp/cvs-serv1126/libdnet Modified Files: libdnet.3 Log Message: Remove blank lines that confused linda Index: libdnet.3 =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/libdnet/libdnet.3,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** libdnet.3 26 Apr 2000 08:22:04 -0000 1.1.1.1 --- libdnet.3 4 Nov 2002 11:19:31 -0000 1.2 *************** *** 1,7 **** .TH LIBDNET 3 "July 28, 1998" "DECnet database functions" .SH NAME - libdnet \- DECnet database functions library - .SH SYNOPSIS --- 1,5 ---- |
From: Patrick C. <pa...@us...> - 2002-11-02 19:46:54
|
Update of /cvsroot/linux-decnet/dnprogs/debian In directory usw-pr-cvs1:/tmp/cvs-serv17308 Modified Files: dnet-common.config control Log Message: Minor fixes for lintian/linda conformance Index: dnet-common.config =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/debian/dnet-common.config,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** dnet-common.config 1 Mar 2001 13:16:05 -0000 1.3 --- dnet-common.config 2 Nov 2002 19:46:51 -0000 1.4 *************** *** 1,3 **** ! #!/bin/sh -e . /usr/share/debconf/confmodule --- 1,5 ---- ! #!/bin/sh ! ! set -e . /usr/share/debconf/confmodule Index: control =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/debian/control,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** control 13 Sep 2002 12:00:55 -0000 1.22 --- control 2 Nov 2002 19:46:51 -0000 1.23 *************** *** 8,12 **** Package: dnet-common Architecture: all ! Depends: debconf(>=0.5.00), debianutils (>=1.13), mawk | awk Priority: extra Section: net --- 8,12 ---- Package: dnet-common Architecture: all ! Depends: debconf(>=0.5.00), debianutils(>=1.13), mawk | awk Priority: extra Section: net |
From: Patrick C. <pa...@us...> - 2002-10-23 07:37:23
|
Update of /cvsroot/linux-decnet/latd In directory usw-pr-cvs1:/tmp/cvs-serv1456 Modified Files: session.cc utils.cc utils.h Log Message: Send the LAT service name for \l rather than just "LAT" Index: session.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/session.cc,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -r1.33 -r1.34 *** session.cc 22 Oct 2002 19:39:30 -0000 1.33 --- session.cc 23 Oct 2002 07:37:19 -0000 1.34 *************** *** 319,324 **** newissue[newlen++] = '\n'; ! newlen = expand_issue(issue, len, newissue, 255); echo_expected = false; send_data((unsigned char *)newissue, newlen, 0x01); --- 319,325 ---- newissue[newlen++] = '\n'; ! newlen = expand_issue(issue, len, newissue, 255, parent.get_servicename()); echo_expected = false; + if (newlen > 255) newlen = 255; send_data((unsigned char *)newissue, newlen, 0x01); Index: utils.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/utils.cc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** utils.cc 22 Oct 2002 19:39:30 -0000 1.6 --- utils.cc 23 Oct 2002 07:37:19 -0000 1.7 *************** *** 107,111 **** /* Expand \ sequences in /etc/issue.net file and add CRs to LFs */ ! int expand_issue(char *original, int len, char *newstring, int maxlen) { int i,j; --- 107,112 ---- /* Expand \ sequences in /etc/issue.net file and add CRs to LFs */ ! int expand_issue(const char *original, int len, char *newstring, int maxlen, ! const char *servicename) { int i,j; *************** *** 154,159 **** case 'l': ! strcpy(newstring+j, "LAT"); ! j+=3; break; --- 155,160 ---- case 'l': ! strcpy(newstring+j, servicename); ! j+=strlen(servicename); break; Index: utils.h =================================================================== RCS file: /cvsroot/linux-decnet/latd/utils.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** utils.h 22 Oct 2002 19:39:31 -0000 1.5 --- utils.h 23 Oct 2002 07:37:19 -0000 1.6 *************** *** 21,26 **** ! int expand_issue(char *original, int len, ! char *newstring, int maxlen); #ifndef USE_OPENPTY --- 21,27 ---- ! int expand_issue(const char *original, int len, ! char *newstring, int maxlen, ! const char *servicename); #ifndef USE_OPENPTY |
From: Patrick C. <pa...@us...> - 2002-10-22 19:44:28
|
Update of /cvsroot/linux-decnet/latd In directory usw-pr-cvs1:/tmp/cvs-serv17981 Modified Files: connection.cc Log Message: Allow 4 slots per packet as it all seems to work now. Index: connection.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/connection.cc,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -r1.47 -r1.48 *** connection.cc 14 Aug 2002 07:59:49 -0000 1.47 --- connection.cc 22 Oct 2002 19:44:24 -0000 1.48 *************** *** 82,91 **** lat_eco = msg->latver_eco; ! // I don't think this is actually true (TODO CHECK!) ! // but it seems to work. ! if (max_window_size < 4) ! max_slots_per_packet = 1; ! else ! max_slots_per_packet = 4; memset(sessions, 0, sizeof(sessions)); --- 82,86 ---- lat_eco = msg->latver_eco; ! max_slots_per_packet = 4; memset(sessions, 0, sizeof(sessions)); |
From: Patrick C. <pa...@us...> - 2002-10-22 19:39:34
|
Update of /cvsroot/linux-decnet/latd In directory usw-pr-cvs1:/tmp/cvs-serv14792 Modified Files: session.cc utils.cc utils.h Log Message: expand \ or % sequences in /etc/issue. Index: session.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/session.cc,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -r1.32 -r1.33 *** session.cc 31 Mar 2002 12:41:08 -0000 1.32 --- session.cc 22 Oct 2002 19:39:30 -0000 1.33 *************** *** 302,312 **** } - // Send /etc/issue.net int f = open(issue_name, O_RDONLY); if (f >= 0) { ! unsigned char *issue = new unsigned char[255]; ! unsigned char *newissue = new unsigned char[255]; size_t len = read(f, issue, 255); --- 302,311 ---- } // Send /etc/issue.net int f = open(issue_name, O_RDONLY); if (f >= 0) { ! char *issue = new char[255]; ! char *newissue = new char[512]; size_t len = read(f, issue, 255); *************** *** 320,335 **** newissue[newlen++] = '\n'; ! // Add CR to all the LFs ! for (unsigned int i=0; i<len && newlen<255; ) ! { ! if (issue[i] == '\n') ! newissue[newlen++] = '\r'; ! ! newissue[newlen++] = issue[i++]; ! } ! echo_expected = false; ! send_data(newissue, newlen, 0x01); delete[] issue; delete[] newissue; --- 319,326 ---- newissue[newlen++] = '\n'; ! newlen = expand_issue(issue, len, newissue, 255); echo_expected = false; ! send_data((unsigned char *)newissue, newlen, 0x01); delete[] issue; delete[] newissue; Index: utils.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/utils.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** utils.cc 15 Feb 2002 09:36:53 -0000 1.5 --- utils.cc 22 Oct 2002 19:39:30 -0000 1.6 *************** *** 15,21 **** --- 15,23 ---- #include <sys/stat.h> #include <sys/fcntl.h> + #include <sys/utsname.h> #include <string.h> #include <time.h> #include <stdio.h> + #include <unistd.h> #include "utils.h" *************** *** 102,103 **** --- 104,203 ---- } #endif + + /* Expand \ sequences in /etc/issue.net file and add CRs to + LFs */ + int expand_issue(char *original, int len, char *newstring, int maxlen) + { + int i,j; + char scratch[132]; + time_t t; + struct tm *tm; + struct utsname un; + + uname(&un); + + j=0; + for (i=0; i<len; i++) + { + if (j >= maxlen) break; + + if (original[i] == '\n') + newstring[j++] = '\r';; + + if (original[i] == '\\' || original[i] == '%') + { + i++; + switch (original[i]) + { + case '\\': + case '%': + newstring[j++] = original[i]; + break; + + case 'b': + strcpy(newstring+j, "9600"); + j+=4; + break; + + case 'd': + t = time(NULL); + tm = localtime(&t); + strftime(scratch, sizeof(scratch), "%a %b %d %Y", tm); + strcpy(newstring+j, scratch); + j+=strlen(scratch); + break; + + case 's': + strcpy(newstring+j, un.sysname); + j+=strlen(un.sysname); + break; + + case 'l': + strcpy(newstring+j, "LAT"); + j+=3; + break; + + case 'm': + strcpy(newstring+j, un.machine); + j+=strlen(un.machine); + break; + + case 'n': + strcpy(newstring+j, un.nodename); + j+=strlen(un.nodename); + break; + + #ifdef __GNU_SOURCE + case 'o': + strcpy(newstring+j, un.domainname); + j+=strlen(un.domainname); + break; + #endif + case 'r': + strcpy(newstring+j, un.release); + j+=strlen(un.release); + break; + + case 't': + t = time(NULL); + tm = localtime(&t); + strftime(scratch, sizeof(scratch), "%H:%M:%S", tm); + strcpy(newstring+j, scratch); + j+=strlen(scratch); + break; + + /* No, I am not doing number of users logged in... */ + case 'v': + strcpy(newstring+j, un.version); + j+=strlen(un.version); + break; + } + } + else + { + newstring[j++] = original[i]; + } + } + + return j; + } Index: utils.h =================================================================== RCS file: /cvsroot/linux-decnet/latd/utils.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** utils.h 11 Feb 2002 14:09:38 -0000 1.4 --- utils.h 22 Oct 2002 19:39:31 -0000 1.5 *************** *** 1,4 **** /****************************************************************************** ! (c) 2000 Patrick Caulfield pa...@de... This program is free software; you can redistribute it and/or modify --- 1,4 ---- /****************************************************************************** ! (c) 2002 Patrick Caulfield pa...@de... This program is free software; you can redistribute it and/or modify *************** *** 19,22 **** --- 19,26 ---- void get_string(unsigned char *packet, int *ptr, unsigned char *string); + + + int expand_issue(char *original, int len, + char *newstring, int maxlen); #ifndef USE_OPENPTY |
From: Patrick C. <pa...@us...> - 2002-10-18 09:52:55
|
Update of /cvsroot/linux-decnet/dnprogs In directory usw-pr-cvs1:/tmp/cvs-serv3103 Modified Files: README Log Message: Some doc changes, most notably the Red Hat startup script but also note the better mailing list archive URL, mention setether.sh and fix a small number of typos. Index: README =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/README,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** README 5 Sep 2002 13:43:03 -0000 1.5 --- README 18 Oct 2002 09:52:51 -0000 1.6 *************** *** 5,9 **** kernel patch installed and built. ! You MUST be running the latest Eduardo kernel patch (version number 0.0.11 or later) or a 2.4+ kernel to use these programs. If you are not then several things (particularly dnetd) will NOT work. You will be warned --- 5,9 ---- kernel patch installed and built. ! You MUST be running the latest Eduardo kernel patch (version number 0.0.11 or later) or a 2.4+ kernel to use these programs. If you are not then several things (particularly dnetd) will NOT work. You will be warned *************** *** 24,32 **** /usr/local/lib then edit Makefile.common and change libprefix. If you do this you need to ensure that the libraries will be found by either ! adding /usr/local/bin to the file /etc/ld.so.conf or by setting the environment variable LD_LIBRARY_PATH. See the man page for ld.so for more information. ! [Please don't send me mail about compiler warnings on libc5 based systems, I know. It compiles fine on libc6 systems (I can recommend Debian) because the header files are more POSIX compliant.] --- 24,32 ---- /usr/local/lib then edit Makefile.common and change libprefix. If you do this you need to ensure that the libraries will be found by either ! adding /usr/local/bin to the file /etc/ld.so.conf or by setting the environment variable LD_LIBRARY_PATH. See the man page for ld.so for more information. ! [Please don't send me mail about compiler warnings on libc5 based systems, I know. It compiles fine on libc6 systems (I can recommend Debian) because the header files are more POSIX compliant.] *************** *** 34,53 **** It will also install a startup script appropriate to your distribution. You will need to set up your system so that this script is run at system startup ! time. ! NOTE: These startup scripts are out of date for everthimng except Debian. If you can help with startup scripts for your particular distribution then please contact me. ! Debian ------ ! DECnet is included in Debian woody (3.0) and later. "apt-get dnet-progs" will ! install all the bits you need. Redhat ------ ! The startup script is "/etc/rc.d/init.d/decnet" ! It should be linked to "/etc/rc.d/rc3.d/S09decnet" ! You can use control-panel or tksysv to do this. Caldera --- 34,52 ---- It will also install a startup script appropriate to your distribution. You will need to set up your system so that this script is run at system startup ! time. ! NOTE: These startup scripts are out of date for everthing except Debian. If you can help with startup scripts for your particular distribution then please contact me. ! Debian ------ ! DECnet is included in Debian woody (3.0) and later. ! "apt-get install dnet-progs" will install all the bits you need. Redhat ------ ! The startup script is "/etc/init.d/decnet" ! It should be installed using the command "chkconfig --level 345 decnet on" Caldera *************** *** 59,78 **** See the comments in the file for more detail. ! Slackware --------- The startup script is "/etc/rc.decnet" Put a call to this very near the start of your /etc/rc.d/rc.inet1 file. - SuSE - ---- - The startup script is "/sbin/init.d/decnet" - It should be linked to "/sbin/init.d/rc2.d/S05decnet" - ! NOTE: Wherever you put call the startup script from it *MUST* be run before the TCP/IP initialisation because it needs to set the MAC address of the ethernet card. ! You will also now have an example configuration file (called /etc/decnet.conf.sample). You should copy this to /etc/decnet.conf and edit it to contain the details for your Linux machine (the executor) and all DECnet --- 58,72 ---- See the comments in the file for more detail. ! Slackware --------- The startup script is "/etc/rc.decnet" Put a call to this very near the start of your /etc/rc.d/rc.inet1 file. ! NOTE: Wherever you put call the startup script from it *MUST* be run before the TCP/IP initialisation because it needs to set the MAC address of the ethernet card. ! You will also now have an example configuration file (called /etc/decnet.conf.sample). You should copy this to /etc/decnet.conf and edit it to contain the details for your Linux machine (the executor) and all DECnet *************** *** 80,93 **** Alternatively you can use the script in scripts/setup.sh to aid in setting ! up your DECnet configuration. This will prompt you for the necessary ! information and create an /etc/decnet.conf file for you. This script is run automatically when you first install a binary distribution. ! You may also want to configure a DECnet proxies file. See the FAL documentation and the decnet.proxy(5) man page for more information. UPGRADING FROM 1.x ------------------ ! All the libraries in the distribution carry the version number of the distribution itself rather than an ABI-type number. This is purely for my convenience and there are many people who will tell me that this is just --- 74,87 ---- Alternatively you can use the script in scripts/setup.sh to aid in setting ! up your DECnet configuration. This will prompt you for the necessary ! information and create an /etc/decnet.conf file for you. This script is run automatically when you first install a binary distribution. ! You may also want to configure a DECnet proxies file. See the FAL documentation and the decnet.proxy(5) man page for more information. UPGRADING FROM 1.x ------------------ ! All the libraries in the distribution carry the version number of the distribution itself rather than an ABI-type number. This is purely for my convenience and there are many people who will tell me that this is just *************** *** 108,113 **** distribution. ! If you have any problems then please consult the FAQ at ! http://linux-decnet.sourceforge.net/faq.html before emailing the list with questions. --- 102,107 ---- distribution. ! If you have any problems then please consult the FAQ at ! http://linux-decnet.sourceforge.net/faq.html before emailing the list with questions. *************** *** 140,143 **** --- 134,139 ---- decnetconf - Shell script to help in setting up /etc/decnet.conf dnmount - mount a VMS filesystem (still beta - requires dapfs) + setether - shell script to set the MAC address of any/all ethernet + cards. preferable to using startnet for 2.4+ kernels. Libraries in /usr/lib *************** *** 160,164 **** but that experience is with Xt and Motif because it was gained in a commercial environment (using VMS rather than Unix since you asked!). I believe that GTK+ ! is the future of - free - software development and Motif, despite the excellent efforts of the Lesstif team, is merely a legacy toolkit. --- 156,160 ---- but that experience is with Xt and Motif because it was gained in a commercial environment (using VMS rather than Unix since you asked!). I believe that GTK+ ! is the future of - free - software development and Motif, despite the excellent efforts of the Lesstif team, is merely a legacy toolkit. *************** *** 181,185 **** If all you want to do is access RMS files from Linux then librms is a much easier way of achieving this because it contains open/read/write/close calls ! that you will be more familiar with. See the librms directory for more information. --- 177,181 ---- If all you want to do is access RMS files from Linux then librms is a much easier way of achieving this because it contains open/read/write/close calls ! that you will be more familiar with. See the librms directory for more information. *************** *** 188,192 **** ------------- This distribution also contains uulib from the uudeview suite by Frank Pilhofer ! (fp...@in...). I have supplied it here pre-configured for Linux and it seems OK for me on --- 184,188 ---- ------------- This distribution also contains uulib from the uudeview suite by Frank Pilhofer ! (fp...@in...). I have supplied it here pre-configured for Linux and it seems OK for me on *************** *** 230,245 **** SUPPORT ------- ! These programs have been tested on Linux 2.0, 2.1, 2.2, 2.3 & 2.4 on Intel, Alpha and SPARC machines (though not necessarily all combinations!) userland compiles on HPPA machines but there seems to be a kernel problem with that ! architecture. atthe moment. I encourage all users to join the linux-decnet mailing list by visiting the ! mailing list web site at http://lists.sourceforge.net/lists/listinfo/linux-decnet-user ! The list is archived at http://www.geocrawler.com/lists/3/SourceForge/3243/0/ ! If you need help with the software, think you have found a bug or would like to request a feature then please send your messages to this mailing list. --- 226,241 ---- SUPPORT ------- ! These programs have been tested on Linux 2.0, 2.1, 2.2, 2.3 & 2.4 on Intel, Alpha and SPARC machines (though not necessarily all combinations!) userland compiles on HPPA machines but there seems to be a kernel problem with that ! architecture at the moment. I encourage all users to join the linux-decnet mailing list by visiting the ! mailing list web site at http://lists.sourceforge.net/lists/listinfo/linux-decnet-user ! The list is archived at http://sourceforge.net/mailarchive/forum.php?forum_id=7244 ! If you need help with the software, think you have found a bug or would like to request a feature then please send your messages to this mailing list. *************** *** 247,251 **** we on the list will endeavour to help where possible. ! If you send me or the mailing list a message that is answered in this file or the online FAQ (at http://linux-decnet.sourceforge.net/faq.html) then it will probably be ignored. I have a life to lead and a job to hold down. --- 243,247 ---- we on the list will endeavour to help where possible. ! If you send me or the mailing list a message that is answered in this file or the online FAQ (at http://linux-decnet.sourceforge.net/faq.html) then it will probably be ignored. I have a life to lead and a job to hold down. |
From: Patrick C. <pa...@us...> - 2002-10-18 09:41:36
|
Update of /cvsroot/linux-decnet/dnprogs/scripts In directory usw-pr-cvs1:/tmp/cvs-serv32263 Modified Files: decnet.sh Log Message: Some real Red Hat changes. Thanks to Mats Magnusson. I've also ripped out all the Caldera and SuSE stuff from this script because it's all WAY out of date and will only serve to confuse people further. Index: decnet.sh =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/scripts/decnet.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** decnet.sh 17 Oct 2002 14:50:21 -0000 1.5 --- decnet.sh 18 Oct 2002 09:41:32 -0000 1.6 *************** *** 5,20 **** # Starts/Stops DECnet processes # ! # This script should go in /etc/rc.d/init.d # - # and you should link to it from the relevant runlevel startup directory - # eg: - # (RedHat) - # ln -s /etc/rc.d/init.d/decnet.sh /etc/rc.d/rc3.d/S09decnet # ! # (Caldera) ! # ln -s /etc/rc.d/init.d/decnet.sh /etc/rc.d/rc5.d/S01decnet # ! # This script MUST be run before TCP/IP is started unless you have a DEC ! # TULIP based ethernet card AND are running Linux 2.2 # # ----------------------------------------------------------------------------- --- 5,21 ---- # Starts/Stops DECnet processes # ! # chkconfig: - 09 91 ! # description: DECnet. ! # processname: dnetd ! # config: /etc/decnet.conf # # ! # This script should go in ! # /etc/init.d for redhat 7.0 onwards ! # /etc/rc.d/init.d for redhat up to 6.2 # ! # You can install it using the following command: ! # ! # chkconfig --level 345 decnet on # # ----------------------------------------------------------------------------- *************** *** 32,36 **** # # If running on Caldera OpenLinux you may need to add the -f switch to ! # startnet to force it to change the MAC address because that # distribution's startup scripts UP all the interfaces before calling any # other scripts :-( --- 33,37 ---- # # If running on Caldera OpenLinux you may need to add the -f switch to ! # startnet to force it to change the MAC address because that # distribution's startup scripts UP all the interfaces before calling any # other scripts :-( *************** *** 41,71 **** # ! # See which distribution we are using and customise the start/stop ! # commands and the console display. # ! if [ -d /var/lib/dpkg ] ! then ! # Debian ! startcmd="start-stop-daemon --start --quiet --exec" ! stopcmd="start-stop-daemon --stop --quiet --exec" ! startecho="\$i" ! startendecho="." ! stopendecho="done." ! elif [ -d /var/lib/YaST ] ! then ! # SuSE ! . /etc/rc.config ! startcmd="" ! stopcmd="killproc -TERM" ! startendecho="" ! stopendecho="done." ! else ! # Assume RedHat ! . /etc/rc.d/init.d/functions ! startcmd="daemon" ! stopcmd="killproc" ! startendecho="" ! stopendecho="done." ! fi case $1 in --- 42,52 ---- # ! # Set up some variables. # ! . /etc/rc.d/init.d/functions ! startcmd="daemon" ! stopcmd="killproc" ! startendecho="" ! stopendecho="done." case $1 in *************** *** 88,92 **** fi ! echo -n "Starting DECnet: " # Run startnet only if we need to --- 69,73 ---- fi ! echo -n "Starting DECnet: " # Run startnet only if we need to |
From: Patrick C. <pa...@us...> - 2002-10-17 14:50:24
|
Update of /cvsroot/linux-decnet/dnprogs/scripts In directory usw-pr-cvs1:/tmp/cvs-serv16824/scripts Modified Files: decnet.sh Log Message: Some general fixes for Red Hat Index: decnet.sh =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/scripts/decnet.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** decnet.sh 27 Jan 2001 15:12:10 -0000 1.4 --- decnet.sh 17 Oct 2002 14:50:21 -0000 1.5 *************** *** 5,24 **** # Starts/Stops DECnet processes # ! # This script should go in /etc/init.d (Debian) ! # /etc/rc.d/init.d (RedHat) ! # /sbin/init.d (SuSE) # # and you should link to it from the relevant runlevel startup directory ! # eg: (Debian) ! # update-rc.d start 39 S . stop 11 1 . ! # # (RedHat) ! # ln -s /etc/rc.d/init.d/decnet /etc/rc.d/rc3.d/S09decnet ! # ! # (SuSE) ! # ln -s /sbin/init.d/decnet.sh /sbin/init.d/rc2.d/S05decnet # # (Caldera) ! # ln -s /etc/rc.d/init.d/decnet /etc/rc.d/rc5.d/S01decnet # # This script MUST be run before TCP/IP is started unless you have a DEC --- 5,17 ---- # Starts/Stops DECnet processes # ! # This script should go in /etc/rc.d/init.d # # and you should link to it from the relevant runlevel startup directory ! # eg: # (RedHat) ! # ln -s /etc/rc.d/init.d/decnet.sh /etc/rc.d/rc3.d/S09decnet # # (Caldera) ! # ln -s /etc/rc.d/init.d/decnet.sh /etc/rc.d/rc5.d/S01decnet # # This script MUST be run before TCP/IP is started unless you have a DEC *************** *** 107,110 **** --- 100,107 ---- exit 1 fi + NODE=`grep executor /etc/decnet.conf|sed 's/.* \([0-9.]\{3,7\}\) .*/\1/'` + echo "$NODE" > /proc/sys/net/decnet/node_address + CCT=`grep executor /etc/decnet.conf|sed 's/.*line *//'` + echo "$CCT" > /proc/sys/net/decnet/default_device fi |
From: Patrick C. <pa...@us...> - 2002-10-17 14:44:50
|
Update of /cvsroot/linux-decnet/dnprogs/libdap In directory usw-pr-cvs1:/tmp/cvs-serv14339 Modified Files: protocol.cc Log Message: Add /loads/ of new error messages Index: protocol.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/libdap/protocol.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** protocol.cc 26 Sep 2001 18:54:02 -0000 1.8 --- protocol.cc 17 Oct 2002 14:44:46 -0000 1.9 *************** *** 77,81 **** int i; unsigned long s = 0; ! for (i=0; i<length; i++) { --- 77,81 ---- int i; unsigned long s = 0; ! for (i=0; i<length; i++) [...1185 lines suppressed...] } --- 2174,2178 ---- if (!(p & 0x04)) mode |= 1; } ! return mode; } *************** *** 1969,1973 **** /* If there's no username for this UID then send the number */ ! if (pw && gr) { char ownuid[32]; --- 2237,2241 ---- /* If there's no username for this UID then send the number */ ! if (pw && gr) { char ownuid[32]; |
From: Patrick C. <pa...@us...> - 2002-10-17 14:16:53
|
Update of /cvsroot/linux-decnet/dnprogs/libdnet In directory usw-pr-cvs1:/tmp/cvs-serv1331 Modified Files: getnodename.c setnodename.c Log Message: Test SDF_UICPROXY to see if we can go get/set nodename, as the actual sysctl definitions themselves are enums, no preprocessor macros. Index: getnodename.c =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/libdnet/getnodename.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** getnodename.c 26 Apr 2000 08:22:04 -0000 1.1.1.1 --- getnodename.c 17 Oct 2002 14:16:51 -0000 1.2 *************** *** 29,33 **** int getnodename(char *name, size_t len) { ! #ifdef NET_DECNET_NODE_NAME int ctlname[3] = { CTL_NET, NET_DECNET, NET_DECNET_NODE_NAME }; --- 29,33 ---- int getnodename(char *name, size_t len) { ! #ifdef SDF_UICPROXY int ctlname[3] = { CTL_NET, NET_DECNET, NET_DECNET_NODE_NAME }; Index: setnodename.c =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/libdnet/setnodename.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** setnodename.c 26 Apr 2000 08:22:04 -0000 1.1.1.1 --- setnodename.c 17 Oct 2002 14:16:51 -0000 1.2 *************** *** 31,35 **** int setnodename(const char *name, size_t len) { ! #ifdef NET_DECNET_NODE_NAME int ctlname[3] = { CTL_NET, NET_DECNET, NET_DECNET_NODE_NAME }; size_t nospace = 0; --- 31,35 ---- int setnodename(const char *name, size_t len) { ! #ifdef SDF_UICPROXY int ctlname[3] = { CTL_NET, NET_DECNET, NET_DECNET_NODE_NAME }; size_t nospace = 0; |
From: Patrick C. <pa...@us...> - 2002-10-17 13:50:29
|
Update of /cvsroot/linux-decnet/dnprogs/apps In directory usw-pr-cvs1:/tmp/cvs-serv21969/apps Modified Files: rmtermd.c Log Message: PTS fixes from Maciej W. Rozycki Index: rmtermd.c =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/apps/rmtermd.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** rmtermd.c 26 Apr 2000 08:22:03 -0000 1.1.1.1 --- rmtermd.c 17 Oct 2002 13:50:26 -0000 1.2 *************** *** 48,51 **** --- 48,54 ---- #include <netdnet/dn.h> #include <netdnet/dnetdb.h> + #ifdef DNETUSE_DEVPTS + #include <pty.h> + #endif #include "dn_endian.h" *************** *** 194,198 **** rmterm_bind(); ! #ifdef HAVE_DEVPTS if (openpty(&pty, &t,NULL, NULL, NULL) == 0) gotpty = 1; --- 197,201 ---- rmterm_bind(); ! #ifdef DNETUSE_DEVPTS if (openpty(&pty, &t,NULL, NULL, NULL) == 0) gotpty = 1; |
From: Patrick C. <pa...@us...> - 2002-10-17 13:50:29
|
Update of /cvsroot/linux-decnet/dnprogs In directory usw-pr-cvs1:/tmp/cvs-serv21969 Modified Files: Makefile.common Log Message: PTS fixes from Maciej W. Rozycki Index: Makefile.common =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/Makefile.common,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** Makefile.common 13 Sep 2002 12:00:54 -0000 1.18 --- Makefile.common 17 Oct 2002 13:50:26 -0000 1.19 *************** *** 54,58 **** MAJOR_VERSION=2 ! MINOR_VERSION=21 VERSION=$(MAJOR_VERSION).$(MINOR_VERSION) --- 54,58 ---- MAJOR_VERSION=2 ! MINOR_VERSION=22 VERSION=$(MAJOR_VERSION).$(MINOR_VERSION) *************** *** 96,100 **** ifeq (/dev/pts,$(wildcard /dev/pts)) ifeq (/usr/lib/libutil.a,$(wildcard /usr/lib/libutil.a)) ! CFLAGS += -DDNETUSE_DEVPTS PTSLIBS=-lutil endif --- 96,105 ---- ifeq (/dev/pts,$(wildcard /dev/pts)) ifeq (/usr/lib/libutil.a,$(wildcard /usr/lib/libutil.a)) ! PTSDEFS=-DDNETUSE_DEVPTS ! PTSLIBS=-lutil ! endif ! ! ifeq (/usr/lib/libutil.so,$(wildcard /usr/lib/libutil.so)) ! PTSDEFS=-DDNETUSE_DEVPTS PTSLIBS=-lutil endif *************** *** 107,112 **** CDEFS+=-D_XOPEN_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_SVID_SOURCE INCLUDES=-I../libdap -I../include ! CXXFLAGS+=-pipe -fdollars-in-identifiers -fsigned-char -Wstrict-prototypes -Wall -Wno-unused -Wno-uninitialized $(INCLUDES) -DVERSION=\"$(VERSION)\" $(CDEFS) $(SHADOWDEFS) $(DFLAGS) ! CFLAGS +=-pipe -fsigned-char -Wstrict-prototypes -Wall -Wno-unused -Wno-uninitialized $(INCLUDES) -DVERSION=\"$(VERSION)\" $(CDEFS) $(SHADOWDEFS) $(DFLAGS) # Conditional for shared/static libs --- 112,117 ---- CDEFS+=-D_XOPEN_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_SVID_SOURCE INCLUDES=-I../libdap -I../include ! CXXFLAGS+=-pipe -fdollars-in-identifiers -fsigned-char -Wstrict-prototypes -Wall -Wno-unused -Wno-uninitialized $(INCLUDES) -DVERSION=\"$(VERSION)\" $(CDEFS) $(SHADOWDEFS) $(PTSDEFS) $(DFLAGS) ! CFLAGS +=-pipe -fsigned-char -Wstrict-prototypes -Wall -Wno-unused -Wno-uninitialized $(INCLUDES) -DVERSION=\"$(VERSION)\" $(CDEFS) $(SHADOWDEFS) $(PTSDEFS) $(DFLAGS) # Conditional for shared/static libs |
From: Patrick C. <pa...@us...> - 2002-10-14 14:45:21
|
Update of /cvsroot/linux-decnet/latd In directory usw-pr-cvs1:/tmp/cvs-serv13916 Modified Files: server.cc services.cc services.h Log Message: Expire services that don't get HELLOs. Index: server.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/server.cc,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -r1.61 -r1.62 *** server.cc 6 Sep 2002 09:01:27 -0000 1.61 --- server.cc 14 Oct 2002 14:45:13 -0000 1.62 *************** *** 417,420 **** --- 417,421 ---- // goes off at a reasonably predictable interval. struct timeval tv = {0, circuit_timer*10000}; + time_t last_node_expiry = time(NULL); do_shutdown = false; do *************** *** 448,451 **** --- 449,456 ---- connections[i]->circuit_timer(); tv.tv_usec = circuit_timer*10000; + + // Is it time we expired some more nodes ? + if (time(NULL) - last_node_expiry > 15) + LATServices::Instance()->expire_nodes(); continue; } Index: services.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/services.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** services.cc 3 Apr 2002 15:40:30 -0000 1.11 --- services.cc 14 Oct 2002 14:45:14 -0000 1.12 *************** *** 163,166 **** --- 163,194 ---- } + + void LATServices::serviceinfo::expire_nodes(time_t current_time) + { + std::map<std::string, nodeinfo, std::less<std::string> >::iterator n(nodes.begin()); + + for (; n != nodes.end(); n++) + { + if (nodes[n->first].has_expired(current_time)) + nodes[n->first].set_available(false); + } + } + + void LATServices::expire_nodes() + { + std::map<std::string, serviceinfo, std::less<std::string> >::iterator s(servicelist.begin()); + time_t current_time = time(NULL); + + for (; s != servicelist.end(); s++) + { + // Skip dummy service + if (s->first != "") + { + servicelist[s->first].expire_nodes(current_time); + } + } + } + + // Verbose listing of nodes in this service void LATServices::serviceinfo::list_service(std::ostrstream &output) *************** *** 198,202 **** output << "Service Status: " << (servicelist[s->first].is_available()?"Available ":"Unavailable") << " " << std::endl; output << "Service Ident: " << servicelist[s->first].get_ident() << std::endl << std::endl; ! servicelist[s->first].list_service(output); output << "--------------------------------------------------------------------------------" << std::endl; --- 226,230 ---- output << "Service Status: " << (servicelist[s->first].is_available()?"Available ":"Unavailable") << " " << std::endl; output << "Service Ident: " << servicelist[s->first].get_ident() << std::endl << std::endl; ! servicelist[s->first].list_service(output); output << "--------------------------------------------------------------------------------" << std::endl; Index: services.h =================================================================== RCS file: /cvsroot/linux-decnet/latd/services.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** services.h 3 Jan 2002 08:46:55 -0000 1.8 --- services.h 14 Oct 2002 14:45:15 -0000 1.9 *************** *** 41,44 **** --- 41,45 ---- bool list_services(bool verbose, std::ostrstream &output); void purge() {servicelist.clear(); } + void expire_nodes(); private: *************** *** 72,75 **** --- 73,77 ---- bool remove_node(const std::string &node); void serviceinfo::list_service(std::ostrstream &output); + void expire_nodes(time_t); private: *************** *** 85,89 **** --- 87,97 ---- memcpy(macaddr, _macaddr, 6); ident = _ident; + updated = time(NULL); } + bool has_expired(time_t current_time) + { + return ( (current_time - updated) > 60); + } + int get_rating() { return rating; } int get_interface() { return interface; } *************** *** 99,102 **** --- 107,111 ---- bool available; std::string ident; + time_t updated; };// class LATServices::service::nodeinfo |
From: Patrick C. <pa...@us...> - 2002-10-11 16:01:43
|
Update of /cvsroot/linux-decnet/dnprogs/fal In directory usw-pr-cvs1:/tmp/cvs-serv10401 Modified Files: open.cc task.cc Log Message: Make .fal metadata file have the same protection as their originals. set protection on .fal directory properly increase record array by 100s rather than 10s as it's a bit weedy Index: open.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/fal/open.cc,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** open.cc 11 Oct 2002 14:34:06 -0000 1.16 --- open.cc 11 Oct 2002 16:01:35 -0000 1.17 *************** *** 56,60 **** // This is the initial allocation and expansion value for // the array or record lengths. ! #define RECORD_LENGTHS_SIZE 10 fal_open::fal_open(dap_connection &c, int v, fal_params &p, --- 56,60 ---- // This is the initial allocation and expansion value for // the array or record lengths. ! #define RECORD_LENGTHS_SIZE 100 fal_open::fal_open(dap_connection &c, int v, fal_params &p, Index: task.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/fal/task.cc,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** task.cc 11 Oct 2002 14:33:03 -0000 1.13 --- task.cc 11 Oct 2002 16:01:37 -0000 1.14 *************** *** 905,909 **** --- 905,912 ---- if (stat(metafile, &st) == -1 && errno == ENOENT) { + // Make Unix do as it's fucking told. + mode_t old_umask = umask(0); mkdir(metafile, 0777); + umask(old_umask); } strcat(metafile, "/"); *************** *** 1029,1032 **** --- 1032,1044 ---- if (verbose > 1) DAPLOG((LOG_INFO, "Writing metafile with %d records\n", current_record)); ::fwrite(record_lengths, sizeof(short), current_record, mf); + } + + // Set the file ownership & protecttion of the metafile so it + // matches the real file. + struct stat st; + if (stat(name, &st) == 0) + { + fchown(fileno(mf), st.st_uid, st.st_gid); + fchmod(fileno(mf), st.st_mode & 0777); } fclose(mf); |
From: Patrick C. <pa...@us...> - 2002-10-11 14:34:11
|
Update of /cvsroot/linux-decnet/dnprogs/fal In directory usw-pr-cvs1:/tmp/cvs-serv10529 Modified Files: open.cc Log Message: Check for EOF when we have read the last line of a file. otherwise we end up sending a free "spare" line at the end of each file. Index: open.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/fal/open.cc,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** open.cc 9 Aug 2002 14:27:58 -0000 1.15 --- open.cc 11 Oct 2002 14:34:06 -0000 1.16 *************** *** 429,432 **** --- 429,433 ---- } } while (newchar != EOF && newchar != '\n' && buflen < conn.get_blocksize()-10); + ateof = feof(stream); } } |
From: Patrick C. <pa...@us...> - 2002-10-11 14:33:10
|
Update of /cvsroot/linux-decnet/dnprogs/fal In directory usw-pr-cvs1:/tmp/cvs-serv10268 Modified Files: task.cc Log Message: Make the .fal directory 077 so that other users can write into it. Index: task.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/fal/task.cc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** task.cc 9 Aug 2002 09:46:28 -0000 1.12 --- task.cc 11 Oct 2002 14:33:03 -0000 1.13 *************** *** 905,909 **** if (stat(metafile, &st) == -1 && errno == ENOENT) { ! mkdir(metafile, 0700); } strcat(metafile, "/"); --- 905,909 ---- if (stat(metafile, &st) == -1 && errno == ENOENT) { ! mkdir(metafile, 0777); } strcat(metafile, "/"); |
From: Patrick C. <pa...@us...> - 2002-10-10 14:26:48
|
Update of /cvsroot/linux-decnet/dnprogs/dncopy In directory usw-pr-cvs1:/tmp/cvs-serv3460 Modified Files: dnetfile_dap.cc Log Message: Make it a bit for RSX-friendly by only sending VMSy stuff when remote_os==7 Index: dnetfile_dap.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/dncopy/dnetfile_dap.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** dnetfile_dap.cc 5 Sep 2002 08:35:33 -0000 1.5 --- dnetfile_dap.cc 10 Oct 2002 14:26:46 -0000 1.6 *************** *** 273,277 **** } ! // Send a record to VMS int dnetfile::dap_put_record(char *rec, int reclen) { --- 273,277 ---- } ! // Send a record to the other end int dnetfile::dap_put_record(char *rec, int reclen) { *************** *** 281,285 **** dap_data_message data; - data.set_data(rec, reclen); data.write_with_len(conn); --- 281,284 ---- *************** *** 300,306 **** dap_alloc_message all; - att.set_org(dap_attrib_message::FB$SEQ); ! att.set_rfm(dap_attrib_message::FB$STMLF); att.set_bls(512); att.set_mrs(user_bufsize); --- 299,309 ---- dap_alloc_message all; att.set_org(dap_attrib_message::FB$SEQ); ! ! // Only VMS can cope with StreamLF files. ! if (conn.get_remote_os() == 7) ! att.set_rfm(dap_attrib_message::FB$STMLF); ! else ! att.set_rfm(dap_attrib_message::FB$VAR); att.set_bls(512); att.set_mrs(user_bufsize); *************** *** 325,329 **** conn.set_blocked(true); att.write(conn); ! all.write(conn); return conn.set_blocked(false); } --- 328,336 ---- conn.set_blocked(true); att.write(conn); ! ! // VMS likes an ALLOC message ! if (conn.get_remote_os() == 7) ! all.write(conn); ! return conn.set_blocked(false); } *************** *** 357,364 **** --- 364,376 ---- // Save this stuff so we can delete the message int code = sm->get_code() & 0xFF; + int maccode = sm->get_code() >> 12; char *err = sm->get_message(); + if (verbose > 1) + DAPLOG((LOG_INFO, "dap_check_status. maccode=%d code: octal: %o (hex: %x)\n", maccode, sm->get_code(),sm->get_code())); + delete m; + if (maccode == 1) return status; // Success if (code == 0225) return status; // Success if (code == 047) return code; // EOF |
From: Patrick C. <pa...@us...> - 2002-10-10 14:26:19
|
Update of /cvsroot/linux-decnet/dnprogs/dncopy In directory usw-pr-cvs1:/tmp/cvs-serv3164 Modified Files: dncopy.cc Log Message: Check return code from close as all sorts of nasties can happen there (though mainly with network transfers of course). Index: dncopy.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/dncopy/dncopy.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** dncopy.cc 1 Sep 2001 11:25:07 -0000 1.3 --- dncopy.cc 10 Oct 2002 14:26:14 -0000 1.4 *************** *** 281,285 **** // Non-fatal error this one. } ! if (!dntype) out->close(); // Log the operation if we were asked --- 281,292 ---- // Non-fatal error this one. } ! if (!dntype) ! { ! if (out->close()) ! { ! out->perror("Error closing output"); ! return 3; ! } ! } // Log the operation if we were asked *************** *** 292,296 **** } ! in->close(); } while(in->next()); --- 299,307 ---- } ! if (in->close()) ! { ! out->perror("Error closing input"); ! return 3; ! } } while(in->next()); *************** *** 304,313 **** double rate; double show_secs; ! gettimeofday(&stop_tv, NULL); centi_seconds = (stop_tv.tv_sec - start_tv.tv_sec) * 100 + (stop_tv.tv_usec - start_tv.tv_usec) / 10000; show_secs = (double)centi_seconds/100.0; ! rate = (double)(bytes_copied/1024) / (double)centi_seconds * 100.0; printf("Sent %ld bytes in %1.2f seconds: %4.2fK/s\n", --- 315,324 ---- double rate; double show_secs; ! gettimeofday(&stop_tv, NULL); centi_seconds = (stop_tv.tv_sec - start_tv.tv_sec) * 100 + (stop_tv.tv_usec - start_tv.tv_usec) / 10000; show_secs = (double)centi_seconds/100.0; ! rate = (double)(bytes_copied/1024) / (double)centi_seconds * 100.0; printf("Sent %ld bytes in %1.2f seconds: %4.2fK/s\n", |
From: Patrick C. <pa...@us...> - 2002-09-13 12:00:59
|
Update of /cvsroot/linux-decnet/dnprogs/scripts In directory usw-pr-cvs1:/tmp/cvs-serv11226/scripts Modified Files: check_kernel.sh Log Message: Change check_kernel so it doesn't check the kernel for RELEASE builds update version number to 2.21 cos Debian numbers have to increment like that. add suggests kernel-image-2.4 Index: check_kernel.sh =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/scripts/check_kernel.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** check_kernel.sh 16 Jan 2001 10:46:37 -0000 1.2 --- check_kernel.sh 13 Sep 2002 12:00:55 -0000 1.3 *************** *** 4,7 **** --- 4,14 ---- # # + + # But not for production builds. we assume a 2.4 kernel + if [ -n "$RELEASE" ] + then + return 0 + fi + rm -f include/netdnet/dn.h |
From: Patrick C. <pa...@us...> - 2002-09-13 12:00:58
|
Update of /cvsroot/linux-decnet/dnprogs/debian In directory usw-pr-cvs1:/tmp/cvs-serv11226/debian Modified Files: changelog control Log Message: Change check_kernel so it doesn't check the kernel for RELEASE builds update version number to 2.21 cos Debian numbers have to increment like that. add suggests kernel-image-2.4 Index: changelog =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/debian/changelog,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** changelog 13 Sep 2002 10:50:36 -0000 1.20 --- changelog 13 Sep 2002 12:00:55 -0000 1.21 *************** *** 1,6 **** ! dnprogs (2.20-2) unstable; urgency=low ! * Remove check_kernel from makefile so ! autobuilders can built it. -- Patrick Caulfield <pa...@de...> Fri, 13 Sep 2002 11:48:28 +0100 --- 1,9 ---- ! dnprogs (2.21-1) unstable; urgency=low ! * Don't check_kernel when building DEBS so ! autobuilders can built it. Instead default to kernel 2.4.x ! Previously I had done this manually but I often forgot, this ! should remove that possibility ! * Suggest: kernel-image-2.4 -- Patrick Caulfield <pa...@de...> Fri, 13 Sep 2002 11:48:28 +0100 Index: control =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/debian/control,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -r1.21 -r1.22 *** control 13 Sep 2002 10:50:36 -0000 1.21 --- control 13 Sep 2002 12:00:55 -0000 1.22 *************** *** 12,18 **** Section: net Conflicts: dnprogs ! Suggests: iproute Description: Base package for Linux DECnet ! This is the base package for Linux DECnet. it contains the necessary configuration files and a script to set up the MAC address of your ethernet card(s) at boot-up. --- 12,18 ---- Section: net Conflicts: dnprogs ! Suggests: iproute, kernel-image-2.4 Description: Base package for Linux DECnet ! This is the base package for Linux DECnet. It contains the necessary configuration files and a script to set up the MAC address of your ethernet card(s) at boot-up. |
From: Patrick C. <pa...@us...> - 2002-09-13 12:00:58
|
Update of /cvsroot/linux-decnet/dnprogs In directory usw-pr-cvs1:/tmp/cvs-serv11226 Modified Files: Makefile.common Log Message: Change check_kernel so it doesn't check the kernel for RELEASE builds update version number to 2.21 cos Debian numbers have to increment like that. add suggests kernel-image-2.4 Index: Makefile.common =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/Makefile.common,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** Makefile.common 13 Sep 2002 10:50:36 -0000 1.17 --- Makefile.common 13 Sep 2002 12:00:54 -0000 1.18 *************** *** 54,58 **** MAJOR_VERSION=2 ! MINOR_VERSION=20 VERSION=$(MAJOR_VERSION).$(MINOR_VERSION) --- 54,58 ---- MAJOR_VERSION=2 ! MINOR_VERSION=21 VERSION=$(MAJOR_VERSION).$(MINOR_VERSION) |
From: Patrick C. <pa...@us...> - 2002-09-13 10:50:39
|
Update of /cvsroot/linux-decnet/dnprogs/debian In directory usw-pr-cvs1:/tmp/cvs-serv25266/debian Modified Files: changelog control Log Message: Make it version 2.20 Index: changelog =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/debian/changelog,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** changelog 18 Jul 2002 09:39:04 -0000 1.19 --- changelog 13 Sep 2002 10:50:36 -0000 1.20 *************** *** 1,2 **** --- 1,22 ---- + dnprogs (2.20-2) unstable; urgency=low + + * Remove check_kernel from makefile so + autobuilders can built it. + + -- Patrick Caulfield <pa...@de...> Fri, 13 Sep 2002 11:48:28 +0100 + + dnprogs (2.20-1) unstable; urgency=low + + * Fix vroot not NUL-terminating names properly + * Fix sethost on 2.4.19+ kernels. + * FAL fix overrun when sending binary files in record mode - OK you + shouldn't do that anyway, but FAL shouldn't fail on you either. + * Fix dncopy -mblock when copying file from VMS. + * dncopy blocks ATTRIB & ACCESS messages for efficiency. + * Mention libdumbnet in package description in case people are looking + for libdnet.sf.net software. + + -- Patrick Caulfield <pa...@de...> Fri, 13 Sep 2002 11:31:45 +0100 + dnprogs (2.19-1) unstable; urgency=low Index: control =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/debian/control,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -r1.20 -r1.21 *** control 16 Jul 2002 10:11:59 -0000 1.20 --- control 13 Sep 2002 10:50:36 -0000 1.21 *************** *** 50,53 **** --- 50,57 ---- librms - High level library for programmatic access VMS files from Linux. + . + If you're looking for libdnet, the "dumb" networking library from + libdnet.sf.net by Dug Song then you should install libdumbnet instead. + Sorry for any confusion caused! Package: libdnet-dev |
From: Patrick C. <pa...@us...> - 2002-09-13 10:50:39
|
Update of /cvsroot/linux-decnet/dnprogs In directory usw-pr-cvs1:/tmp/cvs-serv25266 Modified Files: Makefile Makefile.common NEWS excludes-dist Log Message: Make it version 2.20 Index: Makefile =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/Makefile,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** Makefile 23 Jul 2002 07:12:10 -0000 1.17 --- Makefile 13 Sep 2002 10:50:35 -0000 1.18 *************** *** 12,16 **** all: ! # @. scripts/check_kernel.sh; if [ $$? = 1 ]; then exit 1; fi @set -e; for i in $(SUBDIRS); do make -C $$i $@ ; done --- 12,16 ---- all: ! @. scripts/check_kernel.sh; if [ $$? = 1 ]; then exit 1; fi @set -e; for i in $(SUBDIRS); do make -C $$i $@ ; done Index: Makefile.common =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/Makefile.common,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** Makefile.common 17 Jul 2002 15:42:36 -0000 1.16 --- Makefile.common 13 Sep 2002 10:50:36 -0000 1.17 *************** *** 54,58 **** MAJOR_VERSION=2 ! MINOR_VERSION=19 VERSION=$(MAJOR_VERSION).$(MINOR_VERSION) --- 54,58 ---- MAJOR_VERSION=2 ! MINOR_VERSION=20 VERSION=$(MAJOR_VERSION).$(MINOR_VERSION) Index: NEWS =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/NEWS,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** NEWS 23 Jul 2002 07:14:10 -0000 1.16 --- NEWS 13 Sep 2002 10:50:36 -0000 1.17 *************** *** 1,2 **** --- 1,16 ---- + dnprogs (2.20-1) unstable; urgency=low + + * Fix vroot not NUL-terminating names properly + * Fix sethost on 2.4.19+ kernels. + * FAL fix overrun when sending binary files in record mode - OK you + shouldn't do that anyway, but FAL shouldn't fail on you either. + * Fix dncopy -mblock when copying file from VMS. + Thanks to Zdenek Cermak for reporting this. + * dncopy blocks ATTRIB & ACCESS messages for efficiency. + * Mention libdumbnet in package description in case people are looking + for libdnet.sf.net software. + + -- + dnprogs (2.19-1) unstable; urgency=low Index: excludes-dist =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/excludes-dist,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** excludes-dist 17 Jan 2001 10:36:49 -0000 1.3 --- excludes-dist 13 Sep 2002 10:50:36 -0000 1.4 *************** *** 33,36 **** --- 33,37 ---- */dncopy/dncopy */dncopy/dntype + */dnlogin/dnlogin */mail/vmsmaild */mail/sendvmsmail |