🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24357

Re: Defeating the resource file search path.

#24357
From: Peter Ware
Date: Fri, 22 Jan 1993 13:51
26 lines
1590 bytes
You could, conceivably, use some idiosyncratic method for loading
the resources and just replace the resource database.  Look at the
Xrm*() functions in Xlib.  But don't do it.

I'll concede that where an Xt program finds resource files does seem
to come from an incredible variety of places.  They are (from highest
priority to lowest priority):

	1. Args passed at creation time.
	2. Command line arguments.
	3. User's per host defaults file
	4. User's defaults file.
	5. User's per application default file.
	6. System wide per application default file.

Of course, it is complicated by the fact that several of these can be
loaded from different places.  Look at the Xt FAQ, Question 20, for
full details about where resources are found.

--pete
--
Pete Ware					ware@cis.ohio-state.edu
CIS Dept, Ohio State University			w/ (614) 292-7318
228 Bolz Hall, 2036 Neil Ave.			h/ (614) 538-0965
Columbus, OH 43210
Welcome William Patrick Ware to the world!  Born 10/21/92, 8lbs 6.2oz (3.83kg)
Technical Details
Message-ID: <WARE.93Jan22085147@oboe.cis.ohio-state.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!oboe!ware
References: <3310@contex.contex.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!oboe!ware
From: ware@oboe.cis.ohio-state.edu (Peter Ware)
Newsgroups: comp.windows.x
Subject: Re: Defeating the resource file search path.
Date: 22 Jan 1993 08:51:52 -0500
Organization: Ohio State Computer Science
Lines: 26
Sender: ware@cis.ohio-state.edu
Message-ID: <WARE.93Jan22085147@oboe.cis.ohio-state.edu>
References: <3310@contex.contex.com>
NNTP-Posting-Host: oboe.cis.ohio-state.edu
In-reply-to: avinash@felix.contex.com's message of 21 Jan 93 16:16:40 GMT