[comp.sources.unix] v17i006: MGR, Bellcore window manager, Part05/61

rsalz@uunet.uu.net (Rich Salz) (01/18/89)

Submitted-by: Stephen A. Uhler <sau@bellcore.com>
Posting-number: Volume 17, Issue 6
Archive-name: mgr/part05




#! /bin/sh
# This is a shell archive.  Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file".  To overwrite existing
# files, type "sh file -c".  You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g..  If this archive is complete, you
# will see the following message at the end:
#		"End of archive 5 (of 61)."
# Contents:  demo/icon/invert_colormap.c demo/mac/Makefile
#   demo/misc/set_console.c demo/misc/startup.c demo/msg/send.c
#   demo/msg/start demo/sh/Makefile demo/sh/cursor demo/sh/shape
#   demo/sh/square doc/bounce.1 doc/browse.1 doc/clock.1 doc/clock2.1
#   doc/cycle.1 doc/dmgr.1 doc/font.1 doc/lock.1 doc/maze.1
#   doc/oclose.1 doc/overlay.1 doc/shape.1 doc/startup.1
#   doc/usrman/INDEX doc/usrman/croff/Makefile font-16/Usail6x8r
#   font-16/Usail6x8rI font-16/Usail6x8ru font-32/Usail6x8r
#   font-32/Usail6x8rI font-32/Usail6x8ru icon/mouse/Makefile
#   misc/README misc/Utree.out src/blit/bit_on.c src/blit/m4.h
#   src/oblit/bit_on.c src/pixrect/Makefile src/pixrect/sundep.c
# Wrapped by rsalz@papaya.bbn.com on Thu Nov 17 21:04:57 1988
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'demo/icon/invert_colormap.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'demo/icon/invert_colormap.c'\"
else
echo shar: Extracting \"'demo/icon/invert_colormap.c'\" \(1106 characters\)
sed "s/^X//" >'demo/icon/invert_colormap.c' <<'END_OF_FILE'
X/*                        Copyright (c) 1988 Bellcore
X *                            All Rights Reserved
X *       Permission is granted to copy or use this program, EXCEPT that it
X *       may not be sold for profit, the copyright notice must be reproduced
X *       on copies, and credit should be given to Bellcore where it is due.
X *       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X */
X/*	$Header: invert_colormap.c,v 1.1 88/07/08 11:56:37 sau Exp $
X	$Source: /tmp/mgrsrc/demo/icon/RCS/invert_colormap.c,v $
X*/
Xstatic char	RCSid_[] = "$Source: /tmp/mgrsrc/demo/icon/RCS/invert_colormap.c,v $$Revision: 1.1 $";
X
X/* reverse color map */
X
X#include <pixrect/pixrect_hs.h>
X#include <stdio.h>
X
Xmain(argc,argv)
Xint argc; 
Xchar *argv[];
X{
X	register int i;
X	u_char red[256],green[256],blue[256];
X
X	struct pixrect *screen, *window, *rect;
X
X
X	screen = pr_open("/dev/fb");
X
X
X	pr_getcolormap(screen,0,256,red,green,blue);
X	for(i=0;i<256;i++) {
X		red[i] = 255-red[i];
X		green[i] = 255-green[i];
X		blue[i] = 255-blue[i];
X		}
X	pr_putcolormap(screen,0,256,red,green,blue);
X	pr_close(screen);
X}
END_OF_FILE
if test 1106 -ne `wc -c <'demo/icon/invert_colormap.c'`; then
    echo shar: \"'demo/icon/invert_colormap.c'\" unpacked with wrong size!
fi
# end of 'demo/icon/invert_colormap.c'
fi
if test -f 'demo/mac/Makefile' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'demo/mac/Makefile'\"
else
echo shar: Extracting \"'demo/mac/Makefile'\" \(956 characters\)
sed "s/^X//" >'demo/mac/Makefile' <<'END_OF_FILE'
X#                        Copyright (c) 1987 Bellcore
X#                            All Rights Reserved
X#       Permission is granted to copy or use this program, EXCEPT that it
X#       may not be sold for profit, the copyright notice must be reproduced
X#       on copies, and credit should be given to Bellcore where it is due.
X#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X
X#	$Header: Makefile,v 4.1 88/06/30 16:46:51 bianchi Exp $
X#	$Source: /tmp/mgrsrc/demo/mac/RCS/Makefile,v $
X
X# mac stuff
X#
X#	courtesy  S. D. Hawley
X#
X
XCFILES=
XHFILES =
XOTHER = Makefile mp2mgr.hqx
XSTART=.
XCPIO=mac.cpio
XINSROOT=/usr/mgr
XINSDIR=$(INSROOT)/bin
X
XSMALL= mp2mgr.hqx
XALL = $(SMALL)
X
Xall:	$(ALL)
X	@echo See `pwd` for macintosh support things.
X
Xsmall:	$(SMALL)
X
Xfast:
X
Xinstall:	all
X
Xsmallinstall:
X
Xclean:	
X
Xclobber:
X
Xlist:
X	@for i in ${CFILES} ${HFILES} ${OTHER}; do \
X		echo "${START}/$$i"; \
X	done	
X
Xcpio:
X	make -s list | cpio -ocv > ${CPIO}
END_OF_FILE
if test 956 -ne `wc -c <'demo/mac/Makefile'`; then
    echo shar: \"'demo/mac/Makefile'\" unpacked with wrong size!
fi
# end of 'demo/mac/Makefile'
fi
if test -f 'demo/misc/set_console.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'demo/misc/set_console.c'\"
else
echo shar: Extracting \"'demo/misc/set_console.c'\" \(818 characters\)
sed "s/^X//" >'demo/misc/set_console.c' <<'END_OF_FILE'
X/* redirect sun console output to this window */
X
X#include <stdio.h>
X#include <sys/ioctl.h>
X#include <sys/types.h>
X#include <sundev/kbio.h>
X
Xmain(argc,argv)
Xint argc;
Xchar **argv;
X	{
X	int fd;
X	int kbd;
X	int one = 1;
X	int mode = 0;
X   char *name, *ttyname();
X
X	/* make sure kbd is in direct mode */
X
X	if ((kbd = open("/dev/kbd",0)) < 0 ) {
X		perror("open");
X		exit(1);
X		}
X	if (ioctl(kbd,KIOCGDIRECT,&mode) < 0 ) {
X		perror("kbd ioctl");
X		exit(1);
X		}
X
X	if (mode != 1) {
X		fprintf(stderr,"Keyboard not in direct mode\n");
X		exit(1);
X		}
X
X	if (**argv == 'r') 		/* reset console */
X		fd = open("/dev/console");
X	else
X		fd = 2;
X
X   if (fd) {
X      name = ttyname(fd);
X   	if (name) {
X         ioctl(fd,TIOCCONS,&one);
X         printf("Redirecting CONSOLE output to: %s\n",name);
X         exit(0);
X         }
X      }
X   }
END_OF_FILE
if test 818 -ne `wc -c <'demo/misc/set_console.c'`; then
    echo shar: \"'demo/misc/set_console.c'\" unpacked with wrong size!
fi
# end of 'demo/misc/set_console.c'
fi
if test -f 'demo/misc/startup.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'demo/misc/startup.c'\"
else
echo shar: Extracting \"'demo/misc/startup.c'\" \(1024 characters\)
sed "s/^X//" >'demo/misc/startup.c' <<'END_OF_FILE'
X/*                        Copyright (c) 1987 Bellcore
X *                            All Rights Reserved
X *       Permission is granted to copy or use this program, EXCEPT that it
X *       may not be sold for profit, the copyright notice must be reproduced
X *       on copies, and credit should be given to Bellcore where it is due.
X *       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X */
X/*	$Header: startup.c,v 4.2 88/06/22 14:38:09 bianchi Exp $
X	$Source: /tmp/mgrsrc/demo/misc/RCS/startup.c,v $
X*/
Xstatic char	RCSid_[] = "$Source: /tmp/mgrsrc/demo/misc/RCS/startup.c,v $$Revision: 4.2 $";
X
X/* generate a startup file from existing window configuration */
X
X#include "term.h"
X
X
Xmain(argc,argv)
Xint argc;
Xchar **argv;
X   {
X   register int i;
X   int count;
X   struct window_data data;
X
X   ckmgrterm( *argv );
X
X   m_setup(0);
X   while( get_eachwin( &data ) )
X      if (data.num == 0)
X         printf("window %d\t%d\t%d\t%d\n",
X            data.x, data.y, data.w, data.h);
X   printf("done\n");
X   } 
END_OF_FILE
if test 1024 -ne `wc -c <'demo/misc/startup.c'`; then
    echo shar: \"'demo/misc/startup.c'\" unpacked with wrong size!
fi
# end of 'demo/misc/startup.c'
fi
if test -f 'demo/msg/send.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'demo/msg/send.c'\"
else
echo shar: Extracting \"'demo/msg/send.c'\" \(905 characters\)
sed "s/^X//" >'demo/msg/send.c' <<'END_OF_FILE'
X/*	$Header: send.c,v 4.1 88/06/21 14:02:46 bianchi Exp $
X	$Source: /tmp/mgrsrc/demo/msg/RCS/send.c,v $
X*/
Xstatic char	RCSid_[] = "$Source: /tmp/mgrsrc/demo/msg/RCS/send.c,v $$Revision: 4.1 $";
X
X/*                        Copyright (c) 1987 Bellcore
X *                            All Rights Reserved
X *       Permission is granted to copy or use this program, EXCEPT that it
X *       may not be sold for profit, the copyright notice must be reproduced
X *       on copies, and credit should be given to Bellcore where it is due.
X *       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X */
X#include	"term.h"
X
X/* sent a message to a server */
X
Xmain(argc,argv)
Xint argc;
Xchar **argv;
X   {
X   char *dot, *index();
X
X   ckmgrterm( *argv );
X
X   if (argc < 2)
X      exit (0);
X
X   if (dot=index(argv[1],'.'))
X      *dot = '\0';
X
X   m_setup( M_FLUSH );
X   m_sendto( atoi(argv[1]), "F $" );
X   }
END_OF_FILE
if test 905 -ne `wc -c <'demo/msg/send.c'`; then
    echo shar: \"'demo/msg/send.c'\" unpacked with wrong size!
fi
# end of 'demo/msg/send.c'
fi
if test -f 'demo/msg/start' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'demo/msg/start'\"
else
echo shar: Extracting \"'demo/msg/start'\" \(1152 characters\)
sed "s/^X//" >'demo/msg/start' <<'END_OF_FILE'
X#!/bin/sh
X#                        Copyright (c) 1987 Bellcore
X#                            All Rights Reserved
X#       Permission is granted to copy or use this program, EXCEPT that it
X#       may not be sold for profit, the copyright notice must be reproduced
X#       on copies, and credit should be given to Bellcore where it is due.
X#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X
X#  $Header: font,v 4.1 88/06/21 14:0
X
X#	start a server
X
XDO=do
Xchmod go-w `tty`  || echo "MGR not suid-root, fatal error"
X
Xcase $1 in
X   oldvi )   exec $DO -i -c vi eye_bld3 eye_bld1;;
X   vi | edit ) exec $DO -i -c do_vi eye_bld3 eye_bld1;;
X   hm )      exec $DO -i -W -n hm -c "hm -s" file_shut file_open;;
X   remove )  exec $DO -i -W -c remove gcan_shut gcan_open;;
X   print )   exec $DO -i -W -n print -c "lpr -P$2 " ptr_laser ptr_laseron;;
X   oldmore ) exec $DO -i -p -c more scroll_1 thinker;;
X   more )    exec $DO -i -c do_more scroll_1 thinker;;
X   file )    exec $DO -i -p -c do_file frog1 frog2;;
X   ls )      exec $DO -i -p -c do_ls frog1 frog2;;
X   * )	     echo "try one of vi,hm,remove,more,file,ls,print <printer>";;
Xesac
END_OF_FILE
if test 1152 -ne `wc -c <'demo/msg/start'`; then
    echo shar: \"'demo/msg/start'\" unpacked with wrong size!
fi
chmod +x 'demo/msg/start'
# end of 'demo/msg/start'
fi
if test -f 'demo/sh/Makefile' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'demo/sh/Makefile'\"
else
echo shar: Extracting \"'demo/sh/Makefile'\" \(931 characters\)
sed "s/^X//" >'demo/sh/Makefile' <<'END_OF_FILE'
X#                        Copyright (c) 1987 Bellcore
X#                            All Rights Reserved
X#       Permission is granted to copy or use this program, EXCEPT that it
X#       may not be sold for profit, the copyright notice must be reproduced
X#       on copies, and credit should be given to Bellcore where it is due.
X#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X
X#	$Header: Makefile,v 4.3 88/08/12 07:42:55 sau Exp $
X#	$Source: /tmp/mgrsrc/demo/sh/RCS/Makefile,v $
X
X# makefile for shell files 
X
XINSROOT=/usr/mgr
XINSDIR=$(INSROOT)/bin
X
XALL = bury font loadfont menu more shape showfont square vi c_menu color cursor
X
XSTART = .
X
Xall small fast:	$(ALL)
X
X
Xinstall smallinstall:	$(ALL) $(INSDIR)
X		cd $(INSDIR);  rm -f $(ALL)
X		cp $(ALL) $(INSDIR)
X		cd $(INSDIR);  chmod 755 $(ALL)
X
X$(INSDIR):
X		mkdir $@
X
Xclean clobber:
X
Xlist:
X	@for i in $(ALL) Makefile; do \
X		echo "$(START)/$$i"; \
X	done	
END_OF_FILE
if test 931 -ne `wc -c <'demo/sh/Makefile'`; then
    echo shar: \"'demo/sh/Makefile'\" unpacked with wrong size!
fi
# end of 'demo/sh/Makefile'
fi
if test -f 'demo/sh/cursor' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'demo/sh/cursor'\"
else
echo shar: Extracting \"'demo/sh/cursor'\" \(982 characters\)
sed "s/^X//" >'demo/sh/cursor' <<'END_OF_FILE'
X#!/bin/sh
X#                        Copyright (c) 1987 Bellcore
X#                            All Rights Reserved
X#       Permission is granted to copy or use this program, EXCEPT that it
X#       may not be sold for profit, the copyright notice must be reproduced
X#       on copies, and credit should be given to Bellcore where it is due.
X#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X
X#	$Header: cursor,v 1.1 88/08/12 07:44:06 sau Exp $
X#	$Source: /tmp/mgrsrc/demo/sh/RCS/cursor,v $
X
X#	set cursor style
XSET=h
XESC=^[
X
Xif /bin/test $TERM != mgr
Xthen
X   echo "$0 only works on mgr terminals"
X   exit 1
Xfi
X
Xcase $1 in
X	n*)		echo -n $ESC$SET;;
X	l*)		echo -n ${ESC}1$SET;;
X	b*)		echo -n ${ESC}3$SET;;
X	u*)			echo -n ${ESC}4$SET;;
X	r*)			echo -n ${ESC}2$SET;;
X	i*)			echo -n ${ESC}5$SET;;
X	*)				echo "Specify one of:"
X					echo " n(ormal)"
X					echo " b(ox)"
X					echo " u(nderline)"
X					echo " l(eft)"
X					echo " r(ight)"
X					echo " i(nvisible)";;
Xesac
END_OF_FILE
if test 982 -ne `wc -c <'demo/sh/cursor'`; then
    echo shar: \"'demo/sh/cursor'\" unpacked with wrong size!
fi
chmod +x 'demo/sh/cursor'
# end of 'demo/sh/cursor'
fi
if test -f 'demo/sh/shape' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'demo/sh/shape'\"
else
echo shar: Extracting \"'demo/sh/shape'\" \(812 characters\)
sed "s/^X//" >'demo/sh/shape' <<'END_OF_FILE'
X#!/bin/sh
X#                        Copyright (c) 1987 Bellcore
X#                            All Rights Reserved
X#       Permission is granted to copy or use this program, EXCEPT that it
X#       may not be sold for profit, the copyright notice must be reproduced
X#       on copies, and credit should be given to Bellcore where it is due.
X#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X
X#	$Header: shape,v 4.1 88/06/21 14:01:37 bianchi Exp $
X#	$Source: /tmp/mgrsrc/demo/sh/RCS/shape,v $
X
X#	reshape a window
X
XESC="^["
XSHAPE="w"
X
Xif /bin/test $TERM != mgr
Xthen
X   echo "$0 only works on mgr terminals"
X   exit 1
Xfi
X
Xcase $# in
X   0) echo -n "${ESC}80,24$SHAPE" ;;
X   1) echo -n "${ESC}0,$1$SHAPE" ;;
X   2) echo -n "${ESC}$1,$2$SHAPE" ;;
X   *) echo "usage: $0 <columns> <rows>" ;;
Xesac
END_OF_FILE
if test 812 -ne `wc -c <'demo/sh/shape'`; then
    echo shar: \"'demo/sh/shape'\" unpacked with wrong size!
fi
chmod +x 'demo/sh/shape'
# end of 'demo/sh/shape'
fi
if test -f 'demo/sh/square' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'demo/sh/square'\"
else
echo shar: Extracting \"'demo/sh/square'\" \(974 characters\)
sed "s/^X//" >'demo/sh/square' <<'END_OF_FILE'
X#!/bin/sh
X#                        Copyright (c) 1987 Bellcore
X#                            All Rights Reserved
X#       Permission is granted to copy or use this program, EXCEPT that it
X#       may not be sold for profit, the copyright notice must be reproduced
X#       on copies, and credit should be given to Bellcore where it is due.
X#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X
X#	$Header: square,v 4.1 88/06/21 14:01:40 bianchi Exp $
X#	$Source: /tmp/mgrsrc/demo/sh/RCS/square,v $
X
X# square a window 
X
XESC="^["
XSHAPE="W"
XSIZE="4I"
X
Xif /bin/test $TERM != mgr
Xthen
X   echo "$0 only works on mgr terminals"
X   exit 1
Xfi
X
X#	get current size
X
Xstty -echo
Xecho -n "${ESC}${SIZE}"
Xread x y wide high
Xstty echo
Xcase $# in
X   0) echo -n "${ESC}$x,$y,$wide,$wide$SHAPE" ;;
X   1) echo -n "${ESC}$x,$y,$1,$1$SHAPE" ;;
X   2) high=`expr $1 '*' $2 / 100`
X      echo -n "${ESC}$x,$y,$1,$high$SHAPE" ;;
X   *) echo "usage: $0 [size] [aspect ratio]";;
Xesac
END_OF_FILE
if test 974 -ne `wc -c <'demo/sh/square'`; then
    echo shar: \"'demo/sh/square'\" unpacked with wrong size!
fi
chmod +x 'demo/sh/square'
# end of 'demo/sh/square'
fi
if test -f 'doc/bounce.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/bounce.1'\"
else
echo shar: Extracting \"'doc/bounce.1'\" \(834 characters\)
sed "s/^X//" >'doc/bounce.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: bounce.1,v 4.1 88/06/21 13:51:18 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/bounce.1,v $
X.TH bounce 1L "April 30, 1985"
X.SH NAME
Xbounce \- A standard graphics demo
X.SH SYNOPSIS
X.B bounce
X[ \fB\-s\fP ]
X.SH DESCRIPTION
X.B Bounce
Xbounces 10 lines around the window forever.
XThe
X.B \-s
Xflag bounces the lines slower.
XBounce stops if its window is obscured.
X.SH SEE ALSO
Xmgr(1L)
X.SH AUTHOR
XD. Nachbar
END_OF_FILE
if test 834 -ne `wc -c <'doc/bounce.1'`; then
    echo shar: \"'doc/bounce.1'\" unpacked with wrong size!
fi
# end of 'doc/bounce.1'
fi
if test -f 'doc/browse.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/browse.1'\"
else
echo shar: Extracting \"'doc/browse.1'\" \(1212 characters\)
sed "s/^X//" >'doc/browse.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: browse.1,v 4.1 88/06/21 13:51:20 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/browse.1,v $
X.TH browse 1L "June 30, 1986"
X.SH NAME
Xbrowse \- An icon browser for MGR
X.SH SYNOPSIS
X.B browse
X\fBfilename\fP...
X.SH DESCRIPTION
X.B Browse
Xdisplays the icon files specified on the command line in the current window.
XIf all of the icons specified won't fit in the window, the pop-up menu accessed from the
Xmiddle mouse button permits paging back and forth among the icons.
X.LP
XThe Right or
X.I pointing
Xbutton of the mouse, when clicked over an 
X.I icon,
Xhighlights the icon and prints its filename.
X.SH BUGS
X.TP 
X*
XThe icon files are read from the same host
X.I MGR
Xis executing on, not the host 
X.I browse is running on.
X.SH SEE ALSO
Xmgr(1L)
Xbitmap(5L)
Xzoom(1L)
X.SH AUTHOR
XS. A. Uhler
END_OF_FILE
if test 1212 -ne `wc -c <'doc/browse.1'`; then
    echo shar: \"'doc/browse.1'\" unpacked with wrong size!
fi
# end of 'doc/browse.1'
fi
if test -f 'doc/clock.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/clock.1'\"
else
echo shar: Extracting \"'doc/clock.1'\" \(1058 characters\)
sed "s/^X//" >'doc/clock.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: clock.1,v 4.1 88/06/21 13:51:24 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/clock.1,v $
X.TH clock 1L "April 30, 1985"
X.SH NAME
Xclock \- Digital display of time of day on a 
X.I mgr
Xterminal.
X.SH SYNOPSIS
X.B clock
X[ \fB\-b\fP ]
X[ \fB\-f\fP<font> ]
X[ \fB\-s\fP ]
X.SH DESCRIPTION
X.B Clock
Xdisplays a time of day clock on a 
X.I mgr
Xwindow.
XThe window shrinks to just enclose the display.
XThe
X.B -f
Xflag is used to specify the font to use
Xfor the display.
X.B clock -f5
Xis typical.
X.B -b
Xpushes the clock to the bottom of the display, and
X.B -s
Xdoesn't reshape the window.
X.SH SEE ALSO
Xclock2(1L)
Xmgr(1L)
X.SH AUTHOR
XS. A. Uhler
END_OF_FILE
if test 1058 -ne `wc -c <'doc/clock.1'`; then
    echo shar: \"'doc/clock.1'\" unpacked with wrong size!
fi
# end of 'doc/clock.1'
fi
if test -f 'doc/clock2.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/clock2.1'\"
else
echo shar: Extracting \"'doc/clock2.1'\" \(879 characters\)
sed "s/^X//" >'doc/clock2.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: clock2.1,v 4.1 88/06/21 13:51:26 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/clock2.1,v $
X.TH clock2 1L "April 30, 1985"
X.SH NAME
Xclock2 \- Analog display of time of day on a 
X.I mgr
Xterminal.
X.SH SYNOPSIS
X.B clock2
X.SH DESCRIPTION
X.B Clock2
Xdraws an analog clock face that fills the current window, on which
Xit shows the current time of day.
XSquare-ish windows produce the best results.
X.SH SEE ALSO
Xclock(1L)
Xmgr(1L)
X.SH AUTHOR
XS. A. Uhler
END_OF_FILE
if test 879 -ne `wc -c <'doc/clock2.1'`; then
    echo shar: \"'doc/clock2.1'\" unpacked with wrong size!
fi
# end of 'doc/clock2.1'
fi
if test -f 'doc/cycle.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/cycle.1'\"
else
echo shar: Extracting \"'doc/cycle.1'\" \(1077 characters\)
sed "s/^X//" >'doc/cycle.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: cycle.1,v 4.2 88/06/24 17:32:25 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/cycle.1,v $
X.TH cycle 1L "June 24, 1988"
X.SH NAME
Xcycle \- Display a sequence of icons on an 
X.I mgr
Xterminal.
X.SH SYNOPSIS
X.B cycle
X[ \fB\-sspeed\fP ] [ \fB\-r\fP ] icon1 icon2 [ ... \fB<icon\fP\fIn\fP>\fP ]
X.SH DESCRIPTION
X.B cycle
Xwill display the list of specified icons in sequence in an
X.B mgr
Xwindow.
X
XThe flag
X.B \-s speed
Xsets the delay between frames in micro-seconds
X
XThe flag
X.B \-r
Xcauses the frames to be run forward and then in reverse and then repeat,
Xrather than just running them forward repeatedly.
X.SH SEE ALSO
Xmgr(1L)
X.SH AUTHOR
XS. D.  Hawley
END_OF_FILE
if test 1077 -ne `wc -c <'doc/cycle.1'`; then
    echo shar: \"'doc/cycle.1'\" unpacked with wrong size!
fi
# end of 'doc/cycle.1'
fi
if test -f 'doc/dmgr.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/dmgr.1'\"
else
echo shar: Extracting \"'doc/dmgr.1'\" \(1084 characters\)
sed "s/^X//" >'doc/dmgr.1' <<'END_OF_FILE'
X.TH dmgr 1L "December 12, 1987"
X.SH NAME
XDmgr \- A rudimentary troff previewer for mgr
X.SH SYNOPSIS
Xditroff 
X[ \fI<ditroff args>\fP ] ... \(br
X.B Dmgr
X.SH DESCRIPTION
X.B Dmgr
Xis a simple 
X.I troff
Xpreviewer for 
X.I MGR .
XIt reads
X.I ditroff
Xoutput
Xand places characters on an
X.I MGR
Xwindow in their proper relative location on
Xthe page, using whatever 
X.I MGR
Xcharacter font happens to be current.
XBold face is indicated by overstiking, italics by underlining.
X.B Dmgr
Xpauses at the end of every page and rings the bell.
XA 
X.I RETURN
Xcauses 
X.B dmgr
Xto continue with the next page.
X.SH BUGS
X.TP 3
X*
X.B Dmgr
Xuses the current 
X.I Mgr
Xfont for output, which is probably never the appropriate font to use.
XAs such 
X.B Dmgr
Xis useful for previewing the page layout; not for actually reading the 
Xdocument.
X.TP 3
X*
X.B Dmgr
Xdoesn't know about special characters or ligatures,
Xwhich are printed as dashes "-".
X.TP 3
X*
X.B Dmgr
Xinvents a page size, suitable for 8-\(12 by 11 inch printers
Xinstead of extracting it from 
X.I ditroff
Xoutput.
X.SH SEE ALSO
Xmgr(1L) ditroff(1)
X.SH AUTHOR
XS. A. Uhler
END_OF_FILE
if test 1084 -ne `wc -c <'doc/dmgr.1'`; then
    echo shar: \"'doc/dmgr.1'\" unpacked with wrong size!
fi
# end of 'doc/dmgr.1'
fi
if test -f 'doc/font.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/font.1'\"
else
echo shar: Extracting \"'doc/font.1'\" \(826 characters\)
sed "s/^X//" >'doc/font.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: font.1,v 4.1 88/06/21 13:51:32 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/font.1,v $
X.TH font 1L "April 30, 1985"
X.SH NAME
Xfont \- change to a new font in a
X.I mgr
Xwindow.
X.SH SYNOPSIS
X.B font
X[ \fB<font number>\fP ]
X.SH DESCRIPTION
X.B font
XChanges the current font to the number indicated,
Xor to the default font if
X.I font number
Xis omitted.
X.SH SEE ALSO
Xmgr(1L)
X.SH AUTHOR
XS. A. Uhler
END_OF_FILE
if test 826 -ne `wc -c <'doc/font.1'`; then
    echo shar: \"'doc/font.1'\" unpacked with wrong size!
fi
# end of 'doc/font.1'
fi
if test -f 'doc/lock.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/lock.1'\"
else
echo shar: Extracting \"'doc/lock.1'\" \(1013 characters\)
sed "s/^X//" >'doc/lock.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: lock.1,v 1.1 88/07/20 11:12:25 sau Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/lock.1,v $
X.TH lock local
X.SH NAME
Xlock \- lock the sun console
X.SH SYNOPSIS
Xlock
X.SH DESCRIPTION
X.B lock
Xdisplays a screen-phosphor saving pattern on the sun console.  When
Xyou login password is typed on standard input, the screen is restored.
XIf you mistype your password, the pattern direction reverses, and
Xyou may try again.
X.SH FILES
X.TP *
X/dev/bwtwo0	to find the screen
X.TP *
X/etc/passwd	to check the login password
X.SH SEE ALSO
Xlockscreen(1)
X.SH BUGS
XError checking is poor
X.SH AUTHOR
XS. A. Uhler
END_OF_FILE
if test 1013 -ne `wc -c <'doc/lock.1'`; then
    echo shar: \"'doc/lock.1'\" unpacked with wrong size!
fi
# end of 'doc/lock.1'
fi
if test -f 'doc/maze.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/maze.1'\"
else
echo shar: Extracting \"'doc/maze.1'\" \(1199 characters\)
sed "s/^X//" >'doc/maze.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: maze.1,v 4.1 88/06/21 13:51:41 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/maze.1,v $
X.TH maze 1L "March 30, 1986"
X.SH NAME
XMaze \-  A graphical game of solitare
X.SH SYNOPSIS
X.B maze
X.SH DESCRIPTION
X.B Maze
Xdraws a maze and permits you to navigate around it while displaying both a top and
Xperspective view. 
XThe
X.B f
X(or
X.B space
X),
X.B r,
X.B l,
Xand
X.B b
Xkeys move you
Xforward, right, left, and
Xbackwards respectively.
XYou can sometimes see others in the maze if they are playing
X.B maze
Xsomewhere else on the network.
X.SH BUGS
X.TP 3
X*
XThis is truly a mindless endeavor.
X.TP 3
X*
XWhen other maze players die, they leave ghosts in the maze.
X.SH SEE ALSO
Xmgr(1L)
X.SH ACKNOWLEDGEMENTS
XThis program was written by 
X.I "J. Gosling"
Xfor
X.I Andrew
Xand ported to
X.B mgr.
END_OF_FILE
if test 1199 -ne `wc -c <'doc/maze.1'`; then
    echo shar: \"'doc/maze.1'\" unpacked with wrong size!
fi
# end of 'doc/maze.1'
fi
if test -f 'doc/oclose.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/oclose.1'\"
else
echo shar: Extracting \"'doc/oclose.1'\" \(1204 characters\)
sed "s/^X//" >'doc/oclose.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: oclose.1,v 4.1 88/06/21 13:51:56 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/oclose.1,v $
X.TH oclose 1L "April 30, 1985"
X.SH NAME
Xoclose \- Close a 
X.I mgr
Xwindow.
X.SH SYNOPSIS
X.B oclose
X[ \fB<message>\fP ]
X[ \fB-F\fPn ]
X.SH DESCRIPTION
X.B Oclose
XMakes the current window very small, displays
X.I message
Xin it, and moves it to the bottom of the screen.
XUpon reactivating the window, it returns to its former size and position.
XIf no
X.I message
Xis given,
Xthe current 
X.I hostname
Xis displayed instead.
XAn optional font number may be specified to indicate
Xthe font in which
X.I message 
Xis displayed.
X.SH BUGS
X.TP 3
X*
X.I oclose
Xdoes a poor job of placing the icon.
X.TP 3
X*
XNot all windows on the screen may be closed at once.
X.SH SEE ALSO
Xmgr(1L)
X.SH AUTHOR
XS. A. Uhler
END_OF_FILE
if test 1204 -ne `wc -c <'doc/oclose.1'`; then
    echo shar: \"'doc/oclose.1'\" unpacked with wrong size!
fi
# end of 'doc/oclose.1'
fi
if test -f 'doc/overlay.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/overlay.1'\"
else
echo shar: Extracting \"'doc/overlay.1'\" \(1017 characters\)
sed "s/^X//" >'doc/overlay.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: overlay.1,v 4.1 88/06/29 14:06:17 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/overlay.1,v $
X.TH overlay 1L "November 15, 1987"
X.SH NAME
Xoverlay \- Enable or disable the overlay plane on a Sun 110.
X.B MGR .
X.SH SYNOPSIS
Xoverlay on|off
X.SH DESCRIPTION
X.B Overlay
Xenables or disables the overlay plane on Sun's that have them.
XSetting the overlay plane 
X.I on
Xcauses the monochrome plane to obscure
Xthe color planes.
XSetting the overlay plane
X.I off
Xturns off the monochrome frame buffer, permitting the color frame buffer to 
Xbe visible.
X.SH SEE ALSO
Xmgr(1L)
X.SH AUTHOR
XS. A. Uhler
END_OF_FILE
if test 1017 -ne `wc -c <'doc/overlay.1'`; then
    echo shar: \"'doc/overlay.1'\" unpacked with wrong size!
fi
# end of 'doc/overlay.1'
fi
if test -f 'doc/shape.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/shape.1'\"
else
echo shar: Extracting \"'doc/shape.1'\" \(1070 characters\)
sed "s/^X//" >'doc/shape.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: shape.1,v 4.1 88/06/21 13:52:05 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/shape.1,v $
X.TH shape 1L "April 30, 1985"
X.SH NAME
Xshape \- Reshape
X.I mgr
Xwindow.
X.SH SYNOPSIS
X.B shape
X[ \fB<columns>\fP ]
X[ \fB<rows>\fP ]
X.SH DESCRIPTION
X.B Shape
XReshapes the window to the specified number of 
X.I columns
Xand
X.I rows.
XWith no arguments
X.I shape
Xmakes an 
X.I 80 column
Xby
X.I 24 row
Xwindow.
XWith one argument,
X.I shape
Xchanges the number of lines to the number given,
Xleaving the number of columns unchanged.
X.SH BUGS
XGiven unreasonable arguments,
X.I shape
Xdoesn't guarantee reasonable results
X.SH SEE ALSO
Xmgr(1L)
X.SH AUTHOR
XS. A. Uhler
END_OF_FILE
if test 1070 -ne `wc -c <'doc/shape.1'`; then
    echo shar: \"'doc/shape.1'\" unpacked with wrong size!
fi
# end of 'doc/shape.1'
fi
if test -f 'doc/startup.1' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/startup.1'\"
else
echo shar: Extracting \"'doc/startup.1'\" \(981 characters\)
sed "s/^X//" >'doc/startup.1' <<'END_OF_FILE'
X'\"                        Copyright (c) 1988 Bellcore
X'\"                            All Rights Reserved
X'\"       Permission is granted to copy or use this program, EXCEPT that it
X'\"       may not be sold for profit, the copyright notice must be reproduced
X'\"       on copies, and credit should be given to Bellcore where it is due.
X'\"       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X'\"
X'\"	$Header: startup.1,v 4.1 88/06/21 13:52:11 bianchi Exp $
X'\"	$Source: /tmp/mgrsrc/doc/RCS/startup.1,v $
X.TH startup 1L "April 30, 1985"
X.SH NAME
Xstartup \- produce a 
X.B startup
Xfile reflecting the current
X.I mgr
Xscreen layout.
X.SH SYNOPSIS
X.B startup
X.SH DESCRIPTION
X.B Startup
Xproduces the current
X.I mgr
Xwindow layout on its standard output,
Xin a form suitable for the 
X.I mgr
Xstartup file,
X.B $HOME/.mgrc.
X.SH BUGS
X.I startup
Xproduces only the windows positions, neglecting the fonts and commands
Xcurrently running in the windows.
X.SH SEE ALSO
Xmgr(1L)
END_OF_FILE
if test 981 -ne `wc -c <'doc/startup.1'`; then
    echo shar: \"'doc/startup.1'\" unpacked with wrong size!
fi
# end of 'doc/startup.1'
fi
if test -f 'doc/usrman/INDEX' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/usrman/INDEX'\"
else
echo shar: Extracting \"'doc/usrman/INDEX'\" \(983 characters\)
sed "s/^X//" >'doc/usrman/INDEX' <<'END_OF_FILE'
X#!/bin/sh
X#                        Copyright (c) 1988 Bellcore
X#                            All Rights Reserved
X#       Permission is granted to copy or use this program, EXCEPT that it
X#       may not be sold for profit, the copyright notice must be reproduced
X#       on copies, and credit should be given to Bellcore where it is due.
X#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X
X#	$Header: INDEX,v 4.2 88/06/30 12:44:46 bianchi Exp $
X#	$Source: /tmp/mgrsrc/doc/usrman/RCS/INDEX,v $
X
X
X# make an index from troff index generation pass
X
Xgrep '^[a-z]' $*  |
X	sort  +0 -1 -d  +1 -2 -n +2 -3 -r  |
X	awk '
X	BEGIN	{
X			name = ""
X			num = 0
X			printf ".na\n.Ih"
X		}
X	name != $1 {
X			name = $1
X			printf "\n.br\n%s", $1
X			num = 0
X		}
X	num != $2 {
X			if( num != 0 )
X				printf ","
X			if ($3 == "*")	# defining reference
X				printf " \\fI%s\\fP",$2
X			else		# additional reference
X				printf " %s", $2
X			num = $2
X		}
X	END	{
X			printf "\n.br\n.ad\n"
X		}
X	'
END_OF_FILE
if test 983 -ne `wc -c <'doc/usrman/INDEX'`; then
    echo shar: \"'doc/usrman/INDEX'\" unpacked with wrong size!
fi
chmod +x 'doc/usrman/INDEX'
# end of 'doc/usrman/INDEX'
fi
if test -f 'doc/usrman/croff/Makefile' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/usrman/croff/Makefile'\"
else
echo shar: Extracting \"'doc/usrman/croff/Makefile'\" \(1113 characters\)
sed "s/^X//" >'doc/usrman/croff/Makefile' <<'END_OF_FILE'
X#                        Copyright (c) 1988 Bellcore
X#                            All Rights Reserved
X#       Permission is granted to copy or use this program, EXCEPT that it
X#       may not be sold for profit, the copyright notice must be reproduced
X#       on copies, and credit should be given to Bellcore where it is due.
X#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X
X#	$Header: Makefile,v 1.4 88/07/08 13:51:00 sau Exp $
X#	$Source: /tmp/mgrsrc/doc/usrman/croff/RCS/Makefile,v $
X
X# Makefile for Troff C-Preprocessor
X
XSTART=.
X
X#	hash table size (for keywords)
XBUCKETS = 59
XCFLAGS = -g -DHSIZE=$(BUCKETS)
XCPIO=croff.cpio
X
Xcroff:		croff.o hash.o hash.h keys.o
X		cc -o croff croff.o hash.o keys.o
X
Xkeys.c:		keys mktable
X		< keys ./mktable -n keywords $(BUCKETS) > keys.c
X
Xmktable:	mktable.o hash.o hash.h
X		cc $(CFLAGS) -o mktable mktable.o hash.o
X
Xclean:		
X		rm -f *.o core keys.c mktable lex.yy.c
X
Xlist:
X	@for i in Makefile README croff.1 croff.l hash.c hash.h keys mktable.c; do \
X		echo "$(START)/$$i"; \
X	done
X
Xcpio:
X		make -s list | cpio -ocva > $(CPIO)
X
Xinstall: croff
X		
END_OF_FILE
if test 1113 -ne `wc -c <'doc/usrman/croff/Makefile'`; then
    echo shar: \"'doc/usrman/croff/Makefile'\" unpacked with wrong size!
fi
# end of 'doc/usrman/croff/Makefile'
fi
if test -f 'font-16/Usail6x8r' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'font-16/Usail6x8r'\"
else
echo shar: Extracting \"'font-16/Usail6x8r'\" \(1097 characters\)
sed "s/^X//" >'font-16/Usail6x8r' <<'END_OF_FILE'
Xbegin 644 sail6x8r.fnt
XM%@8( H   $ &    0J_P . ,  &)1?     !     $**$?,"$(     ",$,,
XM$>,>,,     ,.,<,<>>,2..1011,<.<,?21111>.0.$ $ 0 " & 0$$0,   
XM    (      &$8 ??$ )$ '?(5_P 0*"/>))1!.  $(""$?1 $*?/94"($5$
XM   $2,22,00"22$(" (2122220022$"20;922122$211*1"(("* $,<..,(.
XM4  2$:4,4*4.>21112>($$(?1$-.*?(*$J_P 65'0!))?'5* "5?$" * $**
XM4"($0".$   $6$"$4<<$,2$($>$"72<02<<0>$"40552212($215$.$(("1 
XM""2022<2:,,4$5:2:6:0(211*2"($$5?552)1!.**5_P 55)0!))1!;? ?"$
XM(!?$ $ *.$5 0";? > (:$,">"2$2.  ( ",7>2020062$"<0532<5<$$2*5
XM*$(($"   .202<(22$$8$522220,(2*5$2$0$""?1.2) !(*1J_P .5)/>))
XM*!5* " ?$"     ?%+2 0".$$ $(2$02$22(2"$($>$ 022220022$220112
XM0342$2*;1$0($"   22020(.2$$4$522:60"(6*5*.(($$ ??$-.  ')15_P
XM %*&  )&$?.  $ ("$?  $ *>3= ($5$$ $0,.>,$,,(,,$(" ((.2<,<>0,
XM2.,1>11,0.2,$,$11$>(""   *<...("2$$2$52,4*0<&*$*1">($$ ?   (
XM     J_P %          ?  0//      $   $(  (              0    
XM                 !         . . >       <  8     0"       < &
XM$8 ?         5_P                                            
XM                                                            
X)            
X 
Xend
END_OF_FILE
if test 1097 -ne `wc -c <'font-16/Usail6x8r'`; then
    echo shar: \"'font-16/Usail6x8r'\" unpacked with wrong size!
fi
# end of 'font-16/Usail6x8r'
fi
if test -f 'font-16/Usail6x8rI' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'font-16/Usail6x8rI'\"
else
echo shar: Extracting \"'font-16/Usail6x8rI'\" \(1098 characters\)
sed "s/^X//" >'font-16/Usail6x8rI' <<'END_OF_FILE'
Xbegin 644 sail6x8rI.fnt
XM%@8( H  _[_Y____O5 /_Q_S__YVN@_____^___  [UU[@S][W_____]S[SS
XM[ASASS_____SQSCSCAASMQQNONNSCQCS@MNNNNAQOQ[_[_O_]_Y_O[[OS___
XM____W______Y[G_@@[_V[_X@WJ /_OU]PAVVN^Q__[W]][@1 [U@PFK]W[J[
XM___[MSMMSOO]MM[W]_WMNMMMMOOMM[]MODFMMNMM[MNNUN]WW]U_[SCQQSWQ
XMK__M[EKSKUKQAMNNNMAW[[W@N[RQU@WU[5 /_IJXO^VV@XJU_]J@[]_* [UU
XMK]W[O]Q[___[I[][KCC[SM[W[A[]HMCOMCCOA[]KOJJMMNMW[MNJ[Q[WW]N_
XM]]MOMMCMESSK[JEMEIEOWMNNUM]W[[J@JJMVN^QUUJ /_JJVO^VVN^D@_@][
XMW^@$ [_UQ[J_O]D@_A_WE[S]A]M[MQ__W_]SHAMOMOOIM[]COJLMCJC[[MUJ
XMU[WW[]___QMOMCWMM[[G[JMMMMOSWMUJ[M[O[]]@NQMV_^WUN5 /_QJVPAVV
XMU^JU_]_@[]_  __@ZTM_O]Q[[_[WM[OM[MMWM][W[A[_OMMMMOOMM[MMONNM
XMOLKM[MUDN[OW[]___MMOMOWQM[[K[JMMEIO]WIUJUQWW[[_@@[RQ__XVNJ /
XM_ZUY__VY[@Q__[_W][@  [_UALB_W[J[[_[OSQAS[SSWSS[W]_WWQMCSCAOS
XMMQSNANNSOQMS[S[NN[AW]]___UCQQQW]M[[M[JMSKUOCYU[UN]AW[[_@___W
XM_____5 /_Z__________@__OPP_  ___[___[W__W______________O____
XM_________________^_________Q_Q_A_______C__G_____O]_______C_Y
XM[G_@_________J /___________________  _______________________
XM____________________________________________________________
X)____________
X 
Xend
END_OF_FILE
if test 1098 -ne `wc -c <'font-16/Usail6x8rI'`; then
    echo shar: \"'font-16/Usail6x8rI'\" unpacked with wrong size!
fi
# end of 'font-16/Usail6x8rI'
fi
if test -f 'font-16/Usail6x8ru' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'font-16/Usail6x8ru'\"
else
echo shar: Extracting \"'font-16/Usail6x8ru'\" \(1098 characters\)
sed "s/^X//" >'font-16/Usail6x8ru' <<'END_OF_FILE'
Xbegin 644 sail6x8ru.fnt
XM%@8( H   $ &    0J_P . ,  &)1?     !     $**$?,"$(     ",$,,
XM$>,>,,     ,.,<,<>>,2..1011,<.<,?21111>.0.$ $ 0 " & 0$$0,   
XM    (      &$8 ??$ )$ '?(5_P 0*"/>))1!.  $(""$?1 $*?/94"($5$
XM   $2,22,00"22$(" (2122220022$"20;922122$211*1"(("* $,<..,(.
XM4  2$:4,4*4.>21112>($$(?1$-.*?(*$J_P 65'0!))?'5* "5?$" * $**
XM4"($0".$   $6$"$4<<$,2$($>$"72<02<<0>$"40552212($215$.$(("1 
XM""2022<2:,,4$5:2:6:0(211*2"($$5?552)1!.**5_P 55)0!))1!;? ?"$
XM(!?$ $ *.$5 0";? > (:$,">"2$2.  ( ",7>2020062$"<0532<5<$$2*5
XM*$(($"   .202<(22$$8$522220,(2*5$2$0$""?1.2) !(*1J_P .5)/>))
XM*!5* " ?$"     ?%+2 0".$$ $(2$02$22(2"$($>$ 022220022$220112
XM0342$2*;1$0($"   22020(.2$$4$522:60"(6*5*.(($$ ??$-.  ')15_P
XM %*&  )&$?.  $ ("$?  $ *>3= ($5$$ $0,.>,$,,(,,$(" ((.2<,<>0,
XM2.,1>11,0.2,$,$11$>(""   *<...("2$$2$52,4*0<&*$*1">($$ ?>>>>
XM>>>>>^_^>?>>>>>>>>>>?>>>??>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
XM>>>>>>>>>>>>>>>>>?>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
XM>>>?         5_P                                            
XM                                                            
X)            
X 
Xend
END_OF_FILE
if test 1098 -ne `wc -c <'font-16/Usail6x8ru'`; then
    echo shar: \"'font-16/Usail6x8ru'\" unpacked with wrong size!
fi
# end of 'font-16/Usail6x8ru'
fi
if test -f 'font-32/Usail6x8r' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'font-32/Usail6x8r'\"
else
echo shar: Extracting \"'font-32/Usail6x8r'\" \(1097 characters\)
sed "s/^X//" >'font-32/Usail6x8r' <<'END_OF_FILE'
Xbegin 644 sail6x8r.fnt
XM& 8( H   $ &    0J_P . ,  &)1?     !     $**$?,"$(     ",$,,
XM$>,>,,     ,.,<,<>>,2..1011,<.<,?21111>.0.$ $ 0 " & 0$$0,   
XM    (      &$8 ??$ )$ '?(5_P 0*"/>))1!.  $(""$?1 $*?/94"($5$
XM   $2,22,00"22$(" (2122220022$"20;922122$211*1"(("* $,<..,(.
XM4  2$:4,4*4.>21112>($$(?1$-.*?(*$J_P 65'0!))?'5* "5?$" * $**
XM4"($0".$   $6$"$4<<$,2$($>$"72<02<<0>$"40552212($215$.$(("1 
XM""2022<2:,,4$5:2:6:0(211*2"($$5?552)1!.**5_P 55)0!))1!;? ?"$
XM(!?$ $ *.$5 0";? > (:$,">"2$2.  ( ",7>2020062$"<0532<5<$$2*5
XM*$(($"   .202<(22$$8$522220,(2*5$2$0$""?1.2) !(*1J_P .5)/>))
XM*!5* " ?$"     ?%+2 0".$$ $(2$02$22(2"$($>$ 022220022$220112
XM0342$2*;1$0($"   22020(.2$$4$522:60"(6*5*.(($$ ??$-.  ')15_P
XM %*&  )&$?.  $ ("$?  $ *>3= ($5$$ $0,.>,$,,(,,$(" ((.2<,<>0,
XM2.,1>11,0.2,$,$11$>(""   *<...("2$$2$52,4*0<&*$*1">($$ ?   (
XM     J_P %          ?  0//      $   $(  (              0    
XM                 !         . . >       <  8     0"       < &
XM$8 ?         5_P                                            
XM                                                            
X)            
X 
Xend
END_OF_FILE
if test 1097 -ne `wc -c <'font-32/Usail6x8r'`; then
    echo shar: \"'font-32/Usail6x8r'\" unpacked with wrong size!
fi
# end of 'font-32/Usail6x8r'
fi
if test -f 'font-32/Usail6x8rI' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'font-32/Usail6x8rI'\"
else
echo shar: Extracting \"'font-32/Usail6x8rI'\" \(1098 characters\)
sed "s/^X//" >'font-32/Usail6x8rI' <<'END_OF_FILE'
Xbegin 644 sail6x8rI.fnt
XM& 8( H  _[_Y____O5 /_Q_S__YVN@_____^___  [UU[@S][W_____]S[SS
XM[ASASS_____SQSCSCAASMQQNONNSCQCS@MNNNNAQOQ[_[_O_]_Y_O[[OS___
XM____W______Y[G_@@[_V[_X@WJ /_OU]PAVVN^Q__[W]][@1 [U@PFK]W[J[
XM___[MSMMSOO]MM[W]_WMNMMMMOOMM[]MODFMMNMM[MNNUN]WW]U_[SCQQSWQ
XMK__M[EKSKUKQAMNNNMAW[[W@N[RQU@WU[5 /_IJXO^VV@XJU_]J@[]_* [UU
XMK]W[O]Q[___[I[][KCC[SM[W[A[]HMCOMCCOA[]KOJJMMNMW[MNJ[Q[WW]N_
XM]]MOMMCMESSK[JEMEIEOWMNNUM]W[[J@JJMVN^QUUJ /_JJVO^VVN^D@_@][
XMW^@$ [_UQ[J_O]D@_A_WE[S]A]M[MQ__W_]SHAMOMOOIM[]COJLMCJC[[MUJ
XMU[WW[]___QMOMCWMM[[G[JMMMMOSWMUJ[M[O[]]@NQMV_^WUN5 /_QJVPAVV
XMU^JU_]_@[]_  __@ZTM_O]Q[[_[WM[OM[MMWM][W[A[_OMMMMOOMM[MMONNM
XMOLKM[MUDN[OW[]___MMOMOWQM[[K[JMMEIO]WIUJUQWW[[_@@[RQ__XVNJ /
XM_ZUY__VY[@Q__[_W][@  [_UALB_W[J[[_[OSQAS[SSWSS[W]_WWQMCSCAOS
XMMQSNANNSOQMS[S[NN[AW]]___UCQQQW]M[[M[JMSKUOCYU[UN]AW[[_@___W
XM_____5 /_Z__________@__OPP_  ___[___[W__W______________O____
XM_________________^_________Q_Q_A_______C__G_____O]_______C_Y
XM[G_@_________J /___________________  _______________________
XM____________________________________________________________
X)____________
X 
Xend
END_OF_FILE
if test 1098 -ne `wc -c <'font-32/Usail6x8rI'`; then
    echo shar: \"'font-32/Usail6x8rI'\" unpacked with wrong size!
fi
# end of 'font-32/Usail6x8rI'
fi
if test -f 'font-32/Usail6x8ru' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'font-32/Usail6x8ru'\"
else
echo shar: Extracting \"'font-32/Usail6x8ru'\" \(1098 characters\)
sed "s/^X//" >'font-32/Usail6x8ru' <<'END_OF_FILE'
Xbegin 644 sail6x8ru.fnt
XM& 8( H   $ &    0J_P . ,  &)1?     !     $**$?,"$(     ",$,,
XM$>,>,,     ,.,<,<>>,2..1011,<.<,?21111>.0.$ $ 0 " & 0$$0,   
XM    (      &$8 ??$ )$ '?(5_P 0*"/>))1!.  $(""$?1 $*?/94"($5$
XM   $2,22,00"22$(" (2122220022$"20;922122$211*1"(("* $,<..,(.
XM4  2$:4,4*4.>21112>($$(?1$-.*?(*$J_P 65'0!))?'5* "5?$" * $**
XM4"($0".$   $6$"$4<<$,2$($>$"72<02<<0>$"40552212($215$.$(("1 
XM""2022<2:,,4$5:2:6:0(211*2"($$5?552)1!.**5_P 55)0!))1!;? ?"$
XM(!?$ $ *.$5 0";? > (:$,">"2$2.  ( ",7>2020062$"<0532<5<$$2*5
XM*$(($"   .202<(22$$8$522220,(2*5$2$0$""?1.2) !(*1J_P .5)/>))
XM*!5* " ?$"     ?%+2 0".$$ $(2$02$22(2"$($>$ 022220022$220112
XM0342$2*;1$0($"   22020(.2$$4$522:60"(6*5*.(($$ ??$-.  ')15_P
XM %*&  )&$?.  $ ("$?  $ *>3= ($5$$ $0,.>,$,,(,,$(" ((.2<,<>0,
XM2.,1>11,0.2,$,$11$>(""   *<...("2$$2$52,4*0<&*$*1">($$ ?>>>>
XM>>>>>^_^>?>>>>>>>>>>?>>>??>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
XM>>>>>>>>>>>>>>>>>?>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
XM>>>?         5_P                                            
XM                                                            
X)            
X 
Xend
END_OF_FILE
if test 1098 -ne `wc -c <'font-32/Usail6x8ru'`; then
    echo shar: \"'font-32/Usail6x8ru'\" unpacked with wrong size!
fi
# end of 'font-32/Usail6x8ru'
fi
if test -f 'icon/mouse/Makefile' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'icon/mouse/Makefile'\"
else
echo shar: Extracting \"'icon/mouse/Makefile'\" \(1058 characters\)
sed "s/^X//" >'icon/mouse/Makefile' <<'END_OF_FILE'
X#                        Copyright (c) 1988 Bellcore
X#                            All Rights Reserved
X#       Permission is granted to copy or use this program, EXCEPT that it
X#       may not be sold for profit, the copyright notice must be reproduced
X#       on copies, and credit should be given to Bellcore where it is due.
X#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X
X#	$Header: Makefile,v 1.2 88/07/21 14:06:17 sau Exp $
X#	$Source: /tmp/mgrsrc/icon/mouse/RCS/Makefile,v $
X
X#	grey icons for mgr
XSTART=.
XICONS= \
X	hhand0 hhand1 hhand10 hhand11 hhand2 hhand3 \
X	hhand4 hhand5 hhand6 hhand7 hhand8 hhand9 \
X	mhand0 mhand1 mhand10 mhand11 mhand2 mhand3 \
X	mhand4 mhand5 mhand6 mhand7 mhand8 mhand9 \
X	mhhand0 mhhand1 mhhand10 mhhand11 mhhand2 mhhand3 \
X	mhhand4 mhhand5 mhhand6 mhhand7 mhhand8 mhhand9 \
X	mickface mmhand0 mmhand1 mmhand10 mmhand11 mmhand2 \
X	mmhand3 mmhand4 mmhand5 mmhand6 mmhand7 mmhand8 \
X	mmhand9
X
Xall clean clobber cpio:
X
Xlist:
X	@for i in README Makefile $(ICONS); do \
X		echo "$(START)/$$i"; \
X	 done
END_OF_FILE
if test 1058 -ne `wc -c <'icon/mouse/Makefile'`; then
    echo shar: \"'icon/mouse/Makefile'\" unpacked with wrong size!
fi
# end of 'icon/mouse/Makefile'
fi
if test -f 'misc/README' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'misc/README'\"
else
echo shar: Extracting \"'misc/README'\" \(1007 characters\)
sed "s/^X//" >'misc/README' <<'END_OF_FILE'
XMISC mgr stuff for shipment
X
XMakefile	make rotate, getscreen, lasergrafix, and tjfilter
X
XREADME		this file
X
Xgetscreen	Snaps a picture of the entire display, in MGR bitmap format
X
Xhp_raster	Converts an MGR bitmap to hp laserjet format
X		getscreen | rotate | hp_raster | lpr -Php -l
X		copies the display to the HP printer.
X
Xlasergrafix	Converts an MGR bitmap to QMS QUIC format 
X		getscreen | lasergrafix | lpr -Pqms -l
X		copies the display to the QMS printer.
X
Xlogin		A sample .login file for MGR-csh users
X
Xmap		Cat this file
X
Xmgr.ti		A sample MGR terminfo entry
X
Xmgrc		some sample MGR startup files ans notes
X
Xplot		PLot(5) format data
X		try mgrplot < plot
X
Xrotate.c	A program for rotating MGR bitmaps 90 degrees
X		used by tj_filter
X
Xtermcap		A sample MGR termcap entry
X
Xtjfilter	Converts MGR bitmaps to HP-thinkjet format, rotating them
X		sideways to fit if needed.  Typically used with window_print
X		or snap
X
Xtree.out	Cat this file and press the middle button.
X		It is an example linked and paged menus
END_OF_FILE
if test 1007 -ne `wc -c <'misc/README'`; then
    echo shar: \"'misc/README'\" unpacked with wrong size!
fi
# end of 'misc/README'
fi
if test -f 'misc/Utree.out' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'misc/Utree.out'\"
else
echo shar: Extracting \"'misc/Utree.out'\" \(1155 characters\)
sed "s/^X//" >'misc/Utree.out' <<'END_OF_FILE'
Xbegin 444 tree.out
XM&S$P,C509&]W;FQO861I;F<@;65N=7,*&S$L-3=M!2 @2TE.1T1/305A;FEM
XM86P@(" @/3X%;6EN97)A;" @(#T^!79E9V5T86)L92 ]/@4%805M!78%&S(L
XM,S=M!6)I<F0@(" ]/@5F:7-H(" @/3X%;6%M;6%L(#T^!6(%9@5M!1LS+#,P
XM;05G<F%N:71E!6)A<V%U;'0%<75A<G1Z!6<%8@5Q!1LT+#,Q;05C87)R;W0%
XM<'5M<&MI;@5Z=6-H:6YN:05C!7 %>@4;-2PW,VT%8FQU92!J87D%8W)O=P5F
XM:6YC: 5H87=K!6]W; 5R;V)I;@5S<&%R<F]W!71E<FX%=W)E;@5B:@5C!68%
XM: 5O!7(%<P5T!7<%&S8L,3 P;05!;&)A8V]R905B87-S("T^!6)L=65F:7-H
XM!6-O9 5D;VQP:&EN!69L;W5N9&5R!6AA;&EB=70%:F%C:P5L:6YG8V]D!6UA
XM8VME<F5L!6$%8@5B; 5C!60%9@5H!6H%;&,%;04;-RPQ,3!M!6UA<FQI;@5P
XM97)M:70%<&]L;&%C:P5R;V]S=&5R9FES: 5R=6YN97(%<V%I;%]F:7-H!7-H
XM87)K!7-N;V]K!7-W;W)D(&9I<V@%=&%R<&]N!6UL!7!M!7 %<F8%<@5S9@5S
XM:P5S;@5S9@5T< 4;."PV,6T%=&%U=&]G!71O<&4%='5N805W86AO;P5W96%K
XM9FES: 5Y96QL;W=T86EL!6AU:#\%=' %=&X%=P5W!7D%&SDL,C%M!6-A= 5D
XM;V<%;6]U<V4%8P5D!6T%&S$P+#0R;05B;&%C:R!B87-S!6=I86YT(&)A<W,%
XM<W1R:7!E9"!B87-S!6(%9P5S!61O=VYL;V%D:6YG('-L:61E(&]F9B!L:6YK
XM<PH;,2PQ+#(L,&T;,2PR+#,L,&T;,2PS+#0L-FT;,BPP+#4L,&T;,BPQ+#8L
XM,&T;,BPR+#DL-FT;-BPQ+#$P+#9M&S<L,2PW+#9M9&]W;FQO861I;F<@<&%G
XM92!L:6YK<PH;-BPM,2PW+&T;-RPM,2PX+&US96QE8W1I;F<@;65N=0H;,6T;
X(+3-M9&]N90H;
X 
Xend
END_OF_FILE
if test 1155 -ne `wc -c <'misc/Utree.out'`; then
    echo shar: \"'misc/Utree.out'\" unpacked with wrong size!
fi
# end of 'misc/Utree.out'
fi
if test -f 'src/blit/bit_on.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/blit/bit_on.c'\"
else
echo shar: Extracting \"'src/blit/bit_on.c'\" \(1168 characters\)
sed "s/^X//" >'src/blit/bit_on.c' <<'END_OF_FILE'
X/*                        Copyright (c) 1988 Bellcore
X *                            All Rights Reserved
X *       Permission is granted to copy or use this program, EXCEPT that it
X *       may not be sold for profit, the copyright notice must be reproduced
X *       on copies, and credit should be given to Bellcore where it is due.
X *       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X */
X/*	$Header: bit_on.c,v 4.2 88/07/20 14:16:57 sau Exp $
X	$Source: /tmp/mgrsrc/src/blit/RCS/bit_on.c,v $
X*/
Xstatic char	RCSid_[] = "$Source: /tmp/mgrsrc/src/blit/RCS/bit_on.c,v $$Revision: 4.2 $";
X
X#include "bitmap.h"
X
X/*	Return "true" (one) if the bit at the given x,y position
X	is set in the given bitmap.
X	Return "false" (zero) if that bit is not set or if the x,y is outside
X	the bitmap.
X*/
X#define	BITSPERDATA	(sizeof(int) * 8)
X
Xint
Xbit_on( bp, x, y )
Xregister BITMAP	*bp;
Xint		x, y;
X{
X	register int	mask = 1 << (BITSPERDATA - ( x%BITSPERDATA + 1));
X	register int	*ip;
X
X	if( x >= BIT_WIDE(bp)  ||  y >= BIT_HIGH(bp) )
X		return  0;
X	ip = BIT_DATA( bp ) +
X		(x/BITSPERDATA + y*BIT_Size( BIT_WIDE(bp), 1, 1 )/sizeof(int));
X	return  (*ip & mask) != 0;
X}
END_OF_FILE
if test 1168 -ne `wc -c <'src/blit/bit_on.c'`; then
    echo shar: \"'src/blit/bit_on.c'\" unpacked with wrong size!
fi
# end of 'src/blit/bit_on.c'
fi
if test -f 'src/blit/m4.h' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/blit/m4.h'\"
else
echo shar: Extracting \"'src/blit/m4.h'\" \(817 characters\)
sed "s/^X//" >'src/blit/m4.h' <<'END_OF_FILE'
X/*                        Copyright (c) 1988 Bellcore
X *                            All Rights Reserved
X *       Permission is granted to copy or use this program, EXCEPT that it
X *       may not be sold for profit, the copyright notice must be reproduced
X *       on copies, and credit should be given to Bellcore where it is due.
X *       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X */
X/*	$Header: m4.h,v 4.1 88/06/21 13:19:12 bianchi Exp $
X	$Source: /tmp/mgrsrc/src/blit/RCS/m4.h,v $
X*/
Xstatic char	h_m4_[] = "$Source: /tmp/mgrsrc/src/blit/RCS/m4.h,v $$Revision: 4.1 $";
X
X/*
X * asm argument modifiers:  need to use m4  as cpp doesn't substitute
X * into quoted strings
X */
X
Xdefine(INCR, $1`@+')
Xdefine(DECR, $1`@-')
Xdefine(IMM, `#'$1)
Xdefine(IND, $1`@')
Xdefine(T_SRC,d0)
Xdefine(T_DST,d1)
END_OF_FILE
if test 817 -ne `wc -c <'src/blit/m4.h'`; then
    echo shar: \"'src/blit/m4.h'\" unpacked with wrong size!
fi
# end of 'src/blit/m4.h'
fi
if test -f 'src/oblit/bit_on.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/oblit/bit_on.c'\"
else
echo shar: Extracting \"'src/oblit/bit_on.c'\" \(1172 characters\)
sed "s/^X//" >'src/oblit/bit_on.c' <<'END_OF_FILE'
X/*                        Copyright (c) 1988 Bellcore
X *                            All Rights Reserved
X *       Permission is granted to copy or use this program, EXCEPT that it
X *       may not be sold for profit, the copyright notice must be reproduced
X *       on copies, and credit should be given to Bellcore where it is due.
X *       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X */
X/*	$Header: bit_on.c,v 1.2 88/07/20 14:17:51 sau Exp $
X	$Source: /tmp/mgrsrc/src/oblit/RCS/bit_on.c,v $
X*/
Xstatic char	RCSid_[] = "$Source: /tmp/mgrsrc/src/oblit/RCS/bit_on.c,v $$Revision: 1.2 $";
X
X#include "bitmap.h"
X
X/*	Return "true" (one) if the bit at the given x,y position
X	is set in the given bitmap.
X	Return "false" (zero) if that bit is not set or if the x,y is outside
X	the bitmap.
X*/
X#define	BITSPERDATA	(sizeof(short) * 8)
X
Xint
Xbit_on( bp, x, y )
Xregister BITMAP	*bp;
Xint		x, y;
X{
X	register int	mask = 1 << (BITSPERDATA - ( x%BITSPERDATA + 1));
X	register int	*ip;
X
X	if( x >= BIT_WIDE(bp)  ||  y >= BIT_HIGH(bp) )
X		return  0;
X	ip = BIT_DATA( bp ) +
X		(x/BITSPERDATA + y*BIT_Size( BIT_WIDE(bp), 1, 1 )/sizeof(int));
X	return  (*ip & mask) != 0;
X}
END_OF_FILE
if test 1172 -ne `wc -c <'src/oblit/bit_on.c'`; then
    echo shar: \"'src/oblit/bit_on.c'\" unpacked with wrong size!
fi
# end of 'src/oblit/bit_on.c'
fi
if test -f 'src/pixrect/Makefile' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/pixrect/Makefile'\"
else
echo shar: Extracting \"'src/pixrect/Makefile'\" \(988 characters\)
sed "s/^X//" >'src/pixrect/Makefile' <<'END_OF_FILE'
X#                        Copyright (c) 1988 Bellcore
X#                            All Rights Reserved
X#       Permission is granted to copy or use this program, EXCEPT that it
X#       may not be sold for profit, the copyright notice must be reproduced
X#       on copies, and credit should be given to Bellcore where it is due.
X#       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X
X#	$Header: Makefile,v 4.3 88/08/10 17:31:14 bianchi Exp $
X#	$Source: /tmp/mgrsrc/src/pixrect/RCS/Makefile,v $
X
X#	makefile for old (16 bit) bitblit code
X
XCFLAGS=-O
X
XCFILES= sundep.c
XOFILES= sundep.o
XHFILES= bitmap.h
XOTHER=Makefile
XLIB=blitlib.a
XSTART=.
X
Xall:		$(LIB)
X
X# bitmap library
X
X$(LIB): \
X           $(LIB)(sundep.o)
X			ranlib $(LIB)
X
X$(LIB)(sundep.o): sundep.o
X			ar rv $(LIB) sundep.o
X
Xsundep.o: \
X	sundep.c bitmap.h 
X
X##########################
X
X
Xlist:
X	@for i in $(HFILES) $(CFILES) $(OTHER); do \
X		echo "$(START)/$$i"; \
X	done	
X
Xclean:
X	rm -f $(OFILES) $(LIB)
X
Xclobber:
END_OF_FILE
if test 988 -ne `wc -c <'src/pixrect/Makefile'`; then
    echo shar: \"'src/pixrect/Makefile'\" unpacked with wrong size!
fi
# end of 'src/pixrect/Makefile'
fi
if test -f 'src/pixrect/sundep.c' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'src/pixrect/sundep.c'\"
else
echo shar: Extracting \"'src/pixrect/sundep.c'\" \(892 characters\)
sed "s/^X//" >'src/pixrect/sundep.c' <<'END_OF_FILE'
X/*                        Copyright (c) 1987 Bellcore
X *                            All Rights Reserved
X *       Permission is granted to copy or use this program, EXCEPT that it
X *       may not be sold for profit, the copyright notice must be reproduced
X *       on copies, and credit should be given to Bellcore where it is due.
X *       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
X */
X/*	$Header: sundep.c,v 4.2 88/08/10 17:31:31 bianchi Exp $
X	$Source: /tmp/mgrsrc/src/pixrect/RCS/sundep.c,v $
X*/
Xstatic char	RCSid_[] = "$Source: /tmp/mgrsrc/src/pixrect/RCS/sundep.c,v $$Revision: 4.2 $";
X
X/*	this is missing from pixrect, and it must be a function */
X
X#include "bitmap.h"
X
Xint
Xbit_point(m,x,y,func)
XBITMAP *m;
Xint x,y;
Xint func;
X   {
X   bit_line(m,x,y,x,y,func);
X   }
X
Xint
Xbit_on( bp, x, y )
Xregister BITMAP	*bp;
Xint		x, y;
X   {
X	return pr_get(bp, x, y);
X   }
END_OF_FILE
if test 892 -ne `wc -c <'src/pixrect/sundep.c'`; then
    echo shar: \"'src/pixrect/sundep.c'\" unpacked with wrong size!
fi
# end of 'src/pixrect/sundep.c'
fi
echo shar: End of archive 5 \(of 61\).
cp /dev/null ark5isdone
MISSING=""
for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \
	21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 \
	38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 \
	55 56 57 58 59 60 61 ; do
    if test ! -f ark${I}isdone ; then
	MISSING="${MISSING} ${I}"
    fi
done
if test "${MISSING}" = "" ; then
    echo You have unpacked all 61 archives.
    rm -f ark[1-9]isdone ark[1-9][0-9]isdone
else
    echo You still need to unpack the following archives:
    echo "        " ${MISSING}
fi
##  End of shell archive.
exit 0
-- 
Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.