HDTenEightyP/NetNews huggingface dataset:
From: henigan@quando.quantum.de (Kevin Henigan)
Newsgroups: fj.mail-lists.x-window
Subject: Getting the current font while building BB
Date: 30 Sep 92 22:04:28 GMT
Distribution: fj
Organization: Quantum Software GmbH, Dortmund, Germany

Date: 30 Sep 92 09:13:06 GMT
Message-Id: <1992Sep30.091306.5397@quando.quantum.de>
Newsgroups: comp.windows.x,comp.windows.x.motif


Hi,

I have a small problem, I wondered if some out there could help me.

I have to layout a mask with input and text fields, the positions of all
the fields are in a descriptions file specified as row, column values.

To do this I have layed out a BulletinBoard with Label & Text Widgets, the
positions (x,y) of all the Label & Text Widgets is calculated from the row,
column specified and the height & width of the font. This works fine when
I set the font in the program, (I use XLoadQueryFont() ), but the font should
really be set using resources.


Now my problem is, I need to get the height & width of the font that will be
used for the BulletinBoard BEFORE I create all the labels/Text widgets on it.

My idea was to get the fontlist from the BB, create a string and use
XmStringWidth & XmStringHeight :-


   n=0;
   XtSetArg(args[n],XmNfontList,&fontlist);  n++;
   XtGetValues(BB_mask_widget,args,n);

   xmstr= XmStringLtoRCreate("X", XmSTRING_DEFAULT_CHARSET);

   printf(" BB Width %d\n", XmStringWidth(fontlist, xmstr ));
   printf(" BB Height %d\n", XmStringHeight(fontlist, xmstr ));


I tried this first in a PushButton activate Callback and it works fine.

I then put it into the code that builds the BulletinBoard, so I Create
the BulletinBoard and then do the same as above, this doesn't work
I always get 0 returned.

Does this mean it only works on Realised widgets?

Is there another way to get the size of the font for the BulletinBoard
AFTER creation but BEFORE I add all the Labels & Text Widgets?

Any comments would be greatly appreciated.


-- 
 Kevin Henigan. UUCP:     {backbone}!unido!quando!henigan OR henigan@quando.uucp
  Quantum GmbH  Bitnet:   henigan%quando@UNIDO(.bitnet)
    Dortmund    internet: henigan@quantum.de, or henigan@quando.quantum.de
    Germany     advert  : space to rent..
From: joe@oilean.islandsw.com (Joe McGuckin)
Newsgroups: fj.mail-lists.x-window
Subject: OW v3 and mit servers drawing different arcs?
Date: 6 Oct 92 07:49:57 GMT
Distribution: fj
Organization: Island Software

Date: Tue, 6 Oct 1992 05:21:47 GMT
Message-Id: <JOE.92Oct5212147@oilean.islandsw.com>
Newsgroups: comp.windows.x

I'm trying to draw a circle within a window. I've noticed
that the Sun server seems to do what I want. The mit
server draws a circle that would extend 1 pixel out of the 
window to the right and out the bottom.  

What's going on here?

-joe

-- 

Joe McGuckin             joe@islandsw.com
Island Software    	 oilean!joe@sgi.com
(415) 969-5453
From: gizmonic!csthomas@bloom-beacon.MIT.EDU (shane thomas)
Newsgroups: fj.mail-lists.x-window
Subject: Anyone ever port to Desq/X?
Date: 6 Oct 92 10:14:53 GMT
Distribution: fj
Organization: The Gizmonic Institute

Date: 3 Oct 92 23:10:41 GMT
Message-Id: <iwc4RB1w165w@gizmonic.UUCP>
Newsgroups: comp.windows.x

Just curious...

Has anyone ever ported any existing X program of significant size 
to Desqview/X? My boss thinks he might wanny try it with our Sparc-based
system, and it's got me worried.

thanks -

shane






---
8 college ave        | inet: bm155@cleveland.freenet.edu     | Happy, happy
frederick, md  21701 | uucp: rutgers!devon!gizmonic!csthomas |   joy, joy.
From: iscooibc@nuscc.nus.sg (Beng Chin)
Newsgroups: fj.mail-lists.x-window
Subject: GC Errors
Date: 28 Sep 92 14:26:32 GMT
Distribution: fj
Organization: National University of Singapore

Date: 25 Sep 92 18:48:53 GMT
Message-Id: <1992Sep25.184853.17960@nuscc.nus.sg>
Newsgroups: comp.windows.x

Dear X-perts,

I think this error has been brought up many times
before.  Nevertheless, I hope someone can
help out.  Basically I am trying to draw a bounding
rectangle around a widget when I select it.  And I
got the following errors.  

Also, I do not know if anyone had implement drag
and drop in C++.  Please drop me a mail if there
is one available somewhere.  Thank you.

KC Phua (Student)
National U. Of Singapore

---------------- error -----------------------------

X Error of failed request:  BadValue (integer parameter out of range for
operation)
Major opcode of failed request:  55 (X_CreateGC)
value in failed request:  0x28000d4
Serial number of failed request:  892
Current serial number in output stream:  894

------- relevant codes -------------------------

void WidgetAction::select( Widget w, XEvent *event ) {

	int currentX, currentY, lastX, lastY;
	Position x,y;
	GC gc;
	XGCValues values;
	Dimension width, height;

	values.line_style - LineOnOffDash;
	values.function = GXxor;
	gc = XtGetGC(w, GCForeground | GCBackground |
	GCFunction | GCLineStyle, &values); 

	lastX = event->xbutton.x;
	lastY = event->xbutton.y;

	currentX = lastX;
	currentY = lastY;
	XtVaGetValues( w,
	   XmNx, &x,
	   XmNy, &y,
	   XmNwidth, &width,
	   XmNheight, &height,
	   NULL );
	XDrawRectangle(XtDisplay(w), XtWindow(w), gc, x, y,
				   width, height);
}
From: pd@x.co.uk (Paul Davey)
Newsgroups: fj.mail-lists.x-window
Subject: Re: xon obeying xdefaults
Date: 29 Sep 92 23:13:19 GMT
Distribution: fj
Organization: IXI Ltd.

Date: 29 Sep 92 18:23:02 GMT
Message-Id: <PD.92Sep29182302@herts.x.co.uk>
Newsgroups: comp.windows.x

>>>>> On 25 Sep 92 21:38:21 GMT, lpb@cs.bham.ac.uk (Luc Beaudoin) said:

Luc> Is there a way to make  xon obey one's .Xdefaults?

At login or session start (maybe in .xinitrc or .xsession)

	xrdb ~/.Xdefaults

--
		     Regards,				
			    Paul Davey			
					
		 "These are interesting times"	

  **	  LOOK - the NEW address & phone numbers for IXI	**

  **	  IXI	         	Internet: pd@x.co.uk		**
  **	  Vision Park   	UUCP:     pd@ixi.uucp		**
  **	  Cambridge        	Bang:     ...!uunet!ixi!pd	**
  **	  CB4 4ZR       	Tel:      +44 223 236 555	**
  **	  United Kingdom	Fax:      +44 223 236 550	**
From: mueller@carissimi.cs.unc.edu (Carl Mueller)
Newsgroups: fj.mail-lists.x-window
Subject: X11 Vectrix emulator?
Date: 29 Sep 92 00:23:02 GMT
Distribution: fj
Organization: The University of North Carolina at Chapel Hill

Date: 27 Sep 92 05:26:00 GMT
Message-Id: <15672@borg.cs.unc.edu>
Newsgroups: comp.windows.x,comp.windows.x.apps

Does anyone remember the Vectrix framebuffers?  These were:

- serial devices
- with a 8086 CPU
- 672x480 resolution
- 9 bit color lookup table (into 24 bits)

I've got some old programs that were designed to use these
devices.  I was wondering if there was ever anyone industrious
enough to write an X11 Vectrix emulator?  This would just need
to be a program that opened a window and processed stdin as if
it were a Vectrix framebuffer.  The only trick would be in
dealing with programs that used more than 256 color entries.
Does anybody have such a program?

While I'm at it, I could use a similar emulator for a Data
General GDC 1000.  It would be very similar, except for a
different (and somewhat more powerful) command set.  Any bites?

Failing that, does anybody have any X11 program that accepts
general commands from stdin to draw points, lines, circles, etc?
Sure, such a program wouldn't be too hard to write; it's just
a matter of TIME!

-Carl (mueller@cs.unc.edu)
From: kelly@nmt.edu (Sean Kelly)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Regarding How to stop Dirty Pictures.
Date: 29 Sep 92 00:18:35 GMT
Distribution: fj
Organization: New Mexico Tech

Date: 26 Sep 92 04:22:21 GMT
Message-Id: <1992Sep26.042221.3746@nmt.edu>
Newsgroups: comp.windows.x

[ Various people write about keeping unwanted users from accessing
  their displays ]

The solution for which you're looking is to make an .Xauthority file
and to start your server with the -auth option.  The argument to -auth
is the location of your .Xauthority file.  You make the .Xauthority
file using the xauth utility.  All of this crap (-auth option to X
server and xauth program) is included in the X11R{4,5} releases, so
you don't have to go out and fetch it.

xauth and the -auth option enable to choose from three different
authorization mechanisms.

  MIT-MAGIC-COOKIE-1	key-based, key transmitted without encryption
  XDM-AUTHORIZATION-1   key-based, key transmitted w/encryption
  SUN-DES-1             Sun's secure-RPC based (most secure)

Not all servers are built to support XDM-AUTHORIZATION-1.  Check with
whomever built X at your site.  Also, SUN-DES-1 won't work on machines
that don't have Sun's secure-RPC mechanism.

Here's a simple and dirty way to use MIT-MAGIC-COOKIE-1.

1.  Make up a 128 bit cookie, or use a cookie generation program,
    script, random sequence from /dev/mem, whatever.  Let's say
    it's 58ea60c442308e7a678c601d50d28dd3.

2.  Use xauth to make your .Xauthority file.  Type the following
    commands to xauth (in the example, the local host name is fish):

      add fish:0 MIT-MAGIC-COOKIE-1 58ea60c442308e7a678c601d50d28dd3
      add localhost:0 MIT-MAGIC-COOKIE-1 58ea60c442308e7a678c601d50d28dd3
      add fish/unix:0 MIT-MAGIC-COOKIE-1 58ea60c442308e7a678c601d50d28dd3

    When the server starts and reads the authorization file, it then
    knows what key it needs for any connection coming across the
    network (fish:0), coming through the localhost or loopback device
    (localhost:0) and coming through the socket in /tmp/.X11-unix/X0
    (fish/unix:0).

3.  Start X windows with the -auth option to the server.  For example,
    if you use xinit, the command might be

	xinit -- :0 -auth $HOME/.Xauthority

4.  Good luck.  You shouldn't need to worry about nasty pictures or
    people spying on your keystrokes and what-not now ... at least,
    not for awhile :)

Don't even bother with the horrendous manpages for Xsecurity or
xauth---they won't help you.

This should be FAQ --- is it?

--k
From: cy@solbourne.com (Cy Foughty)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Xterminal-Server ratio wanted
Date: 1 Oct 92 00:54:19 GMT
Distribution: fj
Organization: Solbourne Computer, Inc., Longmont, CO

Date: Tue, 29 Sep 1992 00:27:07 GMT
Message-Id: <BvBD98.L9A@solbourne.com>
Newsgroups: comp.unix.admin,comp.windows.x

In article <1992Sep28.225626.15772@odin.corp.sgi.com> mikey@sgi.com writes:
Stuff deleted...
>|> >I keep seeing "SYMMETRIC MULTIPROCESSOR SERVERS" (all caps); is this some sort 
>|> >of registered trademark of Solbourne Computers :-) ?
>|> Hey, what a great idea! ;-)
>
>Sorry, but Solbourne can't claim such things all for themselves..
It was just a joke. Don't take it serious.

>
>-----------------------------------------------------------------------
>                 Mike Yang        Silicon Graphics, Inc.
>               mikey@sgi.com           415/390-1786


-- 
        Cy Foughty                
	ARETC: Association for the Revival of Electron Tube Computing
From: tdunbar@vttcf.cc.vt.edu (Thomas Dunbar)
Newsgroups: fj.mail-lists.x-window
Subject: xdvi fopen error?
Date: 30 Sep 92 00:48:30 GMT
Distribution: fj
Organization: Virginia Tech, Blacksburg, VA

Date: 28 Sep 92 02:12:25 GMT
Message-Id: <7474@vtserf.cc.vt.edu>
Newsgroups: comp.windows.x


 when i run xdvi on a dvi file with more than 26 fonts, it tries to
make the fonts even tho they exist and then it dies. is this a problem
with xfopen/fopen functions?
 i'm running xdvi on XFree86-v 1.0Ya, compiled with gcc 2.2.2d7 on Linux.
From: nguyen@.eecs.uic.edu (Tyndall D. Nguyen)
Newsgroups: fj.mail-lists.x-window
Subject: subscribe
Date: 26 Sep 92 08:43:48 GMT
Distribution: fj
Organization: ICE at UIC

Date: Wed, 23 Sep 1992 18:50:34 GMT
Message-Id: <1992Sep23.185034.18730@bert.eecs.uic.edu>
Newsgroups: comp.windows.x


---
nguyen5@earth.eecs.uic.edu	or tyndall@richsun.cpg.trs.reuter.com
From: frite@vlsi.polymtl.ca), (Michel Besner)
Newsgroups: fj.mail-lists.x-window
Subject: Problems using translations : (
Date: 2 Oct 92 18:06:57 GMT
Distribution: fj
Organization: Ecole Polytechnique de Montreal, lab. INFO

Date: 29 Sep 92 18:54:08 GMT
Message-Id: <1992Sep29.185408.654@vlsi.polymtl.ca>
Newsgroups: comp.windows.x.motif,comp.windows.x


	Hi there !


	I'm trying to receive events while keeping the shift+left button
down. I want to continue receiving those events while I'm moving the
mouse around (with the shift+left button still down ...).

	So far I've tried using :

	Shift<Btn1Down>,<Btn1Motion> -> I get the first event but nothing
after ....

	Shift<Btn1Motion> doesn't seem to work -> I get a code dumped
in BindActions :(


Is there a way to do it ?
Or what I'm doing wrong ?
Did I miss something ?

Any hints are welcome :)

Thanx in advance !!	
--
			Michel Besner, eng
			Sacred Heart Hospital research center

"life is a big bowl of JELL-O  :) :) "
From: wiltzius@anduin.ocf.llnl.gov (Dave Wiltzius)
Newsgroups: fj.mail-lists.x-window
Subject: showArrows in Scale widget?
Date: 2 Oct 92 10:48:12 GMT
Distribution: fj
Organization: Lawrence Livermore Nat'l Lab.

Date: 30 Sep 92 01:29:08 GMT
Message-Id: <137505@lll-winken.LLNL.GOV>
Newsgroups: comp.windows.x


Using the X-toolkit or Motif, is there a way I can set the
"showArrows" resource in the ScrollBar widget child of a
Scale widget?  Or will I have to revert to a search of the
children of the Scale widget, find the ScrollBar widget and
do a SetValues of it?

Please respond via email.  And many thanks.
  Dave Wiltzius
  Lawrence Livermore Nat'l Lab
  wiltzius@llnl.gov
From: rogerr@netcom.com (roger reynolds)
Newsgroups: fj.mail-lists.x-window
Subject: RDD version 2 now available
Date: 7 Oct 92 00:44:42 GMT
Distribution: fj
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

Date: Tue, 6 Oct 92 19:33:44 -0400
Message-Id: <9210062333.AA10581@expo.lcs.mit.edu>


	As promised some time ago (sorry for the delay), a new version
	of RDD is available.

	Here is what is new:
		- Ability to drag around a pixmap.  This makes for a much
		  more "real" looking drag action.
		- Ability to specify an arbitrary data type in the Rdd Client 
		  message.  For example, you can tell the guy you are dropping
		  on that the data is a "filename" or "pixmap" or whatever...
		- Ability to start a drag-n-drop sequence from a callback
		  routine.
		- A couple of bug fixes.

	The new version is available on export.lcs.mit.edu in the contrib
	directory.  The file is rdd2.tar.Z
	It was also posted to alt.sources.

	As usual, your comments on how you are using rdd, and how well it 
	works are most welcomed!

	rogerr@netcom.com
From: s8923098@macnab.mqcs.mq.oz.au (Josef WIDJAJA)
Newsgroups: fj.mail-lists.x-window
Subject: xv and mvex - differences?
Date: 1 Oct 92 07:46:05 GMT
Distribution: fj
Organization: Macquarie University, School of Mathematics, Physics, Computing and Electronics

Date: Tue, 29 Sep 1992 04:20:13 GMT
Message-Id: <1992Sep29.042013.5671@mailhost.ocs.mq.edu.au>
Newsgroups: comp.windows.x,comp.multimedia

As far as I know, xv and mvex are X extensions to incorporate video into X.
In what ways are they different? I might want to use one of the two to
write a simple program that transfers video frames to a remote  workstation.
Which one will be more suitable?


--
 _________Josef Widjaja____________  
|  s8923098@mackay.mpce.mq.edu.au  |
|  Macquarie University, Australia | 
|__________________________________|
From: moed@sol.ral.rpi.edu (Michael Moed)
Newsgroups: fj.mail-lists.x-window
Subject: Where to find liboldX.a ?
Date: 26 Sep 92 23:21:42 GMT
Distribution: fj
Organization: Rensselaer Polytechnic Institute, Troy NY

Date: Thu, 24 Sep 1992 19:03:08 GMT
Message-Id: <-bdz5m-@rpi.edu>
Newsgroups: comp.windows.x

I'm trying to compile emacs for X windows, which requires liboldX.a.

Any idea where I can get this library?  I'm running Openwindow 3.0
and it's not in the lib directory.

- Mike


-- 
Michael C. Moed					  moed@ral.rpi.edu
United Parcel Service, Research and Development  
51-53 Kenosia Avenue                              (203) 731-6303
Danbury, CT  06810
From: gjc@mitech.com (George J. Carrette)
Newsgroups: fj.mail-lists.x-window
Subject: Re: CISCO now supports XREMOTE, what others do?
Date: 27 Sep 92 07:21:37 GMT
Distribution: fj
Organization: Mitech Corporation, Concord MA

Date: 24 Sep 92 18:29:02 GMT
Message-Id: <2878@mitech.com>
Newsgroups: vmsnet.misc,comp.windows.x

In article <1992Sep23.003147.16000@infocomm.com>, mark@infocomm.com writes:
> The host end of Xremote is supported on VAX/VMS and various Unix hosts with 
> appropriate software which is available from NCD.

What I was asking for is a "X-terminal-end" of Xremote for use on my
workstation. Essentially so that it could act like an NCD X terminal.

On the other hand, I wonder what is the big hair,
I've run X-windows over DECNET at 19.2K baud serial lines,
and the performance is good.

-gjc
From: gjc@mitech.com (George J. Carrette)
Newsgroups: fj.mail-lists.x-window
Subject: Re: X11 Vectrix emulator?
Date: 1 Oct 92 00:14:17 GMT
Distribution: fj
Organization: Mitech Corporation, Concord MA

Date: 28 Sep 92 19:08:57 GMT
Message-Id: <2936@mitech.com>
Newsgroups: comp.windows.x

In article <15672@borg.cs.unc.edu>, mueller@carissimi.cs.unc.edu (Carl Mueller) writes:
> Failing that, does anybody have any X11 program that accepts
> general commands from stdin to draw points, lines, circles, etc?
> Sure, such a program wouldn't be too hard to write; it's just
> a matter of TIME!

XTERM does that, especially in the TEK 4014 emulation.
From: murraya@ecf.toronto.edu (MURRAY ALEXANDER W)
Newsgroups: fj.mail-lists.x-window
Subject: Re: X Server on OS/2
Date: 5 Oct 92 22:27:21 GMT
Distribution: fj
Organization: University of Toronto, Engineering Computing Facility

Date: Fri, 2 Oct 1992 07:04:28 GMT
Message-Id: <BvHFnH.C3M@ecf.toronto.edu>
Newsgroups: comp.windows.x

Recently, csthomas@gizmonic.UUCP (shane thomas) writes:
>I read in on of the X-server abstracts that was posted recently that
>there is now an X server for OS/2 v2.0. Anyone have any experience 
>with it yet?

Ya.  It's available as part of the TCP/IP-for-OS/2 product available from
IBM, knows as PMX.  The latest version of this TCP/IP package is 1.2.1, plus
some CSD's recently made available (some of which can be found on
ftp-os2.nmsu.edu for anonymous FTP).  PMX supports up to X11R5.

I used the PMX server extensively during a work term, and found it quite
usable -- fast, easy-to-use.  The only drawbacks(?) were that the window
manager could not be changed, and anything dealing with the root window was
ignored:  the XWindows clients are displayed as OS/2 Windows; ie.,
Presentation Manager is your window manager, and retains control of the root
window graphics.

TCP/IP for OS/2 is generally quite slick.  Highly recommended IMHO.  I'm not
sure of the price tag.

Mail me with more specific questions, if you like.

Regards,
Alex
-- 
 __   __ __   __ ______  ______   _____  __    __  _____
 ___ ___ __   __ __   __ __   __ __   __  __  __  __   __           Alex Murray
 __ _ __ __   __ ______  ______  _______    __    _______     Comp Eng 9T3-not!
 __   __  _____  __  ___ __  ___ __   __    __    __   _murraya@ecf.toronto.edu
From: liles@sweetpea.jsc.nasa.gov (Clifton Liles 282-4736)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Regarding How to stop Dirty Pictures.
Date: 26 Sep 92 08:23:18 GMT
Distribution: fj
Organization: McDonnell Douglas Space Systems Company

Date: 25 Sep 92 17:33:06 GMT
Message-Id: <1992Sep25.173306.20601@aio.jsc.nasa.gov>
Newsgroups: comp.windows.x

In article <1992Sep25.004856.1583@lub001.lamar.edu>, ravi@lub001.lamar.edu writes:
|> Hello Everyone,
|> 
|> My question was:
|> 
|> How can you stop other people from putting dirty/unwanted pictures on
|> to your workstation. They can apparently do so, by setting their 
|> DISPLAY variable to the desired Workstation's IP address.
|> 
|> Replies:
|> 
|> "xhost -" would disable access to all other workstations.
|> More information is available in the man pages for xhost and xauth.
|> 
|> Once again, Thank you all.
|> 
|> Ravi Kuppanna
	Hi all
I'm sitll not a happy camper.  If one does the "xhost | xhost -" bit, it turns
off ALL access to the display, including yours!  If you leave your own Host name
in the list, someone can still 'rlogin' to your machine and get access to the 
display.   I'am on a Sun SPARC station on a wide net.  I would like to here any 
other ideas.   Thanks.
-- 
	Drop over any time ___
                              |  Cliff
<o o> Clifton Liles         Paramax (Unisys)      NASA         Houston TX
 /v\  Disclaimer: What I say is my personal opinion. liles@sweetpea.jsc.nasa.gov
 =^=  (713) 283-4350 Work.  (713) 992-2039 home (Pearland, TX)
 *----*----*----*----*----*----*----*----*----*----*____*----*----*----*
(. .)"The very best, and oldest, computer system built by man is Stonehenge.
 /^\  Built by the Druids, who didn`t die out, but went bankrupt trying to 
 -=-  debug the software."
From: frite@vlsi.polymtl.ca), (Michel Besner)
Newsgroups: fj.mail-lists.x-window
Subject: Problems using translations : (
Date: 2 Oct 92 17:53:04 GMT
Distribution: fj
Organization: Ecole Polytechnique de Montreal, lab. INFO

Date: 29 Sep 92 18:54:08 GMT
Message-Id: <1992Sep29.185408.654@vlsi.polymtl.ca>
Newsgroups: comp.windows.x.motif,comp.windows.x


	Hi there !


	I'm trying to receive events while keeping the shift+left button
down. I want to continue receiving those events while I'm moving the
mouse around (with the shift+left button still down ...).

	So far I've tried using :

	Shift<Btn1Down>,<Btn1Motion> -> I get the first event but nothing
after ....

	Shift<Btn1Motion> doesn't seem to work -> I get a code dumped
in BindActions :(


Is there a way to do it ?
Or what I'm doing wrong ?
Did I miss something ?

Any hints are welcome :)

Thanx in advance !!	
--
			Michel Besner, eng
			Sacred Heart Hospital research center

"life is a big bowl of JELL-O  :) :) "
From: gringort@wsl.dec.com (Joel Gringorten)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Keyboard equivalent for middle mouse button?
Date: 3 Oct 92 01:31:54 GMT
Distribution: fj
Organization: DEC Western Software Lab

Date: 1 Oct 92 01:05:34 GMT
Message-Id: <1992Sep30.180534@wsl.dec.com>
Newsgroups: comp.windows.x,ba.windows.x,comp.windows.x.motif

In article <1992Sep29.174919.2644@rational.com>, rw@Rational.COM (Bob Weissman) writes:
|> I'd like to get the same function (paste primary?) on my keyboard
|> as I have on the middle button on my mouse.
|> 

I think it's application dependent.  Alt_Y (Mod1 Y) works in
the MIT text widget.  The action routine is called stuff(). 
For DECwindows applications in my .Xdefaults file I can say:

*DwtText.translations:  #override \n\
	Mod1<Key>b:		stuff()	\n\
	Mod1<Key>y:		stuff()	

The MIT text widget appears to use the action routine insert-selection().
Ditto for Xterm.

I never have been able to get any of the Motif resources to work, but
the action routine for the Text widget is called "stuff()", same as 
the DECwindows Text widget (gee, what a coincidence.)

hope this helps,
-joel
From: bagus@netcom.com (Mark E. Ruedy)
Newsgroups: fj.mail-lists.x-window
Subject: "translation table syntax error" messages
Date: 30 Sep 92 08:09:15 GMT
Distribution: fj
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

Date: 29 Sep 92 21:02:46 GMT
Message-Id: <cz+p0ck.bagus@netcom.com>
Newsgroups: comp.windows.x,comp.windows.motif



Can anyone help with this runtime warning message?


Environment:
        Sun IPX    
        OpenWindows 3.0 Server
        Motif Window Manager

I compiled my Motif program without any warning messages, however when I 
tried running it, I got many "translation table syntax error" messages.
Does anyone knows why I am getting this error? I tried modifying the 
XKeysymDB file in my home directory but somehow the problem is still 
exist. Could this be a problem when I am using an OpenWindow 3.0 server 
with the Motif window manager? 


Please don't reply to this post.  Instead send E-Mail to:

nick@telco-nac.com

Thanks
Nick