home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
a
/
amix2410.zip
/
README.XR4
< prev
next >
Wrap
Text File
|
1992-08-27
|
6KB
|
123 lines
This README file is included with the 3 compressed tar files available
for Amiga Unix X11R4 patches. I decided to go with 3 files so that folks
can get just the parts that they need.
1. amixX4-2410.tar.Z
This one contains the source patches PLUS the A2410 X server binary.
2. amixX4-dmi.tar.Z
This one contains the source patches PLUS the DMI X server binary.
3. amixX4-ponly.tar.Z
This one contains ONLY the source patches and README.
After unpacking and un-tarring, the directory will contain patch files
and a binary executable for the X11R4 server for Amiga Unix SVR4
version 2.1. The server *should* work for the 2.03 Amiga Unix release
as well, although I have not tested that.
Because I didn't feel that people would want to have to download 2 rather
large files for the server binary, there are two different tar files which
contain this README. One contains a server binary for the A2410 color card,
and the other contains a server binary for the DMI Resolver. Either server
should work for monochrome-only systems. The servers are built from the
same sources, so the patch files are the same on both.
The following is a list of the bugs fixed in this distribution:
o Cursor allocation problems which caused the server to fail
after 4 or 5 applications were started. NOTE: this patch
was included in the "official" 2.1p2a patch disk so, if you
have already applied those patches, don't apply the patch
contained in the "patch1.opt2" file.
o Memory leaks. The server was allocating lots of memory for
various purposes that was never freed. Caused problems with
swap space, amoung other things. I *think* that I got all
of the leaks but you never know :-)
o The server would crash when doing certain kinds of spanned fills.
It was overflowing an allocated area. This one also sometimes
caused display anomalies because the problem was that these
fills weren't getting clipped.
o Pattern fill operations would usually get munged. This problem
was especially noticable in "tgif" when creating pattern filled
objects. Many other applications would appear to put black blobs
on the screen.
o Using "xfontsel" (or any other program) to display large (> 24 pixel)
fonts would totally hose the display. There were some "backwards"
shifts in "tigtext.c". The actual problem was that values which were
supposed to be in 32 bits were getting their high-order 16 bits zeroed
out.
Installation
------------
In the directory with this README, you should find 3 patch files and
either "X2410" or "Xdmi". If you intend to apply the source
patches, see "Applying the patches" below. In either case:
1. Become "root".
2. If you are running xdm, kill the X server. You can do this by
typing "sacadm -k -p xdm". Do a "ps" to be sure that X isn't
running!
3. cd to "/usr/X/bin".
4. Make a backup copy of "X". (If you look, you'll probably find
that "X" is hard linked to either "X2410" or "Xdmi").
5. cd to wherever you put this file.
6. Copy whichever file you got (X2410 or Xdmi) to "/usr/X/bin".
7. If necessary, link the file to "/usr/X/bin/X".
8. If you normally run xdm, you can restart it by typing
"sacadm -s -p xdm". Otherwise, do whatever you normally do to
bring X up and see if it works!
Applying the patches
--------------------
All of the patches were generated relative to the Commodore Unix
2.1 DISTRIBUTION tape! If you have not made any changes to these
sources, then you should be able to run the "patch" utility and
have all of my changes automatically applied to your sources. Otherwise,
you'll have to apply them by hand (the patch files contain standard
context diffs). There are 3 patch files:
o patch1
This contains all of the "required" fixes.
o patch1.opt1
This contains *optional* fixes that I have made to "setup.c" and
"stubs.c" to fine-tune my DMI Resolver for my Sony HG Multiscan
monitor. I changed mode 1 to be 800x600 instead of 320x248
and I "tweeked" modes 2 and 3. If you happen to have the same
monitor, you might want to install this patch, otherwise you
can give it a try but your mileage may vary :-)
o patch1.opt2
This contains a patch to "tigcurs.c" which fixes the cursor
cursor allocation problem. Since this patch was included on
Commodore's "official" patch disk, I put it in a separate
file. You should apply it *if* you haven't applied the 1.2
patches.
All of the patches are to sources contained in ".....server/ddx/amix/dmi"
so you should move the patch files to that directory. Then you can type
"patch <patch1" to apply the patches.
Disclaimer
----------
I don't guarantee that any of this stuff will work for you! It is by
no means an "official" Commodore patch and hasn't been approved for
distribution by them. However, it seems to fix most of the serious
problems with the color X server and is therefore worth distributing.
PosterNotes
-----------
Many thanks to Keith Gabryelski for his help in finding and fixing these
bugs! Hopefully, everyone will be able to install this stuff and it'll
just work. If not, I can be reached by email, phone, or snail :-) Also,
there are still a few bugs lurking in the server...I am aware of some
of them but probably not *all* of them! If you have a fix, or a
reproducible scenario, send me email.
Rick Schaeffer
E. 13611 26th Ave.
Spokane, Wa. 99216
Phone: (509) 928-3533
email: ricks@isc-br.isc-br.com