HDTenEightyP/NetNews huggingface dataset:
From: sarma@rtsg.mot.com (Raja Sarma)
Subject: Question on Sunview & OpenWindows ...
Organization: Motorola Inc., Cellular Infrastructure Group
Distribution: na
Date: Thu, 10 Sep 1992 18:45:12 GMT

Hi All,
	I am running Openwin 2 and would like to know why the
Sunview applications (clients) seem to always stay on the
"front" (ie. sunview application window/icons seem to sit 
on top of other windows of X etc...). I have tried 
different methods to get X window applications to the front
but in vain. Is this because openwindow (olwm, xnews, ...) are
not completely compatible with Sunview, etc ... or is this a BUG. ?
	
	Is there a way around this ?.  I like to use X windows/OpenWin but
out Org. have too many tools/applic. that are developed for
Sunview, thus I need to run both. I would like to use 
Openwin/Xwindows more permanently if I could rectify
the annoying problem of Sunview on OpenWin compatbility
issue. 

	Please mail your responses directly to me. I will post
a summary of the replies I got for the Net-World ...

Thanks

-- Raja

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Raja Sarma						Motorola Inc.,			+
+ Ph#: +1-708-632-6963				1501 W.Shure Dr.		+
+ E-mail: sarma@maize.rtsg.mot.com		Arlington Hgts, IL 60004	+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++	
Newsgroups: comp.windows.open-look
From: u8023534@cc.nctu.edu.tw ()
Subject: textsw in XView
Organization: National Chiao Tung University
X-Newsreader: Tin 1.1 PL4
Date: Mon, 7 Sep 1992 14:51:31 GMT

Hi,

        I write X-View program.

        I have a problem.

        I want to eliminate the 'default event handler' such as

        the 'Text Pane' Menu exists in 'TEXTSW' when we press

        the MENU button.


        If YOU have ever met relative problem, or YOU know

        how to resolve this problem. 

        PLEASE let me know,

	THANK YOU.

				u8023534@cc.nctu.edu.tw
Newsgroups: comp.windows.open-look,comp.fonts
From: kurt@dna.lth.se (Kurt Swanson)
Subject: Font problems - Sun, Open-look V3
Keywords: besvrlig
Organization: Lund Institute of Technology, Sweden
Date: Fri, 4 Sep 1992 21:31:30 GMT

I need a font which is eight-bit, iso-8859-1, clean, and fixed-spaced,
i.e. suitable for shelltool windows.  The only ones my ol3 system
seems to have that meet that criteria are Courier fonts - which, even
though they are quite ugly, I could deal with, were it not for the
fact that there are problems with them:

1:  One font, adobe-courier-medium-r-*-*-18-*, has a little dot below
    the right vertical segment of "h".

2:  Many sizes, weights, fonts, all have a problem when erasing
    certain wide and/or tall characters. If, for example, I repeatedly
    type "w", <delete>, <space>; I get a line of dots - remnants from
    the left-most pixel of the "w", when I should have a blank line.

2a: When I "more" through a file, everytime I hit <space> or <return>
    on a line in the file having less characters than the more's
    prompt, I get a vertical line, similar to "|", where the cursor
    was.

My questions are these:

1:  Is there any ftp'able font editor for ol fonts?

2:  What is the name of the default font in ol2 and ol3 (they are
    different) ?

3:  Why are some font specifications scaleable, i.e. the -scale
    extra_large option yields a larger font, and others not?

4:  Are there any other fonts, not included in the basic ol3 package,
    or updates to problem fonts (see above) available for ftp??

5:  Any other solutions to the above problems?

6:  Am I taking this font thing too seriously?

Any and all help would be greatly appreciated.  Thank you.
-- 
Kurt Swanson, Dept. of Computer Science,
Lunds universitet.  Kurt.Swanson@dna.lth.se
Newsgroups: comp.windows.open-look,alt.lucid-emacs.help
From: rouquett@Aig.Jpl.Nasa.Gov (Nicolas Rouquette)
Subject: until one can tooltalk pageview...
Reply-To: rouquett@aig.jpl.nasa.gov
Organization: NASA/Jet Propulsion Laboratory
Date: Tue, 8 Sep 1992 16:41:10 GMT

Here's a solution for a quick preview of postscript files particularly
useful within lucid emacs. 

Note: There is a significant difference in the rendering speed between
pageview and helpviewer. I don't know exactly why since I reckon that
both programs use the NeWS to process postscript.


First, define a new variable:

(defvar tex-print-extension ".dvi"
  "*Normal extension of tex files to be printed.
Normally .dvi to process tex files.
Change to .ps to for tex-print commands
to operate on the ps files instead.")

Then modify a bit the tex-print function:

(defun tex-print (&optional alt)
  "Print the .dvi file made by \\[tex-region], \\[tex-buffer] or \\[tex-file].
Runs the shell command defined by tex-dvi-print-command.  If prefix argument
is provided, use the alternative command, tex-alt-dvi-print-command."
  (interactive "P")
  (let ((print-file-name-dvi (tex-append tex-print-file tex-print-extension))
	test-name)
    (if (and (not (equal (current-buffer) tex-last-buffer-texed))
	     (file-newer-than-file-p
	      (setq test-name (tex-append (buffer-file-name)
					  tex-print-extension))
	      print-file-name-dvi))
	(setq print-file-name-dvi test-name))
    (if (not (file-exists-p print-file-name-dvi))
        (error "No appropriate `%s' file could be found" tex-print-extension)
      (tex-send-command
        (if alt tex-alt-dvi-print-command tex-dvi-print-command)
        print-file-name-dvi))))


Finally, customize at will, e.g.:

  (setq tex-dvi-print-command "dvips")
  (setq tex-alt-dvi-print-command
	'(format "dvips -p%s -l%s"
	  (read-string "First page: ")
	  (read-string "Last page: ")))
  (setq tex-dvi-view-command "helpopen")
  (setq tex-dvi-view-extension ".ps")

The net effect is that the same helpviewer process is used over and
over again to preview tex files. 

-- 
----------Nicolas Rouquette----------rouquett@aig.jpl.nasa.gov
    Artificial Intelligence Group
      Jet Propulsion Laboratory
Newsgroups: comp.windows.open-look
Distribution: world
Date: Wed, 9 Sep 92 09:32:40 EDT
From: fgreco@fis1026.shearson.com (Frank Greco)
Subject: Re: Mainting view on canvas resize

> Can anyone tell me how to reposition the current center
> of a canvas paint window (by changing SCROLLBAR_VIEW_START i think).
> I am having difficulty with the relationship between the various
> SCROLLBAR_* attributes, and the portion of the paint window
> currently visible. When the user changes the size of the paint window
> i wish to recenter it around the current center, so the currently
> visible objects remain visible. Anyone ?

	See WIN_BIT_GRAVITY (or CANVAS_FIXED_IMAGE).

> Also, how can I ignore the repaint events generated by the resize ? They
> are generated for the old canvas size, and thus are for the wrong
> areas. I would prefer to ignore them all until all resizing, repositioning
> of scrollbars, etc. is completed, then just repaint the whole paint window.

	This is logic you have to impart by writing your own resize 
	(or even repaint) proc.  You could look up CANVAS_RETAINED for
	*possible* performance increases first...

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

Newsgroups: comp.windows.open-look
From: mario@theglove.Canada.Sun.Com (Mario Dorion # extra topping $1.75)
Subject: Re: Very slow scrolling lists? HELP!!!!!!
Reply-To: mario@theglove.Canada.Sun.Com
Organization: Sun Microsystems du Canada
Date: Wed, 9 Sep 1992 13:28:36 GMT

In article 23205@hacgate.SCG.HAC.COM, dover@maxwellexpl.hrl.hac.com (Barbara Dover) writes:
>
>
>I am building a GUI with 64 scrolling lists on the same Popup window.
>Each of these scrolling lists has 130 elements. My problem is that
>when these scrolling lists are updated the system slows down
>dramatically.  
> 

What do you mean by updated? If you mean inserting/deleting many items
at once, you can speed things up considerably if you de-activate the
panel(s) before the update and re-activate it afterward. This tells
Xview not to redraw the panel after every single update operation:

	xv_set(my_panel, PANEL_INACTIVE, TRUE, 0);
	/* massive panel update */
	xv_set(my_panel, PANEL_INACTIVE, FALSE, 0);

You can also save A LOT OF TIME when creating your lists if you use
PANEL_LIST_INSERT_STRINGS to insert a large number of strings in a
single xv_set call instead of issuing a number of individual
PANEL_INSERT_STRING xv_set calls.

I hope these help. Please let me know.

Mario Dorion - Sun Montreal
	Quayle in 1996 -- Just say noe.


Newsgroups: comp.windows.open-look
From: al@netcom.com (Al)
Subject: ld.so and a path environment variable
Date: Sat, 12 Sep 92 06:37:48 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: usa

I have been trying to get R5 and the R4 associated with OpenWindows to coexist. Is there an environment variable that I can set which specifies a path for
ld.so to search for shared libraries?  I'd like to get OpenWindows to search
its X11 path before it looks at the main R5 path.


thanks, al
From: news@ai.mit.edu (news)
Newsgroups: comp.windows.open-look
Subject: Second try: How do I make an item LOOK inactive but KEEP IT ACTIVE in XView or LispView?
Keywords: nn
Date: 8 Sep 92 17:01:50 GMT
Organization: MIT Artificial Intelligence Lab

>Hi, Folks
>    I'm trying to make, among other things, a tristate check box.  I'd like the
>box to toggle between on, off, and inactive (or stippled out).  In Xt I'd just
>set the widget's backgroundPixmap to an Xmu stipple pixmap.  How do I do this
>in XView (or, even better, in LispView)?
>
Several people responded (by email) to my request by telling me how to make an
XView item INACTIVE.  I guess I wasn't specific enough in my post.  I know how
to make an XView item inactive.  What I DON'T know how to do is make it LOOK
inactive but still respond to [mouse button] events!  I need the item to remain
sensitive to these so that the user can "turn it back on" after he's "turned it
off".  This will give me a tristate checkbox that can be set to one of YES, NO,
or DON'T CARE.
From: gillett@rice-chex.ai.mit.edu (Walter E. Gillett)
Thanks again for any help you can give me.
---------------------------------------------------------------
Joe Shapiro (NOT Walter Gillett, though I'm using his account!)
Please send replies to:                        joe@ConSolve.com
From: sg04@ploni.gte.com (Yechezkal Shimon Gutfreund)
Newsgroups: comp.windows.open-look
Subject: tooltalk without X
Date: 8 Sep 92 18:49:57 GMT
Reply-To: sgutfreund@gte.com
Organization: GTE Laboratories, Waltham MA

Is there a way to build a tooltalk applications without
linking in the X11, olgx, and lxview libraries?
I get an undefined global errors when I try
to leave out these libraries. Although the code
does not make reference to the X routines.

SUN OS 4.0.2 OW3.0


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Yechezkal Shimon Gutfreund		 		  sgutfreund@gte.com
GTE Laboratories, Waltham MA			    harvard!bunny!sgutfreund
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Newsgroups: comp.windows.open-look
From: u8023534@cc.nctu.edu.tw ()
Subject: icon?
Organization: National Chiao Tung University
X-Newsreader: Tin 1.1 PL4
Date: Tue, 8 Sep 1992 11:06:07 GMT

Hi,
	I write XView program.
	I want to write a program which behaves like the icons in 
    the "File Manager". That is, there are some icons in my program,
    when the icon is selected, it will change its color; if click the 
    mouse button twice, some action attached with this icon will be
    executed.
	I don't know how to do it. Can you help me?

						Weng
						(u8023534@cc.nctu.edu.tw)
Newsgroups: comp.windows.open-look
From: roland@jts.com (Roland Knight )
Subject: de-iconify problem
Organization: JTS Computer Systems Ltd.
Date: Tue, 15 Sep 1992 18:10:04 GMT

I am using OLIT 3.0 and am trying to de-iconify a top level shell
window.  The following code does de-iconify the window but it only
does so once.  After further iconifications the following code has no
effect on the window.
    Arg args[1];
    XtSetArg(args[0], XtNiconic, TRUE);
    XtSetValues(widget, args, 1);

Is this a bug in OLIT or is there another way to de-iconify a window?

Roland Knight
JTS Computer Systems
roland@jts.com

Newsgroups: comp.windows.open-look
From: etxjogg@solsta.ericsson.se (Johan Hogberg  TX/DKF)
Subject: Help!!! My TERMSW is crashing!
Organization: Ericsson
Date: Fri, 11 Sep 1992 13:49:13 GMT

I have an application that uses an TERMSW to log the printouts from another
program. The printouts are redirected to the TERMSW using ttysw_output().

The problem occurs when the log file on /tmp reaches the size of about 1M 
(sometimes less and sometimes more), the tool vanishes with a segmentation 
violation. If I disable the scrollbar everything works fine.

I found out that the SIGSEGV is sent when calling the ttysw_output() function.

Is this a known problem?
Has anybody a solution or workaround?

Thanks,
	Johan

/********************************************************
Johan Hogberg, Software Design Support and Methods			
Ericsson Telecom AB, Karlstad, Sweden
Mail  : etxjogg@solsta.ericsson.se	
********************************************************/
From: adc@tardis.msu.edu (Alan D. Cabrera)
Newsgroups: comp.windows.open-look
Subject: UITV2 and Slingshot 1.0
Date: 7 Sep 92 00:57:52 GMT
Reply-To: adc@tardis.msu.edu
Organization: Michigan State University


Has anyone successfully used the SlingShot package with UITV2?  I'd
like to get an array of icons in my canvas shell.  I tried hacking
ComponentDisplay so that it creates CANVAS_SHELLs instead of CANVAS but
the array doesn't seem to respond to any events.


---
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: jas@ISI.EDU (Jeff Sullivan)
Newsgroups: comp.windows.open-look
Subject: OLVWM Grab Keys?
Date: 9 Sep 92 21:16:14 GMT
Distribution: comp
Organization: USC-ISI


Is there any functioning way to shut off the VirtualGrabKeys in OLVWM?

jas
--
--------------------------------------------------------------------------
Jeffrey A. Sullivan             | Research Scientist et al.
jas@isi.edu (Internet)          | Information Sciences Institute
72511,402    (Compuserve)       | University of Southern California
From: sinan@Mtesol.boeing.com (Sinan Karasu)
Newsgroups: comp.windows.open-look
Subject: XView port on concurrent
Date: 11 Sep 92 19:58:04 GMT
Distribution: world


 Hi, 
I've ported XView3 to a concurrent 7000 ( i'ts been a couple
of months now) and have a couple of nuisances. Before I dig into
the problem , I want to see if anybody have run into this on
XView ports before..
In the following the application is generated by devGuide

1) We have a text field that looks like the following

    Part No: _________________________
    Serial : _________________________

   Now when it comes up cursor is supposed to be on the 
   Part No field and on a Sun it is. However on the 
   concurrent we have to click on the Part No field for 
   it to work. BTW the XView application is running under
   Motif. (Is this an Input Focus problem?)
   Where should I look?
2) When the application starts up we get the following message

   XView warning: Problems setting default modifier mapping(Server package)
   XView warning: Problems setting default modifier mapping(Server package)

   Any ideas ????

3) (This is a Motif question really)
   when the Application (outline) window comes up I have 
   to position it with the cursor and click. I just want it to pop up
   to the coordinates specified by the application. How do I specify tha ?

4) When we generate a Term Pane with devGuide then that term pane gets all the
   stdout stuff. I guess this is done by setsid in tty_init routine
   well, concurrent does not have a setsid function. 
   cflatter@nrao.edu (Chris Flatters) suggested that I should look at 
   setpgrp() routine . So we created a function

   int setsid()
   { return setprgp(0,0);}

   The reason for 0,0 is that bsd specifies :
.......................................
SYNOPSIS
     int getpgrp(pid)
     int pid;

     int setpgrp(pid, pgrp)
     int pgrp;
     int pid;

     ......
     setpgrp() sets the process group of the  specified  process,
     (pid)  to  the  process  group specified by pgrp.  If pid is
     zero, then the call applies to the  current  (calling)  pro-
     cess.   If  pgrp  is zero and pid refers to the calling pro-
     cess, setpgrp() behaves identically to setsid(2V).
     ......

     So anyway we did that and unfortunately on the concurrent it did not
     work... stdout stuff still goes to the xterm that launched the 
     application... What am I doing wrong ???

  Please respond if you have the slightest idea as to what is happening....

  Sinan
Xref: sparky comp.windows.open-look:3752 alt.toolkits.xview:838
From: adc@tardis.msu.edu (Alan D. Cabrera)
Newsgroups: comp.windows.open-look,alt.toolkits.xview
Subject: Slingshot 1,0 Bug?
Date: 7 Sep 92 18:45:51 GMT
Reply-To: adc@tardis.msu.edu
Organization: Michigan State University


ACTION_SELECT and ACTION_ADJUST events don't seem to be handled
correctly in Slingshot 1.0.  I'm using Slingshot 1.0 with Guide 3.0.
I've created a canvas shell with an array tile with icons.  The icons
pass the press and release of the ACTION_ADJUST; the array tile, or
canvas, just pass the press of the ACTION_ADJUST.  None of the
components pass the release of the ACTION_SELECT; the components pass
the press of ACTION_SELECT just fine.  BUT, icons will pass an
ACTION_SELECT release when I press select over an icon, move the mouse
a bit, then release.


---
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
Newsgroups: comp.windows.open-look
From: polvino@ssd.kodak.com (Joe Polvino)
Subject: Looking for FREE openwin developer pgm
Originator: polvino@vulcan
Organization: Eastman Kodak
Distribution: usa
Date: Fri, 11 Sep 92 20:09:52 GMT

I'm in the process of trying to keep track of our software development
progress with respect to version numbers, document reviews and meetings,
as well as project growth.  I originally started drawing specialized
forms which will be filled in by the project manager, but had a brainstorm
the other day.  Why not use the gui of openwin and have the whole thing
online for all to see?

So I'm looking for either:
   a) a free openwin developer's tool which allows placement of on/off 
      buttons and text, or
   b) a ready-made application which has exactly what I'm trying to
      develop.

Since choice b) is probably pretty slim, I was hoping someone could point
me in the right direction to find a free tool.  If such an animal exists,
I would appreciate getting the ftp site, or other directions.

We run openwin version 2 if that is important.  Any help appreciated!

-- 
-------------------------------------------------------------------------------
 Joseph S. Polvino     | polvino@ssd.kodak.com  | "Klingons do not allow them-
 Eastman Kodak Company |------------------------|  selves to be ... PROBED."
 Phone: 716-588-0659   |        POTATOE         |     - Lt. Worf, "Violations"
Newsgroups: comp.windows.open-look
From: cflatter@nrao.edu (Chris Flatters)
Subject: Re: Drawing Lines in Panels
Reply-To: cflatter@nrao.edu
Organization: NRAO
Date: Mon, 14 Sep 1992 22:35:09 GMT

In article 27727@nosc.mil, detorres@nosc.mil (Andy de Torres) writes:
>I would like to draw horizonal lines in an XView panel
>to separate groups of panel items.  I tried getting
>the XID and drawing into the window, but it didn't
>seem to have any effect (no lines, no errors).

You would have to install your own PANEL_REPAINT_PROC to do this.

An easier procedure is to group your controls into seperate, adjacent
panels and set WIN_BORDER to TRUE.

	Chris Flatters
	cflatter@nrao.edu

Newsgroups: comp.windows.open-look
From: scott@statsci.com (Scott Blachowicz)
Subject: OpenWindows v2: what is OPEN LOOK default font?
Reply-To: scott@statsci.com
Organization: Statistical Sciences, Inc., Seattle, WA USA
Date: Tue, 8 Sep 1992 22:43:38 GMT

Hi-
   I'm trying to run an OpenWindows v2 (OLIT v2) client against an X11R5
server. It looks like the server has the lucida fonts and the olbutton/olglyph
stuff, but I still get this message when I start up this client:
   OPEN LOOK Toolkit Error in application "...":
    Could not find the default OPEN LOOK font

Any idea what font it is complaining about? What is it looking for? Or what
resource can be used to specify the font to look for in this case? I've got
these in my xrdb'd resources:
    OpenWindows.ButtonFont:	lucidasans-12
    OpenWindows.IconFont:	lucidasans-10
    OpenWindows.TextFont:	lucidasans-italic-14
    OpenWindows.TitleFont:	lucidasans-bold-12
    OpenWindows.CursorFont:	olcursor
    OpenWindows.GlyphFont:	olglyph-12

An explanation or RTFM(I'm missing some of the M's) pointer would be greatly
appreciated.

Thanx,
--
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
Newsgroups: comp.windows.open-look
Distribution: world
Date: Wed, 9 Sep 92 11:22:05 EDT
From: fgreco@fis1026.shearson.com (Frank Greco)
Subject: Re: ToolTalk, PageView, Filemgr

> You can also do
> 	programs | that | generate -PostScript | pageview -
> to get pageview to read stdin.
> You can't edit the postScript for some reason, but you can still Print.

	Cuz the PS is coming from stdin (ie, from a pipe); there is no
	file to edit.  However the authors of pageview could have saved
	the incoming PS into a temp file though...

	Frank G.

=-=-=-=-=-=-=-=-=-=

Newsgroups: comp.windows.open-look
From: detorres@nosc.mil (Andy de Torres)
Subject: Drawing Lines in Panels
Organization: Naval Ocean Systems Center, San Diego
Distribution: us
Date: Mon, 14 Sep 1992 17:06:20 GMT

I would like to draw horizonal lines in an XView panel
to separate groups of panel items.  I tried getting
the XID and drawing into the window, but it didn't
seem to have any effect (no lines, no errors).

BTW, I'm running OpenWidows 3.0.

Thanks in advance.

-Andy
detorres@nosc.mil
Newsgroups: comp.windows.open-look