head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.10 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.8 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.4 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.2 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.3.0.40 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.38 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.36 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.34 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.32 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.30 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.28 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.26 pkgsrc-2008Q1:1.3.0.24 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.22 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.20 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.18 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.16 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.14 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.12 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.10 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.8 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.6 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.4 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 netbsd-1-4-PATCH002:1.1.1.1 comdex-fall-1999:1.1.1.1 netbsd-1-4-PATCH001:1.1.1.1 netbsd-1-4-RELEASE:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2009.11.26.17.04.19; author joerg; state dead; branches; next 1.3; 1.3 date 2005.05.29.14.38.33; author wiz; state Exp; branches; next 1.2; 1.2 date 2003.03.31.03.46.30; author jmc; state Exp; branches; next 1.1; 1.1 date 98.10.21.19.59.30; author garbled; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.10.21.19.59.30; author garbled; state Exp; branches; next ; desc @@ 1.4 log @Remove parallel/glunix. It fails in the patch phase on NetBSD 4 and later. After fixing that, it fails with C++ errors, so it couldn't have been build at least for 3 years. Assume noone cares. @ text @$NetBSD: patch-an,v 1.3 2005/05/29 14:38:33 wiz Exp $ --- glunix/src/rexec/lrexec.cc.orig 1997-10-02 21:34:06.000000000 +0200 +++ glunix/src/rexec/lrexec.cc @@@@ -293,6 +293,9 @@@@ #include #include #include +#ifdef __NetBSD__ +#include +#endif #include "glib/types.h" #include "glib.h" @@@@ -375,39 +378,30 @@@@ SetupTerminal() { struct termios buf; - (void) ioctl(0, TCGETS, (char *)&saveTermios); - - /* while(tcgetattr(STDIN_FILENO, &saveTermios) == -1) { +#ifdef __NetBSD__ + while(tcgetattr(STDIN_FILENO, &saveTermios) == -1) { if(errno == EINTR) { continue; } else { D1("tcgetattr() failed: %s\n", strerror(errno)); - return False; + return; } - }*/ - + } +#else + (void) ioctl(0, TCGETS, (char *)&saveTermios); +#endif validTermios = True; - /* if(ioctl(STDIN_FILENO, TIOCGWINSZ, (char *) windowSize) == -1) { + /* + if(ioctl(STDIN_FILENO, TIOCGWINSZ, (char *) windowSize) == -1) { return False; }*/ buf = saveTermios; - /**/ - - buf.c_iflag &= ~(INLCR|IGNCR|ICRNL|IUCLC|IXON); - // buf.c_oflag &= ~OPOST; - buf.c_lflag &= ~(ICANON|ECHO|ISIG); - buf.c_cc[VMIN] = 1; - buf.c_cc[VTIME] = 0; - (void) ioctl(0, TCSETSF, (char *)&buf); - - /**/ - - /* +#ifdef __NetBSD__ buf.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON); -// buf.c_oflag &= ~(OPOST); on non-ultrasparcs, this loses CR's + buf.c_oflag &= ~(OPOST); /*on non-ultrasparcs, this loses CR's*/ buf.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG); buf.c_cflag &= ~(CSIZE | PARENB); buf.c_cflag |= CS8; @@@@ -426,14 +420,20 @@@@ SetupTerminal() continue; } else { D1("tcsetattr(): %s\n", strerror(errno)); - return False; + return; } } - return False; + return; } - }*/ - + } +#else + buf.c_iflag &= ~(INLCR|IGNCR|ICRNL|IUCLC|IXON); + buf.c_lflag &= ~(ICANON|ECHO|ISIG); + buf.c_cc[VMIN] = 1; + buf.c_cc[VTIME] = 0; + (void) ioctl(0, TCSETSF, (char *)&buf); +#endif Comm_SetLineBuffering(False); return; @ 1.3 log @Make build, install and deinstall on NetBSD-2.0/i386. @ text @d1 1 a1 1 $NetBSD: patch-an,v 1.2 2003/03/31 03:46:30 jmc Exp $ @ 1.2 log @Lots of fixes (bad code in a lot of places) to make this compile and work @ text @d1 1 a1 1 $NetBSD: patch-an,v 1.1.1.1 1998/10/21 19:59:30 garbled Exp $ d3 2 a4 2 --- glunix/src/rexec/lrexec.cc.orig Thu Oct 2 19:34:06 1997 +++ glunix/src/rexec/lrexec.cc Sun Mar 30 21:55:03 2003 d15 1 a15 1 @@@@ -375,39 +378,30 @@@@ d66 1 a66 1 @@@@ -426,14 +420,20 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 5 a7 3 --- glunix/src/rexec/lrexec.cc~ Thu Oct 2 12:34:06 1997 +++ glunix/src/rexec/lrexec.cc Fri Feb 27 17:47:23 1998 @@@@ -295,2 +295,5 @@@@ d13 5 a17 1 @@@@ -377,5 +380,4 @@@@ d25 5 a29 1 @@@@ -386,9 +388,12 @@@@ d43 1 a43 2 - }*/ + }*/ d45 1 a45 1 @@@@ -396,16 +401,5 @@@@ d64 6 a69 20 @@@@ -418,20 +412,26 @@@@ while(tcsetattr(STDIN_FILENO, TCSAFLUSH, &buf) == -1) { - if(errno == EINTR) { + if(errno == EINTR) { + continue; + } else { + D1("tcsetattr(): %s\n", strerror(errno)); + + while(tcsetattr(STDIN_FILENO, TCSAFLUSH, &saveTermios) == -1) { + if(errno == EINTR) { continue; - } else { + } else { D1("tcsetattr(): %s\n", strerror(errno)); - - while(tcsetattr(STDIN_FILENO, TCSAFLUSH, &saveTermios) == -1) { - if(errno == EINTR) { - continue; - } else { - D1("tcsetattr(): %s\n", strerror(errno)); d71 6 a76 5 - } - } - return False; + } a79 3 + + return False; + } d89 2 @ 1.1.1.1 log @Initial import of glunix-1.0a Thanks to Ross for all the help, and Alistair for fixing some brain damage. A Global Layer Unix for NOW. (Network Of Workstations) @ text @@