HDTenEightyP/NetNews huggingface dataset:
From: gonzo@st-elsewhere.Eng.Sun.COM (James Todd)
Newsgroups: alt.toolkits.xview
Subject: WIN_GRAB_ALL_INPUT - How???
Date: 26 Jan 1993 00:48:01 GMT
Organization: Sun Microsystems, Inc.
Distribution: world
Reply-To: gonzo@st-elsewhere.Eng.Sun.COM
NNTP-Posting-Host: st-elsewhere.eng.sun.com

Hi -

	I'm trying to temporarily set all input focus on a popup. I've read
	about and expiremented with the WIN_GRAB_ALL_INPUT attribute without
	much luck. Any advice???

	How do I release focus if the popup is unpinned???

	Details: I did use a notice for a while but I needed to include a
	PANEL_CHOICE item.

	Thanks,

- James
Newsgroups: alt.toolkits.xview
From: georg@infosys.tuwien.ac.at (Georg Trausmuth, Assistent)
Subject: Re: trying to load xview .icon files during run
Reply-To: georg@infosys.tuwien.ac.at
Organization: Inst. f. Informationssysteme, TU Wien
Date: Mon, 25 Jan 1993 13:52:36 GMT

In article 24301@riogrande.cs.tcu.edu, cinnamon@sabine.cs.tcu.edu (Todd Cinnamon) writes:
>Here's the problem: I'm trying to create a Server_image from data contained
>in a .icon file.  The files are usually (but not always) in a C source
>readable form, but I want to do this process during runtime and do not
>wish to invoke the C compiler everytime I need a new icon.
>
>For example, I have "$OPENWINHOME/include/images/GILfile_glyph.icon" and
>want to create a Server_image, but can't do:
>
>short image_bits[] = {
>#include <images/GILfile_glyph.icon>
>};
>
>since I need to determine the icon I really need during runtime.
>
>How can I create the Server_image using one of these .icon files?
>
>Thanks in advance for your kind and thoughtful responses.

Server_image image = (Server_image) xv_create(XV_NULL, SERVER_IMAGE,
	SERVER_IMAGE_BITMAP_FILE,"images/GILfile_glyph.icon",
	0);

You have to save your image as X-Bitmap with iconedit!
Hope that helps!

---
*******************************************************************************
    Georg Trausmuth			Technische Universitaet Wien (Vienna)
    Email: georg@infosys.tuwien.ac.at	   Institut f. Informationssysteme
    Phone: +43 1 58801 4421		      Argentinierstr. 8/3.Stock
    Fax: +43 1 505 84 53			 A-1040 Wien, Austria
*******************************************************************************

Xref: sparky alt.toolkits.xview:1242 comp.windows.open-look:5166
From: erwin@cvtserv1.verfahrenstechnik.uni-stuttgart.de (Erwin Dieterich)
Newsgroups: alt.toolkits.xview,comp.windows.open-look
Subject: Problem with fonts
Date: 26 Jan 1993 16:14:20 GMT
Organization: ICVT Uni Stuttgart
Distribution: world
Reply-To: erwin@cvtserv1.verfahrenstechnik.uni-stuttgart.de
NNTP-Posting-Host: cvt12.verfahrenstechnik.uni-stuttgart.de

I have a (somewhat strange) problem:

If I run ftptool or xvnews or something similar under OpenWindows3.0,
the lists (where I can choose a file or an article and so on) are displayed
in a 12pt-font - looks very nice, just the way I like it.

Now: if I run X11R4 all the list cone with a tiny little 8pt-font which
is difficult to read and ugly.

I tried "-fn lucidasans-12" and "-font lucidasans-12", but nothing
works. What can I do ??

What is going wrong ?

Thanks.

 - Erwin

---
Erwin (Bamse) Dieterich               erwin@cvt12.verfahrenstechnik.uni-stuttgart.de
University of Stuttgart (Germany)     This mail-adress is too long  !@*&%$##!   :-)
Chemical Engineering Department
From: klamer@mi.el.utwente.nl (Klamer Schutte)
Newsgroups: alt.toolkits.xview
Subject: Re: SunView memory pixrects in Xview?
Date: 27 Jan 93 13:50:28 GMT
Organization: University of Twente, BSC-El

I missed the original article. Anyhow...

In <hue.727954847@coney> hue@island.COM (Pond Scum) writes:
>doug@perry.berkeley.edu (Doug Neuhauser) writes:
>>The problem is that the program makes heavy use of SunView Pixrects.
>>It was designed to:
>>a.  create a memory Pixrect using mem_create.
>>b.  draw a base map into that pixrect using pr_rop and pr_vector.
>>c.  copy the basemap into the canvas pixwin using pw_rop whenever it needs
>>to reload the basemap into the canvas.

>>mem_create does not appear to be part of the XView package, and there is a
>>dirth of information on the Pixrect support.

We do use mem_create in Xview programs: use the -lpixrect library as ell as
the -lxview library, and it is available.

Use of the pixrect library will restrict the program to Sun machines,
even if Xview runs on some others.

Klamer
--
Klamer Schutte			Tel: +31-53-892778	Fax: +31-53-340045
Faculty of electrical engineering -- University of Twente, The Netherlands
preferred: klamer@mi.el.utwente.nl     SMTP: klamer@utelmi01.el.utwente.nl
Newsgroups: alt.toolkits.xview
From: turkstra@smaug.cs.hope.edu (Screwtape)
Subject: XView on SCO?                
Organization: Hope College Dept of CS
Date: Thu, 21 Jan 1993 16:06:53 GMT

Can anyone tell me if XView can be compiled on SCO unix sysV r3.2?
Thanks - e-mail please!

-- 

Chris Turkstra
Turkstra@cs.hope.edu
Traveling the Internet with a load not properly tied down.
Newsgroups: alt.toolkits.xview
From: ajp@eng.cam.ac.uk (A. J. Piper)
Subject: xview on Silicon Graphics Indigos - IRIX 4.0
Reply-To: ajp@eng.cam.ac.uk
Organization: CUED
Date: Wed, 27 Jan 1993 18:00:45 GMT

Has anyone ported the xview toolkit to Silicon Graphics Indigos running IRIX 4.0 ?
If so can they give me the details - preferably by email.

andy
---
Andy Piper					email: ajp@uk.ac.cam.eng
Cambridge University Engineering Department 	tel: +44 223 33 2754
Trumpington St
Cambridge, UK
From: gstilphe@apollo.mcl.bdm.com (Gerald E. Stilphen)
Newsgroups: alt.toolkits.xview
Subject: Re: Problems with PANEL_MULTILINE_TEXT
Date: 28 Jan 1993 13:12:43 GMT
Organization: BDM International, Inc.
Distribution: world
NNTP-Posting-Host: apollo.mcl.bdm.com
Keywords: PANEL_MULTILINE_TEXT,xview3

In article <1993Jan27.150003.8917@olymp.informatik.uni-bonn.de>, rosenfel@radium.informatik.uni-bonn.de (Roland Rosenfeld) writes:
>Hi,
> 
>I have a problem with the object PANEL_MULTILINE_TEXT.
>When I set the value multiple times, it stores all old values. After diplaying
>some different values I get an massage, that my textbuffer is full.
>The problems differs, if I change the mode of the multilinetext to 
>"readonly". Then setting a new value appends it to the old one :(
>But I can't find any function to delete the textbuffer.
> 
> 

In the XView Version 3 FCS BUG LIST:

Big Id:
Category:
SubCategory:  library
Synopsis:     Setting the PANEL_VALUE on a read only Multline text feild prepends
              the new string. 
Public Summary:
        If a PANEL_MULTILINE_TEXT item is created read only (PANEL_READ_ONLY),
        then setting a value for it using PANEL_VALUE prepends teh new string
        instead of replacing the string.  Therefore the text keeps getting
        longer and longer.  A multiline text field that is not read only
        behaves properly.


When we ran into this problem, we simply set PANEL_READ_ONLY to FALSE, then
set the PANEL_VALUE then set PANEL_READ_ONLY back to TRUE as a work around.
Try setting the PANEL_VALUE to "" (When PANEL_READ_ONLY is set to FALSE), 
to delete the buffer.

Hope this helps.

Gerald E. Stilphen
Newsgroups: alt.toolkits.xview
From: rc@netarch.com (Ran-Chi Huang)
Subject: Help with XView program (ttysw)
Organization: Network Architecture Consulting
Date: Wed, 27 Jan 1993 10:56:26 GMT

This is the very first XView program that I'm writing and hope that
netters can offer some suggestions and help me out.

I'm writing a "Telnet tool" so that when the "Connect" button is
clicked, a Telnet window pops up. When I am done with this
telnet session, I want the telnet window to exit gracefully.

I also want the ability to have as many telnet windows as I want by
clicking on this button. i.e. each click of this button will fire up
a new telnet window.

I was told that I may need a ttysw ? I have the main framework done
but I'm not sure how to get this to work. If you have some example code
that does this, that would be most helpful.

Please email responses to me and I will summarize if there is interest.

Thanks

-rc
rc@netarch.com

Here is the code that I wrote. It's short.

#include <xview/panel.h>
#include <xview/frame.h>

Frame		frame;
Panel		panel, subpanel;
Panel_item	status, start_b;

void		doconnect();

main (argc, argv)
	int argc;
	char **argv;
{
	xv_init (XV_INIT_ARGC_PTR_ARGV, &argc, argv, NULL);

	frame = xv_create (NULL, FRAME,
		XV_LABEL, "Localhost Tool",
		XV_HEIGHT, 300,
		XV_WIDTH, 400,
		0);
 
	panel = xv_create (frame, PANEL, 0);

	start_b = xv_create (panel, PANEL_BUTTON,
		PANEL_LABEL_STRING, "Connect...",
		PANEL_NOTIFY_PROC, doconnect,
		0);

	window_fit_height (panel);

	subpanel = (Panel) xv_create (frame, PANEL,
		WIN_BELOW, canvas_paint_window(panel),
		XV_WIDTH,  xv_get(panel, XV_WIDTH),
		XV_HEIGHT, xv_get(panel, XV_HEIGHT)+100,
		WIN_BORDER, TRUE,
		PANEL_LAYOUT, PANEL_VERTICAL,
		0);

	status = xv_create (subpanel, PANEL_TEXT,
		PANEL_LABEL_STRING, "Status",
		PANEL_LABEL_WIDTH, 50,
		PANEL_VALUE, "Not connected",
		PANEL_VALUE_DISPLAY_LENGTH, 20,
		PANEL_VALUE_STORED_LENGTH, 20,
		0);

	window_fit_height (frame);

	xv_main_loop (frame);
}

void
doconnect (i, e)
	Panel_item i;
	Event *e;
{
	printf ("Telnet ... function\n");
}
-- 
--
Ran-Chi Huang                                               rc@netarch.com
Network Architecture Consulting., Fremont, CA                   netarch!rc
From: hotathin@ccwf.cc.utexas.edu (Alex Ho)
Newsgroups: alt.toolkits.xview
Subject: Re: What can you do within an event handler?
Date: 27 Jan 1993 06:47:12 GMT
Organization: The University of Texas at Austin, Austin, Texas
Distribution: world
Reply-To: hotathin@ccwf.cc.utexas.edu (Alex Ho)
NNTP-Posting-Host: dopey.cc.utexas.edu

In article <1993Jan22.225901.20102@afterlife.ncsc.mil>,
dpkemp@afterlife.ncsc.mil (David P. Kemp) writes:
|>In article <1993Jan15.152558.7346@nlm.nih.gov> neve@nlm.nih.gov writes:
|>>I'm trying to do some xv_set() calls from within an event
|>>handler and then, without exiting from that event handler, proceed
|>>to do some heavy processing stuff. I want the xv_set calls
|>>to take effect completely before the processing begins.
|>>
|>> [...]
|>>
|>>What does it take to get a popup displayed, with ALL
|>>its items, while in an event handler?
|>>
|>
|>That's the wrong question.
|>
|>You want your event handler to start up the heavy processing, then
|>return.  The heavy processing thing then can post events while it
|>runs to keep you informed of its status, and a final event when it's
|>done.
|>
|>Any time you refuse to return from a notifier event handler, you
|>hang the notifier.  If your job takes more than a second or two,
|>that's a very unfriendly thing to do (as you can see by your blank
|>panels).
|>

I am trying to do something similar: I have a heavy processing job that I want
to run. But at the same time, I would like to let the user "stop" the
job during
the processing. According to the 19.10.2 of "X View Programming Manual"
from O'Reilly, there is a function call "notify_dispatch()" that can be
put into my processing loop, so that the Notifier can still accept
events while looping. --- But somehow it just doesn't work at all. (No
event is accepted before finishing the loop) Anyone knows why?

Thanks for any help in advance.

Alex




                             
Newsgroups: alt.toolkits.xview
From: a909937@tiuk.ti.com (Graham Barr          (0004 bodg))
Subject: Re: trying to load xview .icon files during
Reply-To: a909937@tiuk.ti.com
Organization: Texas Instruments Ltd.
Date: Mon, 25 Jan 1993 14:39:06 GMT

In article 24301@riogrande.cs.tcu.edu, cinnamon@sabine.cs.tcu.edu (Todd Cinnamon) writes:
>Here's the problem: I'm trying to create a Server_image from data contained
>in a .icon file.  The files are usually (but not always) in a C source
>readable form, but I want to do this process during runtime and do not
>wish to invoke the C compiler everytime I need a new icon.
>
>For example, I have "$OPENWINHOME/include/images/GILfile_glyph.icon" and
>want to create a Server_image, but can't do:
>
>short image_bits[] = {
>#include <images/GILfile_glyph.icon>
>};
>
>since I need to determine the icon I really need during runtime.
>
>How can I create the Server_image using one of these .icon files?
>
>Thanks in advance for your kind and thoughtful responses.

#include <xview/icon_load.h>

char error_msg[256];
Server_image image = (Server_image)icon_load_svrim("images/GILfile_glyph.icon",
                                                    error_msg);

if(!image)
 {
  fprintf(stderr,"%s\n",error_msg);
  exit(1);
 }


Hope this helps!

***************************************************************************
       Graham Barr               Email: a909937@server1.tiuk.ti.com

                 You don't get anywhere without Risc's !!!
***************************************************************************
From: cpg@cs.utexas.edu (Carlos M. Puchol)
Newsgroups: alt.toolkits.xview
Subject: Re: What can you do within an event handler?
Date: 23 Jan 1993 11:53:01 -0600
Organization: Department of Computer Sciences, UT Austin
NNTP-Posting-Host: trurl.cs.utexas.edu

dpkemp@afterlife.ncsc.mil (David P. Kemp) writes:
!neve@nlm.nih.gov writes:
!!I'm trying to do some xv_set() calls from within an event
!!handler and then, without exiting from that event handler, proceed
!!to do some heavy processing stuff. I want the xv_set calls
!!to take effect completely before the processing begins.
!!
!! [...]
!!
!!What does it take to get a popup displayed, with ALL
!!its items, while in an event handler?
!!
!
!That's the wrong question.
!
!You want your event handler to start up the heavy processing, then
!return.  The heavy processing thing then can post events while it
!runs to keep you informed of its status, and a final event when it's
!done.

You mean doing the heavy processing in the background?

Can this be done in some way other than forking and communicating
with the parent process in some flavor of IPC?

Can a forked process generate events which would be dealt in the parent?
(It is not clear to me if it would work, i.e. the parent and the son's notifier
would both try to handle the event?)

This area is a bit blurred to me. Can anyone clear this up?

Thanks.
Newsgroups: alt.toolkits.xview
From: hue@island.COM (Pond Scum)
Subject: Re: Colour Server Images
Organization: Island Graphics Corp.
Date: Sun, 24 Jan 1993 21:17:22 GMT

adam@micromuse.co.uk (Adam Kerrison) writes:
>After several attempts, I now have colour images on my buttons in Xview 
>(I'm using Xpm if anyone wants to know how to do it). I do still have a 
>problem, however - How can I make areas of the image transparent so that
>they take on the window background colour ???

If I understand what you're trying to do, you don't.  When I create
server images, I always provide my own pixmap, rather than just supply
the image bits.  Then you can do paint the panel background color
anywhere in your image, giving the illusion of transparency.


-Jonathan		hue@island.COM
From: adam@micromuse.co.uk (Adam Kerrison)
Newsgroups: alt.toolkits.xview
Subject: Colour Server Images
Date: 21 Jan 93 15:38:43 GMT
Reply-To: adam@micromuse.co.uk
Organization: MicroMuse Ltd,

Hello world,

After several attempts, I now have colour images on my buttons in Xview 
(I'm using Xpm if anyone wants to know how to do it). I do still have a 
problem, however - How can I make areas of the image transparent so that
they take on the window background colour ???

At the moment I have them standard grey which looks fine until you change 
you properties and then it looks <add expletive here>.

Xpm returns a shape mask as well as the image so can I use that some how 
(like with a SERVER_IMAGE_SHAPE attribute or something) ?????

ad(thanks)vance

Adam

---
===========================================================================
Adam Kerrison                  | Phone : +44 71 352 7774
Technical Support              | Fax   : +44 71 351 7834
MicroMuse Ltd                  | Personal E-mail: adam@micromuse.co.uk 
London SW10 0RN                | Support E-mail : support@micromuse.co.uk 
===========================================================================
From: neve@nlm.nih.gov (Leif Neve)
Newsgroups: alt.toolkits.xview
Subject: Re: What can you do within an event handler
Date: 27 Jan 93 16:10:44 GMT
Reply-To: neve@nlm.nih.gov
Organization: National Library of Medicine

In article 1k5b5gINN7ea@geraldo.cc.utexas.edu, hotathin@ccwf.cc.utexas.edu (Alex Ho) writes:
>I am trying to do something similar: I have a heavy processing job that I want
>to run. But at the same time, I would like to let the user "stop" the
>job during
>the processing. According to the 19.10.2 of "X View Programming Manual"
>from O'Reilly, there is a function call "notify_dispatch()" that can be
>put into my processing loop, so that the Notifier can still accept
>events while looping. --- But somehow it just doesn't work at all. (No
>event is accepted before finishing the loop) Anyone knows why?

Somewhere in O'Reilly it points out that you have to stop the notifier
before you can do explicit dispatching. Use notify_stop() to stop the notifier 
and return you past where the notifier was started, and then
call the routine that does heavy processing and do your explicit
dispatching. After that start up the notifier again (notify_start()).

I found a piece of public domain software called ftptool helpful in
this area. It's available at a ftp site near you.

Leif Neve
Newsgroups: alt.toolkits.xview
From: buntrock@mayo.edu (Jim Buntrock)
Subject: Re: UIT with g++ ?
Reply-To: buntrock@mayo.edu
Organization: Mayo Foundation
Date: Thu, 21 Jan 93 20:15:43 GMT


---
Does anyone know where I can get some source code for a Table object
for the Xview Library?  I noticed in the OPENLOOK Graphical
User Interface Application Style Guidelines there exists
such an object.  We are currently using Xview 3.0 and no such
object exists.  Basically, I need a multicolumn scrolling list.
Any help would be greatly appreciated.

///////////////////////////////
James Buntrock
Analyst/Programmer
Medical Information Resources
Mayo Clinic
200 First Street SW
Rochester, MN 55905
email - buntrock@mayo.edu
///////////////////////////////


Newsgroups: alt.toolkits.xview
From: cinnamon@sabine.cs.tcu.edu (Todd Cinnamon)
Subject: trying to load xview .icon files during runtime...
Organization: Texas Christian University
Date: Mon, 25 Jan 1993 01:26:29 GMT

Here's the problem: I'm trying to create a Server_image from data contained
in a .icon file.  The files are usually (but not always) in a C source
readable form, but I want to do this process during runtime and do not
wish to invoke the C compiler everytime I need a new icon.

For example, I have "$OPENWINHOME/include/images/GILfile_glyph.icon" and
want to create a Server_image, but can't do:

short image_bits[] = {
#include <images/GILfile_glyph.icon>
};

since I need to determine the icon I really need during runtime.

How can I create the Server_image using one of these .icon files?

Thanks in advance for your kind and thoughtful responses.
From: mjo@iao.ford.com (Mike O'Connor)
Newsgroups: alt.toolkits.xview
Subject: Re: XView on HP Unix machines
Date: 21 Jan 1993 20:01:39 GMT
Organization: Not an official spokesperson for Ford Motor Company
Reply-To: Mike O'Connor <mjo@fmsrl7.srl.ford.com>
NNTP-Posting-Host: localhost

In article <1993Jan21.023641.1584@tpg.tpg.oz.au> krist@tpg.tpg.oz.au
(Krist Paquay) writes:

:Does anyone out there know if Xview can be compiled on the HP unix machines ?
:Yes we have Xview version 3 from the MIT X11R5 tape.
:But does it actually compile (and work ?) on the HP's ?

There's an HP port of XView3 available for anonymous FTP from the
Liverpool HP archives (ftp.csc.liv.ac.uk). 

:We have tried on IBM rs6000, but that failed (we didn't realy put too much 
:effort in it, better things to do).

There is a patch available for anonymous FTP from export.lcs.mit.edu
that is supposed to make an RS6k compilation of XView3 work, but I'm
not sure what level of AIX it's for (3.1 or 3.2).

						...Mike

-- 
 Michael J. O'Connor           |  Internet:  mjo@fmsrl7.srl.ford.com
 Ford Motor Company, OPEO      |  UUCP:      ...!{backbone}!fmsrl7!mjo
 20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
 Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277
From: vazquez@iqm.unicamp.br (Pedro A.M. Vazquez)
Newsgroups: alt.toolkits.xview
Subject: xview3.0 for AIX
Date: 22 Jan 1993 11:05:14 -0600
Organization: UTexas Mail-to-News Gateway
NNTP-Posting-Host: cs.utexas.edu

Hello:
	Is there a port of xview3.0 for AIX 3.2 ? Free? ftpable?
Thanks
	pedro
Newsgroups: alt.toolkits.xview
From: dlingle@orchestra.bgsu.edu (Donald Lingle)
Subject: Xwindow code generation package wanted
Organization: Computer Science - Bowling Green State University
Date: Fri, 22 Jan 1993 02:12:04 GMT

Does anyone know where I can get any shareware or commercial
programs for X-code generation
packages.  I have used a X-code generation code package called Guide
or maybe DevGuide before, but I think this is a commercial program.

Can anyone lend any thoughts.

Thanks
Don
Newsgroups: alt.toolkits.xview
From: boutell@isis.cshl.org (Tom Boutell)
Subject: Painting Canvases Outside of WIN_REPAINT
Organization: Cold Spring Harbor Labs
Date: Thu, 28 Jan 1993 15:25:51 GMT

I'm at my wit's end with this one; hope someone can help.

I'm doing my best to use the CANVAS package. I can paint canvases
fine when WIN_REPAINT events occur and my handler is called
(when the window is first displayed, or has been obscured, or what
have you). But when I call my repaint procedure directly myself
in order to reflect new information, nothing happens. When I
use the window manager to refresh the window, however, generating
another repaint call, the display *does* repaint.

Has anyone else shared this experience, and do you know a solution
to the problem? I've verified that I am indeed passing the
same arguments as are passed by "real" repaints; the Xlib code
that does the drawing executes, it just doesn't *do* anything.
Help!

Please respond by email; I'll summarize if there's interest.

-T

-- 
Tom Boutell, boutell@cshl.org

Clausthaler is the best non - alcoholic beer in the known universe.
Organization: Penn State University
Date: Tue, 26 Jan 1993 07:50:17 EST
From: <EPA100@psuvm.psu.edu>
Newsgroups: alt.war.vietnam
Subject: History

To the statement that "Does what Nixon did have anything to do with what is
going on now." I can't remember who to attribute this to so I can not give
proper citation, but here is the paraphrase: Those who forget their history
are bound to repeat it.  Just with that consideration it is relevant to your
point, but does not include such wonderful things as the war powers act, The
special prosecutor, or are support of a communist regime on mainland China.
These things are influencing our country right now in a very strong way.

If you truly believe that we exist in a vacum. You need to read some history.

Ed
Newsgroups: alt.war
Subject: New Subject : Iraq vs. U.N.
From: digdoug@vax1.umkc.edu
Date: 22 Jan 93 12:43:15 CST
Organization: University of Missouri - Kansas City
NNTP-Posting-Host: vax1.umkc.edu


Since War is obvuiously the major topic here, lets talk about 
it.

I don't get to see a T.V. very much, although I can read the
paper occasionally.  

Anyway, how about we have everyone contribute current news about
the Iraq mess so that people can keep current with everyones
help.

I'll go get a paper and submit something as soon as possible.

                                         Dex

* This in light that nothing has been posted here for 2 days *