[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Jun 24 15:07:26 1993 
Subject:Re: setting X resources from Poplog 
From:Ian Rogers 
Volume-ID:930624.03 

ianr@syma.sussex.ac.uk (Ian Rogers) writes:
> A.Sloman@uk.ac.bham.cs ("A.Sloman") writes:
> > I wonder if anyone can see anything wrong with this. Here's the
> > code for a procedure xsetresource, with a help section giving
> > examples of its use. Suggestions for improvement welcome.
>
> I don't know if the following is better, but it's an alternative. In
> particular there's not really enough checking of arguments, but it does
> avoid the fork in -sysobey-.

Another bonus is that it only updates the "application resources"
ie. the resource database of the current Poplog. The

    sysobey('xrdb -merge...')

method effects the display database, and thus will effect *any*
subsequently run Poplog (or other) process.

Ian.