Re: FVWM: xrdb

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Wed, 28 Jun 2000 19:25:29 -0400

Neil Zanella <nzanella_at_cs.mun.ca> writes:
>
> Why doesn't the following work?
>
> AddToFunc AddResource "I" Exec echo $0 | /usr/X11R6/bin/xrdb -merge
> AddToFunc InitFunction "I" AddResource "Netscape*selectBackground: #FFFF66"
>
> On the other hand the following did work:
>
> AddToFunc AddResource
> [...]
> + "I" Exec echo "Netscape*selectBackground: #FFFF66" | /usr/X11R6/bin/xrdb
> -merge

You just need a little more quoting to stop the "#" fomr being interpreted
by the shell as a comment.

This works:

AddToFunc AddResource "I" Exec echo "$0" | /usr/X11R6/bin/xrdb -merge

--
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Jun 28 2000 - 18:27:24 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:50 BST