SUMMARY:Access Different XKsysmbDB

From: Lau, Victoria H (vlau@msmail2.hac.com)
Date: Fri Mar 07 1997 - 20:20:42 CST


Thankyou to everyone for your fast responses:

- Jay Lessert
- Bismark Espinoza
- Mohammed Ali
- rsk@itw.com
- Mike Roberts
- Eric J. Ostrander
- Alex Davis
- Marc S. Gibian
- Laurent Duperval
- Joao Luiz E. Tiburcio
- David Perel
- Paolo Pompili
- Satish Somanath
- Rene Occelli
- Matthew Stier

My original question:
====================
We're using a third-party GUI application which comes with its own
XKeysymDB which I'd installed in /usr/mri/master/X11. How do I change
the default key symbol file from /usr/openwin/lib/XKeysymDB to this
file?

Solutions:
=========
The default XkeysymDB is /usr/lib/X11/XKeysymDB. If this does not exist,
it defaults to /usr/openwin/lib/XKeysymDB (linked to /usr/openwin/lib/X11/
XKeysymDB).

There are a few ways to accomplish the change:

1. Write a wrapper for the program so we don't change the Sun's default
    for other applications:
      XKEYSYMDB=/usr/mri/master/X11/XKeysymDB; export XKEYSYMDB
      exec /usr/mri/master/bin/xray &

2. Append the application XKeysymDB file to the one in /usr/openwin/lib.
    Beware of duplications in the file.

3. Have the users who ned the "special" XKeysymDB to copy it into their
    home directory.

4. Use a symbolic link to point to the application's XKeysymDB if you
    don't need to use the Sun's version.

Comments:
========
I tested all of the above solutions but all of them gave me the following
warnings:

Warning: Cannot convert string "<Key>SunCopy" to type VirtualBinding
Warning: Cannot convert string "<Key>SunCut" to type VirtualBinding
Warning: Cannot convert string "<Key>SunPaste" to type VirtualBinding
Warning: translation table syntax error: Unknown keysym name: osfPageLeft
Warning: ... found while parsing ':s <Key>osfPageLeft:page-left(extend)'
Warning: translation table syntax error: Unknown keysym name: osfPageLeft
Warning: ... found while parsing ':<Key>osfPageLeft:page-left()'
Warning: translation table syntax error: Unknown keysym name: osfPageRight
Warning: ... found while parsing ':s <Key>osfPageRight:page-right(extend)'
Warning: translation table syntax error: Unknown keysym name: osfPageRight
Warning: ... found while parsing ':<Key>osfPageRight:page-right()'
Warning: translation table syntax error: Unknown keysym name: osfPageLeft
Warning: ... found while parsing ':<Key>osfPageLeft:PageUpOrLeft(1)'
Warning: translation table syntax error: Unknown keysym name: osfPageRight
Warning: ... found while parsing ':<Key>osfPageRight:PageDownOrRight(1)'

I called to the software vendor--they did not have such warnings when they
started their application but no one there could tell me how the system
should be set up to run their application, xray (or MasterWorks). I tried
to ask them to compare their files and directories with me but all their
tech support personnel is still running SunOS, not Solaris, even though
their software is supposed to run on Solaris as well.

Thanks again for all of your help. Please pardon me if I miss out anyone
from the list.

Vicky Lau
vlau@msmail2.hac.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:48 CDT