HDTenEightyP/NetNews huggingface dataset:
Organization: University of Illinois at Chicago
Date: Wednesday, 8 Apr 1992 20:18:46 CDT
From: <U22683@uicvm.uic.edu>
Newsgroups: comp.windows.open-look
Subject: Need HELP with SELECTION package in OW3.0

Hello everyone!
 I have in the past received valuable help from the readers of this newsgroup
towards my questions.  So here goes:  I am trying to create my own custom cut,
copy and paste routines in a text subwindow, essentially performing the same
action as already provided by the Text Pane in the textsw package.  The O'Reii
ly book is kinda confusing on this and the sample programs available from the q
book are even more cryptic!  Can anyone help?!!! thx!

monika shah  (u22683@uicvm.uic.edu or monika@earth.eecs.uic.edu)
From: mpr@cs.hw.ac.uk (Michael P. Ramchand)
Newsgroups: comp.windows.open-look
Subject: Re: PANEL_MESSAGE update problem
Date: 6 Apr 92 10:12:48 GMT
Reply-To: mpr@cs.hw.ac.uk (Michael P. Ramchand)
Organization: CS Dept., Heriot-Watt University, Edinburgh

As I understand it, the expose event that is generated when xv_set is
called does not occur until 
control is passed back to the notifier. Hence, I would imagine that if
you changed you panel string, 
and then in the same procedure did lots of time consuming computation,
the panel would take a while
to become updated. You therefore have a choice of Xflush (though I don't
know if this will actually
work until the procedure is exited) or you may want to try to explicitly
dispatch events to the notifier
to update the display while still in the procedure.
 This is explained in Section 19.10 of O'Reilly Volume 7

------------------------------------------------------------------------------
          " Nothing really matters and what if it did anyway?  "

     Michael P. Ramchand  Dept of Elec. Eng. Heriot Watt University

                     e-mail mpr@uk.ac.hw.cs
-----------------------------------------------------------------------------
Newsgroups: comp.windows.open-look
From: sibley@math.psu.edu (David Sibley)
Subject: secondary selections
Reply-To: sibley@math.psu.edu
Organization: Dept. of Mathematics, Penn State University
Date: Wed, 8 Apr 1992 23:41:42 GMT


Does anyone have a reasonable way to understand secondary selections in
textedit? The manuals are of little help. Secondary selections are not
described in any of the printed documentation I can find, and the
on-line man page is grossly incomplete and cryptic regarding secondary
selections.

Here's what I mean. (OpenWindows 3.0 on a Sparcstation SLC. Note that
I run using full mouseless capabilities, which may make a difference.)

Try a secondary selection using Copy. This has changed in version 3.0.
First, there is no change at all in the text, only in which part is
selected.  The "secondary" selection is highlighted as if it were a
primary selection, copied into the clipboard, and the original primary
selection is no longer highlighted, although a caret magically appears
at the end of it. Yes.  There are now two things that look primary. The
highlighted selection range and the caret. They are in entirely
different places. If you type letters the highlighting goes away and
letters are inserted at the caret. If instead you just press the Copy
key again, nothing happens.  If you press Paste, the highlighted
selection is *deleted* and re-inserted at the caret. If you press Cut,
the highlighted selection is just deleted, leaving the caret where it
was (end of original primary).

Secondary Cut and secondary Paste are not nearly as confusing, but I
still don't know how to make sense out of what winds up in the
clipboard. Cut does one thing and Paste the other. And what does
the word "Paste" have to do with what a secondary Paste does? Seems
more like a "Copy" to me.

Anyway, if someone can explain to me what all this is for and how to
make sense of it, how to remember it all, I'd be very grateful. I will
summarize email responses if there is interest.

David Sibley
sibley@math.psu.edu
Newsgroups: comp.windows.open-look
Distribution: world
Date: Mon, 13 Apr 92 08:41:30 PDT
From: wolinsky@isys.com (Jeff Wolinsky)
Subject: SunVision 1.1

We've recently tried installing SunVision 1.1 with little success.
The situation is described below -- anyone have similar problems or
suggestions?

Environment:

   SPARCStation 1+ or IPC or 2 or IPX (all GX accelerated)
   SunOS 4.1.1
   Openwindows 2.0  (release 2001)
   All systems have at least 32MB swap and 16MB RAM

Symptoms:

   Installation seems to go fine.
   When we start SunVision, the module choice panel appears as expected.
   Press a button (e.g. SunIP) and nothing happens.
   Parameter manager (pmgr) and module (SunIP) appear to hang on select().

Any help would be much appreciated.  Sun technical support doesn't have
any idea why it doesn't work.

/---------------------------------------------------------------------------\
|                     | Isys Controls, Inc.      |                          |
| Jeffrey Wolinsky    | 2417 Mariner Square Loop | The sooner               |
| Software Engineer   | Alameda, California      |    you get behind...     |
|                     | 94501  USA               |                          |
| wolinsky@isys.com   |                          | the more time            |
| uunet!isys!wolinsky | Tel: (510) 865-9882      |    you have to catch up. |
|                     | Fax: (510) 865-9927      |                          |
\---------------------------------------------------------------------------/

   
Newsgroups: comp.windows.open-look
From: rublee@ssd.kodak.com (Darrell Rublee)
Subject: Two drop targets with DevGuide 3.0
Originator: rublee@liebnitz
Organization: Eastman Kodak
Date: Mon, 13 Apr 92 14:38:28 GMT


I have generated an application using Dev Guide 3.0 in which I have defined
2 drop targets within the same control area.  One drop target on the screen
works as expected - its recognizes the drop correctly and does the write
processing in the notify proc and returns control correctly back to
the application.

The second drop target starts to work ok.  It recognizes the drop target,
calls the notify proc I have specified and executes the code inside the
second drop target.  But, I am getting a bus error after the notify
proc is finished executing and before control is returned back to the
application.

Both drop targets are similar in the types of functions they are performing.
I am using the panel object that is created by Dev Guide 3.0 for
drop targets.  Has anyone out there had to deal with this kind of
problem??????

Darrell Rublee
Eastman Kodak Co.

Newsgroups: comp.windows.open-look
From: djc@tardis.anl.gov (Daniel J. Ciarlette B362 C-153 x2-4015)
Subject: How to get arrow keys to repeat on a 101A keyboard using openwindows 3.0
Keywords: keyboard repeat 101A
Reply-To: djc@tardis.anl.gov
Organization: Argonne National Laboratory
Date: Mon, 13 Apr 1992 22:11:14 GMT

Could someone please explain how to get the 101A keyboard to have it's arrow keys
that are seperate from the numeric keypad to repeat.

Also, if you have any just generally useful things about keyboards under openwindows
that would be appreciated also.

Thanks,

Dan Ciarlette
From: andrew@bnr.co.uk (Andrew Macpherson)
Newsgroups: bnr.unixnews,comp.windows.open-look
Subject: Re: NEEDED: simple dialog window
Date: 14 Apr 92 20:54:50 GMT
Reply-To: andrew@bnr.co.uk (Andrew Macpherson)
Organization: BNR Europe Limited, London Road, Harlow, Essex, GB

try xmessage from the X11R5 distribution

-- 
A.Macpherson@bnr.co.uk    - or -    andrew@bnr.ca
"... Hence, the distinction between PTT-operated and non-PTT-operated
management domains is unnatural" --- mtr The Little Black Book
Newsgroups: comp.windows.open-look
From: ebx@scs.carleton.ca (edmond bo xiao)
Subject: Drag an Drop problem
Reply-To: ebx@scs.carleton.ca
Organization: School of Computer Science, Carleton University, Ottawa, Canada
Date: Thu, 16 Apr 1992 23:18:29 GMT

Is there anybody had worked with DND package in the new XView 3.0?

The drag part in my program works prefectly. But the drop part ...

I created the drop site item, set the region(to the whole window), and set
the event proc. Sure enough it turns to my event proc, but never be a preview
or copy or move event. Meanwhile, the dnd_send_drop returns "Time Out" all
the time.

Can anybody see the problem?

Thanks for all and any help.

edmond



Newsgroups: comp.windows.open-look,comp.sys.sun.apps,comp.sys.sun.admin
From: jipping@cs.hope.edu (Mike Jipping)
Subject: Last Plea: XDM on OpenWindows V3
Organization: Hope College Dept of CS
Date: Mon, 6 Apr 1992 13:55:21 GMT

This is my last dying attempt to get XDM running with OpenWindows 3.0.  I
have asked this question in the past.  Many thanks to those who have
answered with suggestions, but there have been no solutions.

Does anyone run XDM on top of OpenWindows 3.0?  No matter what I have
tried, I cannot get the shells in ANY "shell tool" (xterm, cmdtool,
shelltool) to come up in "-olcuc" mode.  I have tried as many variations
of "setsid" as I can; I have tried running the user's ".login" or
".cshrc" to no avail; I have tried forcing a "system window" for messages
and so on that is the controlling terminal.  Nothing works.

So, like I said: does anyone run XDM on top of OpenWindows 3.0?  If so,
could you help me out by suggestions, config files, ANYTHING!  This my
last ditch attempt -- I'd love XDM, but I think it's headed for the
electronic scrap heap as a victim of OpenWindows.

Thanks all.  I'll be sure to summarize!

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





Newsgroups: comp.windows.open-look
From: stephen@medtronic.COM (Stephen Dowdy)
Subject: OW3.0 Fonts (*helvetica* Adobe/Linotype)
Summary: *helvetica-... renders weird
Organization: Medtronic, Inc.
Date: Mon, 6 Apr 1992 19:16:12 GMT

I've got some folks here that use the Motif-ish 'fontList' resource like:

*fontList: *helvetica-medium-r*12*=normal \
		*helvetica-medium-o*12*=italic \
		*helvetica-bold-r*12*=bold

in their motif applications (custom and CADence Opus).

This was cool under OW2.0, but under OW3.0 apparently, the linotype
Helvetica gets used, and it renders funny (looks like kerning is all
screwed up).

A workaround is to change this to:

*fontList: *adobe-helvetica-medium-r*12*=normal \
      *adobe-helvetica-medium-o*12*=italic \
      *adobe-helvetica-bold-r*12*=bold

to force using the Adobe Helvetica which *does* look right on screen.
This however, is unacceptable to the motif "purists", who do not want
to edit their X Resource files.

I'm not really familiar with the fonts under OW3.0, and have been asked
to "remove" the linotype fonts so the motif people can be happy, which
i really don't want to do, since i suspect they are valuable for some
things like Answerbook, or printing.

So, the question is, is there something "wrong" with using just
"*helvetica...", or is there a way to force "*helvetica..." to evaluate to
the Adobe fonts instead of the linotype ones (if it really is the linotype
fonts being used), without losing normal access to them?

Thanks,
--stephen
stephen dowdy			software engineer
Medtronic/Micro-Rel		"Toward Man's Full Life"
stephen@urel.medtronic.com	(602) 929-5418

-- 
stephen dowdy			software engineer
Medtronic/Micro-Rel		"Toward Man's Full Life"
stephen@urel.medtronic.com	(602) 929-5418
From: wolinsky@isys.com (Jeff Wolinsky)
Newsgroups: comp.windows.open-look
Subject: SunVision 1.1 problem
Date: 14 Apr 92 16:59:41 GMT

Thanks to those of you who replied to my inquiry about SunVision 1.1
hanging.

It turns out we've been running a Sun-provided patched version
of the XView 2.0 libraries, which somehow breaks SunVision (though
it hasn't broken anything else I know of).

When we (dynamically) link with the vanilla libraries, all is well.

- Jeff

/---------------------------------------------------------------------------\
|                     | Isys Controls, Inc.      |                          |
| Jeffrey Wolinsky    | 2417 Mariner Square Loop | The sooner               |
| Software Engineer   | Alameda, California      |    you get behind...     |
|                     | 94501  USA               |                          |
| wolinsky@isys.com   |                          | the more time            |
| uunet!isys!wolinsky | Tel: (510) 865-9882      |    you have to catch up. |
|                     | Fax: (510) 865-9927      |                          |
\---------------------------------------------------------------------------/
Newsgroups: comp.windows.open-look
From: mcmahon@tgv.com (John 'Fast-Eddie' McMahon)
Subject: Re: Sun fonts for VAXstations
Reply-To: mcmahon@tgv.com
Organization: TGV Incorporated (Tech Support) in Santa Cruz, CA
Date: Wed, 8 Apr 1992 17:19:31 GMT


In article <30MAR199217050064@adpdp2.lanl.gov>, 098802@adpdp2.lanl.gov (098802) writes:
#Does anyone know where I could (legally) get the standard OpenLook fonts for 
#loading onto a VAXstation? Is the loading procedure difficult? Examples would
#be most appreciated.

Another solution would be to get the Xview for VMS kit from TGV.  It includes
the fonts, OLWM and a XVIEW sharable library.

Send mail to SERVICE@TGV.COM for details...

John 'Fast-Eddie' McMahon    ()
TGV, Incorporated            () "You know you have answered too many            
603 Mission Street           ()  Tech Support questions when your Pavlovian   
Santa Cruz, California 95060 ()  response to a ringing phone is to throw it   
408-427-4366 or 800-TGV-3440 ()  out a window" - Me
E-Mail: MCMAHON@TGV.COM      ()

Newsgroups: comp.windows.open-look
From: lee@sq.sq.com (Liam R. E. Quin)
Subject: Re: multiple fonts in XView TEXTSW windows
Keywords: xview, textsw, fonts
Organization: SoftQuad Inc., Toronto, Canada
Date: Thu, 16 Apr 92 18:16:51 GMT

gounares@phoenix.Princeton.EDU (Alexander G. Gounares) writes:
> Does anybody know how do get multiple fonts to display simultaneously in
> a text edit window (TEXTSW)?

You can't, it doesn't, sigh, wail!

You could look at using the jot package with cps instead - try running
/usr/openwin/demo/jed for fun...

Lee

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

bad string
From: milt@lax.pe-nelson.com (Milt Ratcliff)
Newsgroups: comp.windows.open-look
Subject: Re: Is there a C++ API to ToolTalk?
Keywords: n
Date: 8 Apr 92 05:46:55 GMT
Organization: PE-Nelson

In <ku2bimINN8gk@exodus.Eng.Sun.COM> holtz@netcord.Eng.Sun.COM (Brian Holtz) writes:

|If you're familiar with the OMG CORBA spec, then you can think of
|ToolTalk object messaging like dynamic method invocation on OMG
|objects.  In both forms of messaging, you invoke an object's method by
|assembling and sending a message, instead of (e.g.) by using a "->"
|operator on an object reference.

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.  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.  

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.

Did Sun intentionally design ToolTalk to preclude client/server IPC
between machines which do not run X or did it happen by accident :-;


-- 
Milt Ratcliff                                            milt@PE-Nelson.COM
PE-Nelson                                                +1.408.725.1107
10040 Bubb Road
Cupertino, CA  95014
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: 7 Apr 92 05:08:38 GMT
Organization: Sun Microsystems, Mt. View, Ca.
NNTP-Posting-Host: netcord


In article <1992Apr4.051225.5093@sfc.sony.com> berger@sfc.sony.com
(Bob Berger) writes:

>Am I missing something? Is there a hidden or un released C++ API somewhere?

Well, the C API is just a layer over a C++ implementation, but no,
there is not yet a public C++ API to ToolTalk.

>How are we ever going to get the Distributed Objects Everywhere
>without Object Oriented API's.....

'O' is only one-third of DOE.  ;) You don't need ToolTalk to play with
objects; for that you can use any handy OO language.  The problem with
those objects is that they aren't persistent, and they all have to
live inside the same address space, on the same machine.  ToolTalk
objects are persistent and distributed, just as DOE objects will be.

If you're familiar with the OMG CORBA spec, then you can think of
ToolTalk object messaging like dynamic method invocation on OMG
objects.  In both forms of messaging, you invoke an object's method by
assembling and sending a message, instead of (e.g.) by using a "->"
operator on an object reference.
--
Brian Holtz
Newsgroups: comp.windows.open-look
Distribution: world
Date: Fri, 10 Apr 92 10:47:27 EDT
From: darin@kaman.com (Darin S. Lory)
Subject: CLIPS by NASA


I was wondering if anyone in the X world heard of CLIPS that is
distributed by NASA.  It is supposed to me an Object-Oriented environment
to develop X windows tools via Lisp, C++, or another oop language.

If someone could straighten me out out the information about the product,
it would be greatly appreciated.

My boss would to purchase it for testing to see if it meets the requirements
we need it for.

(BTW, I know of TAE+, I have it).

 
-Darin 
 
Xref: sparky comp.windows.open-look:2134 comp.sys.sun.apps:684 comp.sys.sun.admin:2330
Newsgroups: comp.windows.open-look,comp.sys.sun.apps,comp.sys.sun.admin
Subject: Re: Last Plea: XDM on OpenWindows V3
From: mike@elec.canterbury.ac.nz (Cosmik Debris)
Date: 8 Apr 92 09:10:55 +1200
Distribution: world
Organization: Electrical Engineering, University of Canterbury, New Zealand

I have xdm in /usr/bin/X11 and it works fine without having to do anything extra.
-- 
*******************************************************************************
*  Mike Shurety                           mike@elec.canterbury.ac.nz          *
*  Computer Systems Manager               psi%(5301)30000012::mike            *
*  Electrical & Electronic Engineering    FAX        : (64) (3) 642-761       *
*  University of Canterbury               Phone work : (64) (3) 642-295       *
*  New Zealand                            Phone home : (64) (3) 891-629       *
*                                                                             *
*                      "I owe money, therefore I am"                          *
*******************************************************************************
From: barnett@grymoire.crd.ge.com (Bruce Barnett)
Newsgroups: comp.windows.open-look
Subject: Re: secondary selections
Date: 13 Apr 92 19:06:17 GMT
Reply-To: barnett@crdgw1.ge.com
Organization: GE Corp. R & D, Schenectady, NY

In article <f22Hmsfl6@cs.psu.edu> sibley@math.psu.edu (David Sibley) writes:

   Does anyone have a reasonable way to understand secondary selections in
   textedit? The manuals are of little help. 


Secondary selections are selections made while holding down a function
key. When the key is released, the action is taken. The current
insertion point in not changed.

Secondary Selection and Paste
	Hold down Paste, select the text you want copied, and then
release Paste. The secondary selected text will be copied at your
current insertion point. Since the primary paste buffer is remembered,
you can select a space, press "Copy", then alternate the following

	Hold down Paste, double click on a word, release Paste
	Press and Release Paste

This will quickly paste a word followed by a space, allowing you to 
combine words all over the window system without changing your
insertion point or using drag and drop. Very handy if you want to
select several pid's from the output of ps(1) and then send a kill
signal to those processes.

Secondary Selection and Cut
	Hold down Cut, select the text, and release Cut. The text
selected will be cut and pasted into the current insertion point.

In either case, if there is (primary) text selected, it will be
deleted first. The secondary selection can be in another window.
 
You can also get secondary selections from shelltool, cmdtool, etc.
windows.

Secondary Copy doesn't seem to work like SunView. Holding down Copy
while making a selection changes the primary selection.  Secondary
Find doesn't work either. 
--
Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
From: mtn@duke.cs.duke.edu (Michael T. Naseef)
Newsgroups: comp.windows.open-look
Subject: Re: PANEL_MESSAGE update problem
Date: 8 Apr 92 22:18:10 GMT
Organization: Duke University Computer Science Dept.; Durham, N.C.

It looks to me like the problem is that in some callback routine,
modifications to the UI are followed by some application code -
a reasonable requirement but not quite compatible with the GUI
programming environment...

According to the "XView Programming Manual" (O'Reilly & Associates, Inc)
modifications to xview objects will not become visible until the application
returns to the Notifier.  This would explain why changes to panel items
are not being seen.  They will not be visible until the callback routine
returns.  This might explain why the XFlush call works.

There is another problem though, while your application is processing
a callback routine, other events which are handled by your application
will be held.  This can cause further problems in that, while an event is
waiting to be handled by your application, your desktop is effectively hung.

The optimal solution to this issue, is that your application should not do
any (real) processing in UI callback routines.  Unfortunately, the
alternatives require some slightly complex coding.  The choices
that first come to my mind are to fork a new process or to use a timer
to do the processing in small intervals (yuck!).

Well, this is how I understand it to be.  Maybe some more-enlightened
individual would care to expound further.  Anyway, it seems to me
that doing the XFlush is not a good enough answer.  Especially if the
processing your application is doing will take a long time, or (I know,
nobody here would ever have this problem) could hang 8^0.

All I have is a nickel, could someone please send me the $.03 change...

Mike

-- 
Mike Naseef
Department of Computer Science, Duke University, Durham, NC 27706
Internet:	mtn@cs.duke.edu	|  Phone:	919/660-6577
UUCP:		mcnc!duke!mtn	|
From: harwood@umiacs.umd.edu (David Harwood)
Newsgroups: comp.windows.open-look,alt.toolkits.xview
Subject: OLIT vs XView ?
Date: 6 Apr 92 18:43:21 GMT
Followup-To: comp.windows.open-look
Organization: UMIACS, University of Maryland, College Park, MD 20742

We expect to program an interactive prototyper for computer vision
applications in a Sparcstation II (OL 3) enviroment. We are new to
X programming, and we are developing from scratch.

What are the advantages of OLIT vs XView programming?
We do not expect to move from Sun enviroments.

Is there a FAQ file which could help?
(I joined these newsgroups only today.)

What are good introductions and references for X programming using
these tools? (I have to buy some soon.)

Thanks for any email or other replies.
David Harwood
Newsgroups: comp.windows.open-look,comp.sys.sun.apps,comp.sys.sun.admin