Does xrdb work?

Please post any bugs you have found
Post Reply
Message
Author
Bruce B

Does xrdb work?

#1 Post by Bruce B »

I tried to run an xrdb -merge command and it failed complaining of no cpp, so I copied cpp from Vector 4.3

Then it complained of no tradcpp0, so I copied it over from Vector 4.3, but it still complained of no tradcpp0. So, I copied it over to the same directory as it was in Vector 4.3, which is:

/usr/lib/gcc-lib/i486-slackware-linux/3.2.3

Then it worked.

There are some xrdb -merge commands in ~/.xinitrc. I wonder if they work without the cpp and tradcpp0 files?

Guest

#2 Post by Guest »

xrbd needs the c preprocessor to expand the defines...It's a pain and unfornately there doesn't seem to be an alternative tho you can define the actual c preprocessor on the xrdb commandline...tinycccccccc won't work last time I tried

Bruce B

#3 Post by Bruce B »

Thanks bladehunter,

After I got it working I could run the help. Here it is for you. Note the option to bypass the preprocessr

Maybe you could try it and see if it works with the -nocpp option?
  • usage: xrdb [-options ...] [filename]

    where options include:
    -display host:dpy display to use
    -all do all resources [default]
    -global do screen-independent resources
    -screen do screen-specific resources for one screen
    -screens do screen-specific resources for all screens
    -n show but don't do changes
    -cpp filename preprocessor to use [/usr/bin/cpp -traditional -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DX_LOCALE ]
    -nocpp do not use a preprocessor
    -query query resources
    -load load resources from file [default]
    -override add in resources from file
    -merge merge resources from file & sort
    -edit filename edit resources into file
    -backup string backup suffix for -edit [.bak]
    -symbols show preprocessor symbols
    -remove remove resources
    -retain avoid server reset (avoid using this)
    -quiet don't warn about duplicates
    -Dname[=value], -Uname, -Idirectory passed to preprocessor

    A - or no input filename represents stdin.

Post Reply