HDTenEightyP/NetNews huggingface dataset:
From: greer@sunland.gsfc.nasa.gov (Greg Greer)
Subject: Re: X11R5 problems with OpenWindows 3.0
Organization: NASA Goddard Space Flight Center
Date: Fri, 16 Oct 1992 18:24:36 GMT

In article <9210031925.AA12075@cs.columbia.edu> dupuy@cs.columbia.edu
(Alexander Dupuy) writes:

   I tried running with the X11R5 libraries at the front of my
   LD_LIBRARY_PATH, and had a few problems with OpenWindows 3.0.  Most
   notably, the Compose LED on the keyboard would go on, and stay on,
   and the Compose key didn't work.  This might not be a show stopper
   for some people, but I use accented characters not infrequently, so
   I went back to leaving $OPENWINHOME/lib at the start of
   LD_LIBRARY_PATH (which $OPENWINHOME/bin/openwin normally forces
   anyhow).

I run without LD_LIBRARY_PATH being set at all.  My workstation is set
up with the X11R5 xdm controlling logins and LD_LIBRARY_PATH is never
set.  The OpenWindows programs expect to find their libraries in
/usr/openwin/lib, I think, so, as long as they are installed there,
you should have no problems.  (I have not tried installing OpenWindows
at any other location.)  Similarly, if your X is properly built and
installed, the programs should look in the directory you have
designated to find the libraries.

Note that I have found when running "cdmanager" on a CD-ROM that it
cannot find the libraries and LD_LIBRARY_PATH must be set to the
OpenWindows library directory for it to work.

Also note that LD_LIBRARY_PATH is set in the "openwin" script.  This
must be modified if you want to use it and have the environment
variable unset.

Greg
-----------------------------------------------------------------------------
Gregory G. Greer (301) 286-5999		  |  under contract to:
August Automation, Software Developers    |  Code 743
8781 Oxwell Lane, Laurel, Maryland 20781  |  NASA Goddard Space Flight Center
(301) 470-4020				  |  Greenbelt, Maryland 20771
-----------------------------------------------------------------------------


From: kingsley@hpwrce.mayfield.hp.com (Kingsley Morse)
Date: Fri, 9 Oct 1992 15:47:27 GMT
Subject: Re: Please Help
Organization: HP Western Response Center
Newsgroups: alt.toolkits.xview

Oops! My apologies for posting my previous "Please Help" survey to this
group. It was an honest mistake and won't happen again.

Kingsley
From: rickg@eng.sun.com (Richard M. Goldstein)
Newsgroups: alt.toolkits.xview
Subject: Re: WIN_EVENT_PROC broken in xv3 for panels?
Date: 12 Oct 92 13:29:33 GMT
Reply-To: rickg@eng.sun.com
Organization: SunSoft, Inc.
NNTP-Posting-Host: irondude
In-reply-to: ericp@netcom.com's message of Thu, 8 Oct 1992 22:11:35 GMT


   Newsgroups: alt.toolkits.xview
   From: ericp@netcom.com (Eric Pederson)
   Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
   Date: Thu, 8 Oct 1992 22:11:35 GMT

   We just upgraded to OpenWindows 3.0 and, hence, Xview 3.0.  It
   now seems that setting a WIN_EVENT_PROC on a control panel has
   no effect.  Has anyone else noticed this problem?


yep.


<<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: alt.toolkits.xview
From: ericp@netcom.com (Eric Pederson)
Subject: WIN_EVENT_PROC broken in xv3 for panels?
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 8 Oct 1992 22:11:35 GMT

We just upgraded to OpenWindows 3.0 and, hence, Xview 3.0.  It
now seems that setting a WIN_EVENT_PROC on a control panel has
no effect.  Has anyone else noticed this problem?

-- 
Eric Pederson					(W) 510-210-8890
ericp@netcom.com
Newsgroups: alt.toolkits.xview
From: ajgam@sabrina.inesc (Antonio Jorge Gomes de Almeida Marques)
Subject: Re: Please Help
Organization: INESC (Inst. Eng. Sistemas e Computadores) -LISBOA -PORTUGAL
	<1992Oct8.164416.23125@organpipe.uug.arizona.edu>
Date: Mon, 12 Oct 1992 11:31:09 GMT

In article <1992Oct8.164416.23125@organpipe.uug.arizona.edu> apoyner@as.arizona.edu (Tony Poyner) writes:

  [> Two questions for you, Kingsley:
  [>
  [> 1: What has this to do with xview?
  [>
  [> 2: What is your purpose in soliciting responses to your questionaire,
  [>     and to what use will you put these responses?



   He probably want's to know what kind of .gif & .jpg files should he
post .... :-)
--
*--------------------[ ajgam@sabrina.inesc.pt ]--------------------*
|   \_\_\_     \_\_\_\_      \_\_\_\_    \_\_\_    \_      \_      |
|  \_      \_           \_  \_          \_      \_  \_\_  \_\_     |
|   \_\_\_\_\_   \_\_    \_  \_    \_\_  \_\_\_\_\_  \_  \_  \_    |
|    \_      \_   \_      \_  \_      \_  \_      \_  \_      \_   |
|     \_      \_     \_\_\_      \_\_\_    \_      \_  \_      \_  |
|  |============================================================|  |
*--[ INESC - Instituto de Engenharia de Sistemas e Computadores ]--*
   |============================================================|
From: apoyner@as.arizona.edu (Tony Poyner)
Newsgroups: alt.toolkits.xview
Subject: Re: Please Help
Date: 8 Oct 92 16:44:16 GMT
Reply-To: apoyner@as.arizona.edu
Organization: MMT Observatory, Univ.of Arizona

Two questions for you, Kingsley:

1: What has this to do with xview?

2: What is your purpose in soliciting responses to your questionaire,
    and to what use will you put these responses?

---
Tony Poyner                               apoyner@as.arizona.edu
Multiple Mirror Telescope Observatory     Tel   (602) 621-5185
Univ. of Arizona, Tucson, AZ 85721        Fax   (602) 670-5740
Newsgroups: alt.toolkits.xview
From: ogden@nmsu.edu (Bill Ogden)
Subject: where is devGuide's file dialog code?
Organization: Computing Research Lab
Date: Thu, 15 Oct 1992 00:19:21 GMT

A while back someone posted the location of this source.  Could
a kind soul email me this location?  Thanks
--
Bill Ogden
Computing Research Lab              voice:   (505) 646-6222 
Box 3CRL                            email:   ogden@nmsu.edu
New Mexico State University    
Las Cruces, NM  88003
From: whiteley@snake.ssc.gov (James Whiteley)
Newsgroups: alt.toolkits.xview
Subject: Scrolling Lists
Date: 15 Oct 92 20:28:32 GMT
Organization: Superconducting Super Collider Laboratory

First of all, if this question has already been answered could someone please
direct me to the location.  I tried listing the old articles but my news server
didn't have all of them.

Allright, now for the question, I would like to create a panel scroll list
by inserting and deleting items from the list as necessary.  Initially the
panel_list does not have any strings, but I would like to xv_set the strings
later.  I tried the examples in Xview Programming Manual, but no help.

email is fine to reduce usenet traffic.

Thanks in advance.

--James

================================================================================
whiteley@slug.ssc.gov                                 -----PHONE-----
James Whiteley  MS 2000                             WORK: 214-708-6341
Superconducting Super Collider Laboratory           HOME: 214-283-2948
2550 Beckleymeade                                   FAX : 214-708-6354
Dallas, TX 75237
================================================================================
#include <disclaimer.h>
Newsgroups: alt.toolkits.xview
From: rohit@NeoSoft.com (Rohit Mehrotra)
Subject: Drag & Drop
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Fri, 09 Oct 1992 04:09:01 GMT

XView

Can someone please tell me how to use the DND facility with XView 3
so that I can give textedit the name of the file to be read rather
than sending it a string ?

Ive implemented Drag n drop for my application and I can quite happily
accept data from textedit (either by pasting it in or by reading
the file when I drop onto my drop-site target).

However doing the reverse seems to rely on undocumented Sun facilities.
Specifically I am trying to understand the use of the TARGET atoms.
Normally data comes in as a XA_STRING, however textedit uses the
_SUN_HOST_NAME (is that spelled right?) and _SUN_FILE_NAME atoms
amongst others. If you do a strings of textedit or do an xlsatoms
you will see lots of _SUN* atoms which are not documented.

How can I copy a file to textedit without sending it the contents of
the file via the X-server.

The problem is that if I send anything to textedit it inserts it into
the current file rather than editing the new file I want it to.

If anyone knows of any example programs which use DND and can happily
talk to textedit this way then please point them out to me. 

Anyone know of any archives with good examples of the XView tricks of
the trade ?

I find the O'reilly book really a pretty poor document (Vol 7 rev 3). 
The sources from X11R5/contrib are NOT the same as suns so
they arent too helpful either.

Thanks in advance


Rohit Mehrotra

Please EMAIL me your answer and I would post a summary.
-- 
Rohit Mehrotra
------------------------------------------------------------------------------
VITAL				| 	10755 Meadowglen Lane, #238
Ph: 713-781-7406		| 	Houston, TX 77042.
From: ctan@solomon.technet.sg (Tan Chee Weei)
Newsgroups: alt.toolkits.xview
Subject: Q: How to get insertion point line number
Date: 12 Oct 92 11:20:06 GMT
Organization: National University of Singapore
X-Newsreader: TIN [version 1.1 PL6]


I've looked at the xview manula (for Ver 2) and all I can find is how
to get the insertion point's index from a TEXTSW. There is a function
that returns an index of the 1st char when given a file line number but
no function that does the reverse. Now, how do you determine which file
line the insertion point is currently in or alternatively, how do you
determine which file line an index is currently on. Thanks.

CW
Newsgroups: alt.toolkits.xview
From: kelley@open.dal.ca (Dan Kelley)
Subject: how to implement postscript canvas?
Keywords: xview postscript
Organization: OPEN, Dalhousie University, Halifax, NS, Canada
Distribution: na
Date: Fri, 9 Oct 1992 23:06:20 GMT

Is there a way, in openwindows 3.0, to create a window/canvas in which
I can draw using PostScript (as opposed to X) commands?  I need this
because my application needs the high power of PostScript -- e.g.,
rotated text, text at any font size, etc.  I realize that there might
be some PostScript-to-X code out there (ghostscript, interviews, ...),
but I'd like to take advantage of the Sun NeWS capability.

Even a name of a manual or product (Sun's TNT??) would help me a lot,
since I'm completely at a loss here.  I see that Sun's devguide seems
to support PostScript panels, so I figure this shouldn't be difficult.

Please respond by email; I'll post if there is sufficient interest.



-- 
Dan Kelley, Oceanography Department   |  kelley@open.dal.ca
Dalhousie University                  |  {uunet watmath}!dalcs!kelley
Halifax, Nova Scotia, CANADA, B3H 4J1 |  (902) 494-1694
From: chalekcl@crd.ge.com (Carl Chalek)
Newsgroups: alt.toolkits.xview
Subject: Re: Q: How to get insertion point line number
Date: 15 Oct 92 12:50:22 GMT
Reply-To: chalekcl@crd.ge.com
Organization: GE Corporate R&D

In article 8816@nuscc.nus.sg, ctan@solomon.technet.sg (Tan Chee Weei) writes:
>
>I've looked at the xview manula (for Ver 2) and all I can find is how
>to get the insertion point's index from a TEXTSW. There is a function
>that returns an index of the 1st char when given a file line number but
>no function that does the reverse. Now, how do you determine which file
>line the insertion point is currently in or alternatively, how do you
>determine which file line an index is currently on. Thanks.

The following code fragment should do approx. what you want.

It finds the range of visible lines in the window (first - last), and the index
(point).  Then it loops through the visible lines until it finds the line that
point is on.  Note this works with XView 3.  I'm not sure about 2.

CLC



	(void)textsw_file_lines_visible(textsw, &first, &last);
	point = (Textsw_index)xv_get(textsw,TEXTSW_INSERTION_POINT);
	line = -1;
	for(i = first; i <= last; i++) {
	    i1 = (Textsw_index)textsw_index_for_file_line(textsw, i);
	    i2 = (Textsw_index)textsw_index_for_file_line(textsw, i+1);
	    if(point >= i1 && point < i2) {
		line = i+1;
		break;  /*  out of for loop  */
	    }
	}
	if(line < 0 ) line = last+1;
	sprintf(buf,"(Point is at vector number %4d)",
		((line-1)*(int)xv_get(repeat_factor_numtext,PANEL_VALUE))+1);
	xv_set(vectornum_message,
	       PANEL_LABEL_STRING, buf,
	       NULL);
 
Xref: sparky alt.toolkits.xview:958 comp.windows.x:17822 comp.windows.open-look:4119
From: gohel@zeus.csee.usf.edu (Himanshu Gohel)
Newsgroups: alt.toolkits.xview,comp.windows.x,comp.windows.open-look,comp.windows.x.openlook
Subject: NEED: XView - Double-valued slider, dial object
Keywords: for Xview - double-valued slider etc.
Date: 9 Oct 92 15:19:29 GMT
Reply-To: gohel@eggo.csee.usf.edu
Followup-To: poster
Organization: U of South Florida, Dept. of Computer Science

Those who've used SunVision know what objects I'm talking about.
I'd like to get my hands on these objects for XView:

1. Double valued slider that I can use to set a low and high
   value in one slider.
2. Dial object that can be useful for specifying degree of rotation
3. Thumb-wheel (ala SunVision) - using LMB/RMB increases/decreases
   the value of the digit that the mouse is pointing to
4. Axes orientation object (again like SunVision) - useful to
   interactively speficy a 3D viewpoint

Does anyone have such code?

--
Himanshu Gohel, Gohel@Eggo.csee.usf.edu
U of South Florida, Tampa, FL 33620-3140
Newsgroups: alt.war
From: COWAN@ssrl01.slac.stanford.edu (Paul L. Cowan)
Subject: Re: Greatest Military Blunders of All Time
Organization: Pacific-Plate Residents (Motto: 54-40 or Bust!)
Date: Fri, 16 Oct 1992 19:05:46 GMT
X-News-Reader: VMS NEWS 1.24

In <6030@vexpert.dbai.tuwien.ac.at> mst@vexpert.dbai.tuwien.ac.at writes:

:  From article <1992Oct15.213335.15476@rayssd.ssd.ray.com>, by m1b@rayssd.ssd.ray.com (Barone):

:  > 	I think that a case could be made that Pearl Harbor was too
:  > successful to the Japanese.
:  
:  I would say this is true for Nagumo, who decided he had done enough to
:  sail home, but not for the pilots.  The warships were intended as the
:  primary targets.  The Japanese bombed and strafed a lot of other
:  installations, airfields, barracks, but were not really interested in
:  supply stuff as long they had weapons (aircraft or ships) to destroy,
:  a mindset which they held throughout the war.  As it happened, the
:  flyers started thinking about the other installations once the
:  battleship targets had been effectively attacked.  

One thing that hasn't been mentioned is that the Battleship Utah was an
obsolete hulk with most of its superstructure removed. I think it was actually 
being used as a target ship. The Japanese pilots mistook the big, nearly
flat-topped ship for a carrier and wasted a big fraction of their bombs on it.
The Utah and the Arizona are the only two battleships that remain on the
bottom at Pearl. (My distant cousin by marrage was the bugle boy on the 
Utah when it was commisioned in 1911).



---------------------------------------------------------------------------
P. L. Cowan     Please send replies, comments etc. (no flames thank you) to 
COWAN@ANL.GOV  (I'm posting from my own account, but not the preferred one)
        "Gentlemen, you can't fight in here! This is a War Room!"
from _Dr._Strangelove_or:_How_I_Learned_to_Stop_Worrying_and_Love_the_Bomb_
---------------------------------------------------------------------------
From: sdr57@cas.org
Newsgroups: alt.war
Subject: Re: Greatest Military Blunders of All Time
Date: 8 Oct 92 17:22:07 GMT
Organization: Chemical Abstracts Service, Columbus, Ohio

In article <Oct.8.11.24.10.1992.16738@dropout.rutgers.edu> mcgrew@dropout.rutgers.edu (Charles Mcgrew) writes:
>
>       sdr57@cas.org (Stanley "Ya nee speon" Roberts) writes:
>       Just an aside - there is some reason to think Custer himself may have
>       been wounded or killed relatively early on in the "last stand."
>       This is based on the apparent movements of his group (as determined
>       by post battle (this century) ballistics studies of who was shooting
>       from where - they looked at bullets found on the battlefield).
>
>... yes, according to some witnesses, parts of the 7th made it as far
>as the river, then someone was hit or killed actually in the river
>(the supposition is that it was Custer himself), and they retired back
>to the hills.  Under this assumption, the actual "last stand" leader
>was one of the other Custers (probably Tom), or maybe Keogh.  The
>difficulty is that Custer was found with one the last groups alive,
>rather than at the river, or Medicine Tail Coulee, or someplace else.
>
>   Also, it seems unlikely (to me, anyway) that Custer would go
>himself with only a few troops to the river (if Custer was leading,
>he'd take 'em all); and also unlikely that the hostiles would be so
>courteous as to take his body back up to the place of the last-stand
>from wherever he fell.
>
>Charles

For what it's worth:
On the body being at the last stand -
My recollection is that the argument for this happening was that
(a) Custer might have been still alive and (b) that his brother
would have been unwilling to abandon his body to the mercies of
the hostiles, who were known to mutilate bodies, and so the troopers
took the body with them under orders.

(I have no opinions on this one way or another - I'm reporting
what I remember from a long ago article - I do share the common
morbid fascination with this long-ago massacre, and I enjoy
reading information from those better informed on it than I)

******************************************************************************
Renegade academician. They're a dangerous breed when they go feral,
academics are...a chemist, too.
		    -(James P. Blaylock in "Lord Kelvin's Machine")

My organization hasn't agreed with any of my opinions so far, and
I doubt they'll start now.

Stanley "Ya nee speon" Roberts
Newsgroups: alt.war
From: cbj005@cch.coventry.ac.uk (The Mistress)
Subject: Re: Greatest Military Blunders of All Time
Organization: Coventry Poly/Uni(Take your pick)
Date: Tue, 6 Oct 1992 12:00:21 GMT

In article <1992Oct1.143035.3313@pmafire.inel.gov> tobeor@pmafire.inel.gov (Ray Hoover) writes:
>In article <1992Sep29.160011.5088@ecl.psu.edu> clf@ecl.psu.edu writes:
>>In article <BvAIB0.ErM@news.cso.uiuc.edu>, gt38091@uxa.cso.uiuc.edu (Greg ) writes:
>>
>>
>>	World War II
>>
>>	The German failure to neutralize Malta while continuing with the
>>campaign in North Afrika.  Had Malta been neutralized and further, occupied
>>by the Axis, British shipping would have suffered loses and the Afrika Korp
>>would have received almost full supplies.  Therefore, perhaps punching
>>through to Cairo and the Suez Canal.
>>

On a side note.....Montgomerys Eigth Army attacking Wittmans Tigers at
Villers Bocage in 1944.



-- 
|  The /\/\istress of /\/\anipulation   |      cbj005@cch.cov.ac.uk     |
|           Big Red Lobsters and Purple Hedgehogs unite!                |
|         "Shoot first, fingerprint the corpse later..."  2xs           |
|      Cannot recover from virus....rm: remove /freshers/all (y/n)      |
From: mst@vexpert.dbai.tuwien.ac.at (Markus Stumptner)
Newsgroups: alt.war
Subject: Re: What if there had been no Pearl Harbor?
Date: 9 Oct 92 11:08:02 GMT
Organization: DB and ES Subdivision, TU Vienna

From article <Oct.8.17.25.33.1992.17085@dropout.rutgers.edu>, by mcgrew@dropout.rutgers.edu (Charles Mcgrew):
> 	(b) the attack on Pearl Harbor had been timed to happen on the
> 	day after the declaration?
 
> ... some difference, though not perhaps like you think; the attack 
> would have been significantly less effective.  Once the Japanese 
> declared war, the USN would have put to sea.

I agree on that.  It does not that much of a difference, since the
Japanese also assumed that they would be able to fight the US fleet
successfully when it sailed westward to defend the Philippines.  Pearl
Harbor was intended to reduce the risks.

I also recall some US admiral pointing out that Pearl Harbor had the
advantage that it was easier to raise a sunk battleship in 60 feet of
water than in 6000.

> At home, things would have probably not have
> been very different, so long as the first attack was carried out by
> the Japanese.

That, actually, is the answer I was interested in.

> to drop on Japan in the spring of 1946.  A reading of US public
> sentiment in this time period doesn't really show any possibility of a
> flagging of spirit; we were in it for the long haul.

Yes, but sentiment is influenced by victories and defeats, so you're
judging a hypothetical situation by what was the case when it did not
come to pass.  Your argument is probably still valid for Midway, but
I'm not sure it is for Pearl Harbor.  Anyway, I gues this is as
definite an answer as I can expect.

-- 
Markus Stumptner                                mst@vexpert.dbai.tuwien.ac.at
University of Technology Vienna                 vexpert!mst@relay.eu.net
Paniglg. 16, A-1040 Vienna, Austria             ...mcsun!vexpert!mst
From: m1b@rayssd.ssd.ray.com (Barone)
Newsgroups: alt.war
Subject: Re: Greatest Military Blunders of All Time
Date: 15 Oct 92 21:33:35 GMT
Organization: Raytheon Submarine Signal Division, Portsmouth, RI

In article <6028@vexpert.dbai.tuwien.ac.at> mst@vexpert.dbai.tuwien.ac.at
(Markus Stumptner) writes:
> The reason why
> the Japanese did not mount a third attack (which the pilots wanted)
> was that Nagumo was deathly afraid that the US would be expecting them
> and come looking for his carriers.  After the first two waves had
> attacked successfully, he just wanted to get out of strike range fast.

	I think that a case could be made that Pearl Harbor was too
successful to the Japanese.  If one hits the enemy twice, inflicting
heavy damages while incurring minor damages, one may be loathe to
risk his resources on a third roll of the dice (the Japanese didn't
know where the US carriers were).  If it had been more of a drag out
fight, the pilots may have gone for any targets of opportunity,
including the storage tanks and drydock facilities.  Also, if the
results weren't up to what the Japanese hoped for after two attacks
(such as US battleships making it to open sea) but they still had the
resources to continue to press the attack, they probably would have.

	Take a look at Dunkirk, as well.  The speed of the invasion
of France exceeded what the Germans expected, and Hitler got cold feet
in front of Dunkirk.  This was a blunder that would haunt him for the
rest of the war, as many of the troops that escaped Dunkirk would fight
again in Greece, Crete, and North Africa.
-- 
Joe Barone
m1b@rayssd.ssd.ray.com
Gentlemen!  You can't fight in here!  This is the War Room!