$PAGER nor less is available.
$Log$
+ Revision 573.13 2000/10/11 23:03:44 error
+ * utilsmenu: obey $PAGER environment var, if any. Default to more if neither
+ $PAGER nor less is available.
+
Revision 573.12 2000/10/11 22:55:25 error
* citadel.c: when ansi_color=user, enable color at login, so Lobby> posts
displayed at login are in color
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
# version 1.1 - July 1999
# see copyright.txt for copyright information
-MORECMD=less
+if test -n "$PAGER"
+then
+ MORECMD=$PAGER
+elif test -n "$LESSOPEN"
+then
+ MORECMD=less
+else
+ MORECMD=more
+fi
while true
do