home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga GigaPD 3
/
Amiga_GigaPD_v3_3of3.iso
/
netbsd
/
contrib
/
bsd
/
x11
/
xami_rev0.readme
< prev
next >
Wrap
Text File
|
1993-06-25
|
6KB
|
147 lines
rev 0.00 Xami - general information
===================================
Xami
----
Xami is a very generic X11R5 server based on Israel & Fortune book
"The X Window System Server". Basically to port the generic server
this book describes, all you need is three devices: frame buffer,
mouse, and keyboard. Thanks to the very robust and somewhat stable
nature of NetBSD, X11R5 ports quickly and basically unmodified.
However, to tune a server, one can spend a lifetime (hardware mouse,
blitter usage, user defined options, bells, whistles, etc). Currently
Xami only supports the mfb (monochrome frame buffer) library on the
native Amiga chip set and will probably stay that way.
This Xami is a little rough, but seemed stable enough to have someone
help test. A query to the mailing list showed enough interest to
upload. Well, ok, 4-5 people expressed interest, and the French Xbsd
guys asked a question. But anyways, please comment if you try Xami!
(even if you just want me to unlink the whole mess). Especially if
you also tried Xbsd!
"wee alrrready a got a one! Eeets vhar nhaaace! (I tolla him we
already a got a one (heeheehee)).
- Monty Python and the Holy Grail
Note: Xami is completely independent of "Xbsd" (though I did try out
the R4 version of that server a while back, it appeared to worked
fine. I just don't have the disk space to try their R5 version).
This Release
------------
This is a mini-release designed to keep things small. Perhaps it will
have more appeal to people who want to run X but have little disk
space. The intent here is to be complete yet keep it down to 2mb
compressed, 5mb uncompressed or so. The other X11 "Xbsd" package
should be completely compatible with this for binaries, fonts, libs,
etc, so they may be used for a more complete X. Basically this
release includes the server, a few clients, necessary lib stuff, some
fonts, and some misc info.
Kernel
------
This first release supports runs on an unmodified 709 Kernel. I
didn't move up to 713/14 yet because of : small 640x400 window, no
/dev/reboot (which I do a lot), trouble with /tmp disk and newfs. It
should be easy enough to move over later.
Mouse
-----
Expects a /dev/mouse. Please use a soft link to link /dev/mouse1 or
/dev/mouse2, whichever you are using, to point to /dev/mouse, if there
is not already one. The left button is the X button 1. The right
button is the X button 2 (middle). Both buttons down (or the middle
button) signify the seldom used X button 3. Should add some option
switch to make this change for (lucky) people with three actual
physical buttons.
Keyboard
--------
Supports US keyboard, expects a /dev/kbd for the keyboard device.
Same keyboard repeat times as the kernel 709 ite console driver. Even
includes the occasional key repeat problem. Just when I think I've
fixed it, it comes back to haunt me. See below for info on using the
keyboard to reset the server.
Framebuffer
-----------
Expects a /dev/grf0 for the framebuffer device. Opens the full 1024 x
1024 size framebuffer, with visibile width 716x768, even though the
true visible height is 464. This is done so that x11perf may be run,
as it expects a 768 or so tall window or so. If the pointer is missing,
it may be lurking down there. Just don't put any windows down there or
you may never find them :-).
Environment Setup
-----------------
- Install everything into /usr/X11R5/Amiga/...
- 'setenv DISPLAY :0' or whatever you do to export and env.
- make sure ip sockets are enabled by goint multiuser or
execute ". /etc/netstart" for single user.
- make sure your path points to /usr/X11R5/Amiga/bin before /usr/bin/X11.
- startup the server with startx or xinit.
Server Startup
--------------
You may use startx or xinit to start up the server. Or for that
matter, start up everything by hand. Before starting, do a
". /etc/netstart", or go multiuser, to enable the ip sockets.
Use "xinit >& /tmp/x.log" or some such to prevent scrolling of the
framebuffer due to occasional system messages. Same when using
"startx >& /tmp/x.log".
Be careful not to touch the mouse during startup. It will do a
sleep(6) to wait for the green crosshairs to blank, then do a grfoff
to keep it blank and allow the X blankers to blank rather than the
NetBSD blanker. I havent't figured out a quick way of blanking the
green crosshair cursor without kernel mods yet, and figure it's easy
on the newer kernels, so it is not a high priority. I suppose another
cheap way out would be to use /dev/mouse2.
Use -ac switch to turn off authorization if you like. Otherwise, be
sure to 'setenv DISPLAY :0' or 'export DISPLAY=:0'. before running
clients.
Server Exit
-----------
If the server is alive enough to read the keyboard, you may do a
Shift-Shift-F1-F10 (press all four keys simultaneously) to kill the
server. This is only if you are deperate. I arbitrarily picked the
keys hoping this sequence was unlikely to be encountered in day to day
use (patchable but not programmable - yet). Otherwise kill the login
client or just do a ps and kill the server.
Future Plans
------------
I ported this mainly to convince myself that if I got a high zoot
graphics card that it could be used for X. Otherwise, I simply
wouldn't buy one. In this way I guarantee that whatever I buy will be
supported :-). I have high hopes of speeding up the server
significantly and supporting the latest kernel and whatever graphics
cards I can find. Of course, in the meantime "Xbsd" looks like it
will be supporting some of these cards already.
Packing list:
-------------
These were compiled to be located under
/usr/X11R5/Amiga/{bin,lib,...}. If you would like them elsewhere, be
sure links exist to point to the area that X expects to find things
in. Likewise, if you are using Xbsd files, be sure links point from
the above files, to where Xbsd is expecting to find them (probably
/usr/bin/X11, usr/lib/X11, etc).
Binaries: Xami, xterm, twm, xinit, startx, xev, xrefresh, x11perf.
X links to Xami.
Lib dir: complete except for 100dpi and 75dpi fonts.
Misc: misc stuff: configuration files, etc.