I want to use calls from the X Keyboard Extension, but get "library version mismatch" error.
First one is XkbLibraryVersion(..). This one already returns false.
Then I call XkbOpenDisplay(...) which does not return a valid display; return value is XkbOD_NonXkbServer. If I open the display with XOpenDisplay and then call XkbQueryExtension(...) the return value is false and the major and minor are 0. The error code then is XkbOD_BadLibraryVersion.
Who can help???
How can I specify the version of the installed X keyboard extension? Where do I get a correct version to use? I can use the code on Linux (FC3) but not on HP-UX, Solaris or AIX!!
rsync --delay-updates -F --compress --archive --rsh='/usr/bin/ssh -t -a -x' /web/admin/Transfer/data/ user1@destserver1:/tmp/testf
rsync version on sender server is:3.0.9
rsync version on sender server is:3.0.6
Linux sourceserver1 3.10.0-693.17.1.el7.x86_64 #1 SMP Sun Jan 14 10:36:03 EST... (1 Reply)
Hi All,
I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing.
1.I need to display the .done files from the directory.
2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory
... (2 Replies)
Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it.
I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Incompatiblity of the code due to CC compiler version mismatch.
I have a machine with
Machine A-- Operating System:SunOs 5.8 Generic_117350-45 sun4u sparc SUNW,Ultra-80(solaris 5.8)
CC Compiler:CC: WorkShop Compilers 4.2 16 Jun 1998 C++ 4.2 patch 104631-07
we have compiled C++... (36 Replies)
:confused: I installed latest version of java ( jre 1.6) on Solaris Machine ......when I run java -version as root, shows the latest version but when I run java -version as normal user, shows the old / previous version
What should I do to fix this ...should show the latest version... (3 Replies)
Hello all -
I am to this forum and fairly new in learning unix and finding some difficulty in preparing a small shell script. I am trying to make script to sort all the files given by user as input (either the exact full name of the file or say the files matching the criteria like all files... (3 Replies)
A Solaris AXI 440 machine with Solaris 8 version.
I have PC users who use an emulation to login to the Solaris
server.
How can I change the keyboard mapping of the Sun keyboard
to fit to the PC keyboard ?
Any comment will be appreciated.
Thanks (1 Reply)
XkbQueryExtension(3) XKB FUNCTIONS XkbQueryExtension(3)NAME
XkbQueryExtension - Determines the compatibility of a library at runtime.
SYNOPSIS
Bool XkbQueryExtension ( dpy, opcode_rtrn, event_rtrn, error_rtrn, major_in_out, minor_in_out )
Display *dpy;
int opcode_rtrn;
int event_rtrn;
int *error_rtrn;
int major_in_out;
int minor_in_out;
ARGUMENTS
dpy connection to the X server
opcode_rtrn
backfilled with the major extension opcode
event_rtrn
backfilled with the extension base event code
error_rtrn
backfilled with the extension base error code
major_in_out
compile time lib major version in, server major version out
minor_in_out
compile time lib min version in, server minor version out
DESCRIPTION
Call XkbQueryExtension to check for the presence and compatibility of the extension in the server and to initialize the extension. Because
of potential version mismatches, you cannot use the generic extension mechanism functions ( XQueryExtension and XInitExtension ) for check-
ing for the presence of, and initializing the Xkb extension.
You must call XkbQueryExtension or XkbOpenDisplay before using any other Xkb library interfaces, unless such usage is explicitly allowed in
the interface description in this document. The exceptions are: XkbIgnoreExtension, XkbLibraryVersion, and a handful of audible-bell func-
tions. You should not use any other Xkb functions if the extension is not present or is uninitialized. In general, calls to Xkb library
functions made prior to initializing the Xkb extension cause BadAccess protocol errors.
XkbQueryExtension both determines whether a compatible Xkb extension is present in the X server and initializes the extension when it is
present.
The XkbQueryExtension function determines whether a compatible version of the X Keyboard Extension is present in the server. If a compati-
ble extension is present, XkbQueryExtension returns True; otherwise, it returns False.
If a compatible version of Xkb is present, XkbQueryExtension initializes the extension. It backfills the major opcode for the keyboard
extension in opcode_rtrn, the base event code in event_rtrn, the base error code in error_rtrn, and the major and minor version numbers of
the extension in major_in_out and minor_in_out. The major opcode is reported in the req_major fields of some Xkb events. For a discussion
of the base event code.
RETURN VALUES
True The XkbQueryExtension function returns True if it determines a compatible version of the X Keyboard Extension is present in
the server.
False The XkbQueryExtension function returns False if it determines a compatible version of the X Keyboard Extension is not
present in the server.
SEE ALSO XkbIgnoreExtension(3), XkbLibraryVersion(3), XkbOpenDisplay(3)X Version 11 libX11 1.2.1 XkbQueryExtension(3)