home *** CD-ROM | disk | FTP | other *** search
-
- Some LibX11 info:
- --------------------
- As you may have guessed, this program uses something I have called libX11 which
- is a link library of X11 emulation routines. It tries to provide an easy way
- of making programs written for the X11 window system run on the amiga.
- To do this I have used a lot of different amiga functions, some of them
- may not bee too portable across different configurations (most notably
- those with gfx cards). I have been informed that some Blitter functions
- doesn't do too well on those gfx cards. The library uses BltPattern/
- BltBitMap/BltBitMapRastPort and BltMaskBitMapRastPort both for 1 plane
- and >1 plane bitmaps. Some functions also uses the chunky to planar routines
- by Morten Eriksen (it may not be the fastest but at least it is general
- enough to be useful!) which has been reported not to work on gfx cards.
- To prevent these functions from beeing used set 'setenv X11/gfxcard 1'
- (not all programs may use these functions!).
-
- Resources
- -----------
- To handle fonts a file called AmigaDefaults (==.XDefaults) that contains
- information on mapping between X11 fonts and amiga fonts, has been made.
- (and other info when I improve upon it..environment vars are likely contenders..)
- It should be placed in your $HOME. (ex. 'setenv HOME dh1:') or in
- $X11HOME if it is defined.
-
- fontmap.courier: courier.font
- fontmap.helvetica: helvetica.font
-
- are valid entries into this library where the string between . and : is the
- substring that when it matches a requested fontname will map the font into
- the fontname following the colon. A program may ask for
- "-adobe-helvetica-medium-r-*--" and will in this case receive the helvetica.font.
- If you have bitmap versions of the postscript fonts you may insert them
- into this file! (in case you are working with xfig..) I guess it should
- be possible to convert those fonts into something usable on the amiga
- with some of those font editors.
-
- This file can now also contain resource entries that programs will ask
- for like 'XMgr.invertDraw: no'. To find out what resources each program
- asks for you can turn on debugging with 'setenv X11/debug 1' (hm..will be
- 'Amiga.debug: true' real soon..) or read the manual!
-
- Cursors
- ---------
- If you don't like the cursors that the applications may choose to use
- you can override it with 'setenv X11/Cursors 0'. They may look ugly
- but are the default cursors of the X11 window system.
-
- Colors
- --------
- To provide proper color handling a file called rgb.txt has to be placed in
- the same dir as AmigaDefaults (HOME or X11HOME) it contains mapping between
- color names and rgb values. (used by XLookupColor/XParseColor and
- XAllocNamedColor). Also under os 3.0 pensharing is used to obtain pens.
- Without this file programs may decide there wasn't any colors available
- and will use black & white.
-
- Other
- -------
- If you want to run an application on a public screen most of the programs
- will react to a command line entry '-display PubScreen'. If it doesn't
- 'setenv X11/usepub PubScreen' can be used.
-
- Some debug information can be obtained by 'setenv X11/debug 1'. Most programs
- also provide its own debug command line option.
-
- setenv X11/askmode 1 is used with xanim to specify the screenmode which the
- anim is showed on.
-