[90] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

jtkohl: zephyr bugs/changes pmax/ultrix

daemon@ATHENA.MIT.EDU (Ezra Peisach)
Fri Aug 24 11:07:57 1990

To: bug-zephyr@ATHENA.MIT.EDU
Date: Fri, 24 Aug 90 11:07:37 EDT
From: Ezra Peisach <epeisach@ATHENA.MIT.EDU>


Remember that John is basing his sources on the PANNS distribution. I don't know
what version that relates to you.

	Ezra

------- Forwarded Message

Received: by E40-PO.MIT.EDU (5.45/4.7) id AA28821; Fri, 24 Aug 90 10:54:50 EDT
Received: from LYCUS.MIT.EDU by ATHENA.MIT.EDU with SMTP
	id AA07330; Fri, 24 Aug 90 10:54:47 EDT
Received: by LYCUS.MIT.EDU (5.61/4.7) id AA08411; Fri, 24 Aug 90 10:54:44 -0400
Date: Fri, 24 Aug 90 10:54:44 -0400
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
Message-Id: <9008241454.AA08411@LYCUS.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Subject: zephyr bugs/changes pmax/ultrix
X-Us-Snail: MIT Room E40-300, 1 Amherst St., Cambridge, MA 02139 USA

(ticket file needs to be set before doing ZInitialize, since it caches
the principal name)
*** /tmp/,RCSt1008367	Fri Aug 24 10:51:21 1990
- --- clients/zshutdown_notify/zshutdown_notify.c	Thu Aug  2 22:37:33 1990
***************
*** 67,77 ****
      msg[1] = message;
      msg[2] = warning;
  
- -     if ((retval = ZInitialize()) != ZERR_NONE) {
- - 	com_err(argv[0], retval, "while initializing");
- - 	exit(1);
- -     } 
- - 
      if (gethostname(hostname, MAXHOSTNAMELEN) < 0) {
  	com_err(argv[0], errno, "while finding hostname");
  	exit(1);
- --- 67,72 ----
***************
*** 104,109 ****
- --- 99,109 ----
  	exit(1);
      }
  #endif
+ 
+     if ((retval = ZInitialize()) != ZERR_NONE) {
+ 	com_err(argv[0], retval, "while initializing");
+ 	exit(1);
+     } 
  
      ptr = message;
  
*** /tmp/,RCSt1008384	Fri Aug 24 10:52:24 1990
- --- zwgc/Imakefile	Wed Aug  1 22:45:07 1990
***************
*** 63,69 ****
  ZWGCDESC=$(ACLDIR)/zwgc.desc
  APPDEF=$(ACLDIR)/zwgc_resources
  
! DEFINES=-DREVSTACK -DDEFDESC=\"$(ZWGCDESC)\" -DAPPDEFDATABASE=\"$(APPDEF)\"
  
  normal_obj_rule()
  
- --- 63,69 ----
  ZWGCDESC=$(ACLDIR)/zwgc.desc
  APPDEF=$(ACLDIR)/zwgc_resources
  
! DEFINES=-DREVSTACK -DDEFDESC=\"$(ZWGCDESC)\"
-DAPPDEFDATABASE=\"$(APPDEF)\" -DZWGCPATH=\"$(USRETCDIR)/zwgc\"
  
  normal_obj_rule()
  
*** /tmp/,RCSt1008395	Fri Aug 24 10:52:48 1990
- --- zwgc/standard_ports.c	Wed Aug  1 23:24:17 1990
***************
*** 31,36 ****
- --- 31,40 ----
  #include "error.h"
  #include <zephyr/zephyr.h>
  
+ #ifndef ZWGCPATH
+ #define ZWGCPATH "/usr/etc/zwgc"
+ #endif
+ 
  extern string tty_filter();
  extern char *X_driver();
  
***************
*** 272,283 ****
  	    var_set_variable("output_driver", p->port_name);
  	else { /* no suitable default has been found */
  	    if (fallback == -1)		/* complain, since indeterminate */
! 		ERROR(
  "\7\7\7There is no X display available, so zwgc cannot run.\n\
  THIS MEANS THAT YOU WILL NOT RECEIVE ANY ZEPHYR MESSAGES.\n\
  If you wish to receive Zephyr messages, you should start zwgc\n\
! with the -ttymode option (type '/usr/etc/zwgc -ttymode').\n\
! Read the zwgc(1) manual page for details on the fallback variable.\n\n");
  	    exit(1);
  	}
      } else
- --- 276,288 ----
  	    var_set_variable("output_driver", p->port_name);
  	else { /* no suitable default has been found */
  	    if (fallback == -1)		/* complain, since indeterminate */
! 		ERROR2(
  "\7\7\7There is no X display available, so zwgc cannot run.\n\
  THIS MEANS THAT YOU WILL NOT RECEIVE ANY ZEPHYR MESSAGES.\n\
  If you wish to receive Zephyr messages, you should start zwgc\n\
! with the -ttymode option (type '%s -ttymode').\n\
! Read the zwgc(1) manual page for details on the fallback variable.\n\n",
! 		       ZWGCPATH);
  	    exit(1);
  	}
      } else

------- End of Forwarded Message


home help back first fref pref prev next nref lref last post