[comp.windows.x] Attention Porsche lovers

mark@zok.UUCP (Mark W. Snitily) (02/19/90)

Here are acouple of icons for your viewing pleasure.  The first is in
the black&white XBM format and the second is in the color XPM format.

After unsharing, the black&white XBM icon can be viewed with:

      xsetroot -bitmap <filename>

The color XPM icon requires "xloadimage" (a.k.a. "xview" and "xsetbg")
by Jim Frost (jimf@saber.com).  This program is on the X11R4 contrib
tape and has also been posted on comp.sources.x.  NOTE:  PATCHLEVEL 3 IS
REQUIRED FOR VIEWING XPM FILES.  (This patchlevel should be posted in
comp.sources.x in the near future.)  In the mean while, you can obtain
a patchlevel 3 version of "xloadimage" via ftp from expo.lcs.mit.edu
(18.30.0.212) [/contrib/xloadimage.1.03.tar.Z], or via uucp from zok
[/usrX/contrib/xldim103.tar.Z].  (BTW, "xloadimage" has also been tested
on unusual X11 servers, those that only have 2 or 4 bitplanes.)

After you have xloadimage pl3 installed, the color XPM icon can be placed
on your root window with:

      xsetbg <filename>

Enjoy...

-- Mark

Mark W. Snitily                 Consulting Services:
894 Brookgrove Lane             Graphics, Operating Systems, Compilers
Cupertino, CA 95014             (408) 252-0456
mark@zok.uucp

#! /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 1 (of 1)."
# Contents:  porsche.xbm porsche.xpm
# Wrapped by mark@zok on Sun Feb 18 17:52:20 1990
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'porsche.xbm' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'porsche.xbm'\"
else
echo shar: Extracting \"'porsche.xbm'\" \(3334 characters\)
sed "s/^X//" >'porsche.xbm' <<'END_OF_FILE'
X#define porsche_width 64
X#define porsche_height 64
X#define porsche_x_hot -1
X#define porsche_y_hot -1
Xstatic char porsche_bits[] = {
X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
X   0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00,
X   0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x03, 0x00, 0x00,
X   0x00, 0x00, 0xc0, 0x00, 0x00, 0xf3, 0x3c, 0xcf, 0xf3, 0x24, 0xcf, 0x00,
X   0x00, 0x93, 0x24, 0x49, 0x92, 0x24, 0xc1, 0x00, 0x00, 0x93, 0x24, 0x49,
X   0x10, 0x24, 0xc1, 0x00, 0x00, 0xf3, 0x24, 0xc7, 0x13, 0x3c, 0xcf, 0x00,
X   0x00, 0x13, 0x24, 0x09, 0x12, 0x24, 0xc1, 0x00, 0x00, 0x13, 0x24, 0x49,
X   0x92, 0x24, 0xc1, 0x00, 0x00, 0x13, 0x3c, 0xc9, 0xf3, 0x24, 0xcf, 0x00,
X   0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0xff, 0xff, 0xff,
X   0xff, 0xff, 0xff, 0x00, 0x00, 0x03, 0x00, 0x80, 0xff, 0xff, 0xff, 0x00,
X   0x00, 0x03, 0x11, 0x83, 0xff, 0xff, 0xff, 0x00, 0x00, 0x83, 0x88, 0x90,
X   0xff, 0xff, 0xff, 0x00, 0x00, 0xc3, 0xec, 0x8f, 0xff, 0xff, 0xff, 0x00,
X   0x00, 0xe3, 0x1f, 0x98, 0x01, 0x00, 0xc0, 0x00, 0x00, 0xf3, 0x00, 0x80,
X   0x01, 0x00, 0xc0, 0x00, 0x00, 0x3b, 0x00, 0x80, 0x01, 0x00, 0xc0, 0x00,
X   0x00, 0x03, 0x90, 0x80, 0x01, 0x00, 0xc0, 0x00, 0x00, 0x83, 0x48, 0x80,
X   0x01, 0x00, 0xc0, 0x00, 0x00, 0x43, 0x24, 0xff, 0xff, 0xff, 0xff, 0x00,
X   0x00, 0x43, 0xff, 0x01, 0x80, 0xff, 0xff, 0x00, 0x00, 0xe3, 0x01, 0xff,
X   0xff, 0xff, 0xff, 0x00, 0x00, 0x73, 0x00, 0x01, 0x80, 0xff, 0xff, 0x00,
X   0x00, 0x3b, 0x00, 0x71, 0x80, 0xff, 0xff, 0x00, 0x00, 0x03, 0x48, 0xf9,
X   0x80, 0xff, 0xff, 0x00, 0x00, 0x83, 0x24, 0xe9, 0xa0, 0x00, 0xc0, 0x00,
X   0x00, 0x43, 0x92, 0xe1, 0xb0, 0x00, 0xc0, 0x00, 0x00, 0x63, 0x7f, 0xe1,
X   0xb0, 0x00, 0xc0, 0x00, 0x00, 0xf3, 0x81, 0xf1, 0x91, 0x00, 0xc0, 0x00,
X   0x00, 0x3b, 0x00, 0xfd, 0x9f, 0x00, 0xc0, 0x00, 0x00, 0x03, 0x00, 0xf5,
X   0x9f, 0x00, 0xc0, 0x00, 0x00, 0xff, 0xff, 0x15, 0x9e, 0xff, 0xff, 0x00,
X   0x00, 0xff, 0xff, 0x11, 0x94, 0x00, 0xc0, 0x00, 0x00, 0xff, 0xff, 0x01,
X   0x94, 0x48, 0xc0, 0x00, 0x00, 0xfe, 0xff, 0x01, 0xb6, 0x24, 0x62, 0x00,
X   0x00, 0xfe, 0xff, 0x01, 0x92, 0x12, 0x61, 0x00, 0x00, 0xfe, 0xff, 0x03,
X   0x49, 0xff, 0x63, 0x00, 0x00, 0x0c, 0x00, 0x04, 0xe0, 0x01, 0x36, 0x00,
X   0x00, 0x0c, 0x00, 0x08, 0xf0, 0x00, 0x30, 0x00, 0x00, 0x18, 0x00, 0xf0,
X   0x0f, 0x48, 0x18, 0x00, 0x00, 0x18, 0x00, 0x80, 0x41, 0x24, 0x19, 0x00,
X   0x00, 0x30, 0x00, 0x80, 0x21, 0x92, 0x0c, 0x00, 0x00, 0x30, 0x00, 0x80,
X   0xb1, 0x7f, 0x0c, 0x00, 0x00, 0xe0, 0xff, 0xff, 0xf1, 0xc0, 0x06, 0x00,
X   0x00, 0xc0, 0xff, 0xff, 0x39, 0x00, 0x02, 0x00, 0x00, 0xc0, 0xff, 0xff,
X   0x1d, 0x00, 0x03, 0x00, 0x00, 0x80, 0xff, 0xff, 0x01, 0x80, 0x01, 0x00,
X   0x00, 0x00, 0xff, 0xff, 0x51, 0xc1, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xff,
X   0xa9, 0x64, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x80, 0xf9, 0x33, 0x00, 0x00,
X   0x00, 0x00, 0x18, 0x80, 0x1d, 0x1a, 0x00, 0x00, 0x00, 0x00, 0x30, 0x80,
X   0x0d, 0x0c, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x80, 0x01, 0x07, 0x00, 0x00,
X   0x00, 0x00, 0xc0, 0x83, 0xc1, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8f,
X   0xf1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbc, 0x3d, 0x00, 0x00, 0x00,
X   0x00, 0x00, 0x00, 0xf0, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0,
X   0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00,
X   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
END_OF_FILE
if test 3334 -ne `wc -c <'porsche.xbm'`; then
    echo shar: \"'porsche.xbm'\" unpacked with wrong size!
fi
# end of 'porsche.xbm'
fi
if test -f 'porsche.xpm' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'porsche.xpm'\"
else
echo shar: Extracting \"'porsche.xpm'\" \(4646 characters\)
sed "s/^X//" >'porsche.xpm' <<'END_OF_FILE'
X#define porsche_format 1
X#define porsche_width 64
X#define porsche_height 64
X#define porsche_ncolors 4
X#define porsche_chars_per_pixel 1
Xstatic char *porsche_colors[] = {
X   " ", "slate blue", 
X   ".", "yellow", 
X   "r", "red", 
X   "b", "black" 
X};	         
Xstatic char *porsche_pixels[] = {
X"                                                                ",
X"                                                                ",
X"        bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb        ",
X"        bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb        ",
X"        bb............................................bb        ",
X"        bb..bbbb..bbbb..bbbb..bbbb..bbbb..b..b..bbbb..bb        ",
X"        bb..b..b..b..b..b..b..b..b..b..b..b..b..b.....bb        ",
X"        bb..b..b..b..b..b..b..b.....b.....b..b..b.....bb        ",
X"        bb..bbbb..b..b..bbb...bbbb..b.....bbbb..bbbb..bb        ",
X"        bb..b.....b..b..b..b.....b..b.....b..b..b.....bb        ",
X"        bb..b.....b..b..b..b..b..b..b..b..b..b..b.....bb        ",
X"        bb..b.....bbbb..b..b..bbbb..bbbb..b..b..bbbb..bb        ",
X"        bb............................................bb        ",
X"        bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb        ",
X"        bb.....................bbbbbbbbbbbbbbbbbbbbbbbbb        ",
X"        bb......b...b...bb.....bbbbbbbbbbbbbbbbbbbbbbbbb        ",
X"        bb.....b...b...b....b..bbbbbbbbbbbbbbbbbbbbbbbbb        ",
X"        bb....bb..bb.bbbbbbb...bbbbbbbbbbbbbbbbbbbbbbbbb        ",
X"        bb...bbbbbbbb......bb..bbrrrrrrrrrrrrrrrrrrrrrbb        ",
X"        bb..bbbb...............bbrrrrrrrrrrrrrrrrrrrrrbb        ",
X"        bb.bbb.................bbrrrrrrrrrrrrrrrrrrrrrbb        ",
X"        bb..........b..b.......bbrrrrrrrrrrrrrrrrrrrrrbb        ",
X"        bb.....b...b..b........bbrrrrrrrrrrrrrrrrrrrrrbb        ",
X"        bb....b...b..b..bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb        ",
X"        bb....b.bbbbbbbbb..............bbbbbbbbbbbbbbbbb        ",
X"        bb...bbbb.......bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb        ",
X"        bb..bbb.........b..............bbbbbbbbbbbbbbbbb        ",
X"        bb.bbb..........b...bbb........bbbbbbbbbbbbbbbbb        ",
X"        bb.........b..b.b..bbbbb.......bbbbbbbbbbbbbbbbb        ",
X"        bb.....b..b..b..b..b.bbb.....b.brrrrrrrrrrrrrrbb        ",
X"        bb....b..b..b..bb....bbb....bb.brrrrrrrrrrrrrrbb        ",
X"        bb...bb.bbbbbbb.b....bbb....bb.brrrrrrrrrrrrrrbb        ",
X"        bb..bbbbb......bb...bbbbb...b..brrrrrrrrrrrrrrbb        ",
X"        bb.bbb..........b.bbbbbbbbbbb..brrrrrrrrrrrrrrbb        ",
X"        bb..............b.b.bbbbbbbbb..brrrrrrrrrrrrrrbb        ",
X"        bbbbbbbbbbbbbbbbb.b.b....bbbb..bbbbbbbbbbbbbbbbb        ",
X"        bbbbbbbbbbbbbbbbb...b.....b.b..b..............bb        ",
X"        bbbbbbbbbbbbbbbbb........bb.bb.b...b..b.......bb        ",
X"         bbbbbbbbbbbbbbbb........b..b..b..b..b...b...bb         ",
X"         bbbbbbbbbbbbbbbb.......b..b...b.b..b...b....bb         ",
X"         bbbbbbbbbbbbbbbbb............b.bbbbbbbbbb...bb         ",
X"          bbrrrrrrrrrrrrrrb..........bbbb........bb.bb          ",
X"          bbrrrrrrrrrrrrrrrb........bbbb............bb          ",
X"           bbrrrrrrrrrrrrrrrbbbbbbbb.......b..b....bb           ",
X"           bbrrrrrrrrrrrrrrrrrrbb.....b...b..b..b..bb           ",
X"            bbrrrrrrrrrrrrrrrrrbb....b...b..b..b..bb            ",
X"            bbrrrrrrrrrrrrrrrrrbb...bb.bbbbbbbb...bb            ",
X"             bbbbbbbbbbbbbbbbbbbb...bbbb......bb.bb             ",
X"              bbbbbbbbbbbbbbbbbbb..bbb...........b              ",
X"              bbbbbbbbbbbbbbbbbbb.bbb...........bb              ",
X"               bbbbbbbbbbbbbbbbbb..............bb               ",
X"                bbbbbbbbbbbbbbbbb...b.b.b.....bb                ",
X"                 bbbbbbbbbbbbbbbb..b.b.b..b..bb                 ",
X"                  bbrrrrrrrrrrrbb..bbbbbbb..bb                  ",
X"                   bbrrrrrrrrrrbb.bbb....b.bb                   ",
X"                    bbrrrrrrrrrbb.bb......bb                    ",
X"                     bbbrrrrrrrbb.......bbb                     ",
X"                      bbbbrrrrrbb.....bbbb                      ",
X"                        bbbbrrrbb...bbbb                        ",
X"                          bbbbrbb.bbbb                          ",
X"                            bbbbbbbb                            ",
X"                              bbbb                              ",
X"                               bb                               ",
X"                                                                "
X};
END_OF_FILE
if test 4646 -ne `wc -c <'porsche.xpm'`; then
    echo shar: \"'porsche.xpm'\" unpacked with wrong size!
fi
# end of 'porsche.xpm'
fi
echo shar: End of archive 1 \(of 1\).
cp /dev/null ark1isdone
MISSING=""
for I in 1 ; do
    if test ! -f ark${I}isdone ; then
	MISSING="${MISSING} ${I}"
    fi
done
if test "${MISSING}" = "" ; then
    echo You have the archive.
    rm -f ark[1-9]isdone
else
    echo You still need to unpack the following archives:
    echo "        " ${MISSING}
fi
##  End of shell archive.
exit 0