Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hobbes cursor

0 views
Skip to first unread message

David McFadzean

unread,
Jul 5, 1990, 3:43:39 PM7/5/90
to

#---------------------------------- cut here ----------------------------------
# This is a shell archive. Remove anything before this line,
# then unpack it by saving it in a file and typing "sh file".
#
# Wrapped by David McFadzean <david@hpcpdcc> on Mon Mar 12 16:32:54 1990
#
# This archive contains:
# hobbes hobbesmask
#
# Error checking via wc(1) will be performed.

LANG=""; export LANG
PATH=/bin:/usr/bin:$PATH; export PATH

echo x - hobbes
cat >hobbes <<'@EOF'
#define hobbes_width 25
#define hobbes_height 25
#define hobbes_x_hot 16
#define hobbes_y_hot 15
static char hobbes_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x03, 0x00,
0x78, 0xe0, 0x07, 0x00, 0xfc, 0xf8, 0x07, 0x00, 0xcc, 0x07, 0x04, 0x00,
0x0c, 0xf0, 0x0b, 0x00, 0x7c, 0x1c, 0x06, 0x00, 0x38, 0x00, 0x00, 0x00,
0xe0, 0x03, 0x10, 0x00, 0xe0, 0x41, 0x11, 0x00, 0x20, 0x40, 0x11, 0x00,
0xe0, 0x07, 0x10, 0x00, 0xe0, 0xc1, 0x17, 0x00, 0x10, 0xe0, 0x2f, 0x00,
0x20, 0xe0, 0x6f, 0x00, 0x18, 0xe0, 0x2f, 0x00, 0x20, 0xc6, 0x67, 0x00,
0x18, 0x84, 0x2b, 0x00, 0x20, 0x08, 0x64, 0x00, 0x70, 0xf0, 0x13, 0x00,
0x80, 0x01, 0x08, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00};
@EOF
set `wc -lwc <hobbes`
if test $1$2$3 != 14117755
then
echo ERROR: wc results of hobbes are $* should be 14 117 755
fi

chmod 664 hobbes

echo x - hobbesmask
cat >hobbesmask <<'@EOF'

#define hobbesmask_width 25
#define hobbesmask_height 25
static char hobbesmask_bits[] = {
0x00, 0x00, 0x00, 0xfe, 0x00, 0xe0, 0x07, 0xfe,
0xfc, 0xf0, 0x0f, 0xfe, 0xfe, 0xfd, 0x0f, 0xfe,
0xfe, 0xff, 0x0f, 0xfe, 0xfe, 0xff, 0x1f, 0xfe,
0xfe, 0xff, 0x1f, 0xfe, 0xfe, 0xff, 0x1f, 0xfe,
0xfe, 0xff, 0x3f, 0xfe, 0xfc, 0xff, 0x3f, 0xfe,
0xf0, 0xff, 0x3f, 0xfe, 0xf0, 0xff, 0x3f, 0xfe,
0xf0, 0xff, 0x3f, 0xfe, 0xf8, 0xff, 0x7f, 0xfe,
0xf8, 0xff, 0xff, 0xfe, 0xfc, 0xff, 0xff, 0xfe,
0xfc, 0xff, 0xff, 0xfe, 0xfc, 0xff, 0xff, 0xfe,
0xfc, 0xff, 0xff, 0xfe, 0xfc, 0xff, 0xff, 0xfe,
0xf8, 0xff, 0xff, 0xfe, 0xf8, 0xff, 0x3f, 0xfe,
0xc0, 0xff, 0x1f, 0xfe, 0x00, 0xff, 0x0f, 0xfe,
0x00, 0x00, 0x00, 0xfe,
};

@EOF
set `wc -lwc <hobbesmask`
if test $1$2$3 != 19112761
then
echo ERROR: wc results of hobbesmask are $* should be 19 112 761
fi

chmod 664 hobbesmask

exit 0

0 new messages