[comp.windows.x] Motif ?????? Question.......

gates@cscsun1.larc.nasa.GOV (Ray Gates) (02/12/91)

#1000000001 in my continuing series of stupid questions...........

There is a user at our facility (NASA/LaRC) who has Motif 1.1 (binaries only)
on his SunSparcStation...........when even the simplest of programs (like the
button demo program xmbutton.c) is run.....the following messages appear....

Warning: translation table syntax error: Unknown keysym name: osfLeft
Warning: ... found while parsing '     <Key>osfLeft:    MenuTraverseLeft()'
Warning: translation table syntax error: Unknown keysym name: osfRight
Warning: ... found while parsing '     <Key>osfRight:   MenuTraverseRight()'
Warning: translation table syntax error: Unknown keysym name: osfUp
Warning: ... found while parsing '     <Key>osfUp:      MenuTraverseUp()'
Warning: translation table syntax error: Unknown keysym name: osfDown
Warning: ... found while parsing '     <Key>osfDown:    MenuTraverseDown()'
Warning: translation table syntax error: Unknown keysym name: osfHelp
Warning: ... found while parsing '<Key>osfHelp: Help()'
                    .
                    .
                    .

Additionally, if you use a text widget.....the delete, backspace key are 
mucked up........forgive me for these potentially idiotic questions...but
what's wrong here????? Was the Motif stuff installed wrong??? Or am I doing
something wrong????

Thanks in advance.......now back to reading the Motif manual........:=)
-- 
_______________________________________________________________________________
				       |        Ray Gates 
	"Mama, mama, many worlds       |	CSC/NASA-Langley
	 have come since I first       |	gates@cscsun1.larc.nasa.gov
               left home."	       |              (128.155.42.32)
				       |        Phone:  804.865.1725
-------------------------------------------------------------------------------
DISCLAIMER: The comments/opinions contained within are my own and do not
            necessarily represent the opinions of my employer(s).
-------------------------------------------------------------------------------

jeffery@venice.SEDD.TRW.COM (Jeffery Cavallaro) (02/13/91)

In article <9102121334.AA06429@cscsun1.larc.nasa.gov> gates@cscsun1.larc.nasa.GOV (Ray Gates) writes:
>Warning: translation table syntax error: Unknown keysym name: osfLeft
>Warning: ... found while parsing '     <Key>osfLeft:    MenuTraverseLeft()'
>Warning: translation table syntax error: Unknown keysym name: osfRight
>Warning: ... found while parsing '     <Key>osfRight:   MenuTraverseRight()'
>Warning: translation table syntax error: Unknown keysym name: osfUp
>Warning: ... found while parsing '     <Key>osfUp:      MenuTraverseUp()'
>Warning: translation table syntax error: Unknown keysym name: osfDown
>Warning: ... found while parsing '     <Key>osfDown:    MenuTraverseDown()'
>Warning: translation table syntax error: Unknown keysym name: osfHelp
>Warning: ... found while parsing '<Key>osfHelp: Help()'
>                    .

It looks like a X11R3 server is being used with a X11R4 client.  We tried this
test on our R3 X terminals and got the same response.

The problem appears to be the X11R4 convertors intolerance of extra
whitespace.  We have run into this problem on several occasions.  Maybe
someone could shed some light on this...

Jeff

nazgul@alphalpha.com (Kee Hinckley) (02/13/91)

In article <995@venice.SEDD.TRW.COM> jeffery@venice.sedd.trw.com (Jeffery Cavallaro) writes:
>In article <9102121334.AA06429@cscsun1.larc.nasa.gov> gates@cscsun1.larc.nasa.GOV (Ray Gates) writes:
>>Warning: translation table syntax error: Unknown keysym name: osfLeft
>>Warning: ... found while parsing '     <Key>osfLeft:    MenuTraverseLeft()'
>>Warning: translation table syntax error: Unknown keysym name: osfRight
>>Warning: ... found while parsing '     <Key>osfRight:   MenuTraverseRight()'
>>Warning: translation table syntax error: Unknown keysym name: osfUp
>>Warning: ... found while parsing '     <Key>osfUp:      MenuTraverseUp()'
>>Warning: translation table syntax error: Unknown keysym name: osfDown
>>Warning: ... found while parsing '     <Key>osfDown:    MenuTraverseDown()'
>>Warning: translation table syntax error: Unknown keysym name: osfHelp
>>Warning: ... found while parsing '<Key>osfHelp: Help()'
>>                    .
>
>It looks like a X11R3 server is being used with a X11R4 client.  We tried this
>test on our R3 X terminals and got the same response.
>
>The problem appears to be the X11R4 convertors intolerance of extra
>whitespace.  We have run into this problem on several occasions.  Maybe
>someone could shed some light on this...

Nope.  It's a RTFRN.  You need to install

!
!               OSF Keysyms
!
osfBackSpace                    :1004FF08
osfInsert                       :1004FF63
osfDelete                       :1004FFFF
osfCopy                         :1004FF02
osfCut                          :1004FF03
osfPaste                        :1004FF04

osfAddMode                      :1004FF31
osfPrimaryPaste                 :1004FF32
osfQuickPaste                   :1004FF33

osfPageUp                       :1004FF41
osfPageDown                     :1004FF42

osfEndLine                      :1004FF57
osfBeginLine                    :1004FF58

osfActivate                     :1004FF44

osfMenuBar                      :1004FF45

osfClear                        :1004FF0B
osfCancel                       :1004FF69
osfHelp                         :1004FF6A
osfMenu                         :1004FF67
osfSelect                       :1004FF60
osfUndo                         :1004FF65

osfLeft                         :1004FF51
osfUp                           :1004FF52
osfRight                        :1004FF53
osfDown                         :1004FF54

In the file /usr/lib/X11/XKeySymDB.  Whoever provided your binary
distribution evidentally forgot to give you this file.
-- 
Alfalfa Software, Inc.		|	Poste:  The EMail for Unix
nazgul@alfalfa.com		|	Send Anything... Anywhere
617/646-7703 (voice/fax)	|	info@alfalfa.com

I'm not sure which upsets me more; that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

aw@bae.bae.bellcore.com (Andrew Wason) (02/15/91)

In article <9102121334.AA06429@cscsun1.larc.nasa.gov>, gates@cscsun1.larc.nasa.GOV (Ray Gates) writes:
> 
> There is a user at our facility (NASA/LaRC) who has Motif 1.1 (binaries only)
> on his SunSparcStation...........when even the simplest of programs (like the
> button demo program xmbutton.c) is run.....the following messages appear....
> 
> Warning: translation table syntax error: Unknown keysym name: osfLeft
> Warning: ... found while parsing '     <Key>osfLeft:    MenuTraverseLeft()'


You need to install the file XKeysymDB (which you should have received
with your binaries) in LibDir (e.g. /usr/lib/X11/XKeysymDB).

Andrew

--------------------------------------------------------------------------------
Andrew Wason                                        Bell Communications Research
aw@bae.bellcore.com                                 Piscataway, NJ
bellcore!bae!aw

swindon.ingr.com (Nik Simpson x4333) (02/19/91)

In article <9102121334.AA06429@cscsun1.larc.nasa.gov> gates@cscsun1.larc.nasa.GOV (Ray Gates) writes:
>#1000000001 in my continuing series of stupid questions...........
>
>There is a user at our facility (NASA/LaRC) who has Motif 1.1 (binaries only)
>on his SunSparcStation...........when even the simplest of programs (like the
>button demo program xmbutton.c) is run.....the following messages appear....
>
>Warning: translation table syntax error: Unknown keysym name: osfLeft
>Warning: ... found while parsing '     <Key>osfLeft:    MenuTraverseLeft()'
>Warning: translation table syntax error: Unknown keysym name: osfRight
>Warning: ... found while parsing '     <Key>osfRight:   MenuTraverseRight()'
>Warning: translation table syntax error: Unknown keysym name: osfUp
>
	We see these problems if X is reloaded from a product tape after
Motif,  obviously this is on a different platform,  but I suspect reloading
Motif may do the trick for you.
-- 
|--------------------------------------------------|
|  Nik Simpson	UUCP :uunet!ingr!swindon!st_nik!nik|
|  Systems Consultant (UNIX).   Intergraph UK Ltd. |
|--------------------------------------------------|

rlh2@ukc.ac.uk (R.L.Hesketh) (02/20/91)

In article <1991Feb19.131848.2428@st_nik!swindon.ingr.com> nik@st_nik!swindon.ingr.com (Nik Simpson x4333) writes:
>In article <9102121334.AA06429@cscsun1.larc.nasa.gov> gates@cscsun1.larc.nasa.GOV (Ray Gates) writes:
>>#1000000001 in my continuing series of stupid questions...........

>>There is a user at our facility (NASA/LaRC) who has Motif 1.1 (binaries only)

>>Warning: translation table syntax error: Unknown keysym name: osfLeft
>>Warning: ... found while parsing '     <Key>osfLeft:    MenuTraverseLeft()'

Have you got "XKeysymDB" installed in the X11 lib directory possibly under
/usr/lib/X11/XKeysymDB or /usr/local/lib/X11/XKeysymDB etc ?
When I hand installed Motif I was getting these warnings and found that
I hadn't installed the XKeysymDB file that was included with the Motif Xm
library.  This file defines all these additional "osf" Keysyms and is
searched by Xlib (XKeysymToString() and XStringToKeysym() in
lib/X/XStrKeysym.c).

>	We see these problems if X is reloaded from a product tape after
>Motif,  obviously this is on a different platform,  but I suspect reloading
>Motif may do the trick for you.

I have no real idea what the above sentence means, am I out of touch with
industry jargon or am I just too young to remember?? 8-)

Richard