HDTenEightyP/NetNews huggingface dataset:
From: vdp@mayo.edu (Vinayak Dutt, Grad. Student (Biophysics))
Subject: Re: Source Code Modification -- FOLLOW UP
Reply-To: vdp@mayo.edu
Organization: Mayo Foundation/Mayo Graduate School :Rochester, MN
Date: Wed, 19 Aug 92 19:32:25 GMT

In article 39870@pprg.eece.unm.edu.pprg.unm.edu, nobody@kodak.com (Mike Bruce) writes:
:Last week I sent out a question in regards to existing Khoros source
:code modification.  The question asked what's the best way to modify
:existing source so that later Khoros updates can be made via patches.
:I read in the programming manual that modifying Khoros source will
:hinder future Khoros updates using patches.  Why?
:I received a response from John Rasure, but I still have a few follow
:up questions.


         I suppose it would be better to leave the source distribution
of KHOROS as it is. This would make patching up (when an upgrade comes)
easier. I guess one could send a note on the bugs and suggested fixes
to the KHOROS group so that they incorporate the fix in th next release.
And I guess quite a few of us have local programs written  into KHOROS
via toolboxes, so the route via modofied local routines for fixes to
buggy khoros routines seems to be the best choice.

Vinayak Dutt
-------------------------------------------------------
                                           vinayak dutt
            Medical Sciences Building (2)   Mayo Clinic
                                     Rochester MN 55905
                                   e-mail: vdp@mayo.edu
-------------------------------------------------------
From: rasure@borris.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: Re: <none>
Date: 17 Aug 92 21:53:10 GMT


In "<none>", P. A. Casey writes:
+ The current version of Khoros on the system here is 1.0  patch 3.  In the viff.h header file there is the comment to see $KHOROS_HOME/manual/viff_format for further information and examples.  This file/directory does not exist.  What we were wondering is if anyone else has had the same problem or whether the directory was never created.
+ 

I recommend that you get patch level 5, but in either case, the document that
you want is in the Khoros Manual Volume 2, Chapter 1, Writing Programs.
The last 1/3 of this doc is on viff.

The include comment is an error.

+ Just wondering 
+ 
+ Peter Casey
+ caseypa@elec.canterbury.ac.nz
End of message from P. A. Casey
From: milack@uts.uni-c.dk (Claus Kristensen)
Newsgroups: comp.soft-sys.khoros
Subject: Microscopy?
Date: 19 Aug 92 09:44:18 GMT

Dear Colleges,

We are setting up a facility with epi-fluorescence microscopy and image analysis. We are considering 
to use Khoros and would like comments from users of this program who are using it for similar 
applications. In particular we are going to use superimposition and quantification of  fluorescence 
intensity. 

If you know of someone in Denmark or Sweden who are using this program for any application we 
would like to know about that as well.

We greatly appreciate your help, thanks in advance.

Lars K. Poulsen  / Claus Kristensen

-- Sent from [milack@uts.uni-c.dk]
--  .................................................................
--  . Claus Sternberg Kristensen, M.Sc                              .
--  . Department of Microbiology       Phone +45 45 93 34 22 / 2515 .
--  . Technical University of Denmark  Fax   +45 45 93 28 09        .
--  .................................................................
From: nobody@kodak.com (Mike Bruce)
Newsgroups: comp.soft-sys.khoros
Subject: Shared Libraries
Date: 20 Aug 92 20:45:42 GMT

Khoros users,

I'm in the process of compiling Khoros on my SUN SPARCstation, and
I'm wondering if there is any special things I should be aware of
regarding shared libraries.  I'm running SunOS 4.1.2 and our X
libraries are shared.  I noticed from a preivous message that under
4.1.2, Khoros must be compiled statically.
1)  Is this a liability?
2)  What benefit does one obtain by compiling dynamically?
3)  Would the ideal situation be to NOT used shared libraries?
4)  Also what's the deal with the HaveSunPatchLd symbol?  What should
    this be set to under 4.1.2?


Any suggestions for compiling Khoros with shared libraries is greatly
appreciated.

Thanks,

Michael Bruce
(bruce@ektron.kodak.com)
From: holloway@maat.mct.anl.gov
Newsgroups: comp.soft-sys.khoros
Subject: X3D_set_postscript()
Date: 13 Aug 92 16:14:22 GMT

Hi,

Does anyone have experience with this function? When I tried calling
this function in my program, it wrote out a postscript file, but
all that was there was the background.
I tried calling the function as follows:

X3D_set_postscript(id,fp,7.5,9.5,0.,0.,1,1,1,1,&Colors[0]);

Is there something wrong with the way I'm calling it.

thanks,

Dave
From: jogl@tolkien.imsd.rwth-aachen.de (Joachim Glaubrecht  #Alwd#)
Newsgroups: comp.soft-sys.khoros
Subject: IT WORKS: vpostscr - how to get multi-output(?) !
Date: 20 Aug 92 11:39:48 GMT
Organization: Institut f. Med. Statistics @ Dokumentation


thanx to this news-group, our printing-problem is solved:
 
multi-outputs from vpostscr could be done by adding
a line BEFOR the last one ("showpage").
 
here are two ways of doing it: 
 

     00aea79f928a898a848985858 ...
     0000000000000000000000000 ...
     restore
     3 { copypage } repeat              <<<<<   gives 4(!) copies.
     showpage
or
     00aea79f928a898a848985858 ...
     0000000000000000000000000 ...
     restore
     /#copies 3 def                     <<<<<
     showpage

works, too.
--------------------
to the KHOROS-Group:
--------------------

could THIS be a new feature for KHOROS 1.0 PL 6:
--------------------------------------------------------------------
vpostscr :

        Format  a  Khoros  image  in  Postscript,  suitable  for   a
        LaserWriter

        -i  input image filename  (infile)
                                                
        [-n] number of copies (integer) [1]       <<<<<  ?
-- 
  ___             ____________________________________
 /  /  _____     !  jogl@tolkien.imsd.rwth-aachen.de  !
 __/__/_/ Gl     ! Inst. f. Med. Stat. & Doku. (IMSD) !
/_/              !___Aachen__Germany__Europe__Earth___!
From: klamer@mi.el.utwente.nl (Klamer Schutte)
Subject: Re: Khoros, C++ and next version of Khoros...
Organization: University of Twente, BSC-El
Date: Thu, 20 Aug 1992 07:54:11 GMT

In <39827@pprg.eece.unm.edu.pprg.unm.edu> sauer@chama.eece.unm.edu (Tom Sauer) writes:

>>> will V2 have any hooks in it such that it works more cleanly with C++?

>Yes. the Imake/Make will support C++.

Fine! And is there also support for C++ (and ANSI C) in the header files?
This involves prototypes for the functions (for C++ and ANSI C) and
extern "C" definitions for specifying C linkage.

If consortium members have no time/experience to do this, perhaps the
user community can provide help for this.

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
From: jworley@snidley.eece.unm.edu (Jeremy Worley)
Newsgroups: comp.soft-sys.khoros
Subject: Re: converting floats on i386 to Sparc
Date: 14 Aug 92 14:46:55 GMT
Article-I.D.: pprg.39745


In "converting floats on i386 to Sparc", Robert M. Cothren writes:
| I am trying to convert a binary data file created on an Intel 386
| running DOS to a VIFF file for use on a Sparc.  The internal
| representation of the data when written is float (4-byte).  I am sure
| that the proper conversion routines exist, but I know nothing about
| internal float representation, and therefore am confused.
| 
| It would appear that Sparc is VFF_DEP_IEEEORDER.  I know that for
| shorts and longs, i386 is the same as VAX, which would appear to be
| VFF_DEP_DECORDER.  dectoieees() and dectoieeel() work for items in the
| header of the data file.  However, I have no idea what VFF_DEP_NSORDER
| is, and have been unsuccessful converting anything but short and long
| ints.

The name VFF_DEP_IEEEORDER is a little bit of a misnomer.  Actually,
when we say IEEEORDER, we are saying two things:  1) the data is
big endian, and 2) the floating point format is ieee.  

The definition for NSORDER is that it is *little* endian, but the floating
point format is still ieee.  

(oh yeah, little endian means that the the least significant byte is the
first byte, whereas big endian means that the first byte is the most
significant.)

| 
| Any help?

Hope that is helpful. 

-jer

| 
| ----Robert M. Cothren, PhD--------------------------rim@bme.ri.ccf.org----
|     Biomed. Engineering and Applied Therapeutics   
|     The Cleveland Clinic Foundation                voice: 216 445-9305
| ----Cleveland, Ohio----------------------------------fax: 216 444-9198----
End of message from Robert M. Cothren



-- 
--------------------------------------------------------------------------
Jeremy Worley  		(505)277-5625           jworley@chama.eece.unm.edu 

	"I'm the handler ... I'm Doctor Spin." - Dan Quayle
--------------------------------------------------------------------------
From: raley@alamo.plk.af.mil (J. Raley Marek)
Newsgroups: comp.soft-sys.khoros
Subject: Remove from mail list
Date: 13 Aug 92 13:28:00 GMT


I now have access to news.  Please remove my name from your mailing list.
Thank you.
				Raley Marek
From: ttcain@vangogh.lerc.nasa.gov (Maureen Cain)
Newsgroups: comp.soft-sys.khoros
Subject: Editimage again!
Date: 18 Aug 92 22:01:40 GMT

Hello again!

	I neglected to report the following bug with editimage in my last post,
so here goes :

	Editimage on a Sun Sparc2, X11R4 patch level 18, SUN OS 4.1.2,
with a 24 bit display :

	When I select any of the functions of editimage (zoom for instance) I get	the following error message:

	X Error: BadMatch ...
	Major X error encountered for display ':0.0:! Unable to recover.

Any ideas why it bombs?!

	Also can anyone give me a brief description of why and how one would 
use the spatial analysis (entropy, dispersion, etc) parameters in image
processing?  Or perhaps a reference?

Thanks
Maureen Cain
From: flanigan@echo.gsfc.nasa.gov (Dennis Flanigan)
Newsgroups: comp.soft-sys.khoros
Subject: programing in includes and librarys
Keywords: include,librarys,ghostwriter
Date: 14 Aug 92 21:26:07 GMT
Organization: NASA GSFC Code 910.1, TRMM Ground Truth

A question about programming in the khoros system:

Is there a way to get ghostwriter to generate the makefile file
so that other include directories and librarys can be added to the
compile commands?  I can of course edit the makefile after it 
is generated, but I was wondering if it can be done another way.

Thanks-
Dennis Flanigan

-- 
--------------------------------------------------------------------------
Dennis Flanigan Jr.               |   Goddard Space Flight Center
Applied Research Corp.            |   Code 910.1
flanigan@echo.gsfc.nasa.gov       |   (301) 286-6589
--------------------------------------------------------------------------
From: milack@uts.uni-c.dk (Claus Kristensen)
Newsgroups: comp.soft-sys.khoros
Subject: SUBSCRIBE
Date: 19 Aug 92 09:39:34 GMT

SUB milack@uts.uni-c.dk
Please add my name to the khoros mailing list, thank you.
Claus Kristensen
From: ph@physiology.oxford.ac.uk (Patrick Haggard)
Newsgroups: comp.soft-sys.khoros
Subject: Re: cantata has black work space and black lines???
Date: 17 Aug 92 14:52:32 GMT
Organization: Physiology Department, Oxford University, Oxford, UK.


I fixed this by changing the appropriate settings in my .Xdefaults 
file, of which an excerpt follows:
cantata.CanvasColor:            black
cantata.GridColor:              white
cantata.LineColor:		white
cantata.NameColor:		black

Hope this helps
Patrick
Newsgroups: comp.soft-sys.khoros
From: hamlet@numenor.imsd.rwth-aachen.de (Frank Weiler  #Alwd#)
Subject: Programming Quest.
Organization: Institut f. Med. Statistics @ Dokumentation
Date: Fri, 21 Aug 92 11:42:39 GMT

mea culpa, for my first posting. I know: RTFMF

--------------------------------------------------------------------------

Hi,

I have a problem with programming a tool using the KHOROS libraries.
Perhaps somebody could help me.

Based on the putimage source i wrote a tool, that displays a VIFF image
and reports the mouse coordinates of the mouse pointer everytime i click
in the window. To do this, i read out event->xbutton.x and event->xbutton.y
in the eventhandler procedure. It works fine when the image is small enough,
but on bigger pictures (the pan_icon appears) i only get the coordinates
relative to the window, not to the image.

Question: How can i get the x-, y-position in the image, it must be possible, 
          because the right numbers are in the position_widget you get with
          xvd_create_xvdisplay().

Thanks in advance

==============================================================================

Frank 'Hamlet' Weiler                email: hamlet@tolkien.imsd.rwth-aachen.de

==============================================================================


Newsgroups: comp.soft-sys.khoros
From: ttcain@vangogh.lerc.nasa.gov (Maureen Cain)
Subject: Editimage
Organization: NASA Lewis Research Center
Distribution: usa
Date: Thu, 13 Aug 1992 19:28:25 GMT

Hello!

	I'm attempting to use editimage on a Sun Sparc2 with a 24 bit display.
When I select any of the functions of editimage (zoom for instance) I get the 
following error message:

	X Error: BadMatch ...
	Major X error encountered for display ':0.0:! Unable to recover.
Any ideas why it bombs?!

	Also can anyone give me a brief description of why and how one would 
use the spatial analysis (entropy, dispersion, etc) parameters in image
processing?  Or perhaps a reference?

Thanks
Maureen Cain



-- 
-----------------------------------------------------------------------------
Maureen Cain			phone: 216-433-4000
NASA Lewis Research Center
Cleveland, Ohio  44135        email: ttcain@vangogh.lerc.nasa.gov
From: benw@chem.leeds.ac.uk (Ben Whitaker)
Newsgroups: comp.soft-sys.khoros
Subject: linker complains about multiply defined widgets with X11R5
Date: 19 Aug 92 13:05:03 GMT

I have an xvroutine that used to be reasonably well behaved. However
after recompiling khoros against the X11R5 release it fails to compile.
I am running on a SunIPC with 4.1.1 and an unpatched linker. I have
also modified $KHOROS_HOME/src/xvroutines/cantata/Viewport.c in
line with the answer to FAQ 46. I assume my problem is related since the
compiler complains that:

ld: /usr/local/lib/libXaw.sa.5.0(sharedlib.o): _formWidgetClass:
multiply defined
/usr/local/lib/libXaw.sa.5.0(sharedlib.o): _labelWidgetClass: multiply
defined
*** Error code 2
make: Fatal error: Command failed for target ...


Has anybody got an idea what I need to fix and where ? 

Cheers,

	Ben Whitaker

****************************************************************************
School of Chemistry				email: benw@uk.ac.leeds.chem
University of Leeds, Leeds LS2 9JT, UK  	voice: 44.532.336580
****************************************************************************
From: missler@cse.uta.edu (James M Missler)
Newsgroups: comp.soft-sys.khoros
Subject: xwdtoviff
Date: 18 Aug 92 04:51:50 GMT

Does anyone have a program to convert xwd image files to
VIFF image files? I know from FAQ 21 explains using getimage --
I'd like a program that does this with xwd input and VIFF output.
					- Mike Missler
From: rasure@sherman.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: Re: A composer question
Date: 15 Aug 92 21:03:29 GMT


In "A composer question", Daniel C. Gnanaprakasam writes:
+ Does the UI spec utiltiy of the composer, have any way of
+ specifying the directory to save the *.pane file it generates?
+ 
+ Right now the *.pane file is saved in the current working directory, and
+ I have some problem when using it in this fashion.  The problem is this.
+ I have a *.conf file, where I have specified the location of the *.pane
+ file to be {toolbox}/repos/cantata/subforms/*.pane so that kinstall 
+ knows where to dump the *.pane file.  However before I get to kinstall, 
+ selecting ghostwrite from the tools option of the composer uses the
+ *.conf file and looks for the *.pane in the repos directory tree and 
+ does not generate any code.   I had to manually first install the *.pane
+ file in the directory I have specified in the *.conf file, before I can
+ run ghostwrite.  When I run kinstall later, it automatically installs 
+ *.pane file in the repos tree.  The  manual step would not be  neccessary
+ if the UI Spec tool has a way to specify the directory for saving the
+ *.pane file.   

It sounds like you have mastered the tools in Khoros.  Congradulations.

You can enter the full path name for the pane file.  Will this solve your
problem?  Instead of panasonic.pane, use 
{toolbox}/repos/cantata/subforms/panasonic.pane as the filename in composer.

+ 
+ Is there something I am not doing in the UI spec tool? 

+ 
+ Daniel C. Gnanaprakasam
+ Matsushita Applied Resarch Labs.
+ daniel@marl.panasonic.com
End of message from Daniel C. Gnanaprakasam
From: keith@vision.ee.utexas.edu (Keith A. Bartels)
Newsgroups: comp.soft-sys.khoros
Subject: IBM RS6000 help
Date: 18 Aug 92 23:46:41 GMT

I'm currently attempting to complile khoros on an IBM RS6000 with
AIX 3.1.5.  Things were going pretty smoothly until I got the the 
$KHOROS_HOME/src/Lib/vgparm  directory.  Here is the error I got:
-------------------------------------------------------------------------------

        rm -f distrib_util.o
        cc -DBSD_INCLUDES -D_BSD -c -O  -I/usr/local/include -I/u/khoros/include
    -Dibm -DSYSV -DMALLOC_0_RETURNS_NULL -D_IBMR2 -DAIXV3 -D_NO_PROTO -DVFORK -D
TEMPNAM -DPUTENV  -DRANDOM  -DREDEFFORTRAN -DWAIT3 -DKFILE -DKSOCKET     distrib
_util.c
     1153 |               stat = (int)(( !((status).w_status & 0xff) ) ?
            ................................a............................
a - 1506-021: (S) Expecting struct or union.
            (((status).w_status >> 8) & 0xff) : -1);
            ...a....................................
a - 1506-021: (S) Expecting struct or union.
make: 1254-004 The error code from the last command is 1.


-------------------------------------------------------------------------------

As the compile continued, I also got the same type error in the 
xvroutines/cantata directory.  Can anyone help?  Please respond by direct 
e-mail because I'm not currently on the mailing list.

  Thanks, Keith
From: storhaug@ndre.no (Geir Atle Storhaug)
Newsgroups: comp.soft-sys.khoros
Subject: RE: xwdtoviff
Date: 18 Aug 92 11:57:40 GMT

Mike Missler needs a program to convert xwd images to viff format.

Solution:
 - Get pbmplus (from e.g. export.lcs.mit.edu file contrib/pbmplus10dec91.tar.Z)
 - Compile and include the directory in your path.
 - In cantata use the generic command glyph to create a xwdtopnm glyph.
   The xwdtopnm can be used in a pipe and therefore is easy to use in cantata.
 - Connect the output connection of the xwdtopnm glyph to the input connection
   of a pbm2viff glyph (found in CONVERSION->STANDARD_FILE_FORMATS), and
   viola, you hav a viff file.

GAS
Newsgroups: comp.soft-sys.khoros
From: daniel@vu-vlsi.vill.edu (Daniel C. Gnanaprakasam)
Subject: A composer question
Organization: Villanova University
Date: Thu, 13 Aug 1992 01:27:35 GMT

Does the UI spec utiltiy of the composer, have any way of
specifying the directory to save the *.pane file it generates?

Right now the *.pane file is saved in the current working directory, and
I have some problem when using it in this fashion.  The problem is this.
I have a *.conf file, where I have specified the location of the *.pane
file to be {toolbox}/repos/cantata/subforms/*.pane so that kinstall 
knows where to dump the *.pane file.  However before I get to kinstall, 
selecting ghostwrite from the tools option of the composer uses the
*.conf file and looks for the *.pane in the repos directory tree and 
does not generate any code.   I had to manually first install the *.pane
file in the directory I have specified in the *.conf file, before I can
run ghostwrite.  When I run kinstall later, it automatically installs 
*.pane file in the repos tree.  The  manual step would not be  neccessary
if the UI Spec tool has a way to specify the directory for saving the
*.pane file.   

Is there something I am not doing in the UI spec tool? 

Daniel C. Gnanaprakasam
Matsushita Applied Resarch Labs.
daniel@marl.panasonic.com



Newsgroups: comp.soft-sys.khoros
From: klimt@Informatik.TU-Muenchen.DE (Wolfgang Klimt)
Subject: wanted: official khoros-ftp-site in europe
Originator: klimt@hphalle8b.informatik.tu-muenchen.de
Organization: Technische Universitaet Muenchen, Germany
Date: Thu, 20 Aug 1992 09:00:41 GMT
Reply-To: klimt@Informatik.TU-Muenchen.DE


Hello all,

the subject says it already: is there any ftp-site in europe (preferred near
germany) where i can get an official khoros distribution? i tried to get khoros
from new mexico several times, but the link broke too often.

(i hope this is not a FAQ)

thanks for any help

Wolfgang

--------------------------------------------------------------------------------
Wolfgang Klimt (klimt@informatik.tu-muenchen.de)
From: nobody@kodak.com (Mike Bruce)
Newsgroups: comp.soft-sys.khoros
Subject: C-code generation
Date: 18 Aug 92 20:24:09 GMT

Khoros users:

We develop embedded signal and image analysis systems.  We would like to
find an image/signal processing tool with graphical user interface AND
easy-to-use code generation capability.  Thus, the algorithm developers
could work within a network-definition environment, and still on demand
give  the software developers a 'black box' algortihm in ANSI C, with
known inputs and outputs.  Obviously the contents of the box would be
highly inefficient, but for the prototyping phases of a project they would
be adequate.  Anybody out there got cantata set up to do this?  Or used
this capability from any other package?

Thanks in advance,

Mike Bruce
(bruce@ektron.kodak.com)
From: storhaug@ndre.no (Geir Atle Storhaug)
Newsgroups: comp.soft-sys.khoros
Subject: RE: 4-D(?) Plotting
Date: 20 Aug 92 08:41:37 GMT

Antony Mossop in 4-D(?) Plotting asks:

> Whoever,
>     Any way that Khoros can plot 4-D data? By that I mean
> 
>                X  Y  Z  A(ttribute)
> 
> so that points are placed in a 3 space (X,Y,Z) and these points, denoted
> as a block/sphere/whatever are then coloured/brightened/? by the
> A(ttribute) value. Xprism3 only seems to plot f(x,y) data and so
> doesn't seem to be what I want or have I misinterpreted things?

Use viewimage found in Remote&GIS->Surface->Interactive_Render

The 4D-data muste be represented as two image files: The first containing
the attribut (color) value for each pixel, and the other containing the
Z-values (elavation data) for each pixel.

Make sure that use Surface-plotting in the View_Utilities->attribut form.

 ____     ___   Geir Atle Storhaug
/ ____/\ (__    storhaug@ndre.no
\___//  \___)   Phone: +47 6 807658 (office)     +47 6 838987 (home)
From: gt4366d@prism.gatech.edu (Kenneth Wesley Brooks)
Newsgroups: comp.soft-sys.khoros
Subject: Khoros Source code
Date: 14 Aug 92 19:34:02 GMT


 I understand that source code is available for khoros.
 How do I go about that? Are there any time of day
 requirements?