| 1 |
#%Module1.0 |
| 2 |
|
| 3 |
############################################################################## |
| 4 |
# Modules Revision 3.0 |
| 5 |
# Providing a flexible user environment |
| 6 |
# |
| 7 |
# File: x-resource/%M% |
| 8 |
# Revision: %I% |
| 9 |
# First Edition: 2016/07/21 |
| 10 |
# Last Mod.: %U%, %G% |
| 11 |
# |
| 12 |
# Authors: Xavier Delaruelle |
| 13 |
# |
| 14 |
# Description: Testuite modulefile |
| 15 |
# Command: |
| 16 |
# Sub-Command: x-resource |
| 17 |
# |
| 18 |
# Invocation: load @M@, unload @M@ |
| 19 |
# Result: %R(load){ |
| 20 |
# setenv _LMFILES_ ${_LMFILES_}:@M@/@V@ |
| 21 |
# setenv LOADEDMODULES ${LOADEDMODULES}:@P@/@M@/@V@ |
| 22 |
# XRDB |
| 23 |
# }R% |
| 24 |
# %R(unload){ |
| 25 |
# unsetenv _LMFILES_ |
| 26 |
# unsetenv LOADEDMODULES |
| 27 |
# XRDB |
| 28 |
# }R% |
| 29 |
# Comment: %C{ |
| 30 |
# Check the 'x-resource' command in various conditions |
| 31 |
# }C% |
| 32 |
# |
| 33 |
############################################################################## |
| 34 |
|
| 35 |
x-resource $env(TESTSUITEDIR)/home/.Xresources |
| 36 |
x-resource my-prog*my-ress:true |
| 37 |
x-resource {my-other-prog*my-other-ress Fontname:style=Regular:size=10} |
| 38 |
x-resource my-other-prog*complex-ress-value -fontname-bold-r-*-12-*-*-*-*-* |
| 39 |
x-resource my-other-prog*badly-written-ress |