HDTenEightyP/NetNews huggingface dataset:
From: vdp@mayo.edu (Vinayak Dutt)
Subject:  problems with cantata on Sparc
Keywords:  Vfork(), cantata, process table full
Reply-To: vdp@mayo.edu
Organization: Mayo Foundation/Mayo Graduate School :Rochester, MN
Date: Mon, 16 Nov 92 15:55:46 GMT


Hello Khoros Users:

I had posted a problem which I am having with cantata some time back
and I did not hear about it so I am posting it again ...

I am running KHOROS on Sun4 (SparcStations/Servers) with SunOS 4.1.2
and Openwindows 3.0. The KHOROS code was compiled with bundled cc with
dynamic linking (if that if of any relevence).

I have noticed that when I run the KHOROS programs via cantata (using
the visual interface), after the individual glyph (ie its corresponding KHOROS
program) has finished execution, my process table entries still include its
entry though now as <defunct> process. Actually entry is not cleared completely
till cantata quits !!! This means that slowly and steadily the process table
on the system gets full and finally the system can not fork any more processes !!!
(I can not do even pstat :-). I would like to know if any one has had similar
problems on Sun4s and has any solutions to it ...

thanks

vinayak.



---
-------------------------------------------------------
                                           vinayak dutt
            Medical Sciences Building (2)   Mayo Clinic
                                     Rochester MN 55905
                                   e-mail: vdp@mayo.edu
				      FAX: 507-284-4705
Cogito cogito ergo cogito sum --
"I think that I think, therefore I think that I am."
            -- Ambrose Bierce, "The Devil's Dictionary"
-------------------------------------------------------
Newsgroups: comp.soft-sys.khoros
Subject: Re: sample images for vstereo?
From: donna@peabody.eece.unm.edu (Donna Koechner-G)
Date: 16 Nov 92 00:38:57 GMT

On Nov 13,  2:33pm, Steve Wampler wrote:
} Subject: sample images for vstereo?
} Are there any images available suitable for demonstrating 'vstereo'?
} I'd like to learn more about using it.
} 
} -- 
} swampler@leonardo.wr.usgs.gov
} {Steve Wampler, ISD, USGS, Flagstaff AZ}
}-- End of excerpt from Steve Wampler

I'm not sure if this is what you're lookin for, but there are 3 images 
distributed with khoros in the KHOROS_HOME/data/images directory.  They 
are lablabel.xv, lableft.xv, and labright.xv.   They are left, right, 
and labeled images of a lab.   

Donna
From: ph@physiology.oxford.ac.uk (Patrick Haggard)
Newsgroups: comp.soft-sys.khoros
Subject: Annotations/overlays etc
Date: 21 Nov 92 13:42:35 GMT
Organization: Physiology Department, Oxford University, Oxford, UK.
Originator: ph@motor.physiol


Hello khoros group.  I have a few questions relating to overlays,
annotations etc.
1. I have numerous image files, and annotation files, with one
annotation file per image.  I want to combine the annotations with the
images.  At the moment, I can do this by going into editimage, reading
in the annotations and using COMBINE OVERLAYS.  But, is there any way
to do this from the command line, without going in to editimage.  The
ideal way for me would be to turn the ascii annotation file into an 
image file and use the -ov argument to editimage, or just to combine
the two files (e.g., with vadd or vand).  However, in order to do this
I need to get the ascii annotation file interpreted as an image.
Therefore, is there any way either to get the annotation file into 
editimage from the CLUI (some sort of -ann option, which appears not
to exist) or else to translate the annotation file into an image file.

2. At the moment I use COMBINE OVERLAYs within editimage, and write
out the resulting file.  This always appears to be of type byte, even
when the input to editimage was short.  Is this because COMBINE gets
the image *as displayed* and I am working with an 8 bit screen?  Is
there any way I can get the combined data out with as much resolution
as the input data.  The transfer to byte is not a real problem for
this application, but it's a pity to lose resolution if I can avoid
it.

Many thanks for all your help.

--------------------------------------------------------------------------
Patrick Haggard                         Email (WORLD): ph@physiol.ox.ac.uk
University Laboratory of Physiology     Email (JANET): ph@uk.ac.ox.physiol
Parks Road,                             Tel. (0865) 272116
Oxford, OX1 3PT                         Fax. (0865) 272469
England
--------------------------------------------------------------------------
Newsgroups: comp.soft-sys.khoros
From: williams@nvl.army.mil (Timothy Williams)
Newsgroups: comp.soft-sys.khoros
Subject: kinstall & changing CC comand
Date: 13 Nov 92 17:48:24 GMT

Hi.

I'm running khoros 1.0 PL5 on a Solbourne S4000 running OS/MP 4.1A.1.

How do I modify what the CC command is for a particular toolbox.  Our
default is gcc, but a program in a toolbox I got from someone core dumps
with this.  When I edit the Makefile for the routine in the directory of the
tool and just copy the binary to the bin directory, everything works fine.

In section B.3 of the Khoros Programmer's Manual, there are instructions for
redefining the CC command in either the Site.def or platform.cf file.  I
don't have access to this, and it would change the CC command for
everything.  I tried putting 
#define CcCmd cc
in the <toolbox>.def file, but this didn't do anything when I ran kinstall.

What's the right and consistent way to do this for a toolbox?
Thanks in advance.

-- 
Tim Williams                                   COM: (703) 704-1685
Night Vision & Electro-Optics Directorate      DSN: 654-1685
AMSEL-RD-NV-ISP (Williams)                     FAX: (703) 704-1705
Ft. Belvoir, VA 22060-5677                  E-MAIL: williams@nvl.army.mil
From: Peter.Averkamp@e20.physik.tu-muenchen.de (Peter Averkamp)
Newsgroups: comp.soft-sys.khoros
Subject: Re:  Using F2C to compile parts of Khoros.
Date: 20 Nov 92 11:03:27 GMT

> Has someone compiled the FORTRAN parts of Khoros with F2C?

From the compile-FAQ:
   Q27. I don't have a FORTRAN compiler, but I need the Khoros programs that
        use FORTRAN.  What can I do?

   A27. The public domain "f2c" FORTRAN-to-C converter can be used to produce
        C code from the FORTRAN sections of Khoros.  The "f2c" program can
        be obtained via anonymous ftp from various sites including
        pprg.eece.unm.edu (129.24.24.10) in the directory, /pub/dist/f2c, and
        research.att.com (192.20.225.2) in the directory, /netlib.
        Khoros programs that depend on FORTRAN code that was converted to
        C by the f2c program dont't have their results guaranteed by the Khoros
        group, however, at least not at this time.

Many or the PC-Unix variants of Khoros have been compiled with f2c.

Good luck,
 
   Peter

Peter Averkamp,                      | email:
Physics Department E20               | petav@e20.physik.tu-muenchen.de
Techn. Univ. of Munich               | Phone: ++49 (89) 3209-2408 and -2814
D-8046 Garching, Germany             | Fax:   ++49 (89) 3209-2338
Newsgroups: comp.soft-sys.khoros
From: jcarroll@ferris.cray.com (Jeff Carroll)
Subject: Re: oh where, oh where has my switch widget gone? 
Originator: jcarroll@ferris
Organization: Cray Research, Inc.
Date: 23 Nov 92 12:03:03 CST


In article <1992Nov23.113955.1145@walter.cray.com>, jcarroll@ferris.cray.com (Jeff Carroll) writes:
> 
> While I search source code and FTP server, maybe some kind soul can tell
> me what I did wrong if my vroutine pops up in cantata without an "on-switch"
> widget.
> 
> I think I had this figured out once upon a time, but it's been purged from
> short-term memory...

*blush*

Oh.

Never mind...

(for the benefit of anyone who might be having the same problem: make sure
there's a "-R" line in your .pane file.)
Newsgroups: comp.soft-sys.khoros
From: hehn@ccu.umanitoba.ca (Jeff Hehn)
Subject: Trouble displaying color images
Reply-To: hehn@ccu.umanitoba.ca
Organization: The Univeristy of Manitoba.
Date: Mon, 23 Nov 1992 17:07:13 GMT

Hello group,
	I am relatively new to khoros and have been writing some code to 
get color images from our framegrabber (on a PC) into the viff format, and for the 
most part I have been successful. I am able to save viff images in greyscale
and RGB format and display them using khoros on a Sparc II.  When
I try to use an IHS (Intensity, Hue, Saturation) model however, it seems to just 
display it as a greyscale image. I extracted the three bands and the data seems to
represent the HSI model. Has anyone else had experience with trying to display
images in an IHS model. A vfileinfo of an image I saved in the hsi model reveals:
______________________________________________________

File Name: tapehsi.xv

File Type: khoros image file format
KHOROS identifier: -85
KHOROS version/release: 3.1

                          Description:

Dnnnn]fn>~
                        End Description

  File data storage type: BYTE
  Number of pixels per band: 256 rows by 256 columns or 65536 pixels
  Pixel subrow size: 0
  Number of images per file: 1
  Number of bands per image pixel: 3
  Subimage: YES (coordinates in original File: (0,0) to (255,255)).
  File Data Compression: NONE
  Pixel size: 0 (x) by 0 (y) meters
  Machine dependency: NS32000 or MIPS(DEC 3100)
  Color space model: IHS
  Data Band Mapping scheme: NONE

The following map fields are not used because the map scheme is set to none

   Map storage type: NONE
   Map row size: 0
   Map col size: 0
   Map subrow size: 0
   Maps per cycle: 0
   Enable the Map: OPTIONAL

  Location of Data: IMPLICIT

The following fields are not used because the location type is implicit

   Dimension Location: 0D (NONE)
___________________________________________________________

I would certianly appreciate any comments or ideas to help me display
images using a IHS model. 
Thanks,
-JLH


__________________________________________________________________
  Jeff L. Hehn			Dept. of Agricultural Engineering
  hehn@ccu.umanitoba.ca		University of Manitoba
  ph:204-474-6298	
	"Who's that man with a back-pack shaped like my wife"
					- Al Bundy
__________________________________________________________________
From: steve@wadif.eece.unm.edu. (Steve Kirby)
Newsgroups: comp.soft-sys.khoros
Subject: cantata
Date: 13 Nov 92 18:26:16 GMT


Hello,
  I've been using cantata and got hung up when I tried to restore a 
workspace.  I saved it to cantata.wksp.Z, the default, and then
did cantata -restore cantata.wksp.Z.  It comes back up but I get
a message:

xvl_restore_files
  unable to restore data for temp file:
    /disk1/local/Ucar/images/vgradBAa04189

The icons are in place but can't be activated.

I did the restore where the data file is so I wouldn't expect a path problem.
Thanks for any help.

-------------------------------------------------------------------------------
-                                                                             -
-   Steve Kirby                                                               -
-                                          e-mail:skirby@wsmr-emh73.army.mil  -
-					   phone: (505) 678-4329              -
-					   fax: (505) 678-8366/2432           -
-                  							      -
-------------------------------------------------------------------------------
-
From: sauer@chama.eece.unm.edu (Tom Sauer)
Newsgroups: comp.soft-sys.khoros
Subject: Re: kinstall & changing CC comand
Date: 17 Nov 92 16:47:23 GMT

On Nov 13, 10:19, Timothy Williams wrote:
} Subject: kinstall & changing CC comand
>> Hi.
>> 
>> I'm running khoros 1.0 PL5 on a Solbourne S4000 running OS/MP 4.1A.1.
>> 
>> How do I modify what the CC command is for a particular toolbox.  Our
>> default is gcc, but a program in a toolbox I got from someone core dumps
>> with this.  When I edit the Makefile for the routine in the directory of the
>> tool and just copy the binary to the bin directory, everything works fine.
>> 
>> In section B.3 of the Khoros Programmer's Manual, there are instructions for
>> redefining the CC command in either the Site.def or platform.cf file.  I
>> don't have access to this, and it would change the CC command for
>> everything.  I tried putting 
>> #define CcCmd cc
>> in the <toolbox>.def file, but this didn't do anything when I ran kinstall.

You need to set the variable in the <toolbox>.def file not the define symbol.
So rather then doing  "#define CcCmd cc" use "CC = cc".

Then when any Makefiles get regenerated they will use the new CC as set in the
<toolbox>.def file


>> 
>> What's the right and consistent way to do this for a toolbox?
>> Thanks in advance.

Anytime you want to redefine a variable in the for a toolbox, you must set 
the variable.

>> 
>> -- 
>> Tim Williams                                   COM: (703) 704-1685
>> Night Vision & Electro-Optics Directorate      DSN: 654-1685
>> AMSEL-RD-NV-ISP (Williams)                     FAX: (703) 704-1705
>> Ft. Belvoir, VA 22060-5677                  E-MAIL: williams@nvl.army.mil
}-- End of excerpt from Timothy Williams


Tom

-- 
============================================================================
Tom Sauer                 |  Email: sauer@chama.eece.unm.edu
The Khoros Group          |
Dept. of EECE             |  
University of New Mexico  |  Phone: (505) 277-6563
Albuquerque, NM 87131     |    Fax: (505) 277-1439
============================================================================
From: young@chama.eece.unm.edu (Mark Young)
Newsgroups: comp.soft-sys.khoros
Subject: Re: pbm2viff question
Date: 21 Nov 92 14:29:56 GMT
Article-I.D.: pprg.41775

Hi,

   I responded to Suran yesterday, but thought that others may want
the fix as well.

On Nov 20, 11:08am, Suran de SILVA wrote:
} Subject: pbm2viff question
} From suran@nff.ncl.omron.co.jp  Thu Nov 19 19:09:02 1992
} 
} Hi,
} 
} 	Has anybody been using the Khoros file-format conversion program,
} pbm2viff?  I tried using it on an image I scanned in using an EPSON GT-4000
} in pbm format.  I got the following error message from pbm2viff:
} 
} 	read_pbm:  Error!  Invalid width.
} 	Unable to read width of the pbm image.
} 	pbm2viff: Could not read input image.	

Hi Suran,

   I looked into the problem you were having with pbm2viff and have a fix
for you.  It was my fault (usually is).  When writing the format i thought
the spec said that the pbm identifier ie P1, P2, P3, P4, etc must come on
line by itself.  That the format must look something like:

P4
200 197

not:

P4 200 197

If you are interested in fixing the problem here is a fix that i have
done a fairly healthy, but not extensive, testing on the omron and sun
with your test file and a few of our own.  So i don't expect any problems,
but as always please let me know if you find any.  To fix the problem
you'll need to change the file $KHOROS_HOME/src/file_formats/Lib/pbm.c
at line 112 from:

        if (!fgets(line, LENGTH, file))
        {
           (void) fprintf(stderr,"read_pbm:  Error!  Unexpected end of \n\

to:
        if (fscanf(file," %2c", line) <= 0)
        {
           (void) fprintf(stderr,"read_pbm:  Error!  Unexpected end of \n\


Then re-install the file formats library ($KHOROS_HOME/src/file_formats/Lib)
and also the pbm2viff program itself which is located in:

	$KHOROS_HOME/src/file_formats/standards/pbm2viff

} 
} Thanks in advance.
} 
} rgds,
} Suran.
} suran@nff.ncl.omron.co.jp
} 
}-- End of excerpt from Suran de SILVA

Anyway i apologize for any problems this may have caused and thanks
again for bring this bug to our attention.

                        thanks,
                             Mark

ps.  i'll cc: this to khoros-bugs so that it gets logged.  Also i'll respond
     with this fix to the khoros mailing list later today since other people
     will probably get hit by this.
     

-----------------------------------------------------------------------------
Mark Young                         young@chama.eece.unm.edu
 
Khoros Group                       (505) 277-6563  (work)
University of New Mexico           Albuquerque,    NM 87131
-----------------------------------------------------------------------------
Humor is something that is plentyful if you are willing to laugh at yourself.
Newsgroups: comp.soft-sys.khoros
From: pradeep@engin.umich.edu (Pradeep Jain)
Subject: Re: Gabor Transform routine
Reply-To: pradeep@engin.umich.edu
Organization: University of Michigan
Date: Fri, 20 Nov 1992 18:14:54 GMT

In article <kns1H#f=va@atlantis.psu.edu> JGR@ECLX.PSU.EDU (Jim Reisman) writes:


     I would also be interested in this.

   Jim Reisman
   Penn State University
   Department of Electrical Engineering
   jgr@eclx.psu.edu

An implementation of Gabor Transform using Neural Net is available
via anonymous ftp from bugeye.ee.washington.edu  (128.95.31.244).
This is not in Khoros, someone might try to 'Khoroise' it. 

On the related issue, is there any code for Neural Nets (obviously
taking images as input) in Khoros? 

Pradeep
--

Pradeep Jain                              157 Advanced Technology Lab
Home:   (313) 769-2720                    The University of Michigan
Office: (313) 764-2138                    Ann Arbor, MI 48109
From: Peter.Averkamp@e20.physik.tu-muenchen.de (Peter Averkamp)
Newsgroups: comp.soft-sys.khoros
Subject: Re:  Raw2viff in cantata
Date: 20 Nov 92 11:53:58 GMT

> I am trying to perform raw-to-viff conversion for a 256x256 image in Cantata.
> However, the glyph for 'raw2viff' in cantata does not have the option of
> specifying the column size and row size, i.e., I cannot find the '-r' and '-c'
> switch when I use the routine in Cantata.  The default values for the column
> and row size have been set to 512.  I just wonder if there is anyway to
> get around this limitation.

Look twice. When you look at the raw2viff pane, you will find two
lines saying 'Number of rows' and 'Number of columns'[sic]. Enter
your image size there.

\Peter

Peter Averkamp,                      | email:
Physics Department E20               | petav@e20.physik.tu-muenchen.de
Techn. Univ. of Munich               | Phone: ++49 (89) 3209-2408 and -2814
D-8046 Garching, Germany             | Fax:   ++49 (89) 3209-2338
From: Suran de SILVA <suran@nff.ncl.omron.co.jp>
Newsgroups: comp.soft-sys.khoros
Subject: pbm2viff question
Date: 20 Nov 92 02:19:26 GMT


Hi,

	Has anybody been using the Khoros file-format conversion program,
pbm2viff?  I tried using it on an image I scanned in using an EPSON GT-4000
in pbm format.  I got the following error message from pbm2viff:

	read_pbm:  Error!  Invalid width.
	Unable to read width of the pbm image.
	pbm2viff: Could not read input image.	

	This is a strange error message since John Bradley's XV had no
problem reading and displaying the same pbm file.

	I've tried using a PBM format file and PGM format file and both
give the same error and in both cases I believe the input file is okay
since XV is able to read it.

Thanks in advance.

rgds,
Suran.
suran@nff.ncl.omron.co.jp
From: poon@uts-phys.phys.uts.edu.au (Colin Poon)
Newsgroups: comp.soft-sys.khoros
Subject: Raw2viff in cantata
Date: 20 Nov 92 05:18:28 GMT

I am trying to perform raw-to-viff conversion for a 256x256 image in Cantata.
However, the glyph for 'raw2viff' in cantata does not have the option of
specifying the column size and row size, i.e., I cannot find the '-r' and '-c'
switch when I use the routine in Cantata.  The default values for the column
and row size have been set to 512.  I just wonder if there is anyway to
get around this limitation.


Colin
From: eb@felix.Sublink.Org (Enrico Badella)
Newsgroups: comp.soft-sys.khoros
Subject: Using F2C to compile parts of Khoros.
Date: 17 Nov 92 15:51:50 GMT
Organization: Soft*Star s.r.l, Torino, Italy

Has someone compiled the FORTRAN parts of Khoros with F2C? 

Since I don't have Sun Fortran on my Sun 4 and would like to evaluate
Khoros I thought I maybe could use F2C (that I don't have either 8-<)

So before starting this series of bootstraps, I'd like to get some
advice.

Thanks.

-- 
Enrico Badella				Internet: eb@felix.sublink.org
Soft*Star s.r.l.			          eb@icnucevx.cnuce.cnr.it
Via Camburzano 9			Phone:    +39-11-746092
10143 Torino, ITALY			Fax:      +39-11-746487
From: evansjr%ivory.nosc.mil@nosc.mil (John R. Evans)
Newsgroups: comp.soft-sys.khoros
Subject: default window sizes
Date: 19 Nov 92 00:22:06 GMT


When I invoke editimage or putimage and input a very large image the
window size seems to always default to 800x750.  Is there a way to
change this?  Specifically I have an image that may be 3000 rows by
1024 columns, so I want the screen to come up with 1024 columns already
displayed, rather then the default 800.

Thanks,
--------------------------------------------------------------------------------
John Evans (evansjr@nosc.mil)    | Once... in the wilds of Afghanistan, I lost 
Code 761, NCCOSC/NRaD            | my corkscrew, and we were forced to live on
San Diego, CA 92152-5000         | nothing but food and water for days. 
Phone: (619) 553-5479            |                ~ W. C. Fields
--------------------------------------------------------------------------------
From: marc@david.saclay.cea.fr (SBPM Marc GINGOLD)
Newsgroups: comp.soft-sys.khoros
Subject: Xprism2 axis labels
Date: 19 Nov 92 06:25:03 GMT
Article-I.D.: pprg.41724

Is it possible to have the axis labelled:
9  10  11 ..... 20
and NOT
.09 .10 .11 ... .20  (x10e2)  ?
(even by recompiling?)

Thanks in advance.
Newsgroups: comp.soft-sys.khoros
From: vdp@mayo.edu (Vinayak Dutt)
Subject: Re: Khoros on Sony-News workstations.
Summary:  problems with cantata on Sparc
Keywords:  Vfork() failure, cantata, process table full
Reply-To: vdp@mayo.edu
Organization: Mayo Foundation/Mayo Graduate School :Rochester, MN
Date: Mon, 16 Nov 92 15:51:00 GMT


Hello Khoros Users:

I had posted a problem which I am having with cantata some time back
and I did not hear about it so I am posting it again ...

I am running KHOROS on Sun4 (SparcStations/Servers) with SunOS 4.1.2
and Openwindows 3.0. The KHOROS code was compiled with bundled cc with
dynamic linking (if that if of any relevence).

I have noticed that when I run the KHOROS programs via cantata (using
the visual interface), after the individual glyph (ie its corresponding KHOROS
program) has finished execution, my process table entries still include its
entry though now as <defunct> process. Actually entry is not cleared completely
till cantata quits !!! This means that slowly and steadily the process table
on the system gets full and finally the system can not fork any more processes !!!
(I can not do even pstat :-). I would like to know if any one has had similar
problems on Sun4s and has any solutions to it ...

thanks

vinayak.

---
-------------------------------------------------------
                                           vinayak dutt
            Medical Sciences Building (2)   Mayo Clinic
                                     Rochester MN 55905
                                   e-mail: vdp@mayo.edu
				      FAX: 507-284-4705
Cogito cogito ergo cogito sum --
"I think that I think, therefore I think that I am."
            -- Ambrose Bierce, "The Devil's Dictionary"
-------------------------------------------------------
From: swampler@leonardo.wr.usgs.gov (Steve Wampler)
Newsgroups: comp.soft-sys.khoros
Subject: lablabel from lableft and labright?
Date: 20 Nov 92 23:58:04 GMT

In $KHOROS_HOME/data/images, I'm assuming that lablabel was created
from lableft and labright (incidently, lableft claims (internally)
to be the right image and labright claims to be the left image...).

Is there a journal file lying around showing how they were combined?
(Or does someone know how?)  I tried putting them through vrmatch,
but that doesn't work (vrmatch rejects them).

-- 
swampler@leonardo.wr.usgs.gov
{Steve Wampler, ISD, USGS, Flagstaff AZ}
Newsgroups: comp.soft-sys.khoros