On Thu, Oct 12, 2017 at 06:29:58AM -0500 I heard the voice of
Matthew D. Fuller, and lo! it spake thus:
> On Tue, Oct 10, 2017 at 01:17:29AM -0400 I heard the voice of
> Steve Litt, and lo! it spake thus:
> > 
> > I suggest that ctwm be modified so that if --cfgchk is the only
> > argument, it outputs the errors to stdout whether or not X is
> > running, and that it not error out because X isn't running.
> 
> It's probably not impossible to make at least a fair approximation
> at, but it wouldn't be easy.

In fact, it's stupendously not easy.  Not only do we need the X
connection to find out a lot of stuff to do the setup for parsing the
config, but the config parsing itself does a lot of interaction with X
to setup colors and fonts, as well as sundry other fun bits.  So
without talking to X, there are things we can't even actually check.

However, code just landed in trunk can now do most of the checking
without X, if necessary.  And with a somewhat cleaner process, to
boot, so running it with X won't pollute your running session as much.
And will check multiple-Screen multi-configs.  It only took 1200+
lines of adjustment...


-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.

Reply via email to