HDTenEightyP/NetNews huggingface dataset:
From: jan@math.chalmers.se (Jan Stein)
Newsgroups: comp.soft-sys.khoros
Subject: Re: PARSER COMPILE PROBLEMS
Date: 14 Apr 92 13:51:45 GMT
Article-I.D.: pprg.37446


Hi,

I've just found out what's causing the problem with the lex and yacc files
(at least on our SparcStation). The problem is that there is .y.o and .l.o
rules but no .y.c and .l.c rules in the Makefile. This causes make to behave
differently if the .c exists or not.

Scenario 1:
    Only poly_lex.l exists.
    Make does:

	rm -f lex.yy.c
	lex -n poly_lex.l > lex.yy.c
	sed -e 's/GENERIC_/dspl_/g' < /usr/local/khoros/repos/config/scripts/lexyacc_sed.rules > sed.rules.mod
	sed -f sed.rules.mod < lex.yy.c > lex.yy.mod
	rm -f lex.yy.c poly_lex.o shared/poly_lex.o sed.rules.mod
	mv lex.yy.mod lex.yy.c
	cc -c -DSHAREDCODE -DSUNSHLIB -O -PIC  -I/usr/local/khoros/include     -DVFORK -DTEMPNAM -DPUTENV  -DRANDOM   -DWAIT3      lex.yy.c
	mv lex.yy.o shared/poly_lex.o
	cc -c -DSUNSHLIB -O -PIC  -I/usr/local/khoros/include     -DVFORK -DTEMPNAM -DPUTENV  -DRANDOM   -DWAIT3      lex.yy.c
	mv lex.yy.o poly_lex.o
	rm -f lex.yy.c

Scenario 2:
    poly_lex.c exists but is older than poly_lex.l
    Make does:

	rm -f poly_lex.c 
	lex -n -t poly_lex.l > poly_lex.c
	rm -f poly_lex.o shared/poly_lex.o
	cc -c -DSHAREDCODE -DSUNSHLIB -O -PIC  -I/usr/local/khoros/include     -DVFORK -DTEMPNAM -DPUTENV  -DRANDOM   -DWAIT3      poly_lex.c
	mv poly_lex.o shared/poly_lex.o
	cc -c -DSUNSHLIB -O -PIC  -I/usr/local/khoros/include     -DVFORK -DTEMPNAM -DPUTENV  -DRANDOM   -DWAIT3      poly_lex.c


The problem was that the if you applied patch 5 it left .c files and as long as
you have the .c file make will compile according to scenario 2 and the sed-
fixes will never be applied. If you remove the .c file it will use the correct
.l.o rule which deletes the temporary .c file.

Conclusion: Tom's fix works.


	/Jan Stein


P.S. The .y.c & .l.c rules in repos/config/imake_conf/Khoros.rules are wrong,
     they compile the .c files generated. Since they aren't used in Khoros
     there's no problem but they might be used in the future.
From: sauer@chama.eece.unm.edu (Tom Sauer)
Newsgroups: comp.soft-sys.khoros
Subject: Re: help with xprism2/3
Date: 14 Apr 92 14:53:44 GMT
Article-I.D.: pprg.37455

Hi,

On Apr 13, 23:00, Mueller-Pfeiffer, Stefan wrote:
} Subject: help with xprism2/3
>> Hi,
>> 
>> may be this is a trivial setup-bug, but I cannot find the solution:
>> Recently I installed Khoros 1.0 PL 5 (binaries from pprg.eece.unm.edu)
>> on a DECstation 3100 (Ultrix V4.2A Rev 47) and kept it running under mwm.
>> 
>> But when I invoke xprism2 or xprism3  (both with and without command line
>> arguments, I get lots of messages like
>> 
>>    xvf_parse_string_line
>>       Error in line '-H 1 6x2+36+1' HELP
>>    $KHOROS_HOME/doc/xprism/xprism2/output/postscript/help
>>    Only able to read 3 out of 16 required fields
>> 
>> and lots of other xvf_parse_foo_bar error messages. WHAT IS GOING WRONG ??

Ok, it sounds like you have installed patch 5 to source, but have not
installed patch 5 to system. It's easy to check what patch level you are at.
look at the files $KHOROS_HOME/src/PatchLevel and $KHOROS_HOME/repos/PatchLevel
they should be:

	Khoros 1.0 Source Patch 5 - Fri Mar 20 14:07:14 MST 1992
	Khoros 1.0 System Patch 5 - Fri Mar 20 14:06:43 MST 1992

>> 
>> Please help a novice ! -Stefan
>> 
>> Internet: iff327@zam001.zam.kfa-juelich.de
>>    Error in line
}-- End of excerpt from Mueller-Pfeiffer, Stefan

If this is not the problem, please let me know.

Thanks,

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: IFF327@DJUKFA11.BITNET (Mueller-Pfeiffer, Stefan)
Newsgroups: comp.soft-sys.khoros
Subject: help with xprism2/3
Date: 13 Apr 92 21:24:30 GMT
Organization: KFA  Forschungszentrum Juelich

Hi,

may be this is a trivial setup-bug, but I cannot find the solution:
Recently I installed Khoros 1.0 PL 5 (binaries from pprg.eece.unm.edu)
on a DECstation 3100 (Ultrix V4.2A Rev 47) and kept it running under mwm.

But when I invoke xprism2 or xprism3  (both with and without command line
arguments, I get lots of messages like

   xvf_parse_string_line
      Error in line '-H 1 6x2+36+1' HELP
   $KHOROS_HOME/doc/xprism/xprism2/output/postscript/help
   Only able to read 3 out of 16 required fields

and lots of other xvf_parse_foo_bar error messages. WHAT IS GOING WRONG ??

Please help a novice ! -Stefan

Internet: iff327@zam001.zam.kfa-juelich.de
   Error in line
From: gdcarson@icaen.uiowa.edu (Gregory Donald Carson)
Newsgroups: comp.soft-sys.khoros
Subject: Making Khoros Work..HELP
Date: 13 Apr 92 02:10:24 GMT
Article-I.D.: pprg.37421


 Sorry about the repeat of this, but it was brought to my attention that I
needed to include some more information, please excuse the duplication.
 There are four seperate questions here, please help, I have not been able to
really use the system yet and want to as soon as possible.

 (1) Help!,

        I have ftp'd, and ./ installit'd the khoros data, src, and system
files.  The installation was done on an Apollo 425e running with the
DomainOS Release 10.3.5 (bsd4.3) operating system.
	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 (none of this works)

        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.


 (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 really 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


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

 (4) do I have the email address right I am using khoros@chama.eece.unm.edu,
but it has not been working apparently because I have been getting them all 
back.


THANKS FOR ALL THE HELP.........

Greg

cute block not done yet...........gdcarson@icaen.uiowa.edu
From: jan@math.chalmers.se (Jan Stein)
Newsgroups: comp.soft-sys.khoros
Subject: Re: Parser fix for, jan@math.chalmers.se
Date: 10 Apr 92 18:22:27 GMT



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

	Cheers,
	Jan Stein
From: kahn@tartarus.uchicago.edu
Newsgroups: comp.soft-sys.khoros
Subject: ANSI C and C++ compatibilty for Khoros?
Date: 16 Apr 92 16:33:26 GMT
Reply-To: kahn@tartarus.uchicago.edu ()
Organization: U. Chicago Computer Science Dept.



	I have been delighted with the khoros's software engineering,
but I'm using khoros with C++ and disappointed by the fact that
function prototypes are strictly K&R.  Why aren't they defined, as in
X, with a test for ANSI C or C++ that adds the arguement list to the
prototypes.  Heres an example of what X does:

#ifndef NeedFunctionPrototypes
#if defined(FUNCPROTO) || defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus)
#define NeedFunctionPrototypes 1
#else
#define NeedFunctionPrototypes 0
#endif /* __STDC__ */
#endif /* NeedFunctionPrototypes */

typedef void (*XtActionProc)(
#if NeedFunctionPrototypes
    Widget              /* widget */,
    XEvent*             /* event */,
    String*             /* params */,
    Cardinal*           /* num_params */
#endif
);


There are three reasons why I'm sending this message:

1) To encourage the creation of important enhacements to the khoros
headers: a) it will fascilitate the use of C++ with khoros, b) ANSI
prototypes will allow C users to compile under ANSI C with all the
benefits of function arguement checking, c) the header files will be
easier to read

2) To see if anyone has made any changes like this that I could borrow
for patch 5

3) To find out if khoros will be changed in the near future to have
ANSI compatability so I can decide how to deal with this in my code,
currently I plan to write a program that goes through the header files
and for each function adds a check for ANSI C that places ellipsis in
the function prototypes arguement list; 
i.e 
	char* malloc ()   becomes
	char* malloc( 
	#ifdef NeedsFunctionPrototypes ...
	) 

Any other ideas  are welcome.




Ari Kahn
Newsgroups: comp.soft-sys.khoros
From: NAME = 
Newsgroups: comp.soft-sys.khoros
Subject: classifying 16 bit images
Date: 9 Apr 92 12:28:49 GMT
Article-I.D.: pprg.37358

Hi,

We are intersted to process 16 bit images with Khoros. As far as I can see
most of the "Classification, Morphology and Segmentation" routines do only
work with 8 bit images. 
Did anybody ever write new routines in this field that allow to process 16
bit images, or did anybody ever try to modfiy existing routines in respect
to make them run with 16 bit images?


I look forward to here from you,

---Stefan



--------------------------------------------------------------------------------
Stefan Herr                           |  Internet: herr@embl-heidelberg.de
European Molecular Biology Laboratory |  Tel: 0049 - 6221 - 387532
6900 Heidelberg, Germany              |  Fax: 0049 - 6221 - 387306
--------------------------------------------------------------------------------
From: rasure@snidley.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: followup to Re: undefined _expr_lval and _vexpr_lex during compile
Date: 6 Apr 92 22:40:17 GMT
Article-I.D.: pprg.37302


In "Re: undefined _expr_lval and _vexpr_lex during compile", Ron L. Dilsavor writes:
+ 
+ John, 
+ Thanks for your response to my problem.
+ Here is the explanation of what was actually going on in my case:
+ 
+ ---------------------------
+ provided by Mike Clarkson...
+ The src/Lib/libexpr directory was not properly cleaned.  There is a
+ C file generated by yacc and lex that should be deleted, and then
+ the library rebuilt.  Look in the Makefile for the yacc depedency.
+ ----------------------------
+ 
+ I needed to "rm expr_lex.c" or simply "touch expr_lex.l".
+ There were no errors upon rebuilding.
+ Perhaps the \src\Lib\vexpr\Makefile or "make allclean"  
+ needs to be fixed to handle this automatically.
+ 
End of message from Ron L. Dilsavor
From: becky@chama.eece.unm.edu (Becky Bishop)
Newsgroups: comp.soft-sys.khoros
Subject: (none)
Date: 9 Apr 92 01:43:12 GMT
Article-I.D.: pprg.37354


                        KHOROS TRAINING COURSES

This is to test the waters, to see if there is sufficient interest
to justify two Khoros training courses.  Specifically, we are      
considering offering two courses, one Image Processing course using
Khoros and a Khoros User's/Programmer's course.  The courses 
are described as follows :



                    IMAGE PROCESSING WITH KHOROS
                       UNM Summer Short Course

This will be a short course in Image processing with Khoros.
The course under consideration will consist of a four-day
course, starting August 4th on the University of New Mexico
campus.  The emphasis will be on practical image processing,
reinforced in the lab with exercises using Khoros.  Part or all 
of the last day will be devoted to writing and installing Khoros 
routines.  The fee will be $900/person.

Instructor

The instructor is Greg Donohoe, Ph.D., Assistant Professor of Electrical
and Computer Engineer.  Greg has 12 years experience in image
processing and computer vision, both as a Senior Member of the Technical
Staff at Sandia National Labs and on the faculty of the University of New
Mexico.  He regularly teaches a graduate course
in Image Processing at UNM.  He has contributed routines to Khoros, and
he and his students use Khoros extensively in the classroom and in
research.

If you would be interested in such a course and you or your organization 
are willing to pay your costs, please email to Greg Donohoe at:

donohoe@jemez.eece.unm.edu


                 Khoros User's/Programmer's Training Course

This course will consist of two components.  For those who wish to
learn to use Khoros and its existing capabilities, a 3 day User's
course will be given.  This course will introduce user's to the Khoros
system including the visual language, Cantata, and the the various
plotting and image display programs provided with the system.  In 
addition, the course will provide installation information and toolbox
configuration.    

For those user's who wish to learn to write new application programs 
and integrate existing routines within Khoros, an optional 2 day 
Programmer's course will be given following the User's course.  
Both causes will consist of lectures and lab exercises.

Tentative dates set for the User's course are July 13-15 with the
two day programmer's course to follow.  The course will be given by 
members of the Khoros Group and most likely will be held in           
Albuquerque.

If you would be interested in such a course, please e-mail 
Becky Bishop at:

becky@chama.eece.unm.edu
From: rasure@nell.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: Re: build and install in seperate directories
Date: 13 Apr 92 15:54:00 GMT
Article-I.D.: pprg.37431


In "build and install in seperate directories", George Lindholm writes:
+ Has anyone done the work so that I can build khoros in 
+ /usr/local/src/bin/khoros and install what is needed in /usr/local/khoros
+ (followed by rm -fr /usr/local/src/bin/khoros)?

The source configuration and User Interface Files are dependent on the
$KHOROS_HOME envirionment variable .... but bins and libs can be anywhere.

In other words;  src, doc, man, manual, and repos are dependent on
how $KHOROS_HOME is set.  But bin, lib, and include can be anywhere as long
as you define them properly when you run installit.

I would think that symbolic links would give you all of the flexibility 
that you need.

+ 
+ The impression I have from a quick skim through the writeups is that you
+ can't (please prove me wrong). Thanks
+ 
+    George
+ - -- 
+ George Lindholm                                  phone:    (604) 822-4375
+ University Computing Services, UBC               fax:      (604) 822-5116
+ 6356 Agricultural Road, Vancouver, B.C., Canada  internet: lindholm@ucs.ubc.ca
+ V6T 1Z2                                          bitnet:   USERGNL@UBCMTSG
End of message from George Lindholm
From: rpatil@nmsu.edu
Newsgroups: comp.soft-sys.khoros
Subject: 1) Image conversion 2) Image acquisition
Date: 7 Apr 92 18:14:24 GMT
Article-I.D.: pprg.37315


I have set of images taken using American Innovision Image processing
software. I think that they use a non stndard image format. Is anyone
using these images in khoros, how do you go about converting any of these
images to khoros standards

Has anyone worked on image acquisition part in khoros, i.e interfacing
khoros with actual image acquisition hardware.

Regards

RAjP.
From: rasure@nell.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: Re: batch jobs?
Date: 15 Apr 92 17:57:37 GMT
Article-I.D.: pprg.37479


In "batch jobs?", William David Haas writes:
+ 
+ I have looked through the user manual (Volume I, is there more?) and
+ I have two questions.

There are three volumes ... try the "prnmanual" command.

+ 
+ 1).  Can the variuous plotting programs (xprism2, xprism3, ???) plot in
+ 	multiple viewports?

No,  this is a desing requirement for Khoros 2.0.   We are implementing
a pretty comprehesive plot widget .....

+ 
+ I would like to devide the window into a left side and a right side so
+ I can compare two plots.  Is this possible?

Just two plots on top of each other.

+ 
+ 2).  Does Khoros have a batch mode?

No, and sort of.   You can execute the same thing that you execute in
cantata via the command line or a script.  Cantata logs the execution
in a file, that you can edit and turn into a script.  But this is
really a pretty hokey way to do it.

+ 
+ Suppose I have a certain format I want to produce a series of plots in.
+ I have 200 seperate data files with two columns of data in them and I
+ want each to be plotted with column 1 vs. column 2 and bow tie point
+ markers.  Is there some way I can create the plot I want for the first
+ data file and then run a single command, supplying the name of the 
+ datafile in each run, to get a plot of each different file?  (Is this
+ question clear?)

Ohhhh - you are talking about answer files in xprism, so YES, we do have
a batch mode.  Use answer files to save the state of xprism for the
specific settings that you want.  Then just read in the answer file and
the new data set.

+ 
+ -dav
End of message from William David Haas
From: rasure@nell.eece.unm.edu (John Rasure)
Newsgroups: comp.soft-sys.khoros
Subject: Two new papers on pprg .....  khoros 2.0 stuff
Date: 9 Apr 92 00:56:19 GMT
Article-I.D.: pprg.37350

on pprg.eece.unm.edu you will find the following README in directory
/pub/khoros/misc/papers/paper_xhibition/

3)  The papers in the directory paper_xhibition are:

        Danielle Argiro and John Rasure,
        "An X Windows Based Application Programming System",
        Xhibition '92  (June 15, 1992, San Jose, CA)

        ui.ps.Z - The compressed PostScript file containing the paper

        Mark Young and John Rasure,
        "On Open Environment for Hetereogeneous Distributed Computing",
        Xhibition '92  (June 15, 1992, San Jose, CA)

        phantom.ps.Z - The compressed PostScript file containing the paper
From: michael@cs.huji.ac.il (Michael Naaman)
Newsgroups: comp.soft-sys.khoros
Subject: Problems with patch 5 compilation
Date: 6 Apr 92 08:26:05 GMT
Article-I.D.: pprg.37282


   Hello.
   I'm compiling patch5 on a sparc2 with SunOs4.1.1 (with the old ld), and
did it with shared libraries. It compiled eventually, but anything I try to
operate, complains:

ld.so: undefined symbol _epxr_lval

   I coudn't find where this is supposed to be defined, even in the system 
before the patch.

   Please help as fast as possible, since I'm off at the end of this week for
a couple of weeks,  and would very much like to finish it before.

   Thanx alot

=====>   Michael
           CS System Group, Hebrew University, Jerusalem, Israel
|==========================================================================|
| The beauty of knowledge is, that when you share it, you don't loose.     |
|--------------------------------------------------------------------------|
| All opinions expressed here are mine - nothing to do with my employer.   |
|						Michael			   |
|--------------------------------------------------------------------------|
From: DMOORE@ccs1.bbn.com
Newsgroups: comp.soft-sys.khoros
Subject: khoros applied to finite element pre- and post-processing
Date: 15 Apr 92 16:42:55 GMT
Article-I.D.: pprg.37476

Is there any one out there who has used elements of khoros for either pre-
or post-processing of fitie element data.  I would be interested in any
responses, ideas or suggestions.

	Denny Moore
	BBN Systems and Technologies
	(203) 447-3261
	dmoore@bbn.com
From: sauer@chama.eece.unm.edu (Tom Sauer)
Newsgroups: comp.soft-sys.khoros
Subject: Re: Khoros Starting Troubles
Date: 14 Apr 92 14:29:50 GMT
Article-I.D.: pprg.37451

Hi,

On Apr 14,  5:54, Gregory Donald Carson wrote:
} Subject: Khoros Starting Troubles
>> 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

Did you check the make.World file in $KHOROS_HOME/src to make sure
that all the routines compiled?

>> 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

It sounds like all the information processing routines compiled, but not
the X-applications. Make sure these compile and loaded. look in the
make.World file and make sure the binary exisits in $KHOROS_HOME/bin.

If all is well in the make.World and the executables exist in $KHOROS_HOME/bin,
then cd into $KHOROS_HOME/bin and try running one of the applications such as
xprism2.

If all above fails, please mail me back your system configuration:
Machine type, OS, windowing system, window manager.

Also, check the FAQ to make sure your problem is not listed.

>> 

      [ the rest deleted ]
>> 
>> Greg
>> 
>> cute block not done yet...........gdcarson@icaen.uiowa.edu
}-- End of excerpt from Gregory Donald Carson

Good Luck,

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: jameel@cs.tulane.edu (Akhtar Jameel)
Newsgroups: comp.soft-sys.khoros
Subject: have no clue how to
Date: 13 Apr 92 00:37:14 GMT
Article-I.D.: cs.1992Apr13.003714.1431
Organization: Computer Science Dept., Tulane Univ., New Orleans, LA
Nntp-Posting-Host-[nntpd-1371]: rex


i am starting to work in the area of handwritten character recognition using
neural networks. i have a scanned image of some characters on a page from a
apple scanner in the Macpaint as well as Raw format. these are at the moment
on a Sun running unix (ftp'd from mac to sun in raw mode).

i want to analyze these images using fast fourier transform programs. could
someone mail me few examples doing some image processing in this manner. i
will greatly appreciate any possible help/suggestions.thanks.


akhtar jameel
jameel@rex.cs.tulane.edu
-- 
Akhtar Jameel

INTERNET : jameel@rex.cs.tulane.edu       USENET  : {bionet!}rex!jameel
USmail   : 31 McAlister Drive, Box 1745   Phone   : Office: (504) 483 7456
	   New Orleans, LA 70118                    Home:   (504) 865 9601
From: escalera@disam.upm.es (Arturo de la Escalera)
Newsgroups: comp.soft-sys.khoros
Subject: patch 5 problem
Date: 10 Apr 92 08:25:52 GMT

We have the same problem than Michael Naaman. After compiling  I run any program and receive:  


ld.so: undefined symbol _epxr_lval

If I do the Ron L. Dilsavor's solution, the message is:

ld.so: Undefined symbol: _yylval


I have a Sun sparc2, SunOS 4.1.1 , SharedLibraries and no SunPatchedLd.


Has someone solved this problem?


Thanks in advance




			Arturo