ntakahas@langue.is.tsukuba.ac.jp (TAKAHASHI Naoto) (02/15/91)
Submitted-by: ntakahas@langue.is.tsukuba.ac.jp (TAKAHASHI Naoto) Posting-number: Volume 11, Issue 78 Archive-name: xsun/part02 #! /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 shell archive." # Contents: CHANGES README VERSION doit-1.1.sh # Wrapped by ntakahas@langue on Fri Feb 1 08:57:32 1991 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'CHANGES' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'CHANGES'\" else echo shar: Extracting \"'CHANGES'\" \(406 characters\) sed "s/^X//" >'CHANGES' <<'END_OF_FILE' X90/09/03 Complete two screen support. You are not bothered by X the `shade' of the monochrome screen any more. X X90/09/15 cfbmskbits.h was shaped up for 32bit/pixel. X pixrect code was inserted in cfbbitblt.c and sunInit.c. X X90/09/16 cfbtegblt.c and cfbbitblt.c were optimised for 32bit/pixel. X X90/11/27 Depth was changed from 32 to 24. X X91/01/08 sunCG9C.c was removed. sunCG8C.c supports both CG8 and CG9. END_OF_FILE if test 406 -ne `wc -c <'CHANGES'`; then echo shar: \"'CHANGES'\" unpacked with wrong size! fi # end of 'CHANGES' fi if test -f 'README' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'README'\" else echo shar: Extracting \"'README'\" \(2560 characters\) sed "s/^X//" >'README' <<'END_OF_FILE' XThis is version 1.1 of Xsun for CG8/CG9 24-bit colour boards. X XIt supports CG8 and CG9 (and monochrome, of course). Other colour Xboards, such as CG4 and CG6, are NOT supported. See the file named XX.sample, which is supplied with version 1.0, if you want your X/usr/bin/X11 directory to be shared by both 8-bit colour systems and X24-bit colour systems. X XThe code was tested on the following platforms: X XCG9: XSun4/330 SunOS 4.0.3 with Sun CC XSun4/370 SunOS 4.1.1 with Sun CC X XCG8: XSun4/110 SunOS 4.1 with Sun CC XSun3/80 SunOS 4.0.3 with gcc-1.37 X XLike a CG4 server, it has two screens: a colour screen (screen 0) and Xa monochrome screen (screen 1). The screens toggle when the mouse Xcursor goes off the side edges. X X X*** HOW TO MAKE X X1. Copy `1.0-to-1.1' and `doit-1.1.sh' to $(TOP)/mit/server. X X2. Copy version 1.0 of `cg8.diff' to $(TOP)/mit/server. X X3. Go to $(TOP)/mit/server and run `doit-1.1.sh' there. X The appropriate patches will be applied and the compilation will be X done automatically. X If your machine is a CG9, you may be asked X X Reversed (or previously applied) patch detected! Assume -R? [y] X X But don't worry. Just hit return for this question. X X4. Bow three times to Tsukuba, Japan :-) X X5. Test the new Xsun by `xinit -- ./Xsun'. X X6. If everything seems OK, replace the old Xsun with the new one. X X X*** ABOUT CLIENTS X XThis server is a TrueColor server. So the clients which dynamically Xchange the colormap do not work. X XMost of the MIT clients work fine. Unfortunately, however, some Xclients do not run with this server. Ico does not work when more than Xone colour is specified for -colors option. Xfade does not support Xthe TrueColor visual type. Xterm, xbiff, xclock, oclock, twm, xmag, Xetc. work fine. Xcolors is attractive. X XThe depth was changed to 24, so some clients which were not supported Xbefore became to work with this version. X XNow ImageMagick works fine. Xtartan looks good. Emacs with the X11 Xfunctionality works. Olwm became to show the window borders when you Xmove windows. Xphoon works, but it takes relatively long time to Xstart up and to redraw the root window. Reve works fine, except that Xwhen you play black your tile cannot be seen until you put it on the Xboard. X XNow you do not have to include XORvalue line in your .twmrc. X X X*** ACKNOWLEDGMENTS X XI would like to thank to: X Xnoro@iias.fujitsu.co.jp Xnihei@src.ricoh.co.jp Xken@watsun.cc.columbia.edu Xbeser@aplcomm.jhuapl.edu Xjip@helix.nih.gov X X X-- XTAKAHASHI Naoto XDoctoral Program in Engineering, University of Tsukuba Xntakahas@is.tsukuba.ac.jp END_OF_FILE if test 2560 -ne `wc -c <'README'`; then echo shar: \"'README'\" unpacked with wrong size! fi # end of 'README' fi if test -f 'VERSION' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'VERSION'\" else echo shar: Extracting \"'VERSION'\" \(31 characters\) sed "s/^X//" >'VERSION' <<'END_OF_FILE' XThis patch set is version 1.1. END_OF_FILE if test 31 -ne `wc -c <'VERSION'`; then echo shar: \"'VERSION'\" unpacked with wrong size! fi # end of 'VERSION' fi if test -f 'doit-1.1.sh' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'doit-1.1.sh'\" else echo shar: Extracting \"'doit-1.1.sh'\" \(314 characters\) sed "s/^X//" >'doit-1.1.sh' <<'END_OF_FILE' X#!/bin/sh Xif [ -f ddx/sun/sunCG9C.c ]; then X patch -p1 -R < cg9.diff X rm -f ddx/sun/sunCG9C.c Xfi Xif [ ! -f ddx/sun/sunCG8C.c ]; then X sed -e 's/CG4/CG8/g' -e 's/cg4/cg8/g' ddx/sun/sunCG4C.c > ddx/sun/sunCG8C.c X patch -p1 < cg8.diff Xfi Xpatch -p0 < 1.0-to-1.1 X Xmake Makefile Xmake Makefiles Xmake depend Xmake Xsun END_OF_FILE if test 314 -ne `wc -c <'doit-1.1.sh'`; then echo shar: \"'doit-1.1.sh'\" unpacked with wrong size! fi chmod +x 'doit-1.1.sh' # end of 'doit-1.1.sh' fi echo shar: End of shell archive. exit 0 -- Dan Heller ------------------------------------------------ O'Reilly && Associates Zyrcom Inc Senior Writer President argv@ora.com argv@zipcode.com