Re: Xresources Xdefaults documentation

2003-11-28 Thread David Z Maze
Micha Feigin [EMAIL PROTECTED] writes:

 I picked up on most of the syntax, but there are a few points, such
 as it appears that using XTerm.  affects all exterms even if they
 were called through a link (x-terminal-emulator for example) while
 xterm.  affects only when called as xterm or whats the difference
 betwin xterm*fonts and xterm.fonts (some apps appear to prefer it
 one way and some the other some take both).

Every widget in the resource tree has a name ('xterm',
'x-terminal-emulator') and a class ('XTerm').  Generally the man page
will list both.  Dots separate items in the tree; a star between items
indicates that zero or more items may be skipped.  So in the
particular case of xterm, that has a widget named vt100 (class VT100),
which lets you specify a font (class Font).  So these are mostly
equivalent:

XTerm.vt100.font: fixed
XTerm.VT100.Font: fixed
XTerm*Font: fixed

(...and all apply to all xterms, regardless of the name they were
started under.)  These make a difference if you have multiple things
with the same class:

xclock.foreground: black
xclock.hands: gray40
! or, would set both of the above:
xclock.Foreground: black

There's a resolution order documented somewhere if you have
conflicting resource settings, which mostly works out to the most
specific thing takes effect.

-- 
David Maze [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
Theoretical politics is interesting.  Politicking should be illegal.
-- Abra Mitchell


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xresources Xdefaults documentation

2003-11-27 Thread Karsten M. Self
on Sat, Nov 22, 2003 at 12:39:55AM +0200, Micha Feigin ([EMAIL PROTECTED]) wrote:
 Can someone recomend so documentation about Xresources  Xdefaults.
 I found some examples floating around but the exact syntax eludes me.
 I tried googling, looking in the HOWTO directory and apropos but it
 seems like I am not finding the right document.

Generally:

resource: value

...and '!' is the comment character.

Note that resources have compound parts.


I picked up a copy of O'Reilly's _X Window System User's Guide_ some
years ago.

/me thinks.  Sheesh.  Eight years already


...which has a pretty good set of docs on X Window System Resources.
Most of which you can get from man X as suggested.  The book is
probably overkill now, and largely obsolete, but I'm happy to have it.


For most applications which use the Xt toolkit (fewer these days, though
a lot of stuff outside GNOME and KDE does), the app's own manpage should
list resources.  The manpages for xterm, twm, xclock, and xload should
provide some decent clues.  There may be sample resource files in
/etc/X11/Xresources/


Peace.

-- 
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
- Benjamin Franklin, 1755


pgp0.pgp
Description: PGP signature


Re: Xresources Xdefaults documentation

2003-11-27 Thread Paul Morgan
Karsten M. Self wrote

I picked up a copy of O'Reilly's _X Window System User's Guide_ some
years ago.
/me thinks.  Sheesh.  Eight years already
 

Hey, I wrote my first program on an ICT Sirius in 1968, so no sympathy 
from me.  I have, however, discovered two things:

- if one is obsessed with programming, it *never* gets old

- one has to grow old, but one *doesn't* have to grow up

:-

--
paul
They made us many promises, more than I can remember, but they never
kept but one: they promised to take our land, and they took it.
- Chief Red Cloud (Mahpiua Luta) of the Oglala Sioux



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xresources Xdefaults documentation

2003-11-27 Thread Micha Feigin
On Thu, Nov 27, 2003 at 05:58:49AM -0800, Karsten M. Self wrote:
 on Sat, Nov 22, 2003 at 12:39:55AM +0200, Micha Feigin ([EMAIL PROTECTED]) wrote:
  Can someone recomend so documentation about Xresources  Xdefaults.
  I found some examples floating around but the exact syntax eludes me.
  I tried googling, looking in the HOWTO directory and apropos but it
  seems like I am not finding the right document.
 
 Generally:
 
 resource: value
 
 ...and '!' is the comment character.
 
 Note that resources have compound parts.
 
 
 I picked up a copy of O'Reilly's _X Window System User's Guide_ some
 years ago.
 
 /me thinks.  Sheesh.  Eight years already
 
 
 ...which has a pretty good set of docs on X Window System Resources.
 Most of which you can get from man X as suggested.  The book is
 probably overkill now, and largely obsolete, but I'm happy to have it.
 
 
 For most applications which use the Xt toolkit (fewer these days, though
 a lot of stuff outside GNOME and KDE does), the app's own manpage should
 list resources.  The manpages for xterm, twm, xclock, and xload should
 provide some decent clues.  There may be sample resource files in
 /etc/X11/Xresources/
 

I picked up on most of the syntax, but there are a few points, such as
it appears that using
XTerm.
affects all exterms even if they were called through a link
(x-terminal-emulator for example) while
xterm.
affects only when called as xterm or whats the difference betwin
xterm*fonts and xterm.fonts (some apps appear to prefer it one way and
some the other some take both).

 
 Peace.
 
 -- 
 Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
  What Part of Gestalt don't you understand?
 Those who would give up essential Liberty, to purchase a little
 temporary Safety, deserve neither Liberty nor Safety.
 - Benjamin Franklin, 1755



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Xresources Xdefaults documentation

2003-11-26 Thread Micha Feigin
Can someone recomend so documentation about Xresources  Xdefaults.
I found some examples floating around but the exact syntax eludes me.
I tried googling, looking in the HOWTO directory and apropos but it
seems like I am not finding the right document.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xresources Xdefaults documentation

2003-11-26 Thread Alf Werder
On Fri, 2003-11-21 at 23:39, Micha Feigin wrote:
 Can someone recomend so documentation about Xresources  Xdefaults.
 I found some examples floating around but the exact syntax eludes me.
 I tried googling, looking in the HOWTO directory and apropos but it
 seems like I am not finding the right document.
 

man X

-alf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]