HDTenEightyP/NetNews huggingface dataset:
From: Jan Stein <jan@math.chalmers.se>
Newsgroups: comp.soft-sys.khoros
Subject: Re: Parser fix for, jan@math.chalmers.se
Date: 10 Apr 92 17:58:31 GMT


Well, the fix at least lets you link Khoros with shared libraries which
wasn't possible before.

	Cheers,
	Jan Stein
From: danielle@bullwinkle.eece.unm.edu (/usr/spool/mail/danielle)
Newsgroups: comp.soft-sys.khoros
Subject: Re: How to get default foreground and background colors
Date: 6 Apr 92 16:19:09 GMT
Article-I.D.: pprg.37291


	Hello,

On Mar 30, 12:16am, Les Chan wrote:
} Subject: How to get default foreground and background colors
} 
} Are the default foreground and background XColor structures already
} defined somewhere within khoros?  
	No, sorry.

} I am trying to use 
} X2D_draw_text routine to draw text into a widget,
} and it requires a XColor structure as one of the arguments.
} I would like to use just the defaults colors.

	You have to define them yourself, but it is quite easy.  For
	a good example on how to set colors for the xvgraphics library,
	see $KHOROS_HOME/example_toolbox/src/xvroutines/example1/lexample1.c.

	Use X3D_allocate_named_color() to allocate a single XColor structure,
	or X3D_allocate_named_colors() to allocate an array of XColors.
	X3D_allocate_predefined_colors() allocates an array of XColor structs
	in rainbow-hue order.  See documentation in Chapter 8 of the Khoros
	Programmer's manual, the section on the xvgraphics library for more
	details on these functions.
} 
} Also, I did not see in the Libraries manual the coordinate system used
} for the Xvgraphics routines.  I assume the orientation is
} 
} y
} ^
} |
} |
} +--> x

	This is correct.
} 
} Thanks,
} Les
}-- End of excerpt from Les Chan

	~ danielle

       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       ~   Danielle Argiro - danielle@bullwinkle.eece.unm.edu   ~
       ~   Software Design & Development                        ~
       ~   The Khoros Group, EECE Dept, UNM                     ~
       ~   Albuquerque, New Mexico  87131                       ~
       ~                                                        ~
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: rasure@nell.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: Re: still more Patch 5 compilation problems - Fortran related
Date: 5 Apr 92 19:25:19 GMT
Article-I.D.: pprg.37275


In "still more Patch 5 compilation problems - Fortran related", John C. Schultz writes:
+ I (almost) compiled Khoros with Patch 5 but got a lot of errors when
+ trying to run the Fortran compiler we don't have, as in:
+ - ----------------------------------------
+ installing in ./public_domain...
+ installing in ./public_domain/eispack...
+ rm -f bakvec.o shared/bakvec.o
+ f77 -O -c -DSHAREDCODE -DSUNSHLIB   bakvec.f
+ sh: f77: not found
+ *** Error code 1
+ - ----------------------------------------
+ 
+ However in my repos/config/imake_conf/sun.cf file I have
+ - ----------------------------------------
+ /*
+  * does your machine have fortran? If not comment the next
+  * two lines
+  */
+ /*#define HasFortran YES
+ #define FortranCmd /usr/lang/f77 -O
+ #define FortranLibDir /usr/lang/SC1.0.1
+ */
+ - ----------------------------------------
+ 
+ My questions are: 
+ 1. Did I not modify the sun.cf file correctly and 

No, you did not modify it correctly.  You did follow the instructions, but
we gave you the wrong instructions.  It is our fault.  Instead of commenting
out the Fortran defines, change YES to NO.

#define HasFortran NO
#define FortranCmd /usr/lang/f77 -O
#define FortranLibDir /usr/lang/SC1.0.1

+ 2. Do I need to retrieve the Fortran libraries which I cannot compile?

You can retrieve all of the libs from pprg. But, then you will have to do
Some of the install by hand.  1) Set HasFortran to NO, 2) make allclean,
3)  put ftp'ed libs in lib, 4) installit, 5) Set HasFortran to YES,
6) cd to specific program (ex src/vipl/*/vfft) and make Makefile, 
7) make install.

+ 
+ Thanks.
+ - --
+    John C. Schultz   +1 (612) 733-4047   schultz@halley.serc.3m.com
+    How to include the taste of Glendronach in a multi-media system?
End of message from John C. Schultz
From: mvannier@davey.wustl.edu (MIKE VANNIER)
Newsgroups: comp.soft-sys.khoros
Subject: Redirect khoros mail
Date: 6 Apr 92 21:02:08 GMT
Article-I.D.: pprg.37301


Dear Khoros,

Please redirect messages about khoros from me to a new shared
account on our system. Please send khoros messages to:

     khoros@davey.wustl.edu

and not to:

     mvannier@davel.wustl.edu

Many thanks! Mike Vannier, Washington University, St. Louis, Mo.
From: gdcarson@icaen.uiowa.edu (Gregory Donald Carson)
Newsgroups: comp.soft-sys.khoros
Subject: Khoros Help
Date: 12 Apr 92 21:39:39 GMT
Article-I.D.: pprg.37420

Three posts, ...er..... , messages and questions

 (1) Help!,

        I have ftp'd, and ./ installit'd the khoros data, src, and system
files.  The compile and installation seemed to go fine.  I have set up my
environment, made sure there was a path statement to the khoros binaries,
put the sample .Xdefaults into my .Xdefaults file, and I source the
.khoros_env file which is in my home directory.
        I have been able to use some things such as vshrink to verify that
the program is working, however, and this is the problem, I cant seem to be
able to use any of the 'good' stuff.
        Here is a sampling of the things I have tried

        cantata (example from Getting Started)
        animate
        editimage
        viewimage
        xprism2
        xprism3

        all of these I tried exactly as indicated in Chapter 1, Getting
Started,of Vol 1 Users Manual.
        Have I missed something that I needed, did I forget to install
something that I need to install.  HELP I really need to get this working
asap.

        Thank you all for reading my post to the khoros users group, and
thanks for any help anyone can be.

Greg

cute block not done yet...........gdcarson@icaen.uiowa.edu


 (2) Hello Khoros Users,

        I was also wondering if there was anyway to start the overall
khoros prorgam once I am in the X windows environment.  As I described in a
letter just previous I think I installed all the necessary stuff, and really
want to be able to use this program, but have not been able to get any of the
good stuff to work.
        I keep searching through the bin directory and trying commands
but so far none of the reall cool things I have heard so much about and want
to use to build my programs from has poped up.
        Please pardon the excessive mail from me, and thanks for your help

Greg

cute block not done yet...........gdcarson@icaen.uiowa.edu

 (3) Hello, Can someone tell me where it is I can find kraftsman to install
the example_toolbox, I think that is where the cantata stuff is at and I cant 
seem to be able to install it.

Greg

cute block not done yet...........gdcarson@icaen.uiowa.edu


THANKS FOR ALL THE HELP.........oh yeah and one more thing can some one tell
me the email address to mail questions to khoros#chama.eece.edu ?

Greg

cute block not done yet...........gdcarson@icaen.uiowa.edu
From: rasure@nell.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: Update to Audio Workspace on pprg .....
Date: 5 Apr 92 19:54:43 GMT
Article-I.D.: pprg.37277


There is a cantata workspace that uses several dsp programs to filter
SUN audio files and then play them.  The workspace had the old raw2viff
glyph in it, so it would not run properly.  If is fixed now.


(As a note,  when we change the UIS for a program via a patch, old workspaces
 need to be updated to the new UIS.)
From: zachman@hope.soils.wisc.edu (Julie Zachman)
Newsgroups: comp.soft-sys.khoros
Subject: Compiler Errors: Patch 5, SunSparc2, X11R4, olwm, SunOS 4.1.1
Date: 11 Apr 92 19:50:35 GMT
Article-I.D.: pprg.37412


I am *thrilled* to report that I just saved ~65 Megabytes by compiling Khoros with shared libraries. (I do not have a patched ld).  This was my first attempt at compiling Khoros at all, and everything went smoothly except for one error:

minvert did not compile, giving the following error:

install in ./num_analysis/matrix_algebra/minfo done
installing in ./num_analysis/matrix_algebra/minvert...
cc -O -Bdynamic  -I/home/khoros/include  -I/home/athena/include   -DVFORK -DTEMPNAM -DPUTENV  -DRANDOM   -DWAIT3       -target sun4 -c  minvert.c
rm -f minvert
cc -o minvert minvert.o  -L/home/khoros/lib -L/usr/lang/SC1.0 -L/home/athena/lib  -O -Bdynamic -lghost  -lvexpr  -lnum_anal  -ldspl  -lformat  -lgeo_surf  -lvipl  -lvutils  -lvmath  -lvrast  -lvgparm  -lverror  -ltiff  -llinpack  -leispack  -lF77  -lm -ll \ 
cc: Warning: File with unknown suffix ( ) passed to ld
ld:  : No such file or directory
*** Error code 4
install in ./num_analysis/matrix_algebra/minvert done
make: Warning: Target `install' not remade because of errors
Current working directory /home/khoros/src/num_analysis/matrix_algebra/minvert

I fixed it by removing the Makefile from num_analysis/matrix_algebra/minvert, executing makemake, and then make in that directory.  I saved the original Makefile created during installit and diff'd the two.  Here is the difference:

Hope{zachman}222: diff Makefile Makefile.minvert
40c40
<       CURRENT_DIR = .
---
>       CURRENT_DIR = ./num_analysis/matrix_algebra/minvert

Could that have been the problem?

Also, my minvert executable is 204800 kbytes in size--bigger than any other routine except the xvroutines.  -Bdynamic *was* set.  Can this be right?  I don't know if this would have made a difference, but I did not remove any .o files until minvert was compiled.

This is really picayune, but in checking the neighboring Makefiles, I noticed that in the subroutine directory for mlse the Makefile lists /usr/include/sys/time.h twice:

mlse.o: /usr/include/sys/time.h /usr/include/sys/time.h


Keep up the great work!


Julie C. Zachman        	|	internet: zachman@hope.soils.wisc.edu
Soil Science Department, 	|	Voice: 	  (608)262-0415
University of Wisconsin,  	|	Fax:	  (608)265-2595
Madison, WI  53705 		|
From: duncan@convex.csd.uwm.edu (Shan D Duncan)
Newsgroups: comp.soft-sys.khoros
Subject: khoros and acoustical analysis
Date: 6 Apr 92 15:32:14 GMT
Article-I.D.: uwm.1992Apr6.153214.22744
Organization: University of Wisconsin - Milwaukee
Originator: duncan@convex.csd.uwm.edu


It was suggested that Khoros would be very good for
the analysis of acoutical signals.  One specific requirement 
would be the production of a graphic display known to some
as a sonagram or spectragram.  x is time, y is freq(pitch) and
z is amplitude.  Usually z is in a grey scale or pseudo color but
a three D display is also nice.  Especially if it could be
rotated.


Now if the 3d representation  could be a dynamic display - that
would be super!  We, people who use the spectragraphic display,
don't always remember sound is a dynamic signal.  It would be
nice to be able to see the changes as they happen in time.



Anybody have anything close - static or dynamic?


Thank - you



-Shan
From: leslie@ais.org (Gail Leslie Muscott)
Newsgroups: comp.soft-sys.khoros
Subject: khoros
Date: 16 Apr 92 04:00:42 GMT
Article-I.D.: pprg.37497

Hi:
  I am looking for an example of a program to incorporate into an existing 
Xwindows program I wrote.  I would like to be able to popup a window and displayan image in it, without disrupting my existing display window.  I have khoros to
patch level 4, do I need patch level 5?  What will it do for me?

How do I get the examples (1 to 4) referred to in the Volume II, of the Khoros 
Programmer's Manual, Chapter 7, "Examples & Troubleshooting"?  Can you e-mail 
the examples to me?

Sincerely,
Leslie Adiska (formerly Muscott)

--
From: rasure@nell.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: Re: FAQ for Khoros?
Date: 7 Apr 92 04:19:31 GMT
Article-I.D.: pprg.37308


In "FAQ for Khoros?", Bill Roth writes:
+ 
+ Sorry for the annoyance, but where is the FAQ, and like matter, kept
+ for Khoros?
+ - -- 
+ 
+ - ------------------------------------------------------------------------
+ Bill Roth,  University of Wisconsin Physical Sciences Laboratory
+ Internet:bill@psl.wisc.edu. NeXTMAIL blithely accepted. 608-873-6651
End of message from Bill Roth


	ftp pprg.eece.unm.edu  (129.24.24.10)
	Login:  anonymous  (or ftp)
	Password: user_name@machine
	cd /pub/khoros/release
	get FAQ
From: merlin@neuro.usc.edu (merlin)
Newsgroups: comp.soft-sys.khoros
Subject: Re: Khoros as an Open System (please read and discuss)
Date: 10 Apr 1992 22:36:45 -0700
Organization: University of Southern California, Los Angeles, CA
NNTP-Posting-Host: neuro.usc.edu

In article <...> rasure@snidley.eece.unm.edu (John Rasure) writes:
>
>The cost of creating Khoros within the University of New Mexico
>has is covered by external contracts, research grants, and Consortium 
>redistribution fees;  however, the amount of funding
>available is simply not sufficient to provide continued user support 
>at the level that has been established since the release of Khoros 1.0.
>
>How Can You Support the Research and Development of Khoros?
>
>Community -- donating software and by answering posted questions 
>Consortium -- cash donation for license to redistribute khoros
>Donations  -- cash donation to khoros via UNM Foundation

There are several large image processing projects where principals are
funded on a full time basis to produce image processing software for
users outside of their organization.  These examples come to mind:

      NIH Image    
      NOAO/IRAF    
      Drexel/DUMAS 
      NRAO/AIPS    
      STDAS        

Most of these projects solicit annual bibliographies of publications
generated with the use of their software,  Perhaps the khoros group
might benefit from approaching the funding agencies responsible for
research groups currently using khoros in their investigations.  The
funding agencies presumably benefit substantially from availability
of free or low cost image processing software because it potentially
allows an investigator to avoid purchasing commercial imaging codes.

Another possibility is to make updates of the source code available
to all users; but to provide first rate support only for a fee and
occasional support via email/newsgroup postings for nonpaying users.
This seems to be the current approach of the BRLCAD group.

Finally, there is the annual SBIR (small business innovation research)
grant program.  Khoros seems ideally suited as a product which could
benefit substantially from participation in this program.

A. J. Annala
Principal Investigator
Neuroscience Image Analysis Network
HEDCO Neuroscience Building, Fifth Floor
University of Southern California
University Park
Los Angeles, CA 90089-2520
From: janin@espresso.boeing.com (Adam Janin 5-3545)
Newsgroups: comp.soft-sys.khoros
Subject: Using khoros under olvwm
Date: 6 Apr 92 16:57:31 GMT
Article-I.D.: pprg.37293


In reply to the person who was asking about khoros and olvwm, I've been
using this combination for several weeks, and the only problem I've
encountered is the stadard problem with olvwm occasionally placing pop-ups
off of the virtual desktop.  So if you find that a pop-up isn't appearing,
increase the size of the virtual desktop and look around for it.

	Hope this helps,

	Adam Janin

|--------------------------------------------------------------------|
|       		      Adam Janin			     |
|       	       Boeing Computer Services			     |
|       	      Advanced Computing Systems		     |
|       	       P.O. Box 24346, MS 7L-22			     |
|       	       Seattle, WA  98124-0346			     |
|       	      janin@espresso.boeing.com			     |
|       		Work:  (206) 865-3545			     |
|       		 Fax:  (206) 865-2966			     |
|       		Home:  (206) 557-0615			     |
|--------------------------------------------------------------------|
|                                                                    |
|  "...if Arnold Schwarzenegger crushes a basketball, how many       |
|   unbroken rubber bands can Magic Johnson wrap around it?"         |
|                                                                    |
---------------------------------------------------------------------|
From: sbw@turing.cse.nau.edu (Steve Wampler)
Newsgroups: comp.soft-sys.khoros
Subject: Re: editimage error with MacX
Date: 11 Apr 92 21:30:44 GMT
Article-I.D.: pprg.37414

On Apr 10 at  7:38am, Ron Nilsen writes:
} 
} I'm running khoros on a Sun4 with X11R5 and twm.  I have generally had
} no problems with the major components.  However, we have been attempting
} to use MacX to run remotely from a Mac(ci's and IIfx). All seems OK, except
} editimage.  When we try to run editimage remotely(either from cantata or
} command line)with certain images, we crash the MacX server and get
} the following:
} 
} X Error of failed request:  BadValue (integer parameter out of range for operation)
}   Major opcode of failed request:  89 (X_StoreColors)
}   Value in failed request:  0x100
}   Serial number of failed request:  1492
}   Current serial number in output stream:  1494
} Major X error encountered for display '131.128.81.79:0.2'! Unable to recover.
} 
} We only get this error on certain images(i.e.airport.xv, flower.250.xv,
} lenna.254.xv, moon.xv)...and do not crash with others(ball.xv, feather.eye,
} kitten.xv,lizard.xv).  Also, putimage executes fine.  After contacting 
} Apple support, they responded:
} 
} "And here's the response from our tech support staff...
}  
} The problem described above seems to do with the MacX loading the "standard
} colormaps" by default.   Since there are many X client applications use the
} STANDARD or default X color map.  MacX uses the standard Macintosh system
} palette as the DEFAULT color map (which it should) which allocates/locks about
} 128 colors, and leaving about 130 colormap cells free that are writable by
} clients in that map.  Therefore, if the application tries to allocate more than
} 130 colors in that color table, it fails.  In other words, you can NOT allocate
} more than 130 colors in the DEFAULT colormap -- you have to create a NEW
} colormap and install your colors into it."
} 
} We are guessing that putimage creates and load's its own colormap, whereas
} editimage trys to modify the default map that MacX has already loaded, which
} may not have enough colors.  Is this the case?  Is there a way to fix
} editimage?
} 
} This error occurs with any image with a large number of colors, and with
} MacX1.01 and MacX1.1.7.(Apple tech tried with System 7).
} I have a patch that Apple provided to bypass the standard colormap 
} initialization, and we will try it when we get our copy of MacX 1.1.7.
} 

This is exactly the same error I get on a DG AViiON with 24-bit color
display.  Just for grins, I just tried it on an HP-730 with the
exact same effect.  What a nifty way to log out!

I'll postulate that the same thing will occur in 'viewimage' if one
tries to drape an image onto data, since 'viewimage' and 'editimage'
share similar colormap code...

Is anyone looking into fixing this?  I will, but (a) it'll take me
a week or so to get to it and (b) I'm not a real expert on this,
someone with a stronger X-window (and Khoros!) background could
do it faster!

-- 
	Steve Wampler
	{....!arizona!naucse!sbw}
	{sbw@turing.cse.nau.edu}
From: rasure@nell.eece.unm.edu
Newsgroups: comp.soft-sys.khoros
Subject: updated spy_vs_spy workspace
Date: 6 Apr 92 00:33:07 GMT
Article-I.D.: pprg.37279


This example workspace removes motion blurr from a photograph.  The example
uses expressions, loops, hierarchy, data dependent flow control, etc.

================== README ================================

This workspace, spy_vs_spy.wksp,  removes motion blurr from the lettering 
on an airplane.  The workspace and images were supplied
by Jim White at LANL.  Mike Canon at LANL helped with some of the
theory and John Rasure cleaned it all up and created this README.

You will need about 25 Meg in your temporary file directory (/usr/tmp) 
to run this rather complex experiment.  

To run this experiment, do the following:

	ftp pprg.eece.unm.edu
	cd pub/khoros/misc/workspaces
	bin
	get motion_blurr.tar.Z

	Once you have the compressed tar file on your system, then:

	uncompress motion_blurr.tar.Z
	tar -xvfo motion_blurr.tar

	cantata -restore spy_vs_spy.wksp
From: apc@inel.gov (Christine Cullen)
Newsgroups: comp.soft-sys.khoros
Subject: Remote Module (Glyph) Execution
Date: 16 Apr 92 15:01:00 GMT
Article-I.D.: pprg.37503

Hello, 

I hope you all will have patience and bear with me on this
because I have only been following this list for the last couple
of months so I am sure that this subject has come up.  Also, I
am not as computer literate as I would like to be so I hope you
can understand my problem.

I am interested in running remote module execution on Cantata -
where I can run one module (glyph) execution off of one machine and another
execution on another (Sun, SGI, Cray). I have been informed that there is a
way to do this.  Can anyone point me in the right direction to
get started?

Any help is appreciated.  Thanks!

Christine

---------------------------------------
Christine Cullen
Visualization and Imaging 
Idaho National Engineering Laboratory
P. O. Box 1625
Idaho Falls, ID  83415-2698
208-526-8346
email apc@inel.gov
Newsgroups: comp.soft-sys.khoros
From: peteb@aplcen.apl.jhu.edu (Peter A. Bakke)
Subject: calloc error on an HP
Reply-To: peteb@aplcen (Peter A. Bakke)
Organization: Johns Hopkins University
Date: Fri, 10 Apr 92 01:21:37 GMT


A coworker has successfully compiled Khoros, Patch 4, on an HP-9000/380
running HP-UX 8.0.

When he runs cantata or editimage, he can bring up a help window but if
he tries something else (like opening an input form) he gets the error:
X Toolkit Error: cannot perform calloc

The same thing happens with composer but the message is then:
Error: cannot perform calloc

He tells me he has 80MBytes of RAM, so that shouldn't be a problem. He's also
tried this using both the HP supplied X server and the MIT (X11.R4) server.

Anyone seen this one before ?

Thanks, peter b.
From: klamer@mi.eltn.utwente.nl (Klamer Schutte)
Newsgroups: comp.soft-sys.khoros
Subject: system() calls
Date: 6 Apr 92 08:33:12 GMT
Article-I.D.: pprg.37283

Hi Bernardus,

You had the problem that when running a program from cantata which called
system( command ) you got the message:

[job id]  + Stopped (tty input)  cantata .

This message is caused by your shell. It is doing this because a program
group running in the background wanted input from stdin (or it looked like it,
by the shell.)

Simple fix: don't run cantata by:
cantata &
but by
cantata
i.e. not putting cantata in the background.

Nicer fix:
Don't let command refer to stdin. (This might work by using:
system("command < /dev/null")

Good luck and see you soon,

Klamer
--
Klamer Schutte			Tel: +31-53-892778	Fax: +31-53-340045
Faculty of electrical engineering -- University of Twente, The Netherlands
preferred: klamer@mi.el.utwente.nl     SMTP: klamer@utelmi01.el.utwente.nl