Package: x11-xserver-utils
Version: 7.7+4
Severity: wishlist
File: /usr/share/man/man1/xrdb.1.gz

User reads
     xrdb [-option ...] [filename]

User reads
       -remove This option indicates that the specified properties  should  be
               removed from the server.
User tries
$ xrdb -query|sort|nl
     1  *VT100*assumeAllChars:  true
     2  *VT100*eightBitInput:   false
     3  *VT100*geometry:        222x111
     4  *VT100*on3Clicks:       regex [^ ]+
     5  *VT100*on4Clicks:       regex [^$#]+
     6  *VT100*on5Clicks:       line
     7  *VT100*rightScrollBar:  true
     8  *VT100*scrollBar:       true
     9  *VT100.font:    -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1
    10  *customization: -color
    11  *scrollKey:     True
    12  *scrollTtyOutput:       False
    13  Emacs.bitmapIcon:       off
    14  Scrollbar.JumpCursor:   True
    15  gnuplot*tvtwm:  on
    16  xpdf.geometry:  1024x726
$ echo xpdf.geometry |xrdb -remove
$ xrdb -query|sort|nl
$ echo xpdf.geometry:  1024x726|xrdb
$ xrdb -query|sort|nl
     1  xpdf.geometry:  1024x726
$ xrdb --help
usage:  xrdb [-options ...] [filename]

where options include:
 -help               print this help message
 -version            print the program version
 -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]
 -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.
$ xrdb -remove  xpdf.geometry
$ xrdb -query|sort|nl
$ echo xpdf.geometry:  1024x726|xrdb
$ xrdb -remove zzzz
$ xrdb -query|sort|nl
$

I have proved that there is not enough information on the man page to
figure out how the -remove command works.

Also e.g.,
$ xrdb -remove zzzz ssssss sssssssss
violates Usage, but no error is raised.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to