HDTenEightyP/NetNews huggingface dataset:
From: dth@reef.cis.ufl.edu (David Hightower)
Newsgroups: comp.windows.open-look
Subject: Training sites/classes/seminars for X-windows/Open Look/Motif
Date: 21 Aug 92 01:30:21 GMT
Organization: Univ. of Florida CIS Dept.

I have a question for all you X-windows/Open Look/Motif gurus out there.

I'm a second lieutenant that has just been assigned to the Air Force
Wargaming Center on Maxwell AFB, AL.  We are currently using X-Windows,
along with Open Look and Motif, to develop our simulation graphics.

The problem is, there is no one here that's really an expert on this
system AND has time enough to teach it to those of us that are newly
assigned.  So, my commander has asked me to find some locations where
newly-assigned personnel can be sent to get a feel for X-windows and the
various toolkits that are available.

Does anyone out there know of any seminars, training sites, or classes
that are available?  We have sent people to Xhibition, but these are (of
course) the people that have been here a while; this does not help with
the new people.

Any and all information would be greatly appreciated.  Please email to
me at
	dth@reef.cis.ufl.edu

my direct address is
	hightowr@cadre.af.mil

but the mail server here goes down often, and some sites can't even
access this address.

Thanks!

Dave Hightower

_________________________________________________________________________
Dave Hightower		|    opinion? I'm allowed to have an opinion?
dth@cis.ufl.edu		| well, if I DID have one, it'd be mine, all mine!
--------------------------------------------------------------------------
Newsgroups: comp.windows.open-look
Distribution: world
Date: Fri, 21 Aug 92 14:55:09 EDT
From: fgreco@fis1026.shearson.com (Frank Greco)
Subject: Re:  Xview and process blocking?

> If what you want is the user to not interact with the parent process,
> why not set FRAME_BUSY to true on the parent's base frame?

	It's much more than this.  Here's the scenario:

	FileOpen(file)
	char *file;
	{
		if file not local
			ftp it

		open file
	}

	I want to spawn off the ftp, but my open has to "wait" until
	the ftp is complete.  If it doesn't, the open will fail.  There
	is another scenario where I have to wait for a "compile" to
	finish before continuing; but its the same type of problem.

	I really don't care that the UI is frozen until this call
	finishes (yeah... I know... not a good [single-threaded] X
	citizen and all that); I just need to "waitfor()" the child to
	finish without mangling the flow too much.

> BTW, I've never had any problem with system(), in either SunView or XView,
> but I know you're not supposed to do this.

	Yes.  Me too.  But the XVPM says its a no-no, understandably because
	system() uses wait() and signal() internally.

	Frank G.
=-=-=-=-=-=-=-=-=-=

Newsgroups: comp.windows.open-look
From: himsolt@trillian.fmi.uni-passau.de (Michael Himsolt)
Subject: how to display keyboard shortcuts in menus (xview)
Organization: University of Passau, Germany
X-Newsreader: Tin 1.1 PL5
Date: Tue, 18 Aug 1992 19:09:30 GMT

I hope this  is not  a faq :   is there an easy  /  common way to
display keyboard shortcuts in menus ?

The "natual" way  for me seems to show  the  keyboard shortcut in
each menu entry, padded to  the  right (Mac-like).  That was easy
under SunView -  just fill  up  with blanks.   However, XView now
uses variable-width fonts, and that trick wont work no more.

It  seems  that SUN wants to  put  everything in the  pop-up help
window, but I cannot see why this should be better. At least for
shortcuts, it is time-consuming, if not annoying.

Does anybody have an idea / solution ?

Thanks in advance

-- Michael Himsolt
From: sdavid@.informix.com (David Sherrick)
Newsgroups: comp.windows.open-look
Subject: Retrieving XtNstring from TextField
Date: 13 Aug 92 00:16:28 GMT
Organization: Informix Software, Inc.
Originator: sdavid@jupiter

I am trying to retrieve the string that a user types into a textField
widget with OLIT 2.0.  I am trying to do this with XtGetValues(), but
I always get a Null string back.  Below is a piece of sample code that
demonstrates my problem. 

Any help would be greatly appreciated.

David Sherrick

#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
#include <Xol/OpenLook.h>
#include <Xol/TextField.h>
#include <stdio.h>

#define MAXARGS 20
#define MAXMSGSIZE 200
#define VISMSGSIZE 20

int main(argc, argv)
int argc;
char **argv;
{
	Widget	toplevel, msgField;
	Arg	args[MAXARGS];
	char	temp[100];
	int	temp2, n;

	toplevel = OlInitialize("top","Top", NULL, 0, &argc, argv);

	n = 0;
	XtSetArg(args[n], XtNmaximumSize, (XtArgVal) MAXMSGSIZE);	n++;
	XtSetArg(args[n], XtNcharsVisible, (XtArgVal) VISMSGSIZE);	n++;
	XtSetArg(args[n], XtNstring, "test"); n++;
	msgField = XtCreateManagedWidget("textfield",
				textFieldWidgetClass, toplevel, args, n);

	n = 0;
	XtSetArg(args[n], XtNstring, temp); n++;
	XtSetArg(args[n], XtNmaximumSize, &temp2); n++;
	XtGetValues(msgField, args, n);
	fprintf(stdout, "string = %s\n", temp);
	fprintf(stdout, "size = %d\n", temp2);

	XtRealizeWidget(toplevel);
	XtMainLoop();
}
From: rickg@eng.sun.com (Richard M. "The Tankster" Goldstein)
Newsgroups: comp.windows.open-look
Subject: Re: Default Button in Pop Up
Date: 17 Aug 92 08:32:31
Organization: SunSoft, Inc.
Reply-To: rickg@eng.sun.com
NNTP-Posting-Host: irondude
In-reply-to: lorenz@gdc.com's message of 14 Aug 92 20:24:38 GMT


   From: lorenz@gdc.com (Rich Lorenz)
   Newsgroups: comp.windows.open-look
   Date: 14 Aug 92 20:24:38 GMT
   Organization: General DataComm, Middlebury CT

   I am working on an application using the xview toolkit, and want to have a
   default button in a popup window.  According to the XView Programming Manual, 
   page 670, Section E.1.2, it says that "Xview 3.0 does not provide this automatically,
   but applications can implement this feature using XView primitives".

   I was wondering if someone else has come across this and if they have written any
   code to handle this.  I would appreciate it if someone could provide me with sample
   code.


try the PANEL_DEFAULT_ITEM attrubute.


<<tank
--

*********************************************************************

	Richard M. "Tank" Goldstein		rickg@Eng.Sun.COM
	Window Developer Environment,
	SunSoft, Inc.

	SLACK is the free car wash that comes with a fill-up
	of "Bob."
			-Book of SubGenius

*********************************************************************
From: newton@mksol.dseg.ti.com (scott c newton)
Newsgroups: comp.windows.open-look
Subject: XView buttons drop last letter of label
Date: 21 Aug 92 14:59:27 GMT
Organization: Texas Instruments

I'm writing an X Window program using the xview libraries.  The program reads
in an arbitrary number of button labels from a file, then creates those buttons
on a panel.  The problem is that every button's label is missing the last letter.
The label strings are stored in a structure and I can printf them just fine.
Any help would be appreciated.

	Scott
	newton@lvipv1.dseg.ti.com
Newsgroups: comp.windows.open-look
From: kemnitz@netcom.com (Greg Kemnitz)
Subject: Re: How do I delay start of processes started with &
Date: Fri, 21 Aug 92 00:20:23 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 

In article <1992Aug20.184103.11538@u.washington.edu> sue@byron.u.washington.edu (Shu-Chen Eclipse) writes:
=
=Hi, I have a script that start cmdtool, shelltool, etc using &; I run olwm
=last in the forground. I would like to put a maybe 1 sec or less delaty in the
=excecution of each of the tools so that olwm would get a chance to fire up.
=The problem is a matter of timing. I used to have olwm running with &; the
=widows start up more or less complete, with the border frames, etc. now I
=usually get naked, borderless windows cominig up first, a delay, then the
=frames. I find this be an aesthetically unpleasant sight. I like my windows
=to come up pretty much whole.
=
=thanx for answering,
=sue@byron.u.washington.edu
=
=


You can use either toolwait or sleep.

Try man toolwait or man sleep.

Newsgroups: comp.windows.open-look
From: sue@byron.u.washington.edu (Shu-Chen Eclipse)
Subject: Help: customized .openwin-menu don't work
Organization: University of Washington, Seattle
Date: Fri, 14 Aug 1992 20:10:37 GMT

    I copied the openwin-menu from $OPENWINHOME/lib (?) to $HOME/.openwin-menu
and added a "MENU" category for games and xterm" per manual instructions.

seems preety straight forward. But My mouse still run the system's openwin-menu.I tried to define OLWMMENU, OPENWINMENU, MENU in .cshrc to my $HOME/.openwin-menu
nothing, no error messages--it keeps using the system's menu.


what am I doing wrong???

thanx for anwering,

sue@byron.u.washington.edu
From: iadt1jm@prism.gatech.EDU (Jean McSpadden)
Newsgroups: comp.windows.open-look
Subject: Word Processing for OpenWindows needed
Date: 13 Aug 92 20:46:23 GMT
Organization: Georgia Institute of Technology


I am looking for good word processing software, in terms of functionality,
disk space usage, cost, etc., for use on Sun Sparc stations running
OpenWindows 3.  Any suggestions would be greatly appreciated.
-- 
Jean McSpadden 
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp: ...!{allegra,amd,hplabs,seismo,ut-ngp}!gatech!prism!iadt1jm
ARPA: iadt1jm@prism.gatech.edu
Newsgroups: comp.windows.open-look
From: gaeta@picker.com (Jay Gaeta)
Subject: How to use *.snf fonts
Organization: Picker International, Inc.
Date: Fri, 14 Aug 1992 09:51:23 GMT

Openwindows/X11 fonts related question:

Environment: SunOS 4.1.2 OW 3.0

I have obtained some X11 distribution fonts that are not present under
openwindows.  These are in *.snf format.  Do I have to convert them to
the standard format that openwindows uses?  How do I do this?

Thanks for your help.

Jay Gaeta <gaeta@picker.com>
Newsgroups: comp.windows.open-look
From: tmcconne@sedona.intel.com (Tom McConnell)
Subject: Re: OPEN LOOK GUI frequently asked questions - detecting olwm?
Originator: tmcconne@sedona
Reply-To: tmcconne@sedona.intel.com
Organization: Intel Corporation
Date: Sun, 23 Aug 1992 06:23:23 GMT


In article <BUZZ.92Jul20091435@toxicavenger.bear.com>, buzz@toxicavenger.bear.com (Buzz Moschetti) writes:
> In article <r5-m#wb.jef@netcom.com> jef@netcom.com (Jef Poskanzer) writes:
> 
>    lee@sq.sq.com (Liam R. E. Quin):
>    }    If you use twm, you'll want to use the f.delete function to unpin menus
>    }    and get rid of programs that don't have a `quit' button when not run
>    }    under olwm.
> 
>    If I'm reading this right, it implies there's a way for programs to
>    detect when they're not run under olwm and to put up a `quit' button
>    in that case.  Yes?  I would really like to know how to do this.
>    ---
>    Jef
> 
> Not quite.  ol(v)wm gives you Quit functionality in the window manager, so
> apps developed in this environment for use in this environment do not need
> custom quit buttons.  If you run one of these quit-less apps in twm, you 
> need a way to kill off the app since by default twm does not provide the OL
> standard Close/Move/Resize/Quit pulldown.  The twm f.delete function may be
> bound to a key (or a menu entry) to kill off these windows.
> 
> The "easiest" way to protect yourself from variances in window manager
> functionality is to simply add buttons and/or menu entries in the app itself.
> Their use will be redundant under ol(v)wm and necessary under twm, mwm, etc.

  This is all about the window manager, not the application. ol(v)wm's Quit is
identical in action as twm's f.delete (this has already been mentioned by 
Larry W. Virden <lvirden@cas.org>).

  It seems to me that the way to make the application window manager independent
would be to put f.delete in a twm title menu, thus making the application
look the same to the user, regardless of the window manager he is running
the application under. This is done in .twmrc (.tvtwmrc for you tvtwm folks):

        # Add a menu to each window managed by twm or tvtwm
        LeftTitleButton ":menu" = f.menu "OL.menu"

        menu "OL.menu" {
        "Quit"         f.delete
        }

  I use it all the time, works fine.

    Cheers,

    Tom McConnell
-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-21     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
Newsgroups: comp.windows.open-look
From: fred@dip1.ee.uct.ac.za (Fred Hoare)
Subject: Re: dbxtool / xvdbx / xdbx question
Date: 18 Aug 92 06:24:15 GMT
Organization: University of Cape Town
Keywords: dbxtool

afv@eng.cam.ac.uk (Frans Volschenk) writes:

>Hi,
>	I am trying to get hold of dbxtool under OW3.  Is such a thing
>	available.  The only one that comes up is the old SunView
>	dbxtool and I am almost sure that there should be one for
>	OW3.   I installed xdbx, but still prefer the OL interface to
>	that of std X. Is xvdbx around ?

The only solution we found to this problem was to use the debugger that came
with OW2. It was one of the demo programs. It seems to work fine and we
haven't had any hassles with it

Fred
--
Frederick Hoare                email: fred@dip1.ee.uct.ac.za
Image Processing Laboratory
Department of Electrical and Electronic Engineering
University of Cape Town,  South Africa
Newsgroups: comp.windows.open-look
From: eloranta@jyu.fi (Jussi Eloranta, OH6KJ)
Subject: Re: How do I get NeWS/NeWS applications to run
Reply-To: eloranta@jyu.fi
Organization: University of Jyvskyl, Finland
Date: Tue, 18 Aug 1992 11:34:04 GMT

In article 22873@u.washington.edu, sue@byron.u.washington.edu (Shu-Chen Eclipse) writes:
>Hellow,
>
>how do I get NeWs applications like the menu demos to work on the
>tektronix xp27 and xp330. What code can be hacked? Would this be diffuclut
>or overly time-consuming??
>
Finnish Tektronix people claim that they may add the NeWS feature to their server...
Has anybody else heard about this?

jussi


---
============================================================================
Jussi Eloranta               Internet(/Bitnet):    ! The ultimate trip is
University of Jyvaskyla,     Jussi.Eloranta@jyu.fi !    death.
Finland                      [130.234.0.1]         !  -- Jim Morrison

Newsgroups: comp.windows.open-look
From: nh@cbnewsg.cb.att.com (nicholas.hounsome)
Subject: Re: Mailtool and .signature
Organization: AT&T
Date: Thu, 20 Aug 1992 08:21:51 GMT

From article <2161@ncr-mpd.FtCollins.NCR.COM>, by Chip.Brewster@FtCollinsCO.NCR.COM (Chip Brewster):
> 
> In article <1992Aug15.114827.25770@ucthpx.uct.ac.za>,
> fred@dip1.ee.uct.ac.za (Fred Hoare) writes:
> |> Hi
> |> 
> |> I'm sure that I've seen a post like this before but I can't remember
> |> the answer to the question - Is there a FAQ list for this group and
> if so where
> |> can I find it?
> |> 
> |> I am running OW 3.0 and would like to get the mailtool to automatically
> |> append a signature to my mail. I had a look at the manual entry for mailtool
> |> and for mail and tried to set up my .mailrc file.  The option I tried
> was the
> |> following
> |> 	set sign=`~/.signature'
> |> which is what would be used in mail to aappend a signature when the
> ~a command
> |> was entered into a file.
> |> 
> |> Is there a way to do this or will mailtool source code have to be modified?
> |> 
> 
> One way to do this is to create the file $HOME/.text_extras_menu or copy
> it from /usr/lib.  Then  add the line:
> 
>     "Signature"             cat $HOME/.signature
> 
> You will also need to add the following resource to your $HOME/.Xdefaults:
> 
>     Text.ExtrasMenuFilename:        /<your_home_path>/.text_extras_menu
> 
> Then you simply pop-up the menu in any XView text window and select
> Extras->Signature.  The advantage with this method is it works with
> other XView apps, not just mailtool.
> 

easier still is to add it to your list of templates (see properties)
Unfortunately this is not automatic which was the original request.
I know of no way to do it.
Newsgroups: comp.windows.open-look
From: lwv26@cas.org (Larry W. Virden)
Subject: Re: How do I delay start of processes started with &
Followup-To: comp.windows.open-look
Reply-To: lvirden@cas.org (Larry W. Virden)
Organization: Nedriv Software and Shoe Shiners, Uninc.
Date: Fri, 21 Aug 1992 11:26:50 GMT

In article <1992Aug20.184103.11538@u.washington.edu> sue@byron.u.washington.edu (Shu-Chen Eclipse) writes:
:
:Hi, I have a script that start cmdtool, shelltool, etc using &; I run olwm
:last in the forground. I would like to put a maybe 1 sec or less delaty in the
:excecution of each of the tools so that olwm would get a chance to fire up.
:The problem is a matter of timing. I used to have olwm running with &; the
:widows start up more or less complete, with the border frames, etc. now I
:usually get naked, borderless windows cominig up first, a delay, then the
:frames. I find this be an aesthetically unpleasant sight. I like my windows
o
Go at the problem a bit differently.

Use this:

#! /bin/sh
olvwm -3d &

toolwait cmdtool 

toolwait cm

wait

exit 0


In this way, you get the window manager up and running first, then you
get the others going off.  Finally, you wait for olvwm to finish before
exiting.
-- 
Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
America Online: lvirden@aol.com
From: csb@gdwb.oz.au (Craig Bishop)
Newsgroups: comp.windows.open-look
Subject: Re: Why is the File Manager in OW 3.0 so buggy?
Keywords: OW3 FileManager bugs
Date: 21 Aug 92 02:36:32 GMT

dec@alex.demon.co.uk (Doug Clinton) writes:

>I agree with these assesments of FM and binder (I believe there are
>patches available form Sun for some of the bugs). 

I know that the guy who worked on all the problems with the FM
(binder I am not sure about) is as unhappy about all the bugs as 
we are. He has had a version with a very large list of bugs fixed
(I saw the list), which would cover virtually all the day to day
problems we see. Sun froze that version for release as OW3.1,
unfortunately Sun have not released it yet.

>I must say, though, that not all the tools are this buggy. I use
>Calendar Manager and the mailtool daily and have had no problems at
>all with either of them, and in fact find them very useful and
>productive.

I disagree about the Calender Manager. It has a long way to go before
becoming a useful tool. All the bits are there it just does not work 
in large environments which try to use Sun's client/server methods to
the max.
-- 
Craig Bishop			Information Systems Division
Email: csb@gdwb.OZ.AU		Geelong & District Water Board
Phone: +61 52 262506		61-67 Ryrie St Geelong
Fax:   +61 52 218236		Victoria 3220 Australia
From: fgreco@fis1026.shearson.com (Frank Greco)
Newsgroups: comp.windows.open-look
Subject: Re: changing keyboard focus
Date: 14 Aug 92 13:48:57 GMT

> I'm trying to explicitly control the keyboard input focus in an
> xview application and am having trouble figuring out how to do this. 
> I'm trying to override the TAB functionality in a frame that contains
> a bunch of text panels. I want the caret to move in a different
> order. Anyone know how to do this? Thanks in advance...

I'm assuming you mean panel_text's that live in a panel...

I would park an event proc on the panel (WIN_EVENT_PROC), look
for TAB (and SHIFT-TAB for backing up), then use PANEL_CARET_ITEM
to set the focus to the next "desired" item.  I would also suggest
that you achieve the next-focus/prev-focus order that you desire 
by putting the items into an "ordered" array (ie, put them in the array
in the same order that you want focus to move) and cycle through
them.

Don't forget to pass on the non-interesting (non-TAB/BACK-TAB)
events to the default handler.

Frank G.

=-=-=-=-=-=-=-=-=-=
From: jlroths@afterlife.ncsc.mil (John Rothschild)
Newsgroups: comp.windows.open-look
Subject: 2 Xview questions + X11R5 problem
Date: 22 Aug 92 20:41:37 GMT
Distribution: usa
Organization: The Great Beyond

Hi,
	I have 2 unrelated Xview questions and a olwm/olvwm question.
Setup:  IPC, SunOS 4.1.1, OW 3.0, X11R5.

	1)  This is almost a FAQ, but I don't think it's ever been explained
properly.  The problem is with scrolling lists.  If I set the PANEL_VALUE when I
create the item, the list does not scroll.  If I set in an unrelated callback,
the list will scroll.  I get the proper value either way, but shouldn't the list
scroll automatically?  One workaround is to use makerowvisible which was posted
recently, but I think that this should be unnecessary.  Is there a bug patch for
this?

	2)  A problem with numeric text items.  If a user blanks out a numeric
text field  and doesn't use the return key (forcing a 0 in the field), the value
you get from a xv_get in an unrelated callback is 32.  Is there a bug fix or
workaround for this?  Shouldn't a 0 or -0 be returned?

	3)  This seems to be an exclusively an X11R5 problem, since I can not 
get to it reproduce in X11R4 or OprnWindows.  If I run olvwm or olwm under X11R5, I run into a cursor problem with my xterms.  I'm defining the cursor as the
small rectangle that becomes solid when the window gets attention.  The problem
I have is one of my xterm windows cursor always remains solid, even when the
cursor is nowhere near the window.  It doesn't happen at startup time, but 
sometime soon after that.  It's mainly an annoyance (sp?) since I see the cursor
is solid, so I think the attention is in that window and I type only to realize
a few seconds later that I'm really typing in another window.  Any suggestions?

Thanks in advance for all suggestions, hints, etc.

	JR aka jlroths@afterlife.ncsc.mil
From: pjm@cshl.org (Pat Monardo)
Newsgroups: comp.windows.open-look
Subject: double-clicking scrolling lists
Date: 23 Aug 92 01:30:44 GMT
Organization: Cold Spring Harbor Laboratory

i would like to see samples of this if you have it handy.
i will try to get over this laziness streak i have,
but i dont feel like reinventing the wheel today
thanks!

-- 
-- Pat Monardo
-- pjm@cshl.org
Newsgroups: comp.windows.open-look
From: walsky@wizard.asel.udel.edu (Ted Walsky)
Subject: Errors with Xview connecting to Open Windows
Summary: Xview applications randomly do not connect with Open windows 3
Organization: AI duPont Institute
Date: Fri, 14 Aug 1992 19:00:40 GMT

The setup:
OW 3
Sparc Station 2
X11R5 patchlevel 12

I am using olwm and the Open Windows server.
I am having trouble with Xview ( and other applications ) connecting to the 
Open Windows Server.  After .openwin-init gets executed, I get the following
error:

Xview Error:Cannot Open connection to Window Server: :0 (Server Package)

The error appears a random number of times - as a result, the same number of 
Xview applications do not get executed.
A similar error appears for X11R5 applications that are booted from 
.openwin-init.

About the only significant factor is that the more X11R5 applications are
present in .openwin-init, the more often the error(s) occur ( if there are no
X11R5 programs in .openwin-init, the error virtually disappears ).

I have played with my LD_LIBRARY_PATH and PATH to no affect.

What is the problem? Is it Open Windows, X11R5, or just me?

email appreciated.

-ted
-- 
Ted Walsky                                           walsky@asel.udel.edu
Applied Science and Engineering Labratories
A.I. duPont Institute Children's Hospital / Univeristy of Delaware
Newsgroups: comp.windows.open-look