HDTenEightyP/NetNews huggingface dataset:
From: azhao@cs.arizona.edu (Qiang Alex Zhao)
Newsgroups: comp.windows.x,comp.windows.x.apps,fcs.info-nets
Subject: Xnlock -- bug -- where's its author?
Keywords: xnlock
Date: 27 Aug 92 21:04:32 GMT
Followup-To: comp.windows.x
Organization: Computer Science Dept, Univ of Arizona, Tucson


I met some serious problem in using xnlock -- but my email to the
author, "Dan Heller" <argv@sun.com>, bounced back. If anybody knows
him, please forward the following to him? Or if somebody knows the
answer to my problem, please let me know? Thanks a lot!

.......................................................................

Hi,

I ftp'ed xnlock version 3 from export.lcs.mit.edu -- I thought it was a
very interesting program. It worked fine on my Sun workstation.

A serious problem occurs when I run it on a X terminal -- after about
10 minutes idle time, xnlock kills my entire X session. The X terminal
is a Sun3/75 running xdm; its file server (for the X excutables, like
xdm) is a Sun3/80; xdm is connected with a SPARCstation 2 running SunOS
4.1.1-IPX as login user's file server.

Any explanation? Thanks a lot.

-- 
= Qiang Alex Zhao		   Computer Science Department
  azhao@cs.arizona.edu             University of Arizona
  (602) 621-1815                   Tucson, AZ 85721
Newsgroups: comp.windows.x
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: RE: Getting Paned Window to tile horizontaly ...
Organization: The Internet
Date: Mon, 31 Aug 1992 17:04:33 GMT

#
#		Is it possible to get PanedWindow to lay out children
#in a HORIZONTALY tiled format ? I need two frames side by side and
#I want to allow the user to resize the two frames with a PanedWindow
#or anything similar to it.
#

1) Get X11R4 or X11R5.

2) Look at the documentation for the Paned Widget really closely.  You will
find that it supports both modes.

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
From: klaus@lvd1.bme.ohio-state.edu (Klaus Mueller)
Subject: Xwst3d window server runs out of memory
Reply-To: klaus@lvd1.bme.ohio-state.edu (Klaus Mueller)
Organization: Biomedical Engineering OSU
Date: Mon, 31 Aug 1992 13:48:38 GMT


I have a question concerning DEC's Xwst3d server that is used on the
DECStation 5200-240 (3D, 24bit color,
40MB RAM, 132MB swap space). However, I use it in Pseudo color mode,
since the majority of my programs use
colormaps (just got this machine, we have a bunch of 8bit color DECs).

Therefore when starting up the Xwst3d window server in the ttys file at
boot time I use
                      /usr/bin/Xwst3d bc -class PseudoColor

The problem in this configuration is that programs that work fine on any
regular Xws display fail with an X window error BadAlloc on the Xwst3d
when it is tried to load larger sized images (> 1k x 1k) into pixmaps.
The server apparently runs out of resources (data memory?). Smaller
images work fine.

This is (yet) a mystery to me. Is there anything I might have configured
wrong setting up the server, or is there something else that has to be set.  ?

If there is anyone out there who knows what's going on I would be
appreciate his/her comments.
From: hstroyan@hpfcso.FC.HP.COM (Howard Stroyan)
Newsgroups: comp.windows.x
Subject: Re: multiple screens (display), single pointing device....
Date: 31 Aug 92 21:10:58 GMT
Organization: Hewlett-Packard, Fort Collins, CO, USA

In comp.windows.x, christia@latenite.ssc.gov (Mike Christiansen) writes:

> Is it possible under R5 to support multiple displays using a single
> mouse / pointer. That is, like the mac I want to install two (or
> three) frame buffers and manipulate windows on all three through a
> single pointer such that the cursor is run into the side of one, it
> apperars on the next longical display. Is this possible under
> open-look?

I suspect this is a vendor specific option.  
This type of configuration is available on HP workstations.
To set it up you list multiply display device files in the 
/usr/lib/X11/X0screens file. 
The screens are be addressable as <hostname>:0.0 , <hostname>:0.1,
and so forth.  Note that in this mode the cursor can be moved
from screen the screen but windows can't.  (Nor can they 
be made to straddle two screens).

--
Howard Stroyan                                         
Hewlett-Packard                                        hstroyan@fc.hp.com
User Interface Technology Division
From: nandraj@unisql.UUCP (Nandraj Arni)
Newsgroups: comp.windows.x
Subject: Getting color names(char*).
Date: 26 Aug 92 18:28:46 GMT
Reply-To: nandraj@unisql.UUCP (Nandraj Arni)
Organization: UniSQL, Inc., Austin, Texas, USA



   I want to know how to get color names(char*) for some Widget's
background or anything? I asked this before, I did not get answers
but some netters wanting the answers. That is why I am posting
across groups.

   Say, if you make an application with motif GUI. You want to get
the name of colors of some resources programmitically. How would
you do that at any level, Xlib, Xt or Motif?


Thanks,



-- 
*******************************************************************
Nandraj Arni

UniSQL, Inc.                           Voice: 512 343 7372 Ext. 107
9390 Research Blvd.                              Home: 512 794 9386
Kaliedo II			   	          FAX: 512 343 7383
Austin, TX 78759

Email: unisql!nandraj@cs.utexas.edu
*******************************************************************
Newsgroups: comp.windows.x
From: victor@watson.ibm.com (Victor Miller)
Subject: XPutPixel and and XGetPixel and image layout
Date: Mon, 31 Aug 1992 17:54:53 GMT
Reply-To: victor@watson.ibm.com
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM, T.J. Watson Research Center

I know that the standard "safe" way of writing and reading pixels in
an image is to use XPutPixel and XGetPixel.  However, for speed one
would like to read and write units (bytes, double bytes, quad bytes
and whatever) directly for speed.  Is there a reliable way of
determining what the layout of the image is?  I realize that,
theoretically, it doesn't need to be layed out by scan lines, with
possible padding, in which case all bets are off.  Is there a good way
of determining whether or not this is the case (via some X calls), and
if the image is layed out in a "standard" way to determine to
parameters: a) how much space a pixel takes up, b) is there padding at
the end of a scan line, and anything else that might be relevant.

--
		Victor S. Miller
		Bitnet: VICTOR at WATSON
		Internet: victor@watson.ibm.com
		IBM, TJ Watson Research Center
		"Great artists steal; lesser artists borrow" Igor Stravinsky
Organization: Penn State University
Date: Sat, 29 Aug 1992 17:41:16 EDT
From: <NXD103@psuvm.psu.edu>
Newsgroups: comp.windows.x
Subject: How to change the label in a label wgt in a loop?

I was trying to change the label of a label wgt in a loop using
XtVaSetValues (or XtSetValues) and passing an array of strings to
XtNlabel.  However, only the last item of the string array appears
on the screen.  I also tryed to use XFlush after each XtVaSetValues
call, but in vain.  Within the loop, there are graphic operations on
other widgets.

The O'Reilly's book (Vol.5) describes that the XtVaSetValues function
calls the intrisics methods set_values, which uses a redraw variable to
control the widgets's redisplay feature.  Is this redraw variable
implemented for the label widget?

Could anyone help me to find a solution?   Thanks in advance.

Niu Duan

Newsgroups: comp.windows.x
From: grapher@wiliki.eng.hawaii.edu (Grapher Consultant)
Subject: Undefined Externals
Organization: University of Engineering, College of Engineering
Date: Fri, 28 Aug 1992 03:23:18 GMT

HELP!
	I'm calling from the University of Hawaii at Manoa (Oahu), College of
Engineering.  My problem is that I can not seem to find the right libraries
(or the correct order) to link to an X/Motif/Starbase  program to get rid of
the following error message:
	ld:  Undefined external -
		_XHPGet16MixedFontStruct
		_XHPIs16bitCharacter
		_XHPSetErrorHandler
		__xmask.
The system that I am working on is the HP 9000 Series 400 using X11R4 and 
Motif1.1.  The current libraries that I'm linking are -lX11 -lXt -lXhp11 -lX11.
I've tried several combinations of the libraries listed above, and the one
shown is the combunation that yields the least 'Undefined externals'.  Is
there any libraries that I may be excluding or is there a combination that
I over looked.  Any suggestions or advice will be greatly appreciated.

email address:
grapher@wiliki.eng.hawaii.edu

	A correspondence with someone with knowledge on these types of 
situations will also be much appreciated.  I'm trying to put together an
application for the College of Engineering, but can't seem to find any one
with enough experience or knowledge of X or Motif1.1.

				Thank you,
					
				Michael
emali address:
grapher@wiliki.eng.hawaii.edu
	or
shimko@wiliki.eng.hawaii.edu
From: robert@pinus.slu.se (Robert Olsson)
Newsgroups: comp.windows.x
Subject: Re: HELP! X11R5 gives "couldn't open device"; ultrix DS3100
Keywords: ultrix ds3100 X11R5
Date: 1 Sep 92 12:15:47 GMT
Organization: Swedish University of Agricultural Sciences

In article <1992Aug27.215736.9112@engage.pko.dec.com> ewanco@kalvin.enet.dec.com writes:
>
>Hi, I need help! I have just installed binaries for X11R5 that I snarfed

STUFF DELETED

>(non-root), it started to come up and then gave me this error:
>
>couldn't open device
>giving up.
>xinit:  Connection refused (errno 61):  unable to connect to X server
>xinit:  No such process (errno 3):  Server error.


	I got the same symptom when was installing X11R5 on 
	DS 5000/20. I viewed the code and found that 
	/dev/mouse was read protected: chmod a+r /dev/mouse
	did the job. xconsole had the same problem
	chmod a+r /dev/xcons fixed that. Hope this solves
	your problem.

				Robert Olsson
-- 
+-----------------------------------+--------------------------------------+
Robert Olsson                       | tfn +46 (18) 672581                  |
Sveriges Lantbruksuniversitet       | fax +46 (18) 301533                  |
Datoravdelningen                    |                                      |
From: chan@hpfcmgw.FC.HP.COM (Chan Benson)
Date: Thu, 27 Aug 1992 19:16:05 GMT
Subject: Re: The most effecient way to scroll: initiate a discussion or asking some direction if already discussed
Organization: HP Fort Collins, CO
Newsgroups: comp.windows.x

> Here is a question: have I actually exhausted all solutions and
> it is actually a concepct of X that server does not expect client to 
> manipulate frame buffer directly even through server. If I
> really want to do that, the only possible way is to modify the
> server to pave the way out. Is this a fair assumption ?

Given X's network orientation, it makes sense that there is no standard
way for a client to access the server's framebuffer.

Probably the closest thing to what you want is the Shmimage extension,
which allows a local client and the server to share a shared memory
segment. You can manipulate this memory as a raster and then instruct
the server to display it in a window.

			-- Chan Benson
			HP Fort Collins
Newsgroups: comp.windows.x
From: rosenth@vision.ethz.ch (Lukas Rosenthaler)
Subject: Xview on Ultrix: Server error
Summary: all XView-Applications die with "server error"
Keywords: XView Ultrix
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Distribution: ?
Date: Tue, 1 Sep 1992 16:24:41 GMT

I am building XView on a DECstation 5000 with Ultrix4.2A. The compilation of
XView succeeded, but all aplication (olwm, clock, examples etc.) die with the
following message:

XView error: Cannot open connection to window server: :0.0 (Server package)

What can be done about it. Any help is appreciated !!!!


Regards,

	Lukas Rosenthaler
	Swiss FEderal Institute of Technology, Image Science Group
	CH-8092 Zuerich
	Switzerland
	Email: rosenth@vision.ethz.ch
From: casale@eniac.seas.upenn.edu (Michael Casale)
Newsgroups: comp.windows.x
Subject: X-Windows Development From the PC
Date: 3 Sep 92 19:53:24 GMT
Organization: University of Pennsylvania

Hi there,

	I'm looking for a cross-platform C development tool that will allow me 
to develop screens, windows, menus in X-Windows UNIX code on a PC for later
porting.   Developing for X-Windows is a must and I will probably need to
modify this code later on.  What kind of multiple-platform development tools 
are out there?  The only one I am remotely familiar with is C-Scape by Liant.
Any info would be much appreciated.

			Thanx
				Michael Casale
				casale@eniac.seas.upenn.edu
.
From: shengj@acf3.nyu.edu (Jia Sheng)
Newsgroups: comp.windows.x
Subject: Compiling X11R5 on HP9k/360 --- HELP!
Keywords: X11R5
Date: 25 Aug 92 19:45:10 GMT
Organization: New York University


Hi, after applying all patches on X11R5 source, I started to compile it on
HP9000/360(hpux6.5). Everything went smoothly except when buliding libXmu,
there is one error message:

	cc -c -O -Wc,-Nd4000,-Ns4100,-Ne700,-Np200,-Nw300 -DX_NOT_STDC_ENV -DMALLOC_0_RETURNS_NULL -DX_NOT_POSIX   -I../../.  -DSYSV     Xct.c
"Xct.c", line 293: size_t undefined
"Xct.c", line 293: incorrect function
"Xct.c", line 293: incorrect function
"Xct.c", line 325: size_t undefined
"Xct.c", line 325: incorrect function
"Xct.c", line 325: incorrect function
*** Error code 1

/****** line 293 of Xct.c ******/
	bcopy((char *)enc, (char *)ptr, len);
/****** line 325 of Xct.c ******/
    bcopy((char *)data->item, (char *)priv->itembuf, data->item_length);

I trace it to X11/Xfuncs.h

/****** Xfuncs.h ******/

#if (__STDC__ && !defined(X_NOT_STDC_ENV) && !defined(sun) && !defined(macII)) || defined(SVR4) || defined(hpux) || defined(_IBMR2)
#include <string.h>
#define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
#define bzero(b,len) memset(b, 0, (size_t)(len))
#define bcmp(b1,b2,len) memcmp(b1, b2, (size_t)(len))

Anybody know how to fix this problem?


Jonathan J. Sheng
Theoretical Chemistry, NYU
(212)998-8439
--
Jonathan J. Sheng
Theoretical Chemistry, NYU
(212)998-8439
Newsgroups: comp.windows.x,comp.unix.solaris,comp.sys.sun.misc
From: foster@sting.hao.ucar.edu (Ben Foster)
Subject: athena file finder widget?
Organization: High Altitude Observatory/NCAR, Boulder CO
Date: Thu, 27 Aug 1992 15:55:16 GMT

Anyone know of an athena widget, or source code, that helps 
search a dir tree and open a selected file(s)?  I need such 
in an OpenWindows 2.0, SunOS 4.1, X11R4 environment using 
athena widgets, and have a feeling I would be reinventing 
the wheel (widget?) to write my own...

--Ben Foster
  foster@ncar.ucar.edu
  303-497-1595
Newsgroups: comp.windows.x
From: DMAHONEY@vax.micron.COM
Subject: cmd/shelltool questions
Organization: The Internet
Date: Wed, 26 Aug 1992 14:35:29 GMT

 
 
I am working on window applications for a Sparc IPC (4.1.x, OW2, olwm)
that is the front-end interface to a production machine.  As such, my 
"user" is completely unsophisticated, barely versed with computers, 
much less Unix or X.
 
I have an application, a script, that uses shelltool, but invariably an
operator either closes the window into an icon (and wonders why the
machine seems to loop) or the operator quits the window before the proper
data is entered.  I've been considering switching this application to 
an Xview program, using a popup window and a data check that pops the window
back up if the data is wrong (or missing).  Unfortunately, a popup window
doesn't really allow you to force feed the user and opening up a popup window
(and its respective data check) for each of several options is not doable,

again due to the confusion of the operators.
 
Is there any way to run a force-feeding (step-by-step) script in a popup window?
 
Also, a source of much aggravation is the fact that our only non-cleanroom
access to the Sparcs are ASCII terminals.  Is there anyway to save
a console/cmdtool/shelltool window remotely from an ASCII terminal (using
remotely-issued mouse commands?)  (Actually, the ability to do any
sequence of remote mouse/keyboard commands would be invaluable.)
 
A last problem (irritation) is the curious behavior where if you make
a window "Full" (or double click on the header) and fill the larger window
with text and then make the window "Normal" (ie. small), the text you see
is the text that was at the top of the window, not the stuff at the bottom.
For console and error-logging windows, the most recent data (at the bottom
of the window) is most important and having to drag the scrollbar to the
bottom after every "Full"-"Normal" sequence is irritating.  Is there some

resource that can be set?
 
Thanks in advance for any insight into any of this.  Please respond
by email and if there is sufficient response, I will summarize.
 
--Dale Mahoney
  Micron Semiconductor 			dmahoney@vax.micron.com
  Boise, ID


Newsgroups: comp.windows.interviews
From: denisb@leland.Stanford.EDU (Denis Bohm)
Subject: how to test glyphs?
Organization: DSG, Stanford University, CA 94305, USA
Date: Tue, 1 Sep 92 19:34:35 GMT

Has anyone tried setting up a testing framework for glyphs?  What I
would like to do is test each of the Glyph member functions for each
of the new glyphs that I have put together.

For example, if I have a glyph that is like an hbox, I would like to
something like:
  1) create some allocation test glyphs and placed them in the box
  2) call box request and assert that the result is as expected
  3) call box allocate and assert that the extension is as expected
  4) assert that the allocation test glyphs have the expected
     allocations
  5) create a clipping test canvas and call box draw
  6) assert that the clipping was set properly
  ... same for testing the other Glyph member functions

It seems like there could be a kit of generic testing objects
(containing Glyph, Canvas, Window, Event, etc. testing objects), and an
assertion kit (check that these two requisitions are close, etc.).  This
type of testing can be used for batch regression test runs because you
don't need a display to run the tests.

I have tried the event journal and replay type testing where you have to
create a window on the screen and manuall interact with it to create a
test.  I thought that it was fairly useless (it is such indirect way of
trying to test very specific behaviors).

Does anyone have any experience or opinions?
-- 
Denis Bohm (denis@redwood.com -or- denisb@leland.stanford.edu)
Newsgroups: comp.windows.interviews
From: linton@marktwain.rad.sgi.com (Mark Linton)
Subject: Re: how do I unsubscribe
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
Date: Thu, 27 Aug 1992 16:08:54 GMT

In article <9208211545.AA01806@fss.fokker.nl>, muts@fss.fokker.nl writes:
|> Sorry to bother you with this, but I don't know anymore how to
|> unsubscribe. I did post to this list a request but mail keeps flowing
|> in, so I guess there exists something like
|> comp-windows-interviews-request? Thanks,

Mailing list add/delete messages should be sent to

	interviews-request@interviews.stanford.edu
From: smp@babcock.cerc.wvu.wvnet.edu (Shailesh M. Potnis)
Newsgroups: comp.windows.interviews
Subject: Re: Problems in printing 3.1 IV ref docs with 3.0 doc
Date: 3 Sep 92 18:32:47 GMT

From article <pabo9co@fido.asd.sgi.com>, by linton@marktwain.rad.sgi.com (Mark Linton):
> In article <3511@babcock.cerc.wvu.wvnet.edu>, smp@cathedral.cerc.wvu.wvnet.edu (Shailesh M. Potnis) writes:
> |> 	I am having problems with the print quality of the .ps files produced
> |> from v 3.1 beta iv/src/man/refman/ch*.doc by using iv 3.0 doc.  Is the print
> |> quality problem due to the version mismatch of the doc bin and the doc files
> |> or is there a bug/font problem at my site.
> 
> Some older versions of doc need the resource "idraw_font_metrics" set off
> to use the correct PostScript fonts (a misfeature fixed in newer versions).
> There hasn't been a change in the doc file format.



	I do not quite understand.  I tried to set this resource as any of the
following in my .Xdefaults file:

idraw_font_metrics: 0
idraw_font_metrics: ""

Assuming a mis print and looking at the idraw man pages also tried:

idraw.font_metrics  0
idraw.font_metrics  ""

Neither of these have helped to improve the print quality.  Is there a
modification to the .ps file which can be useful?  Earlier I had a fix
on the net from Paul Calder for the glyphs.ps file.  
Change the definition of /sf in the file's prolog as follows ...

***************
*** 5,13 ****
  save 20 dict begin
  
  /sf {
!     exch FontDirectory 1 index known not
!     {pop /Courier} if
!     findfont exch scalefont
      setfont
  } def
  
--- 5,12 ----
  save 20 dict begin
  
  /sf {
!     exch {findfont} stopped {pop /Courier findfont} if
!     exch scalefont
      setfont
  } def
  

This fix does not however work with the *.ps files generated from refman/*.doc
files using doc v3.01

--
Shailesh Potnis, Associate	|Concurrent Engineering Research
Member of Technical Staff	|Center, West Virginia University
From: huub@cwi.nl (Huub Bakker)
Newsgroups: comp.windows.interviews
Subject: can't print punidraw.ps
Keywords: LaTeX version, documentation
Date: 3 Sep 92 06:26:09 GMT
Reply-To: Huub.Bakker@cwi.nl
Organization: CWI, Centre for Mathematics & Computer Science

Hello world,

I tried to print the file /pub/papers/punidraw.ps from interviews.stanford.edu
but no printer in here could eat the Postscript dialect. 
Could somebody mail me the LaTeX source, stylefiles etc...

Thanks very much in advance,

Huub.


-- 
CWI, P.O. Box 4079 			Huub Bakker (huub@cwi.nl)
1009 AB Amsterdam
The Netherlands
Tel. 31 20 5924080
From: harlick@prototype.uucp (Ryan Harlicker)
Newsgroups: comp.windows.interviews
Subject: Interviews 3.1 with gcc 2.2.2 possible?
Date: 28 Aug 92 04:12:08 GMT
Organization: None is Needed or Wanted


	I'm trying to compile Interviews3.1 with gcc2.2.2 and am having
some problems.  I've read the faq and noticed that there is someone who
has accomplished this, but alas I am running a Sun 3 machine and these 
patches don't apply to me.  Is it possible to compile this software on
a sun 3 with gcc?  If not, could someone who has compiled it for a sun 3
with a different compiler sent it to me?

All responses welcome,

Ryan Scott Harlicker
harlick@plains.nodak.edu
uunet!plains!prototype!harlick
Newsgroups: comp.windows.interviews
From: ringel@forwiss.uni-passau.de (Joerg Ringel)
Subject: scrolling of TBScollBox
Organization: University of Passau, Germany
Date: Thu, 27 Aug 1992 06:27:44 GMT


Hey,

I'm working with IV 3.1-beta.

I've a class with a TBScrollBox (TextShow).
For this class I've defined the following function:

class TextShow : public InputHandler {

....
....
protected:
  TBScollbox* box;
....
}

inline void TextShow::scroll_to_end()

   { box->scroll_to(Dimension_Y, Coord(0)); }


My problem is that I receive always:

signal SEGV (no mapping at the fault address) in allocate__7ivPatchFP8ivCanvasRC12ivAllocationR11ivExtension at 0xf766b0f0
allocate__7ivPatchFP8ivCanvasRC12ivAllocationR11ivExtension+0x34:   ld      [%o1 + 4], %o2
(xdbx) where
allocate__7ivPatchFP8ivCanvasRC12ivAllocationR11ivExtension() at 0xf766b0f0
reallocate__17ivTBScrollBoxImplFv() at 0xf76871c8
refresh__17ivTBScrollBoxImplFv() at 0xf7686eec
impl__13ivTBScrollBoxCFv() at 0xf7686ce0
scroll_to__13ivTBScrollBoxFUif() at 0xf7686bec
scroll_to_end__8TextShowFv(__0this = 0xe9208), line 469 in "xrapiv/rapiv.c"

this error, if I call scroll_to_end and the window where I want to scoll
my text, is iconified.

I don't want to test it (if the window is mapped) always
and I think it isn't normal, but I don't know my fault.

Perhaps it's a bug ???

Thanks in advance,

	Joerg		(ringel@forwiss.uni-passau.de)

Newsgroups: comp.windows.interviews