HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.windows.open-look
Distribution: world
Date: Fri, 10 Apr 92 12:18:44 BST
From: <uunet!westhawk!thp@Unify.Com> Timothy H Panton.
Subject: Re: OLIT vs XView ?


harwood@umiacs.umd.edu writes
> What are the advantages of OLIT vs XView programming?

OLIT plus points:
	Geometry management - Olit makes it reasonably easy to 
		support applications that change size, either
		at the user's request, or because of screen limitations.
	Resource file support - Olit allows you to build the basic
		application, then customize it (colours, layout, 
		feature availability etc) from an ASCII resource file.
	Support for Motif (ish) look and feel in the near future, without
		recoding.
	Better support for I18N (next release) with multi-language/font
		support and input methods.
	Xtoolkit Intrinsics based. Supposedly a more standard standard.

OLIT minus points:
	No Application builder (except weak support from DevGUIDE).
	No access to the source (xview source publically available)
		USL sell an OLIT source package ($1000) but this 
		does not compile on Solaris 1. Sun won't ship the
		patches.
	Less momentum, fewer developers using it, hence fewer tips,
		tricks, extensions etc.

Regretfully I have to say that lack of source precludes development 
of any serious commercial application with Olit.

+----------------------------------------------------------------------------+
|Tim Panton, Westhawk Ltd.  "Couldn't you make this a little easier for me?" |
|Phone: +44 244 314800          "Nope. This is as easy as it gets."          |
|Email: thp%westhawk.uucp@uknet.ac.uk                                        |
|Paper: Westhawk Ltd. Archway House, Station Road, Chester. CH1 3DW. UK      |
+----------------------------------------------------------------------------+
From: vdp@mayo.edu (Vinayak Dutt, Graduate Student (Biophysics))
Newsgroups: comp.windows.open-look
Subject: what is deskset library libdeskset.a{.sa}
Date: 16 Apr 92 21:35:56 GMT
Article-I.D.: bmw.1992Apr16.213556.24120
Reply-To: vdp@mayo.edu
Organization: Mayo Foundation/Mayo Graduate School



There is a libdeskset.a in Openwindows library directory which is used
by the openwindows deskset tools. Could some one tell me what are the
functions in deskset and are the documented publically ? i.e., is their
user interface defined for public ??



Vinayak Dutt
vdp@mayo.edu
Xref: sparky comp.windows.open-look:2143 comp.windows.x.motif:3094
From: slemons@lime.EBay.Sun.COM (Steven Lemons)
Newsgroups: comp.windows.open-look
Subject: Re: changing background color
Date: 7 Apr 92 01:49:44 GMT
Reply-To: slemons@lime.EBay.Sun.COM
Organization: Sun Microsystems, Inc.
NNTP-Posting-Host: lime.ebay.sun.com

In article 753@magnus.acs.ohio-state.edu, namra@magnus.acs.ohio-state.edu 
(Nasir K Amra) writes:
>
>	I'd like to change the background color to black and the
>foreground color to white in OW 3.0 (for all windows opened under OW
>3.0). Does anyone know what that magical incantation is? (I'm no X
>expert). Thanks,



Look for the following 2 lines in the .Xdefaults file in your home directory.

	Window.Color.Background:	255 255 255
	Window.Color.Foreground:	0 0 0



If the lines already exist, just change them to the desired color values.
The color values can be specified in 3 ways:

	As color names  (defined in $OPENWINHOME/lib/rgb.txt):
	
			Window.Color.Background:	black
			Window.Color.Foreground:	white
	 

	As decimal rgb values (0-255 for each of Red, Green, Blue):

			Window.Color.Background:	0 0 0
			Window.Color.Foreground:	255 255 255


	As Hex rgb values (00-FF for each of Red, Green, Blue, and preceded by '#'):

			Window.Color.Background:	#000000
			Window.Color.Foreground:	#FFFFFF



Once you've saved your changes, this command will tell Openwindows to
re-read the .Xdefaults file and apply any changes:
	xrdb $HOME/.Xdefaults   or   xrdb ~/.Xdefaults


The colors you selected will now be the default foreground & background colors for
all windows that are opened. The defaults colors can be overridden for individual
tasks (upon startup of the task), using these options: -bg -fg -Wb -Wf

	i.e.  textedit  File.name  -bg DarkOliveGreen2  -fg  black  &
	      textedit  File.name  -Wb 188 238 104      -Wf  0 0 0  &



Good luck,

Steven Lemons
From: holtz@netcord.Eng.Sun.COM (Brian Holtz)
Newsgroups: comp.windows.open-look
Subject: Re: Is there a C++ API to ToolTalk?
Keywords: n
Date: 8 Apr 92 07:41:23 GMT
Organization: Sun Microsystems, Mt. View, Ca.
NNTP-Posting-Host: netcord

In article <535@mem.lax.pe-nelson.com> milt@lax.pe-nelson.com
(Milt Ratcliff) writes:

>This sounds great but I would like to know how to obtain a service by
>sending a message to a machine which is NOT running X.  It is 
>theoretically possible I realize by not pracitcal.

ToolTalk lets tools talk to each other if they have an X display or
file that is common to them.  You can also get tools to talk to each
other if you can somehow inform them of the ID of the session they
should rendezvous in.  In these latter two methods, no X server need
be running.

>I had hoped ToolTalk
>could be used as a general replacement for all IPC because of its greater
>abstraction capability relative to TLI or socket programming.  

ToolTalk was built for open, "anonymous" messaging -- i.e., for
message senders who don't necessarily know what tools should receive
their messages.  Not all situations call for such flexibility.

>Connecting to a machine which is running an X server is quite easy but
>connecting to one which is not is virtually impossible - at least the
>documentation doesn't provide any easy hints.

Look for info on "file-scoped" messaging, and on running ttsession(1)
in "process-tree" mode (the -c option).
--
Brian Holtz
Newsgroups: comp.windows.open-look
Distribution: world
Date: Thu, 16 Apr 92 09:32:25 EDT
From: fgreco@fis1026.shearson.com (Frank Greco)
Subject: Re: Current version of devguide?

> >What is the current release version of devguide?  If current version is
> >greater than 1.1, any comments on what has changed since 1.1?
> 
> The current version of DevGuide is 3.0, I believe.  It is much better than
> version 1.1 from a bug and functionality standpoint.  Drag/Drop is a great
> added feature of version 3.0.  One item not supportetd is the selection 
> fonts.

	Another thing Devguide 3.0 does not handle is font management.

	Frank G.
=-=-=-=-=-=-=-=-=-=
From: lupe@ukw.uucp (Lupe Christoph)
Newsgroups: comp.windows.open-look
Subject: Re: How to Modify Opening Banner ?
Date: 10 Apr 92 21:33:50 GMT
Organization: cic

cd27@itri.bton.ac.uk (Chris Dale) writes:

>Apologies if this is an FAQ (is there an FAQ ?)

>In OpenWindows (2 & 3) you get an opening banner of "Welcome to Openwin etc..."
>I want to change this to somthing more site specific.  I note that it also comes
>up when using twm.  What starts this (xinit or the xnews server) and can I modify
>it ?

I found it in $OPENWINHOME/etc/NeWS/paintroot.ps. This file is loaded and
executed by $OPENWINHOME/etc/NeWS/packages/NeWS.ps.3.0.
-- 
| ...!unido!ukw!lupe  (German EUNet, "bang")     |  Disclaimer:            |
| lupe@ukw.UUCP       (German EUNet, domain)     |  As I am self-employed, |
| suninfo!alanya!lupe (Sun Germany)              |  this *is* the opinion  |
| Res non sunt complicanda praeter necessitatem. |  of my employer.        |
Newsgroups: comp.windows.open-look
From: jipping@cs.hope.edu (Mike Jipping)
Subject: Re: DevGuide 'iconize windows automatically' Feature?
Reply-To: jipping@cs.hope.edu
Organization: Hope College Dept. of Computer Science
Date: Thu, 9 Apr 1992 15:16:12 GMT

hyler@jaana.ast.saic.com (Buffy Hyler) writes:
> ...is there a way when you load a GIL file you can tell it to automatically
> iconize any windows?  Currently I'm loading an application with quite a few
> windows and everytime I start I have to iconize most if not all of the windows.
> I would prefer that they iconize and I will select which ones I want to work
> with from the bunch of icons.

Actually, I've found that the best way to do this is to create each
window as a separate interface -- then add them to a GUIDE project file.
The "browse" mode on the project interface will let you open various
interface GIL files as you want to.  And you avoid all those open windows
cluttering up your workspace!

This project stuff is new to 3.0.  RTFM.

      Mike Jipping
      Hope College Department of Computer Science
      jipping@cs.hope.edu  (BITNET: JIPPING@HOPE)


Newsgroups: comp.windows.open-look
From: lee@sq.sq.com (Liam R. E. Quin)
Subject: Re: Font with Fractions
Organization: SoftQuad Inc., Toronto, Canada
Date: Thu, 16 Apr 92 15:25:29 GMT

dpkemp@afterlife.ncsc.mil (David P. Kemp) writes:
> I want to use a font that has more fractions than the standard 1/4, 1/2, and
> 3/4, and so far have been unable to figure out how to do this with openlook.

One way wouyld be to define a PostScipt Type 3 font with fractions in it...

> I have used the old sunview font editor to make the required characters
> (1/8, 3/8, 5/8, and 7/8)
> in a vfont, but haven't found any way to convert a vfont (or fm, or afm,
> or anything else) into an f3 font.

Well, you can't do that, but fortunately you don't need to.
Instead, convert the vfont to a .fb font with convertfont and use it directly.
You will need  separate .fb file for each point size.

>(I believe the FAQ mentioned that
> newsprint 2.0 will use afm fonts, and we will be installing that shortly).

No.  It will use Adobe Type 1 fonts as well as all the others, but .afm files
are not fonts.  They contain width information.

If the FAQ that I edit is confusing, please say so (and why/how) and I shall
be more than happy to edit it and try to make improvements.

Lee

-- 
Liam Quin, lee@sq.com, SoftQuad, Toronto, 416 239-4801; the barefoot programmer

bad string
From: nazgul@alphalpha.com (Kee Hinckley)
Newsgroups: comp.windows.open-look
Subject: Re: Pushpin patented?
Date: 14 Apr 92 03:40:32 GMT
Article-I.D.: alphalph.1992Apr14.034032.7115
Organization: none

In article <ABRAHAM.92Apr8112218@loke.iesd.auc.dk> abraham@iesd.auc.dk (Per Abrahamsen) writes:
>>>>>> On 4 Apr 92 05:53:18 GMT, nazgul@alphalpha.com (Kee Hinckley) said:
>Kee> I'm not aware of any Unix GUI for which people aren't free to implement
>Kee> it in any manner they choose, are you?
>
>Most other GUI's seem to describe the current behaviour of a single
>implementation.  OPEN LOOK is unique by publicing the specification
>before the implementation.  Those vendors creating toolkits for
>multiple GUI's seems to think highly of the OPEN LOOK specification.
It is true that the OL specification is far stricter than most -
some consider good, others don't.  There are dangers to publishing
a specification before an implementation, but neither OL or Motif
got enough use before being nailed down to avoid those.  However
OL is certainly not unique in having multiple toolkits:

		Motif		Open Look
XView				X
Sun's NeWS tk			X
OLIT				X
OSF/Motif	X
HP's Interviews	X
USL's new tk	X		X
Neuron Data	X		X
Visix's Galaxy	X		X
Solbourne's OI	X		X

I've also seen adds for a lightweight Motif-based toolkit in
the backs of the X Journal or Unix Review or somesuch, but I
forget the name.  At least one or two companies also have
internal toolkits that implement one or the other L&F as well.
I may have missed some others.  And of course I skipped all
the interactive design tools and layered toolkits.

>BTW: Try making your own implementation of the AUX GUI...
I did neglect this case, although I wouldn't call that a Unix GUI,
but rather a Mac one ported to Unix - but that's splitting hairs.


-- 
Alfalfa Software, Inc.          |       Poste:  The EMail for Unix
nazgul@alfalfa.com              |       Send Anything... Anywhere
617/497-2922                    |       info@alfalfa.com

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
Newsgroups: comp.windows.open-look,comp.unix.misc
From: hook@geog.ubc.ca (Chris Hook)
Subject: Spreadsheets
Organization: University of British Columbia, Vancouver, B.C., Canada
Date: Sat, 11 Apr 1992 17:29:49 GMT

Can anyone send me a list/summary/etc. of available
spreadsheets that utilize the mouse, have graphics,
can read and write Lotus 123 format files, etc.
without costing thousands of dollars per copy?
The platforms will be Sun SPARCS, IBM RS/6000's,
and connected NCD X terminals.

I need to do ongoing processing and report generation of
our computing budget here, and sc, the freebie ( and
probably good for being free) unix spreadsheet has become
too painful and too difficult to port for me to bear
anymore.

If there was a good X or OW based spreadsheet that was
as good ashe Mac or under MS windows and
cost NO MORE, well, that would be perfect.

Thanks,

--
Chris Hook                    
Computing Systems/Network Manager
Atmospheric & Geographic Sciences
University of British Columbia
From: gounares@phoenix.Princeton.EDU (Alexander G. Gounares)
Newsgroups: comp.windows.open-look
Subject: multiple fonts in XView TEXTSW windows
Keywords: xview, textsw, fonts
Date: 13 Apr 92 05:44:31 GMT
Organization: Princeton University
Originator: news@ernie.Princeton.EDU

Does anybody know how do get multiple fonts to display simultaneously in
a text edit window (TEXTSW)?

In particular, I would like to be able to load a C/C++/FORTRAN program into
my texteditor window and have the comments appear in italics of the current 
font.  (If anybody knows of a public domain textsw implementation that does this,
that would be even better! :)


Thanks...

Alex Gounares
Princeton University
gounares@phoenix.princeton.edu

.sig under construction
From: rrybacki@ringer.cs.utsa.edu (Richard M. Rybacki)
Newsgroups: comp.windows.open-look
Subject: notify_set_input_func()
Date: 7 Apr 92 14:46:24 GMT
Organization: University of Texas at San Antonio

I am using notify_set_input_func to notify my process that data is available
for both a socket connection and reading from a streams device.  It appears
that the input func for the streams device is only being called once per
second, when actually by that time much more data has already been queued
at the stream head.  If I use an ioctl on the steams device to generate
SIGPOLLs, I get the notification frequency I need but this seems to hose up
the notifier and I loose all control of the mouse and everything else.

For the socket connection, the input func is being called at a much faster
rate (~10 times per second) whether there is input available or not.  It
appears that notify_set_input_func is just setting a timer, and the frequency
is based on what time of file descriptor your are trying to read from.

My question is this:  Are SIGPOLLs generated by the stream device hosing up
the notifier?  And if this is the case, is there a way to modify the default
behavior of notify_set_input_func so I can avoid using SIGPOLL for 
notification?

My thanks in advance to the Xview hacker(s) which can answer this.

-- 
Richard M. Rybacki                |     Happiness = Reality - Expectations
rrybacki@ringer.cs.utsa.edu       |     -- Click & Clack, The Tappet Brothers
Newsgroups: comp.windows.open-look
From: optdes@alaska.caedm.byu.edu (Alan Parkinson)
Subject: Motif 1.1 to Openlook 2.0 -- Window Title Problems
Date: Tue, 14 Apr 92 12:25:24 MDT
Distribution: world
Organization: Brigham Young University, Provo UT USA
Keywords: olwm motif openlook
Originator: optdes@alaska.caedm.byu.edu



We are trying to get our Motif 1.1 application to run under Openlook 2.0.
All of our windows use an XmDialogShell and do not communicate properly with
the OLWM.  Through the use of XChangeProperties we have been able to
modify the decorations of the OLWM but when we remove the close box from
the decorations the window title disappears.  Upon resizing the window
the title appears to be justified more to the right than centered.  Does anyone know of a way to fix this problem without changing the shell class.  Any advice
would be greatly appreciated.  Thanks in advance.

Brandon W. Busacker
GUI Developer -- Design Synthesis, Inc.
Brigham Young University
From: behrens@lindau.inf-wiss.ivp.uni-konstanz.de (Marcus Behrens)
Subject: OW3 demos
Organization: Information Science, Univ. of Konstanz
              D-W-7750 Konstanz, Germany
Date: Tue, 7 Apr 1992 15:44:01 GMT


I don't know how to use the demos chalktalk and realxfishdb (and others).
Can anyone give me some hints?
If there are other people interested in the answers they should mail me.
I would then post the collected answers.

	Marcus
From: korp@atlantis.eid.anl.gov (Peter Korp)
Newsgroups: comp.windows.open-look
Subject: Re: placement of popups from w/i an app
Date: 6 Apr 92 14:47:16 GMT
Article-I.D.: mcs.1992Apr6.144716.488
Reply-To: korp@atlantis.eid.anl.gov
Organization: Argonne National Laboratory

In article namj0wn@openlook.Unify.Com, fgreco@fis1026.shearson.com (Frank Greco) writes:
>> Objective: I'd like to have control over where popups are placed on
>> the screen when they are created from w/i an app created on the above
>> system, i.e. when button A is pushed, popup such-n-such is brought up
>> in the upper right hand corner, when button B is pushed, a diff popup
>> is brought up in the upper left hand corner, etc. If anyone could
>> offer an example on how to do this, I'd appreciated it. Thanks much.
>
>Try this:
>
>set_framexy(frame, x, y)
>Frame frame;
>int x, y;
>{
>	Rect frect;
>
>	frame_get_rect(frame, &frect);
>		frect.r_left = x;
>		frect.r_top = y;
>	frame_set_rect(frame, &frect);
>}
>

I have tried this method with a *huge* program and it starts acting
very weird! The frames start to place themselves randomly on the screen
and size themselves to whatever they want. (Yes the numbers I am
passing are correct). This goes away whenever the number of frames
falls below some, unknown, level. Happens with XView 2.0, and 3.0
on the Suns, Dec and IBM hardware.

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



---
	Peter A. Korp
	Argonne National Laboratory
	korp@tripoli.ees.anl.gov
Newsgroups: comp.windows.open-look
From: peter@progress.COM (Peter Sorrentino)
Subject: Problems with XChangeActivePointerGrab...
Summary: A client program I have works on OpenWindows 3.0, but not on 2.0.
Keywords: XChangeActivePointerGrab
Organization: Progress Software Corp.
Date: Mon, 13 Apr 1992 14:01:55 GMT


I am relatively new to a large development effort that uses OpenWindows 2.0.
A part of the program that changes the users mouse pointer stopped working.
I went into the code to see what was going on and found a call to
XChangeActivePointerGrab to change the cursor.  I walked through the code
and convinced myself that it worked.  I then stepped through the code with
the debugger, it all seemed to work, but the cursor did not change.
I then ran the same client on an MIT R4 server, it worked fine.
Tryed the OpenWindows 3.0 server and it worked there too.
Is there a bug with XChangeActivePointerGrab in OW 2.0 ?  And if so
why was it working at one time?  How can I get it to work again?
Is there a linking problem, mixup of libraries or something?  Nobody
in the group can remember anything changing.  :(

$OPENWINHOME/share/buglist.xnews in OpenWindows 3.0 had a reference to
a bug with XChangeActivePointerGrab (leaving an event queue of 0 not 1)
Is this related?  The bug id is 1041451 .

Please do not hesitate to contact me for more information.

Thanks in advance,

Peter
--

Peter Sorrentino
Newsgroups: comp.windows.open-look
From: louis@obelix.newshost.uwo.ca (Chan Louis)
Subject: Transient Window in OW3 ...
Organization: /m4/student/1985/louis/.organization
Distribution: comp.windows.open-look, comp.windows.xview
Date: Wed, 15 Apr 1992 03:25:01 GMT

Hi Guys,
	I have a question about the Selection menu on a transient Window.
Previously, my application is run on OW2.  It will create a Transient Window.
That window has only a frame around it, with on selection menu bar on it.  
Now, the system is changed from OW2 to OW3.  My application still can create
that Transient Window but with a Selection menu bar.  A user can select 
"Dismiss" option from the menu to destroy the window.  And I don't want this
Menu bar on my display window.  Do anyone know how to do the changes ?  
I have changed anything in the Xdefaults file.  And I like OW2's border for
my Transient Window instead of having the menubar.  Actaully, I am not
programming in XView to create the Transient Window.  I am using InterViews,
C++ for X window.

Thanks in advance.

Louis
From: buzz@fsrg.bear.com (Buzz Moschetti)
Newsgroups: comp.windows.open-look
Subject: Re: Sunview -> Open-look ?
Date: 16 Apr 92 01:43:23 GMT
Distribution: usa
Organization: Bear, Stearns & Co. Inc.
In-reply-to: kwaldman@bbn.com's message of 14 Apr 92 16:48:56 GMT

In article <kum37oINN9u2@news.bbn.com> kwaldman@bbn.com writes:

	   I have a number of Sunview applications that I would like to port
   over to Open-Look.  Is there an easy quick and dirty way to do this?
   I know utimately I'll have to change them to a client-server model, but
   would like to be able to use them in openlook while I am changing them over.

	   Thanks in advance
	   Karl

	   kwaldman@bbn.com

xview!  xview!  I think there are some grammar based tools that will
convert sunview calls to xview calls, too.  Call your friendly Sun rep.
--
"Usually this is a couple of lines." -Well paid consultant.
From: abraham@iesd.auc.dk (Per Abrahamsen)
Newsgroups: comp.windows.open-look
Subject: Re: Pushpin patented?
Date: 8 Apr 92 10:22:18 GMT
Organization: HUGIN Expert A/S


>>>>> On 4 Apr 92 05:53:18 GMT, nazgul@alphalpha.com (Kee Hinckley) said:

In article <0npjn4o@openlook.Unify.Com> fgreco@fis1026.shearson.com
(Frank Greco) writes: 

>	It is described in the Addison-Wesley books, so one would
>	assume that the spec (as most Sun specs are - the *real*
>	definition of OPEN computing) is in the public domain.  Anyone
>	is free to implement it in any manner that they choose.

Kee> I'm not aware of any Unix GUI for which people aren't free to implement
Kee> it in any manner they choose, are you?

Most other GUI's seem to describe the current behaviour of a single
implementation.  OPEN LOOK is unique by publicing the specification
before the implementation.  Those vendors creating toolkits for
multiple GUI's seems to think highly of the OPEN LOOK specification.

BTW: Try making your own implementation of the AUX GUI...
From: holtz@netcord.Eng.Sun.COM (Brian Holtz)
Newsgroups: comp.windows.open-look
Subject: Re: ToolTalk drops messages?
Date: 9 Apr 92 23:36:32 GMT
Organization: Sun Microsystems, Mt. View, Ca.
NNTP-Posting-Host: netcord

Case solved.  Yechezkal was resending messages that he'd already
sent, but you're supposed to create a new message each time you want
to send one.

By the way, Yecheskal, you'll get better performance if you call
tt_message_receive() just once inside your callback routine.
tt_message_receive() makes an RPC call to the server to retrieve
the next message, and so it's wasteful to use that RPC call just to
find out you've eaten the last message out of the current burst.
[Messages aren't actually sent down the file descriptor returned by
tt_fd(), because we don't want slow-eating clients to hang the server.]
--
Brian Holtz
From: coleman@bldrdoc.gov (Sean Coleman 497-5672 )
Newsgroups: comp.windows.open-look
Subject: How to icons [images] into a canvas
Keywords: File Mgr
Date: 13 Apr 92 01:14:38 GMT

I am trying to design an application similar to 
file mgr but for ftping files from remote sites.
I want to create a drag n drop interface which the
current ftptool does not have. I don't know how to
display the various icons representing files and directories
onto the canvas after creating the image using the SERVER_IMAGE
package. 

I also need info on how to change the color of the particular to
black when it is selected without having to repaint the entire
screen and redisplay all the different icons.

Can a region (represented by an icon) both be a source and
a destination for a drop? Is it pretty simple to do?

Thanks for the input.

Sean Coleman
coleman@bldrdoc.gov