DMXQueryExtension - determine if DMX is available
Bool DMXQueryExtension(Display *dpy,
DMXQueryExtension() determines if the DMX protocol extension is available. It will be available if the server is an Xdmx(1) server.
If the DMX protocol extension is available, event_basep and error_basep will be set to the event and error bases, respectively, and True
will be returned. Otherwise, False will be returned.
SEE ALSO DMXQueryVersion(3X), DMX(3X), Xdmx(1)X Version 11 libdmx 1.0.2 DMXQueryExtension(3X)
Check Out this Related Man Page
DMXQueryVersion(3) Library Functions Manual DMXQueryVersion(3)NAME
DMXQueryVersion - determine DMX extension version
Bool DMXQueryVersion(Display *dpy,
DMXQueryVersion() returns version information about the DMX protocol extension.
Any incompatible changes to the protocol will be indicated by a change in major_version. Small, upward-compatible changes will be indi-
cated by a change in minor_version. In general, patch_version is for informational purposes and will encode the date of the last protocol
revision (e.g., 20040604).
If the DMX protocol extension is available, major_version, minor_version, and patch_version will be set, and True will be returned. Other-
wise, False will be returned.
At the time of this writing, the DMX protocol is at version 2.2.
Version 2.2 was the final development version, and code supporting this version was submitted to upstream X server repositories in the sum-
mer of 2004.
Version 1.5 was the last of the 1.x series, which was used for development before screen and input addition and removal were supported.
Version 2.0 and 2.1 were development versions that partially supported screen and input addition and removal.
Since we do not expect development versions to be widely used, we recommend that any software that uses the DMX protocol extension to sup-
port only versions 2.2 and above (although they should detect earlier versions and either reduce functionality or fail gracefully).
SEE ALSO DMXQueryExtension(3), DMX(3), Xdmx(1)X Version 11 libdmx 1.1.2 DMXQueryVersion(3)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)