HDTenEightyP/NetNews huggingface dataset:
From: holiday@bnr.ca (Matthew Holiday)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Making clients for HP-UX
Date: 24 Dec 92 23:09:07 GMT
Distribution: fj
Organization: Bell-Northern Research, Richardson, TX

Date: Thu, 24 Dec 1992 15:08:28 GMT
Message-Id: <1992Dec24.150828.3981@bnr.ca>
Newsgroups: comp.windows.x

In article <1992Dec23.222530.28985@u.washington.edu>, jeffm@wrq.com (Jeff McKay) writes:
|> Is anyone out there experienced with making and running
|> X clients under HP-UX?  I am trying to build xrn for HP-UX
|> version 8.0.  It compiles and links, however at runtime I 
|> get several undefined data symbols, such as _XA_LENGTH and
|> _XA_TEST.  There is also an undefined routine called
|> XmuCvtStringToOrientation.  These are all coming from a 
|> runtime library called libXaw.sl.  I did notice that
|> we apparently have X11R4, not R5, and all our libraries
|> are dated from early 1991.  Could that be it?
|> 

Make sure that you're linking -lXmu between -lXaw and -lXt. Also, make
sure that you have the right library path the the X11R4 stuff, which
in 8.0 should be -L/usr/lib/X11R4.

I've recently build xrn 6.17 under HP/UX 8.0, and I'm using it right
know to followup to your posting!

-- 
Matt Holiday                                      #include <std/disclaimer>
holiday@bnr.ca
BNR Richardson, TX
From: bvh@cse.unl.edu (Obi-Wan)
Newsgroups: fj.mail-lists.x-window
Subject: Tiny windows in TWM
Date: 23 Dec 92 07:56:31 GMT
Distribution: fj
Organization: MicroImages, Inc.

Date: 23 Dec 1992 05:08:17 GMT
Message-Id: <1h8s81INNddh@crcnis1.unl.edu>
Newsgroups: comp.windows.x.apps,comp.windows.x

Hello all,

My office has compiled the TWM from the standard X distribution
and has been running it on 386 & 486 PC's.  One thing we've noticed
is that, for an app which brings up multiple windows, if you click
in the TWM title bar before the title is actually drawn there, any
subsequent windows for that app will come up with zero size.  They're
still there, but you must resize them manually, assuming you can
find them at all.

Since impatient people with mice tend to click the mouse when they
don't know what else to do, this problem occurs much more frequently
on the slower machines.  We've only been able to duplicate this
once on a workstation, and it took quite a few tries on a bogged down
machine before we finally did it.

Has anyone else encountered this problem?  More importantly, does
anyone out there know how to fix this?  Just saying "Don't click in
the title bar" may work for programmers, but it's an inacceptable
solution for our computer-illiterate customers.  ANY input would be
appreciated.  Please mail responses to bvh@cse.unl.edu, as I don't
read these groups very often.

				Thanks in advance,
				Obi-Wan

-- 
 |\_/|  AACK! ||                        ||  "Obi-Wan" (Ben Hollingsworth)
\'o.0'/       ||  ... but at least      ||  MicroImages, Inc.  Lincoln, Nebraska
=(___)=       ||      we have quotas!   ||  University of Nebraska - Lincoln
   U   PTHAT! ||                        ||  email:  bvh@cse.unl.edu
From: jeffm@wrq.com (Jeff McKay)
Newsgroups: fj.mail-lists.x-window
Subject: Making clients for HP-UX
Date: 24 Dec 92 20:37:05 GMT
Distribution: fj
Organization: Walker Richer & Quinn, Inc., Seattle, WA

Date: Wed, 23 Dec 1992 22:25:30 GMT
Message-Id: <1992Dec23.222530.28985@u.washington.edu>
Newsgroups: comp.windows.x

Is anyone out there experienced with making and running
X clients under HP-UX?  I am trying to build xrn for HP-UX
version 8.0.  It compiles and links, however at runtime I 
get several undefined data symbols, such as _XA_LENGTH and
_XA_TEST.  There is also an undefined routine called
XmuCvtStringToOrientation.  These are all coming from a 
runtime library called libXaw.sl.  I did notice that
we apparently have X11R4, not R5, and all our libraries
are dated from early 1991.  Could that be it?
From: troberts@zia.aoc.nrao.edu (Timothy Roberts)
Newsgroups: fj.mail-lists.x-window
Subject: How do I skip spaces in an input panel?
Date: 31 Dec 92 00:16:09 GMT
Distribution: fj
Organization: National Radio Astronomy Observatory, Socorro NM

Date: 30 Dec 92 19:14:52 GMT
Message-Id: <1992Dec30.191452.4235@zia.aoc.nrao.edu>
Newsgroups: comp.windows.x

I am using UIT to make a customized alphanumeric input panel.  The
idea is to allow the programmer to assign default values and max/mins
to a certain field with a certain length.  Sketch it?  OK.
 ________________________________
|                                |
|00 00 00.0 RA +00 00 00.000 DEC |  Position
|________________________________|
   ^  ^    ^^^^   ^  ^      ^^^^^
   |  |    ||||   |  |      |||||
   
How do I get the curser to immediately skip over positions like the
ones I have arrowed above?  It is trivial to make it so that the data 
entered in a position gets ignored but I want the user to know for
sure that he/she can't enter input in certain places.  Currently, I 
am simply using xv_set() and xv_get() to pass things around but maybe 
you know a better way?

--------------------------------------------------------------------
Timothy P. P. Roberts     troberts@NRAO.edu     505/835-7283
National Radio Astronomy Observatory, P.O. Box 0, Socorro, NM 87801
From: english@alicudi.usc.edu (Joe English)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Help Request for mwm send.msg
Date: 29 Dec 92 22:34:40 GMT
Distribution: fj
Organization: Nerds of Action

Date: 29 Dec 1992 11:17:37 -0800
Message-Id: <1hq88hINN3qp@alicudi.usc.edu>
Newsgroups: comp.windows.x,comp.windows.x.motif


In article <1992Dec22.134147.18146@cbnewsj.cb.att.com>, daver@cbnewsj.cb.att.com (dave.robertson) writes:

|> I am having problems trying to use the send_msg function in mwm.
|> I need to add an application specific capability to each window
|> manager menu, and I believe that this can be achieved in this manner.

|> Firstly in my mwm configuration file I define the menu as follows : 
|> 
|> Menu DefaultWindowMenu MwmWindowMenu
|> {
|>     MyFunc              f.send_msg 123

You probably should *not* put this in the mwm configuration file.
There's no guarantee that 123 will correspond to a valid atom.
(I have no idea why f.send_msg wants the atom number instead of
the atom name as it's argument; it looks like a serious design bug.)

What I do instead is something like:

    Atom message_atom;
    message_atom = XmInternAtom(dpy, "MY_MESSAGE", False);
    sprintf(buf,"MyFunc       f.send_msg %d\n",(int)message_atom);
    XtVaSetValues(shell, XmNmwmMenu,buf, NULL);
    /* Or: */
    Atom motif_wm_menu = XInternAtom(dpy,"_MOFTIF_WM_MENU", False);
    XChangeProperty(dpy,win, motif_wm_menu, motif_wm_menu, 8, 
        PropModeReplace, buf, strlen(buf));

i.e., add the extra menu options from the application itself, not
from the Mwm configuration file.


|> wm_motif_messages = XInternAtom(dpy, "_MOTIF_WM_MESSAGES", FALSE);
|> static	int	helpmsg = 123;
|> 
|> XChangeProperty(dpy, win, wm_motif_messages, XA_INTEGER, 32,
                                                ^^^^^^^^^^
|>                 PropModeReplace, (unsigned char *) &helpmsg, 1);

This could be the problem; _MOTIF_WM_MESSAGES is supposed to be
of type ATOM.  You also might want to make sure that _MOTIF_WM_MESSAGES
is in the WM_PROTOCOLS list, though I'm not sure if it's necessary.
I think that the VendorShell(?) does this automatically.

It's easier just to use:

    XmAddProtocolCallback(shell, _motif_wm_messages, message_atom,
        MyCallback, MyCallbacksClosure);

but since you're not using the Motif toolkit that's not an
option.

Hope this helps,

--Joe English

  joe@trystero.art.com
From: rnovak@netcom.com (Robert E. Novak)
Newsgroups: fj.mail-lists.x-window
Subject: Re: What's the best PC X terminal software? Deskview X, Windows X?
Date: 29 Dec 92 10:37:46 GMT
Distribution: fj
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

Date: Tue, 29 Dec 1992 07:22:28 GMT
Message-Id: <1992Dec29.072228.28623@netcom.com>
Newsgroups: comp.windows.x,comp.sys.ibm.pc.misc

In article <1992Dec21.141835.4570@miki.pictel.com> oj@miki.pictel.com (Oliver Jones) writes:
>2) The Xremote release notes say, and my experience verifies, that
>   your PC should have a 16550 serial controller chip (the one 
>   with a character silo) instead of a '450 if you're going 
>   to be running serial communications at >= 9600bps
>   on MS Windows.  Most PCs come with not-good-enough serial 
>   controller chips.   You can probably buy the appropriate
>   serial card in a computer store for < $50.

I am using a 14.4 kbps modem and was having problems with transfers until I
bought a 16550 chip.  Like most people that bought early serial boards I
had added a 16450 several years ago.  When it came to upgrading, replaing
the socket chip was a breeze and inexpensive ( <$10 ).
From: db@sunbim.be (Danny Backx)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Solaris 2: how do I get rid of -lucb ?
Date: 21 Dec 92 18:11:16 GMT
Distribution: fj
Organization: BIM n.v. Everberg Belgium

Date: Mon, 21 Dec 92 13:31:08 GMT
Message-Id: <1992Dec21.133108.1746@sunbim.be>
Newsgroups: comp.windows.x

Kaleb Keithley <kaleb@jpl-devvax.jpl.nasa.gov> writes:
>In article db@sunbim.be writes:
>I'd guess that it's caused by the widespread usage of functions *like* 
>bcopy and it's kin that are rooted firmly in Berkeley-based systems.

As many people privately E-mailed to me, my problem was that I had /usr/ucb
in my path before /usr/ccs/bin. Both contain an "ld". The one in /usr/ucb
is a script which adds a number of libraries (such as -lucb) and then calls
the real ld in /usr/ccs/bin.

Thank you everybody who helped me !

>Also, what about using Sun's migration tool to analyze the "home brew"
>source?  Or doesn't that work as well as Sun's marketing hype says it
>does? :-)

I used it on X11r5 sources just to see what it said. I found it a bit too
good. I.e. it told me too much. I know about bcopy and stuff like that.

I guess if you're a bit new to BSD and SYSV differences then it probably
is very useful.
--
	Danny Backx
	System Engineer

E-Mail: db@sunbim.be    (or uunet!mcsun!ub4b!sunbim!db)

Telephone: +32(2)759.59.25	Fax : +32(2)759.47.95

Postal Mail :
	Danny Backx
	BIM
	Kwikstraat 4
	3078 Everberg
	Belgium
From: phydeaux@guru.med.cornell.edu (Dave Weingart)
Newsgroups: fj.mail-lists.x-window
Subject: Best WM?
Date: 30 Dec 92 21:48:10 GMT
Distribution: fj
Organization: Cornell University Medical College

Date: Wed, 30 Dec 1992 17:30:01 GMT
Message-Id: <1992Dec30.173001.11601@mail.cornell.edu>
Newsgroups: comp.windows.x

Loathing twm, and before I spend hours ftp'ing and hacking into shape
a better window manager, which should I go for?  Running R4 under
A/UX, if that's significant.

--
73 de David Weingart  KB2CWF    In the event I am captured or killed, the
phydeaux@cumc.cornell.edu       Cornell University Medical College and the
phydeaux@guru.med.cornell.edu   Department of Academic Computing will disavow
phydeaux@src4src.linet.org      any knowledge of my opinions.
From: pchan@snowy.csd.sgi.com (Pamela Chan)
Newsgroups: fj.mail-lists.x-window
Subject: comp.windows.x
Date: 31 Dec 92 09:55:22 GMT
Distribution: fj
Organization: Silicon Graphics, Inc.

Date: Wed, 30 Dec 1992 22:56:46 GMT
Message-Id: <PCHAN.92Dec30175646@snowy.csd.sgi.com>
Newsgroups: comp.windows.x


Does anyone know of any graphical application for xwd?

Please send your reply to pchan@csd.sgi.com.

Thanks in advance.


-------------------------------------------------------------
Pamela Chan				Silicon Graphics Inc.
pchan@csd.sgi.com			415-390-1224

--
-------------------------------------------------------------
Pamela Chan				Silicon Graphics Inc.
pchan@csd.sgi.com			415-390-1224
From: davidh@muppet.bt.co.uk (David Hobley)
Newsgroups: fj.mail-lists.x-window
Subject: Re: tvtwm - cannot link
Date: 31 Dec 92 21:28:35 GMT
Distribution: fj
Organization: British Telecom Research Laboratories

Date: 31 Dec 92 08:50:36 GMT
Message-Id: <1992Dec31.085036.23704@muppet.bt.co.uk>
Newsgroups: comp.windows.x

In article 178707@ipgaix.unipg.it, luca@dedalo.unipg.it (Luca Priorelli) writes:
>I am trying to compile tvtwm on a SPARCstation with Solaris 1.0.1.
>I am using the X files in the openwin distribution (should be X 11.4).
>
>The compilation is done right but when I link I get the following undefined
>symbols:
>_pow
>_floor
>_get_wmShellWidgetClass
>_get_applicationSHellWidgetClass
>__XtInherit
>_XtToolkitInitialize
>
>It seems I still have to add something. Any hints?
>
>Thamk you.
>
>Luca Priorelli

I believe there is a problem with the Xt dynamic library under Openwindows.
Try compiling with -Bstatic on the command line and see if that works. If so you
can specify -Bstatic -lXt -Bdynamic (I think) or in whatever order it should be
in :-)

---
        David Hobley    davidh@muppet.bt.co.uk
Through the darkness of futures past / The magician longs to see.
One chance out between two worlds    / Fire walk with me.
From: rogerr@netcom.com (roger reynolds)
Newsgroups: fj.mail-lists.x-window
Subject: WCL/XRM question
Date: 31 Dec 92 15:14:11 GMT
Distribution: fj
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

Date: 31 Dec 92 05:10:03 GMT
Message-Id: <1992Dec31.051003.2980@netcom.com>
Newsgroups: comp.windows.x,comp.windows.x.motif,comp.windows.x.intrinsics



	Ok, here's one for a true Xrm wizard...
	
	I would like to be able to use the X Resource Database to
	store values for "objects" and "instances of objects" where
	the objects are application defined things, i.e. not widgets.
	(though they certainly contain widgets...)

	I have had a fair bit of success at the first part of this,
	by defining a structure and then using XtGetApplicationResources
	to fill in members of that structure.  This works swell for
	an "instance" of an object, but I can't get my head around how
	to define resources at the class level.

	For anybody who is still following this, perhaps a short example
	to illustrate my question...

	Ok, lets say that I have defined a new Class called "Caption",
	and have registered a constructor with WCL to be called when
	an instance of a "Caption" is to be created. 
	(Caption is a simple object which binds a label widget to some 
	"work area" widget...)
	In my constructor, I create a base widget manager of some type,
	and a label and	a work area as its children, and return the base 
	widget created.
	Also in my constructor function, I use XtGetApplicationResources
	to fetch the special resources that a Caption knows about.
	Like I say, this all works fine.

	Using WCL, the resource file looks like this:

	foo.wcCreate: Caption
	foo.labelString: My Caption Label
	foo.workArea: form
	form.wcCreate: XmForm
	...


	Now what I'd like to be able to do, is create a class "Caption"
	in the Resource Database that a user can use to set default 
	Caption resources, but here I've had little luck.
	The idea would be to be able to say things like :

	*Caption*XmLabel.alignment:XmALIGNMENT_CENTER

	and so on.

	
	Any tips on how to attack this sort of thing, or ideas on what
	to read or where to look for similar examples of Xrm usage
	would be much appreciated...

	Thanks,
	rogerr@netcom.com
From: feats@feats.cc.vt.edu, feats@vtvm1.cc.vt.edu
Newsgroups: fj.mail-lists.x-window
Subject: Learning X-windows
Date: 31 Dec 92 05:59:39 GMT
Distribution: fj
Organization: Virginia Tech, Blacksburg, VA

Date: 30 Dec 92 12:52:02 GMT
Message-Id: <10775@vtserf.cc.vt.edu>
Newsgroups: comp.windows.x

I have a RS/6000 POWERstation 220 running AIX 3.2.  I am interested             
in learning about AIXwindows and how to write a 'C' application that            
uses the X-windows environment.  As of right now I don't have access            
to any of the IBM manuals that cover this topic in depth.  I do feel            
that the IBM manuals are not the best ones to learn from but they do            
make good references.                                                           
                                                                                
Can anyone suggest any good books on X-windows programming in 'C'?              
I don't know if just any X-windows programming book will do or if I             
need one that specifically covers AIXwindows!                                   
                                                                                
I would also be interested in some small programming samples of                 
X-windows applications.  Are there any FTP sites that would have                
any coding samples or would any of you have any samples you would               
like to share.  I am talking small and simple examples because I                
know very little about 'C' and almost nothing about X-windows!                  
                                                                                
Thanks in advance!                                                              
                                                                                
                                                                                
Stephen L. Greenfield                     Bitnet:   FEATS@VTVM1                 
Virginia Polytechnic Institute   ,/\      Internet: feats@feats.cc.vt.edu       
Blacksburg, Virginia           ,/   `\/`'\                                      
                           ,/\/          /                                      
                         ,/             <_          ._.                         
                        /                 `\       / /                          
             ,/\_     _/'                   `-`-\  |/                           
          ,/'    `_'_'  *  Blacksburg          \_> '                            
       ,/'                                    \__>_/\                           
      +----------------------------------------------+
From: rharmon@uucp.lcs.mit.edu (Robert Harmon)
Newsgroups: fj.mail-lists.x-window
Subject: Re: HELP: How to "fake" a pgup or pgdn for a motif scrollbar?
Date: 22 Dec 92 00:38:58 GMT
Distribution: fj
Organization: Arinc Research Corporation, Annapolis MD

Date: 21 Dec 92 13:58:41
Message-Id: <RHARMON.92Dec21135841@triton.uucp>
Newsgroups: comp.windows.x


In article <BzFHA9.ICu@news.cso.uiuc.edu> datl@uxa.cso.uiuc.edu (le dat trieu) writes:
   How can I invoke the appropriate Motif callback for a scroll bar as if
   the user
   has selected page up or page down on a scroll bar.  I have a scrolled window
   with several text widget in it for user input.  A page up or page
   down scrolls
   to the previous or next row of text widgets.  I need to be able to
   display the


Motif doesn't provide a way to do stuff that can be easily done in Xt.

  XtCallActionProc (Widget, String action, XEvent *event,
                       String *params, Cardinal num_params);

--
rharmon@srg.uunet.uu.net        |
Robert B. Harmon ms:5-230       |  Causing touble, ...again?
Arinc Research 2551 Riva Rd.    |  
Annapolis, Md 21401             |
From: br762@cleveland.Freenet.Edu (Tim Werner)
Newsgroups: fj.mail-lists.x-window
Subject: re: asente-swick
Date: 4 Jan 93 00:43:31 GMT
Distribution: fj
Organization: Case Western Reserve University, Cleveland, OH (USA)

Date: 3 Jan 93 23:33:16 GMT
Message-Id: <1i7t3sINNmdu@usenet.INS.CWRU.Edu>
Newsgroups: comp.windows.x


In a previous article, cp78085@csie.nctu.edu.tw (Tan Koan-Sin) says:

>Asente & Swick use their own wigdet set in that book. Not Motif, nor Athena 
>Widgets.

Tan emailed me, asking me to tell him my specific compile errors, and I ended
up hacking around until I got them all to go away. I still don't understand
it, though.

I had to:
  include <X11/ObjectP.h> in GraphDispP.h
  include <X11/CompositeP.h> in BoxP.h
  include <X11/CoreP.h>           "
  include <X11/ObjectP.h>         "
  include <X11/ObjectP.h>    in LabelGadgP.h
  include <X11/RectObjP.h>        "
  include <X11/ObjectP.h>    in MenuP.h
  include <X11/ObjectP.h>    in Confirm1P.h

Why did I have to do all this to make the widgets? Why does it compile out
of the box for everyone else?

Thanks to everyone who wrote.

tim werner
--
From: djr48312@uxa.cso.uiuc.edu (Dennis Robinson)
Newsgroups: fj.mail-lists.x-window
Subject: HELP: xinit: interrupted system call (errno 4) client error
Date: 22 Dec 92 23:15:58 GMT
Distribution: fj
Organization: University of Illinois at Urbana

Date: Tue, 22 Dec 1992 19:31:32 GMT
Message-Id: <BzoE8L.14B@news.cso.uiuc.edu>
Newsgroups: comp.windows.x



Recently have reinstalled X11, for that matter all of linux.  Using
.98 patch level 1 or 2 (don't recall).  However now I am getting the
following error:

xinit: Interrrupted system call (errno 4) : client error

Before the error comes I get the slate grey screen, which then turns blue.
Mouse works fine...  And about 50% of the time the xclock appears.  The 
error occurs before the xterm or the twm window manager come into play.
Ive taken out the xterm & in the .xinitrc and the error still happeds.
A while ago I was getting this error:

waiting for X server to shut down X386 Version 1.2 / X Windows System [linux v1.
										

										1 8514/A alpha]                                                                 

										(protocol Version 11, revision 0, vendor release 5000)                          
																				
																														XIO:  fatal IO error 32 (Broken pipe) on X server ":0.0"^M                      
																															    The connection was probably broken by a server shutdown or KillClient.^M  



+-------------------------------------------------------------------+
| Dennis J Robinson               University of Illinois            | 
| Voice/Fax# (217-356-5894)       Computer Science Department       |
| Data/BBS   (217-356-9512)                                         |
| djr48312@uxa.cso.uiuc.edu                                         |
+-------------------------------------------------------------------+
From: egreshko@twntpe.cdc.com (egreshko)
Newsgroups: fj.mail-lists.x-window
Subject: xloadimage
Date: 29 Dec 92 07:02:22 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Message-Id: <9212300332.AA27355@sequoia.twntpe.cdc.com>
Date: Tue, 29 Dec 1992 12:32:13 -1500 (TST)
X-Mailer: ELM [version 2.4 PL6]
Content-Type: text
Content-Length: 423       

Hello,

	I don't read this list, so kindly reply directly.

	I'm not on the Internet so it is not easy for me to always find
stuff.  I'd like to know where a tar file for xloadimage exists.  Then
I could use a mailftp server to grab it for me.

	Thanks in advance.

-- 
Edward M. Greshko			Control Data Taiwan
Voice: +886-2-715-2222 x287		6/F, 131 Nanking East Road, Section 3
FAX  : +886-2-712-9197			Taipei, Taiwan R.O.C
From: ksk@ksksun.ca.aecom.yu.edu (Ken Krauter)
Newsgroups: fj.mail-lists.x-window
Subject: Framemaker - X cut and paste
Date: 22 Dec 92 21:10:09 GMT
Distribution: fj
Organization: Albert Einstein College of Medicine

Date: 22 Dec 92 17:19:36 GMT
Message-Id: <1244@alsys1.aecom.yu.edu>
Newsgroups: comp.windows.x

I have been trying to cut and paste between Framemaker and either xterm or xrolo (or any X-based application) 
without success.  I know that Framemaker has an internal clipboard but the manual says that selected text
is held in the X clipboard and may be pasted elsewhere.  This is not true with the standard setup.  I am running
FM on a Sparc 1+, SUNOS 4.1.3, X11R5, olvwm.  I have had the same problem with twm and olwm.  Is there
an X resource I need to adjust or a keymap I need to enable?

Thanks in advance.



Ken Krauter
Department of Cell Biology
Albert Einstein College of Medicine
1300 Morris Park Ave.
Bronx, NY  10461
Tel.  (718) 430-3509
FAX.  (718) 829-7619
Email ksk@ksksun.ca.aecom.yu.edu