HDTenEightyP/NetNews huggingface dataset:
From: mahan@tgv.COM (Patrick L. Mahan)
Newsgroups: comp.windows.x
Subject: Re: Communication.
Date: 15 Apr 92 18:09:43 GMT
Article-I.D.: TGV.920415110943.23a00384
Organization: The Internet

#
#|> >> Here's my problem:  I have an X-Windows application process running and
#|> >> a non-X communications process running.  When a message is received by my
#|> >> comm process, I want to interrupt the X-Windows application and update
#|> >> a status window indicating that a message has arrived.  What is a good
#|> >> way to do this?  Do I have to make my comm process an X-Windows process
#|> >> in order to to successfully communicate?  I'm on a VAXstation 3100 using
#|> >> VMS and Motif 1.1.
#|> 
#|> >We had to implement a similar sort of thing, and found that we had to use a
#|> >polling approach rather than an interrupt-driven one.  I'll preface this by
#|> >saying that I know nothing about any utilities available on the VAX.  Our
#|> >application runs on DG AViiON's and uses Xipc for interprocess communication.
#|> 
#|> >In the X/Motif application, a timeout is registered for 'n' seconds, after 
#|> >which the application's Xipc queue is checked for any new messages.  These
#|> >messages can come from any other process - X/Motif or not.  If there are more
#|> >messages on the queue, the next X timeout registered is 0 seconds; if there
#|> >are no more messages, the timeout is 'n' seconds.  With this implementation,
#|> >all processes use a common IPC mechanism but the purely comm processes don't
#|> >have to get involved with X/Motif.  If your comm mechanism can support this
#|> >scenario, it might be the way to go.
#|> 
#|> Why so complicated!
#|> Make your comm-process a simple X-process (without any windows).
#|> Then you use ICCC to communicate with your X-application.
#|> There is no need for timeouts and your application is totally
#|> independent of the underlying operating system.
#
#Still another approach is to use XtAppAddInput if this is available under VMS.
#

Yes, DECwindows supports XtAppAddInput.  However, since the I/O is not via
fd's like it is under Unix, AddInput only supports event flags under VMS and
not file descriptors.

Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long
Newsgroups: comp.windows.x,gnu.gcc.help
From: merlyn@iWarp.intel.com (Randal L. Schwartz)
Subject: more on gcc2.1 X11R5pl10 sun3/sunos4.1 sun4/sunos4.1.2
Followup-To: comp.windows.x
Reply-To: merlyn@iWarp.intel.com (Randal L. Schwartz)
Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA
Date: Thu, 9 Apr 1992 18:37:45 GMT

(For those of you that just tuned in, I am trying to compile X11R5
patchlevel10 with gcc2.1 on a sun3 running sunos4.1 and a sparc
running sunos4.1.2.  I patched the files according to the README.X11
in the gcc2.1 distribution.  My ld is *not* patched on the sun3.  I am
*not* using the gnu utilities [as, ld, etc].)

Fine.  X11R5pl10 compiled with gcc2.1 on the sparc under sunos4.1.2
compiles and installs fine and executes fine, *except*...

binaries compiled under "cc" won't run!

[ important part for gnu.gcc.help readers: ]
apparently, gcc compiles code that calls routines normally found in
libgcc.a.  This is no problem if you use the objects in a program that
was *linked* with the gcc command, but is horrors when you try to put
such modules into a *shared* library and then link against those (at
runtime) with a *cc* command.
[ end of important part for gnu.gcc.help readers. ]

Blech.

Tossing all my gcc binaries, and going back to cc.  Lo and behold,
pl10 compiles fine on sun3 under sunos4.1 and on sparc under
sunos4.1.2 using cc.

And I thought gcc was going to be the big win.  Sigh.

Just another gcc-user-wannabe,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."====/
Newsgroups: comp.windows.x
From: quangd@wizard.UUCP (Quang Dangtran)
Subject: Get a structureNotifyMask on a XmDrawingArea
Organization: The Internet
Date: Tue, 7 Apr 1992 00:24:43 GMT

Hi everyone,

I have a window with one XmDrawingArea widget. I'd like the Xserver to report to
me about the XmDrawingArea being moved to a different location via dragging on the
main window title bar. I have the code fragment as follows:

..
toplevel = XtVaAppInitialize(...
draw = XtVaCreateManagedWidget ("draw", xmDrawingAreaWidgetClass, toplevel,....
XtRealizeWidget(toplevel);
XtAddEventHandler (draw, StructureNotifyMask, False, draw_move, NULL);
..

My draw_move() never got called, when I tried to move the window around.

My platform is sunsparc, X11R4, Motif 1.1.

Does anyone know why?


Thank you.

uunet!adac!wizard!quangd
(408) 945-2990
Newsgroups: comp.windows.x
From: dah@access.digex.com (David A. Harris)
Subject: How do I map ttymap control sequences in Xterm
Organization: Express Access -- Greenbelt, Maryland  USA
Distribution: usa
Date: Wed, 8 Apr 1992 02:44:28 GMT



Under Interactive UNIX, I am able to remap the keyboard using the "ttymap"
command.
    I want to do the same thing under X Windows (X11 R4) on Interactive UNIX,
and there is even a utility "xttymap" which I think may do it.
My question is:

(1)    Does xttymap remap the keyboard under X11R4 on Interactive UNIX?
(2)    What is the format for the mapfile?


	Dave Harris:  Please send mail to dah@digex.com
	I don't make it on to the net that often
Newsgroups: comp.windows.x
From: converse@expo.lcs.mit.EDU (Donna Converse)
Subject: Re: Xt Translation Questions
Organization: X Consortium, MIT Laboratory for Computer Science
Date: Tue, 7 Apr 1992 21:06:51 GMT



> My problem is that I want 'Ps()' to be invoked every time the xzap
> application is mapped (i.e. de-iconified) and/or redrawn (due to an Expose
> event.) When I modified my .Xdefaults to say:
>    xzap*translations:	#override\n\
> 	<MapNotify>:	Ps()
> the Ps() was being called infinitely without expose or map events.

I've tried this with a simple test program here, using X11R5 patch level
10, along with some more recent fixes (which are unlikely to affect the
results, but I never make promises so I never tell a lie; these will be
distributed in some future public patch), and the program is well behaved,
calling the action routine once, when the widget is mapped.

Since you want your action routine to be invoked on expose events, use
this translation instead:

xzap*translations: #override\n\
	<Expose>:	Ps()\n

>  Since I
> don't believe that so many events were in the queue, I must be doing
> something wrong.

The problem could be that too many widgets' translation tables are being
affected by this resource.  Try making the left hand side, 
xzap*translations, more specific, so that it affects only one widget.

> I tried to add my own Xt event handler, but it didn't work, and besides,
> adding it thru the translation mechanism is the politically correct way to
> do it, isn't it?

Yes.


Donna Converse
MIT X Consortium
Newsgroups: comp.windows.x
From: venkat@iis.UUCP
Subject: Is there a X interface to GNU's debugger gdb?
Organization: The Internet
Date: Tue, 7 Apr 1992 16:49:42 GMT

I looked at several sites via archie but did not seem to find any X-windows
interface to gdb. Does any of you know if such a thing exists? Thanks.


--------------------------------
Venkat Rao
International Imaging Systems

email: venkat@iis.sun.com
Tel:   408-432-3400
--------------------------------
Newsgroups: comp.windows.x
From: mij@eng.umd.edu (James M. Thomas Jr.)
Subject: xterm and tektronics menus
Date: Wed, 15 Apr 92 18:54:40 GMT
Organization: College of Engineering, University of Maryland, College Park


I'm wonndering if there is a way to execute certain command that appear in the xterm and tektronics menus directly, without invoking the menus. I am writing an executable script, and I need to be able to switch from vt mode to tek mode and back without interaction. Are there  command secquences that will cause the xterm to execute the following actions without invoking the menus:

set-visibility(tek,toggle)
set-terminal-type(tek)
set-terminal-type(vt)
set-visibility(tek,off)

I need this for either X11R4 or X11R5. E-mail or post. Thanks.

                                       Jim.


Newsgroups: comp.windows.x
From: merlyn@iWarp.intel.com (Randal L. Schwartz)
Subject: Re: Where is Ken Olsen's internet address??
Reply-To: merlyn@iWarp.intel.com (Randal L. Schwartz)
Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA
Date: Fri, 17 Apr 1992 17:58:46 GMT

In article <1992Apr17.131343.29244@ornl.gov>, jxt@stc06 (TOLLIVER J S) writes:
| >|>Does anyone have the internet address of Ken Olsen so I can
| >
| >No, I don't have his address. However, if you're using DEC's SUPPORTED version
| >of Motif, it's 1.1 . Try using their UNSUPPORTED (but available) version,
| 
| Actually, I seem to recall reading about a year ago that Ken Olsen had
| cancelled his email account and announced that he would no longer accept
| email after returning from a trip and finding over 30 feet of email messages
| awaiting his return.

How do you measure email in feet?  "units" didn't know how to convert
bytes to feet, and neither does GNU Calc.

Oh, I get it.  It's DEC.  He means linear feet of punched paper tape.
(heh)

And by the way, getting a lot of mail is not a problem if you have a
good way to sort it.  Maybe Ken doesn't know how to use a computer
very well.  (Snicker.)

Just another email sorter,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."====/
From: stevec@.ard.mtv.nec.com (Steve Cox)
Newsgroups: comp.windows.x
Subject: What is the "Institute of Software Advancement"???
Date: 8 Apr 92 20:16:45 GMT
Organization: NEC Electronics Inc.


    Sorry if this is a repeat but I don't think my first post got
    out.

    The subject says it all.  Any info would be appreciated.
    All I know it that they're in the 617 (Boston?) area.

    -Steve 

-- 
   Steve Cox                   mtvnec!steve@nec-gw.nec.com
   NEC Electronics
   401 Ellis St. Mountain View, CA.
 ---------------------------------------------------------
From: elmar@knipp.en.open.de (Elmar Knipp)
Newsgroups: comp.windows.x
Subject: XVision 4.0 for PC and MS-Windows 3.1
Date: 11 Apr 92 12:49:47 GMT
Organization: Private/FRG

I still use XVision 4.0 on a PC under Microsoft-Windows 3.0 and
it works fine.

When I upgrated to Microsoft-Windows 3.1, the clients cannot
contact the PC-Server. Is this a known problem? Is XV 4.0 not
running under MS-Windows 3.1? I just heard, it should run.

Here are the results of starting a xterm:

% xterm -display at07:0.0
XIO:  fatal IO error 32 (Broken pipe) on X server ""
      after 0 requests (0 known processed) with 0 events remaining.
      The connection was probably broken by a server shutdown or KillClient.
%



Elmar

--------------------------------+-------------------------------------
Elmar Knipp                     |     Voice:       + 49 231 975015-0
Knipp Satz und Bild digital     |     Fax 3:       + 49 231 975015-80
Technologiepark                 |     Modem:       + 49 231 975015-82
Martin-Schmeisser-Weg 9         |     ISDN-Server: + 49 231 975015-831
4600 Dortmund 50                |     E-Mail:  elmar@knipp.en.open.de
Germany                         |        
--------------------------------+-------------------------------------
Newsgroups: comp.windows.x
From: datri@convex.com (Anthony A. Datri)
Newsgroups: comp.windows.x,comp.sys.hp
Subject: Weird problems with X11R5 shared libraries under HPUX
Date: 7 Apr 92 16:34:32 GMT
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.


I built X11R5 a few days ago, and everything was fine. Now, however, when
I attempt to use any of those binaries, or even if I recompile one, I get
strange errors:

	<=>phoebe<=>make
	        if [ -f xterm ]; then rm -f xterm~; mv -f xterm xterm~; fi
	        cc -o xterm main.o input.o charproc.o cursor.o util.o tabs.o
		  screen.o scrollbar.o button.o Tekproc.o misc.o  VTPrsTbl.o
		  TekPrsTbl.o data.o menu.o +O3 +OS -Wp,-H200000
		  -L/usr/lib/X11 -lXaw -lXmu -lXt -lXext -lX11
		  -lc -lPW -lcurses  
	<=>phoebe<=>./xterm
	/lib/dld.sl: Call to mmap() failed - TEXT /usr/lib/X11/libX11.sl
	/lib/dld.sl: Permission denied
	Terminated
	<=>phoebe<=>

The library is definitely readable, though, since cc found it just fine,
and since I can sum it:

	<=>phoebe<=>sum /usr/lib/X11/libX11.sl
	2930 1568 /usr/lib/X11/libX11.sl

Phoebe is a 9000/750 running 8.05.  Everything was built with HP's commpiler.

Ideas?  If I link statically, things work.

-- 


======================================================8--<
Xref: sparky comp.windows.x:10037 comp.sys.mac.misc:9174
From: kerr@ux1.cso.uiuc.edu (Stan Kerr)
Newsgroups: comp.windows.x,comp.sys.mac.misc
Subject: Re: Macintosh X-Terminal Emulator?
Keywords: Mac X-Terminal
Date: 15 Apr 92 13:46:49 GMT
Distribution: usa
Organization: University of Illinois at Urbana

mayoun1@pb2esac.UUCP (Mike Young) writes:


> I am looking for an X-Terminal program for the Macintosh that will
> run over a serial(19.2K) or modem(9.6k) connection with reasonable 
> performance. I have several remote sites that have a need to occasionally
> run an X application in a Sun host.  Any products come to mind???

(I tried sending email, but it bounced, so I have to do this with a 
follow-up note.)

Apple has an X server called MacX, and White Pine Software has one called
Exodus, but I don't know if either currently offers a connection tool 
for a serial line. They will, of course, work on an Appletalk-to-ethernet
gateway, but not (to my knowledge) otherwise. Give them a call.
(I use MacX on an ethernet and it works fine.) See also the FAQ for this group.
-- 
Stan Kerr    Computing & Communications Services Office, U of Illinois/Urbana
Phone: 217-333-5217  Email: stankerr@uiuc.edu
From: bhilt@amd-1s.hac.COM (Brian Hiltscher (DSS))
Newsgroups: comp.windows.x
Subject: Recording/Playback in X Windows
Date: 6 Apr 92 21:48:02 GMT
Organization: The Internet

I have a requirement to record and playback any/all image scenarios displayed on our X based workstation.  Is there anyone else out there who has done or experimented with this concept ?  Your help would be greatly appreciated.

Brian Hiltscher
Hughes Aircraft Company
Fullerton, CA 92632
(714) 732-3073
FAX - (714) 732-0497
From: bill@dogwood.atl.ga.us (Bill Kujawa)
Newsgroups: comp.windows.x
Subject: Problem with Symbol font
Date: 13 Apr 92 16:14:51 GMT
Organization: National Science Center Foundation

The tops of some of the characters in the SYMBOL font are not fully
drawn. It appears as if the bounding boxs for the characters are
incorrect. The X window font displayer, xfd, illustrates the problem.
If the -grey option has been supplied, the characters will be
displayed using the Xlib routine XDrawImageString using the foreground
and background colors on a gray background. This shows exactly how
XDrawImageString will draw any given character.

The following demonstrates the differences:

	xfd -v -gray -fn '-adobe-symbol-medium-r-*-180-100-100*'

	xfd -v -gray -fn '*new century schoolbook-medium-r-*-180-100-100*'

The second xfd example displays another common font. All of the
schoolbook font characters are visible.

How does one go about adjusting the bounding box for each character of
each size of a font? Are there corrected font files available somewhere?

Any suggestions for correcting this? 
-- 
Bill Kujawa   (404)-868-3630    Usenet/DDN:bill@dogwood.atl.ga.us
National Science Center Foundation
P.O. Box 15577, 159 Craig-Sims Parkway, Augusta, GA 30919-1577
From: reza@aio.jsc.nasa.gov (Reza Razavipour)
Newsgroups: comp.windows.x
Subject: Keyboard Transaltions
Date: 7 Apr 1992 17:56:10 GMT
Organization: Lockheed Sci & Eng Co.

To all Xperts of this universe,
I need to quit the application that I am developing
when "Ctrl <Key>." is pressed anywhere in my application
windows. What is the easyiest way to accomplish this?
Any help is greatly appreciated.
Reza
From: mac742@CENT1.LANCS.AC.UK (Andrew Stoker)
Newsgroups: comp.windows.x
Subject: Preventing Resizes
Date: 15 Apr 92 21:02:31 GMT
X-Unparsable-Date: Wed, 15 Apr 92 22:03:16 WET DST

Hi,
	small question for X gurus, how can I prevent a window being resized
from it's initial geometry?  I'm writing some routines for analysis of graphs,
histograms and other graphical elements, and the guy who I'm doing it for
would rather the window they're displayed in can't be resized (to stop idiot
users messing about).

Please reply by email, since our newsreader is broken at the moment.

  Andy
-- 
+-----------------------------------------------------------------------------+
| Email : mac742@uk.ac.lancs.cent1    Janet               Time is an illusion,|
|         mac742@lancaster.ac.uk      Internet/Bitnet        Lunchtime        |
|         mac742%uk.ac.lancaster@ukc  UUCP                      doubly so.    |
+-----------------------------------------------------------------------------+
Newsgroups: comp.windows.x,comp.windows.x.motif
From: The University of Akron, Akron, Ohio
Subject:  To have cartesian coordinates for X
Originator: r2pb@VAX1
Organization: The University of Akron, Akron, Ohio
Date: Thu, 16 Apr 1992 05:07:43 GMT

Hello everyone,

I am building an user interface where I have to use the cartesian coordinates,
instead of the pixel values.  Can I configure my X in such a way that I can
use the drawing routines with the centimeter, millimeter values and have the
x,y (0,0) origin at bottom left?  Any suggestions?

Any earliest reponse would be really appreciated.

Thanks in advance.

Prakash


(216) 434 0950
prakash@wirth.cs.uakron.edu


Newsgroups: comp.windows.x
From: rnewman@bbn.COM (Ron Newman)
Subject: Re: Should XtOverrideTranslations work this way?
Organization: The Internet
Date: Mon, 13 Apr 1992 23:49:40 GMT

> This is correct, except for one detail: the assumption that SetValues
> on the translations resource has different effects depending upon the
> directive in the translation table.  It doesn't (or shouldn't).
> The above translation table would result from calling XtOverrideTranslations.
> SetValues on the translations resource always does a replacement operation,
> never an augment or override.  SetValues ignores the directive in the
> translation table.  

But the R5 documentation says (file mit/doc/Xt/CH10):

  The replace or merge operation is performed during the
  Core instance initialization and
  during the Core set_values invocation.
  Each merge operation produces a new
  translation resource value; if the original tables were shared by
  other widgets, they are unaffected.  If no directive is
  specified, ``#replace'' is assumed.

so I think the new R5 implementation is wrong, and the old
R4 CoreSetValues was correct.

Ron
From: ahsiung@bbn.com (Anita Hsiung)
Newsgroups: comp.windows.x
Subject: Motif to act like spreadsheet
Date: 7 Apr 1992 23:20:06 GMT
Organization: Bolt Beranek and Newman Inc., Cambridge MA
Distribution: world
Reply-To: ahsiung@labs-n.bbn.com (Anita Hsiung)
NNTP-Posting-Host: bbn.com

Hello all.  The platform we are using is:

	386 PC running SCO UNIX 
	Motif 1.0+ (not quite 1.1)
	X11R3

The following shows the basic layout:

		Label 1     Label 2     Label 3    Label 4     ^
Label A          xxx         xxx         xxx        xxx        #
Label B          yyy         yyy         yyy        yyy        #
Label C          zzz         zzz         zzz        zzz        |
Label D          www         www         www        www        |
                                                               V
<##########--------------------------------------------------->

The labels and data (PushButtons) are on a Form with a parent of
ScrolledWindow with scrollbars on the Right and Bottom sides.

What I want to do is:
   Scroll up and down (right SB) with the top row of labels frozen
   Scroll left and right (bottom SB) with the left column of labels
	frozen.

Is there an easy way to do this?

	Thanks in advance,
		Anita

---------------------------------------------------------------------------
| Anita Hsiung       |                                                    |
| ahsiung@bbn.com    | "Roads?  Where we're going, we don't need roads!"  |
| BBN, Inc.          |                               Doc Brown            |
| Canoga Park, CA    |                                                    |
---------------------------------------------------------------------------
From: ldawes@uahcs2.cs.uah.EDU (Lisa Dawes, Computer Science Dept., Univ. of Alabama-Huntsville)
Newsgroups: comp.windows.x
Subject: GNU dbm or hdbm?
Date: 6 Apr 92 15:10:53 GMT
Organization: The Internet


Does GNU have a database system similiar to dbm or hdbm?
From: pjw@wacher.oz.au (Peter Williams)
Newsgroups: comp.windows.x,comp.wanted
Subject: Wanted: SCO ODT VGA Screen Driver for OAK 067
Date: 17 Apr 92 08:29:27 GMT
Organization: Wachers Pty Ltd



G'Day,

    Help! :  I require a screen driver for the OAK 067 super VGA card for
SCO ODT 1.1 or a compiled X11R4 or R5 server that supports the OAK 067 
under SCO Unix.

Thanks in advance.

Peter.
-- 
 ,-_|\      Peter Williams                    || "To know me is to love me" ||
/     \     Wachers Pty. Ltd.                 ||  E-Mail: pjw@wacher.oz.au  ||
\_,-._/<--- 2 Humphries Ln.                   ||   Phone: +61 2 570 3255    ||
     v      Hurstville, NSW, 2220, Australia  ||     Fax: +61 2 570 9247    ||
Newsgroups: comp.windows.x.motif
From: fredrp@ferrari.nmc.ed.ray.com (Fred Ross-Perry)
Subject: Performance of text widget
Organization: Equipment Division, Raytheon Company
Date: Tue, 14 Apr 92 21:26:34 GMT

Hi,

We're having an awful time with the speed of the text widget on avery slow
X server (MacX on a Mac SE).  I don't know the Motif version number.

Other text editing applications are much faster, like xterm, dxterm, xedit, etc.  I.e., non-Motif ones.

Is this a known behavior of the text widget?  What can I do to speed it up significantly?

Thanks,
-- 
**********************************************
 Fred Ross-Perry         Raytheon Company
 fredrp@mar.ed.ray.com   Equipment Division
 (508) 440-4481          528 Boston Post Road
Newsgroups: comp.windows.x.motif
From: zhaocuie@iscs.nus.sg
Subject: table/spread sheet widget
Reply-To: ZHAOCUIE@NUSDISCS.BITNET
Organization: Dept. of Information Systems and Computer Science, National University of Singapore
Date: Thu, 9 Apr 1992 15:28:08 GMT

anybody has or know where to get a table/spread sheet like widget?
i need it urgently...
any help or helpful info is very much appreciated.

pl. kindly mail to: zhaocuie@iscs.nus.sg
Newsgroups: comp.windows.x.motif
From: veitch@vxcrna.cern.ch (Liz Veitch)
Subject: Re: MOTIF FAQ
News-Software: VAX/VMS VNEWS 1.41    
Organization: European Organization for Nuclear Research, CERN
Date: Tue, 7 Apr 1992 09:14:00 GMT

> 
>Can somebody please repost or email me the MOTIF FAQ. 
> 

Me too!


Thanks, 
Liz