HDTenEightyP/NetNews huggingface dataset:
From: etxkrjg@solsta.ericsson.se (Kristian Jorg  TX/DKL)
Subject: Re: XView buttons drop last letter of label
Organization: Ericsson
Date: Thu, 3 Sep 1992 15:08:04 GMT

newton@mksol.dseg.ti.com (scott c newton) writes:

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

I believe you are using a fixedwidth font? I had the same problem and actually
talked with a programmer on Sun about this. He did not have a clue...

It seems like the button width is computed to the width of what space the label
would use up if a *proportional* font was used.

Use a proportional font and your problem is gone.

--
---------------------------------------------------+  
Kristian Jorg, Software Design Support and Methods !
Ericsson Telecom AB, Karlstad, Sweden              !
                                                   !
Newsgroups: comp.windows.open-look
From: ming@martha.utcc.utk.edu 
Subject: Mailtool won't work.
Organization: University of Tennessee Computing Center
Distribution: na
Date: Fri, 28 Aug 1992 15:54:04 GMT

The mailtool on my SUN IPX won't work properly. I can start the mailtool, then
a warning frame poped up saying "Couldn't initialize the Class Engine". What is 
the "Class Engine"? 

Then when I tried to use the mailtool to compose or reply mails
it crashed, left the following message on my console window:

   X Error of failed request:  BadAlloc (insufficient resources for operation)
     Major opcode of failed request:  12 (X_ConfigureWindow)
     Serial number of failed request:  1205
     Current serial number in output stream:  1254

I then switched back to OW2's mailtool, it crashed with another piece of
message

   ld.so:  call to undefined procedure _ds_set_frame_xy from 0x2476c

Could somebody be knidly tell how should I do?

Thanks in advance.

Ming Xu
From: wray@cs.man.ac.uk (Daniel Wray)
Newsgroups: comp.windows.open-look
Subject: Button font problems when displaying on other X servers
Date: 2 Sep 92 18:12:39 GMT
Organization: Department of Computer Science, University of Manchester


I have an OpenWindows application which I have tried to display on
another X server. However, the application will not run because it
is using a particular button font which it can find. I have tried 
setting a various fonts for the application, but with no success. 
Someone, has tried translating the sun fonts to apollo font, but this
too had no effect.

How can I solve this problem.

Ideas and comments are appreciated

D. Wray
Newsgroups: comp.windows.open-look,comp.sys.sun.apps
From: bgt@cbnewsh.cb.att.com (barbara.tongue)
Subject: Mailtool line-editing
Organization: AT&T
Date: Mon, 31 Aug 1992 12:55:12 GMT
Followup-To: poster
Keywords: changing no-return-lines to <72 characters

folks,

my department uses the mailtool rather heavily.  one of its features
is that words are automatically wrapped around, eliminating the need
to insert returns.

alas, this leads to lines >72 characters long.  our printers enjoy
chopping off anything longer than 72 characters.  result - a beginning of
a thought with no end....

thus here is my question.  is it possible for a user to compose an
email and prior to sending it off, invoke a command which will insert
returns when needed?  i have already written that command (called
foldMail), but so far haven't figured out how to invoke it while
*in* the composition window of mailtool.  more generally, is it
possbile to spawn a subshell which operates on composeWindow
content prior to delivery?

thanx in advance,

-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%   The Speaking Tongue, AT&T   %%  C Code.  C Code Run.  Run, Code, RUN! %%
%%       bgt@homxc.att.com       %%           PLEASE!!!!                   %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Newsgroups: comp.windows.open-look
From: adc@tardis.msu.edu (Alan D. Cabrera)
Subject: Another UITV2 bug
Reply-To: adc@tardis.msu.edu
Organization: Michigan State University
Date: Thu, 27 Aug 92 16:58:28 GMT


When I create an interface with a drop target box and set the various
drag & drop cursors, testing the interface in Guide 3.0 works fine.
When I run guic, compile and run, the program gets a segmentation fault
and dumps core.


---
Alan Cabrera				internet:  adc@tardis.cl.msu.edu
Computer Laboratory			phone:     (517) 353-3027
Michigan State University		fax:       (517) 353-9847
514 Computer Center			bitnet:    CABRERA@MSU
East Lansing, MI 48824
From: kak@durante.att.com (Kurt Kanaskie)
Newsgroups: comp.windows.open-look
Subject: Re: Sunview/OpenWindows conflict
Date: 2 Sep 92 17:05:19 GMT
Article-I.D.: cbnewsm.1992Sep2.170519.10891
Distribution: usa
Organization: Bell Laboratories

In article <1992Sep2.133312.25387@burrhus.harvard.edu> (William J. Mahoney) writes:
|> We're running Sunview and OpenWindows 3.0 under 4.1.2.
|>      ...
|> If we then quit from OpenWindows and then start up Sunview,
|> we lose the cut-and-paste capability in Sunview.

Try killing the sv_xv_sel_svc process before starting SunView and vice versa.

___________________________________________________________________

Kurt Kanaskie				AT&T Bell Laboratories
kak@alux2.att.com			Computer Aided Design Lab
(215) 770-3096				Allentown PA
Newsgroups: comp.windows.open-look,comp.lang.postscript,comp.windows.x.apps
From: sitongia@hao.ucar.edu (Leonard Sitongia)
Subject: Looking for PostScript previewer rendering 8-bits under X
Keywords: postscript pageview ghostview
Reply-To: sitongia@hao.ucar.edu (Leonard Sitongia)
Organization: High Altitude Observatory/NCAR, Boulder CO
Distribution: usa
Date: Mon, 31 Aug 1992 17:21:21 GMT

(The platform context is Sun workstation running SunOS 4.1.1 and
OpenWindows, but we have access to Motif, standard MIT X11R4/R5 and SGI's.)

A user here would like to find a previewer which supports the following
features.

The user says:

> Does anyone know how to view 8-bit PostScript images on any of
> the HAO hardware (and see all 8 bits worth of grayscale)?  I was
> told that all of our printers are only 4-bit.  Pageview on the Suns
> uses only 4 bits, and psview on the SGI's appears equally limiting.
> A file that used only 4 bits in pageview showed its full range on a
> Mips machine at RSI.  I have not found any such previewer on our Macs.
>
>     I would like to add to the list of desired features.
>     The PS previewer should handle (ideally):
>       1. 8-bit grayscale
>       2. 8-bit color
>       3. landscape and protrait modes
>

In my own investigation of Sun pageview and GNU ghostview, that:

ghostscript displays the postscript-device's view of the representation.
(i.e., shows the halftone/dithered image like one would get on a
color postscript printer).  The user wants the images on the previewed
page to be rendered directly in 8-bit pixels.

pageview doesn't use the colormap defined in the postscript document.
pageview doesn't redraw the window frame around the image when it is
switched to landscape.

Is there an option to ghostscript to select a different device, one
that can do 8bit display?

-- 
--Leonard E. Sitongia           HAO System Manager                 
sitongia@ncar.ucar.edu          voice: (303)497-1509   fax: (303)497-1589
High Altitude Observatory       P.O. Box 3000 Boulder CO  80307
Xref: sparky comp.windows.open-look:3687 alt.toolkits.xview:815
From: scott@statsci.com (Scott Blachowicz)
Subject: OLIT v3 oddities.
Reply-To: scott@statsci.com
Organization: Statistical Sciences, Inc., Seattle, WA USA
Date: Thu, 27 Aug 1992 19:11:27 GMT

I'm using OLIT v3 as shipped with Sun's OpenWindows v3 software on a SPARC.

I haven't been able to locate much documentation on OLIT v3. I just recompiled
and loaded a client program against OLIT v3. It had been using OLIT v2 in the
past. There are a couple of annoyances in running the new program.

The resource 'inputFocusColor' default of 'red' is being used on objects like
OblongButton and ScrollingList types. Have the red highlight is rather
distracting and not particularly useful (it seems to me). How do I disable it?
Can I set some resource or callback on a widget to say that I don't want the
'inputFocus'? Do I have to resort to inquiring the background color and
setting inputFocusColor to that?

I get warnings when I run the program without an OPENWINHOME set that points
to an OpenWindows v3 directory. It complains about not being able to find the
lib/Xol/scale.map file. I need to be able to run this program on X11R4, X11R5
and OpenWindows v2 servers. Can I disable that? What effect would it have on
the program? I've noticed a 'scaleMap' resource...can I set that to /dev/null?
Would it be legal to package the scaleMap file along with whatever other files
it needs into a program to send to others?

I've noticed the difference in the WinAttr structure. That problem has a
backwards-compatibility hack to allow it to run on both OW2 and OW3 (i.e.
setting the resource '*UseShortOLWinAttr: true'). Will setting that resource
have any ill effects when being run against an OW2 version of olwm?

Thanx for any help!
--
Scott Blachowicz    Ph: 206/283-8802x240      USPS:  Statistical Sciences, Inc
                                                      1700 Westlake Ave N #500
scott@statsci.com / uunet!statsci!scott                Seattle, WA USA   98109
..or..     Scott.Blachowicz@seaslug.org
From: sue@byron.u.washington.edu (Shu-Chen Eclipse)
Newsgroups: comp.windows.open-look
Subject: question: NLOCK
Date: 28 Aug 92 20:39:40 GMT
Article-I.D.: u.1992Aug28.203940.11297
Organization: University of Washington, Seattle


Hellow, the workspace menu item "lock screen" would not work on remote tek and
pc screens; I found "nlock" in ? openwin/demo? (somewhere) and added this
to my custom .openwin-menu. all ok, except I can't find docs for this.
The problem is with the background color on the teks and sun ipx workstations,
its too dark. I set bg and fg to lighter shades and nlock does starup with those
colors (and these colors appear at the password prompt/log). Problem is soon
after startup and the 1st message appears on the screen, the whole screen become gets set to some very dark shade and you can barely see the subsequent messagesand the little guy that bounces up and down the screen. How do I change this
color (bg and fg seems to be only indirectly related to this).

Can I change the image that appears on the nlock screen? how?

thanx for answering,
sue@byron.u.washington.edu
Newsgroups: comp.windows.open-look
From: imp@solbourne.com (Warner Losh)
Subject: Re: Q: C++ and callback problems.
Organization: Solbourne, User Interface Group
Date: Sat, 29 Aug 1992 00:16:27 GMT

In article <1992Aug28.161556.17176@isy.liu.se> svan@isy.liu.se writes:
>How then do these toolkits handle callbacks/events?

OI does a variation of method 1 (except that it does do non-static
member functions correctly).  Interviews uses a variation of method 2.

>1) Cloning & modifying.
>   You create a Button-object and then modifies it by
>   registering your c-style callbackfunction.

In OI, you can regstier a C or a C++ style callback.  Just an
overloaded call.  For example,
	OI_menu_cell *cellp;
	MyClass		*mcp;

	// call ::foo when button activated.
	cellp->change_action( &foo );

	// call MyClass::bar when button activated
	cellp->change_action( mcp, (OI_action_memfnp) &MyClass::bar );

>   The callback *HAS* to be a static memberfunction or an
>   ordinary c-style function (possibly a friend).

Since OI provides member functions callbacks, I would say you are
misinformed about this requirement.

>   Why has Borland C++ for Windows extended 
>   their language just to handle callbacks from Windows?

I don't know.  I don't use Windows.

>What I really would like is:
>   To have the possibility to make calls to a memberfunction of
>   an object without having to know that objects particular class.

That's what OI provides you.

Warner
-- 
Warner Losh		imp@Solbourne.COM
I've almost finished my brute force solution to subtlety.
From: sat@nut.tridom.com (Stephen Thomas)
Newsgroups: comp.windows.open-look
Subject: maketool
Date: 3 Sep 92 13:59:46 GMT
Reply-To: sat@eng.tridom.com
Organization: AT&T Tridom

Anyone know of a maketool or other OpenLook front end to make? I'd even settle for
a vanilla X front end. Just something in the UNIX world that comes close to,
for example, Borland's IDE or Microsoft's PWB.


---

Stephen Thomas (sat@tridom.com)
AT&T Tridom (404-426-4261)
Newsgroups: comp.windows.open-look
From: rmilner@zia.aoc.nrao.edu (Ruth Milner)
Newsgroups: comp.windows.open-look,comp.sys.sun.apps
Subject: Re: AutoRaise/OW 3
Date: 27 Aug 92 18:44:40 GMT
Reply-To: rmilner@zia.aoc.nrao.edu (Ruth Milner)
Organization: National Radio Astronomy Observatory, Socorro NM

In article <1992Aug26.134214.4048@clpd.kodak.com> staffan@ca.serum.kodak.com (Kenneth Staffan (x37507)) writes:
>I've been trying to use the AutoRaise and AutoRaiseDelay resources for
>olwm.  The AutoRaise works, but setting AutoRaiseDelay doesn't seem to
>have any affect.  

Works fine for me.

The delay units are in *microseconds* (see the man page for olwm), so you need 
a large number to see the difference. I have it set to 1000000, i.e. 1 second. 

When you are using this, note that the delay is only in raising the window to
the front; the focus moves immediately (assuming you are using followmouse).
-- 
Ruth Milner                          NRAO/VLA                  Socorro NM
Computing Division Head      rmilner@zia.aoc.nrao.edu
From: mdelaney@informix.com (Mark Delaney)
Newsgroups: comp.windows.open-look
Subject: Re: Sunview/OpenWindows conflict
Date: 2 Sep 92 23:53:25 GMT
Distribution: usa
Organization: Informix Software, Inc.

In <1992Sep2.133312.25387@burrhus.harvard.edu> wm@isr.harvard.edu (William J. Mahoney) writes:

>We're running Sunview and OpenWindows 3.0 under 4.1.2.
>We need both environments, as some of our applications only run
>under Sunview, while others only run under OpenWindows.
>The problem occurs after OpenWindows has been loaded.
>If we then quit from OpenWindows and then start up Sunview,

You should be able to run those SunView applications from your
OpenWindows session... that is providing that they don't do
anything... ah... funny (and that you didn't start openwin with
the "-nosunview" option).

>we lose the cut-and-paste capability in Sunview.  (And who
>knows what else) This lasts until the affected machine is
>rebooted.  Anyone have a better solution or insight into what
> is happening?

Your selection_svc isn't starting.  You may need to start this
by hand.

					- Mark

-- 
Mark A. Delaney                  mdelaney@informix.com
                                 [pyramid|uucp]!infmx!mdelaney
#include <disclaimer>            (415) 926-6369
From: rickg@eng.sun.com (Richard M. "The Tankster" Goldstein)
Newsgroups: comp.windows.open-look
Subject: Re: Need help in selecting a Panel Text Field.
Date: 4 Sep 92 12:38:55 GMT
Reply-To: rickg@eng.sun.com
Organization: SunSoft, Inc.
NNTP-Posting-Host: irondude
In-reply-to: alex@bnkc08.Bell.CA's message of Thu, 3 Sep 1992 20:34:18 GMT


   Newsgroups: comp.windows.open-look
   From: alex@bnkc08.Bell.CA (Alex Laney)
   Organization: Bell Canada - Ops Dvlpmt (Ntwk Systems)
   Date: Thu, 3 Sep 1992 20:34:18 GMT


   I need to make a 'Panel Text Field' highlighted. I.e., selected. The
   environment I am using is OpenWindows 2 and XView. Could someone point me
   to some sample code to do this? If I have to fake mouse events to a text
   field that is okay with me, but I really don't want to re-invent this if I
   don't have to. I have a copy of the O'Reilly XView Manual, which describes
   how to do this with text sub-windows, but that's not what I want. I know
   that I can set the PANEL_CARET_ITEM, but that's just too subtle for the
   user audience for the application I work on.

   If this is solved simply in OpenWindows 3, I might just use that ...


yes it's solved in V3, and you are correct that calling it's
event handler with the correct actions will work as well.


<<tank
--

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

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

	"I don't practice what I preach because I'm not the kind
	of person I'm preaching to"

				-"Bob" in Newsweek

*********************************************************************
Newsgroups: comp.windows.open-look
From: hue@island.COM (Pond Scum)
Subject: Re: Xview and process blocking?
Organization: Island Graphics Corp.
Date: Tue, 25 Aug 1992 19:29:19 GMT

klg!ed@uunet.uu.net (Edward Lycklama - KL Group Inc.) writes:
>> Does anyone have any suggestions as to how to block the parent process
>> while the child runs in an XView environment?
>why not set FRAME_BUSY to true on the parent's base frame?
>This could be done in conjunction with the notify_set_wait3_func() -
>set frame to BUSY when you call this, and when the notify occurs,

I think this is the right thing to do, if you want to "play by the rules".
Setting the frame busy makes it ignore events, so your application appears
to be blocked, even though it really isn't.

Unfortunately, you have to do this to every frame, the one's that aren't busy
can still get events.

-Jonathan		hue@island.COM
From: pkr@media03.UUCP (Peter Kriens)
Newsgroups: comp.windows.open-look
Subject: XView & C+++
Date: 31 Aug 92 15:12:26 GMT
Organization: Mediasystemen, Netherlands

I am in a hurry...
X-Newsreader: Tin 1.1 PL4

The xview library uses pseudo objects which could be
very nicely encapsulated by C++ objects. Did anyone do
this, commercially or personally? I am very interested
in the results.

Please reply with e-mail to minimize traffic

	Peter Kriens
ss
Newsgroups: comp.windows.open-look
From: kurt@dna.lth.se (Kurt Swanson)
Subject: Bugs in ol3 BINDER???
Keywords: aggrevation, besvrlighet
Organization: Lund Institute of Technology, Sweden
Date: Fri, 4 Sep 1992 07:26:55 GMT

In using the binder in ol3, I have encountered many problems.  Besides
frequently bombing out, I have noticed that it becomes confused when
you use relatively similar bindings - it applies changes to one
binding only to the other, or it applies the change to both.  Certain
bindings are permanent: i.e. if you try to select them, the program
dies - thus they cannot be changed, or even deleted!

Any ideas???


-- 
Kurt Swanson, Dept. of Computer Science,
Lunds universitet.  Kurt.Swanson@dna.lth.se
From: d3e758@bucky.oname (JE Pelkey)
Newsgroups: comp.windows.open-look
Subject: 1-plane bitmap bug
Date: 3 Sep 92 16:39:40 GMT
Article-I.D.: oracle.1992Sep3.163940.2790
Reply-To: d3e758@bucky.oname
Organization: Sun Microsystems


	I need to know the status of the OpenWindows bug where OW
	doesn't handle displaying a 1-plane bitmap on an n-plane
	display.  Was this only a bug in OW 2.0? Has it been fixed in
	3.0?



=================================
Jo Pelkey
Battelle Pacific Northwest Labs
phone: (509)375-6947
fax:   (509)375-3641
email: je_pelkey@pnl.gov
=================================
From: sinkwitz@ifi.unizh.ch (Rainer Sinkwitz)
Newsgroups: comp.windows.open-look
Subject: Re: PgUp / PgDn in OpenWIndows 3
Date: 27 Aug 92 14:19:35 GMT
Organization: University of Zurich, Department of Computer Science


> From: cflatter@nrao.edu (Chris Flatters)
> Subject: Re: mailtool text properties

>> Keyboard Bindings
> The new O'Reilly XView 3.0 Companion (thin & blue) lists the things you can
> rebind in OW3.0, and there's a long list.  For example, if you want a 
> lower-case e to delete to the end of line, add to your .Xdefaults file
>         OpenWindows.KeyboardCommand.EraseLineEnd: e
> and Lo! Behold!  It Shall Be So! :-)
>
> The list is in contrib/lib/xview3/lib/libxview/server/svr_kmdata.h if you
> want it; it's also in the manuals.
Newsgroups: comp.windows.open-look
From: steve@cs.anu.edu.au (Steven Ball)
Subject: Re: OpenWindows with Xsun instead of xnews
Reply-To: steve@cs.anu.edu.au
Organization: Computer Science Department, ANU, Australia
Date: Wed, 26 Aug 1992 23:54:26 GMT

In article 23781@cbnewsj.cb.att.com, dwex@cbnewsj.cb.att.com (david.e.wexelblat) writes:
>In article <1992Aug26.025455.6684@cs.anu.edu.au> steve@cs.anu.edu.au writes:
>> We run OW3.0 deskset tools (clients) quite successfully with the
>> MIT X11R5 server.
>> 
>
>I take it you haven't tried running pageview or AnswerBook recently?
>Anything that uses the PostScript side of XNeWS ain't gonna work with
>an MIT server.
>
>

Oh dear, did I forget to mention that?  Yes, my comments apply only to X-based 
deskset tools.  I eagerly await a X version of AnswerBook (but I'm not holding my breath!).
Note that the original discussion referred to attempting to run XView-based apps,
not NeWS apps:

From Konstantin Laufer's message:
> server.  I got an Xsun binary and am able to start up X under twm, but
> as soon as I start any xview-based program, I get the following
	            ^^^^^^^^^^^^^^^^^


I'll proof-read my postings more carefully in future!

---
Steven Ball, Department of Computer Science, ANU
E-mail: steve@cs.anu.edu.au		Ph. (06) 2495146
Snail-mail: GPO Box 4, CANBERRA CITY ACT 2600, AUSTRALIA
           He's not the messiah, he's a very naughty boy!

Newsgroups: comp.windows.open-look,comp.sys.sun.apps
From: staffan@ca.serum.kodak.com (Kenneth Staffan (x37507))
Subject: AutoRaise/OW 3
Organization: Clinical Products Division, Eastman Kodak Company
Date: Wed, 26 Aug 1992 13:42:14 GMT

I've been trying to use the AutoRaise and AutoRaiseDelay resources for
olwm.  The AutoRaise works, but setting AutoRaiseDelay doesn't seem to
have any affect.  Our sysadmin bounced this off someone at Sun, who
couldn't find any known bugs related to this.  I thought I'd try here to see
if anyone has this working as advertised, or has discovered any interactions
which cause it not to work.

Thanks,

Ken
---
staffan@serum.kodak.com
From: buzz@fsrg.bear.com (Buzz Moschetti)
Newsgroups: comp.windows.open-look
Subject: Re: DevGuide3 / XView3 bug?
Date: 28 Aug 92 01:05:19 GMT
Organization: Bear, Stearns & Co. Inc.
In-reply-to: gohel@sunburn.ec.usf.edu.'s message of 27 Aug 92 20:21:51 GMT

In article <1992Aug27.202151.15060@ariel.ec.usf.edu> gohel@sunburn.ec.usf.edu. (Himanshu Gohel (CS)) writes:
	[...deleted...]
   Digging around a bit, I found that the .G file and the _ui.c
   file both had the correct sizes that I specified.  I played
   around a bit and found that once dg3 generated code so that
   instead of explicit sizes, it used XV_EXTEND_TO_EDGE instead.
   But that didn't seem to change anything.

If you grab a sizing "handle" on a Devguide panel and over-extend the
banding box *beyond* the borders of the parent (command) frame, then
the size as stored in the .G file (and consequently generated in the .c 
file by gxv) will be XV_EXTEND_TO_EDGE.
From: harding@maxwell.hrl (John Harding)
Newsgroups: comp.windows.open-look
Subject: Resizing Scrolling Lists
Date: 28 Aug 92 01:55:29 GMT
Organization: Hughes Research Laboratories, Malibu, CA


Can someone please explain how to have a Scrolling List resize accordingly
when its underlying Control Area is resized.
 
I have looked at Dev3.0 and they don't seem to let you do that, even though 
they do this in the Dev3.0 connection manager.
 
 
Thanks,
 
John
 

Newsgroups: comp.windows.open-look,comp.sys.sun.apps
From: nh@cbnewsg.cb.att.com (nicholas.hounsome)
Subject: DevGuide 3.0 How to Do Notices?
Organization: AT&T
Date: Thu, 3 Sep 1992 07:47:43 GMT

How do I get a notice in guide?

Nick Hounsome 
AT&T Network Systems
Newsgroups: comp.windows.open-look