[10604] in Athena Bugs

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

hpux patch for athena/athena.bin/olc/clients/tty/t_utils.c

daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Fri Jun 25 13:18:57 1993

From: brlewis@Athena.MIT.EDU
Date: Fri, 25 Jun 93 13:18:47 -0400
To: rel-eng@Athena.MIT.EDU, bugs@Athena.MIT.EDU
Cc: olcdev@Athena.MIT.EDU

HP-UX has /usr/bin/more, but it's not like Athena more, e.g. b doesn't
work.  If the user has a better version of more earlier in the path, use
it.  This makes the execp a little slower, but things are so fast on the
HP I don't think it will be noticeable.

*** /tmp/,RCSt1a18743	Fri Jun 25 13:14:50 1993
--- athena/athena.bin/olc/clients/tty/t_utils.c	Fri Jun 11 13:23:49 1993
***************
*** 29,39 ****
  #endif
  #endif
  
  #ifdef _AUX_SOURCE
  #define MORE_PROG "/bin/more"
  #else
  #define MORE_PROG "/usr/ucb/more"
! #endif
  
  #include <mit-copyright.h>
  #include <olc/olc.h>
--- 29,43 ----
  #endif
  #endif
  
+ #ifdef hpux
+ #define MORE_PROG "more"
+ #else
  #ifdef _AUX_SOURCE
  #define MORE_PROG "/bin/more"
  #else
  #define MORE_PROG "/usr/ucb/more"
! #endif /* _AUX_SOURCE */
! #endif /* hpux */
  
  #include <mit-copyright.h>
  #include <olc/olc.h>

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