[810] in Moira

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

AIX client doesn't handle curses, still... patch enclosed...

daemon@ATHENA.MIT.EDU (Richard Basch)
Thu Oct 20 18:33:16 1994

Date: Thu, 20 Oct 1994 18:33:08 -0400
To: moiradev@MIT.EDU
From: "Richard Basch" <basch@MIT.EDU>


This patch disables the use of menus, until we can find the real
solution.

-Richard

*** /mit/moiradev/src/clients/moira/main.c	Wed Nov 10 15:41:23 1993
--- main.c	Thu Oct 20 18:15:35 1994
***************
*** 48,54 ****
--- 48,58 ----
  uid_t getuid();
  struct passwd *getpwuid();
  
+ #ifdef _AIX
+ Bool use_menu = FALSE;		/* whether or not we are using a menu. */
+ #else
  Bool use_menu = TRUE;		/* whether or not we are using a menu. */
+ #endif
  
  /*	Function Name: main
   *	Description: The main driver for the Moira Client.
***************
*** 87,92 ****
--- 91,100 ----
  	if (**arg == '-') {
  	    if (!strcmp(*arg, "-nomenu"))
  	      use_menu = FALSE;
+ #ifdef _AIX
+ 	    else if (!strcmp(*arg, "-menu"))
+ 	      use_menu = TRUE;
+ #endif
  	    else if (!strcmp(*arg, "-db"))
  	      if (arg - argv < argc - 1) {
  		  ++arg;

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