HDTenEightyP/NetNews huggingface dataset:
From: young@oz.plymouth.edu (Prof. Leroy Young)
Subject: NeXT with mMacs
Reply-To: young@oz.plymouth.edu (Prof. Leroy Young)
Organization: Plymouth State College - Plymouth, N.H.
Date: Wed, 8 Apr 92 18:45:40 GMT



 I have a few questions that maybe someone can answer. My father is a
graphic designer and he has a lab of macs that he andhis students use for
 basic and andvanced design. The most frequently used programs include
macwrite , pagemaker, letrastudios and aldus freehand. He wishes to 
purchase a color printer in the near future. And he would like that
printer to be postscript. He recently talked with a next rep who
suggested using a colorstation as a printserver for the next
colorprinter. He likes the next as great deal and would like one but 
he cannot afford to be isolated from his macs. 1) How easy would it be 
to hook up the macs and the next? 2) What could he and could he not 
do accross platforms? 3) Could the next be a file server? 4) Does
nextstep  3.0 allow this?  Please, if anyone knows what could be done
, we would appreciate your knowledge.

                Thank You
		C. Alex Young
                plymouth state college
                fine arts dept.
                a_young@oz.plymouth.edu
From: andrew@cubetech.com (Andrew Loewenstern)
Newsgroups: comp.sys.next.programmer
Subject: Re: Any way to edit inactive NetInfo and default data base files?
Date: 8 Apr 92 17:30:16 GMT
Reply-To: andrew@cubetech.com

In article <rlbvqINNmqf@agate.berkeley.edu> izumi@pinoko.berkeley.edu (Izumi  
Ohzawa) writes:

>  Also, is there a way to edit default database without logging in as
>  the owner of that account?

You could always rename your default database and symbolically link the other  
guy's database to your .NeXT directory...  Then dwrite away...


andrew
-- 
andrew@cubetech.com
Andrew Loewenstern            |  "listen: there's a hell of a good universe
Cube Technologies, Inc.       |   next door; let's go." --- e.e. cummings
From: nelson@reed.edu (Nelson Minar)
Newsgroups: comp.sys.next.programmer
Subject: Re: How do I override malloc with the C compiler?
Date: 15 Apr 92 19:43:53 GMT
Article-I.D.: reed.1992Apr15.194353.11176
Organization: Reed College, Portland, OR

In article <1992Apr14.221833.13899@reed.edu> I ask:
>When I go to link my program, I get errors from the linker claiming
>that malloc() is redefined. If I don't link in my own version of
>malloc(), it links fine, albeit without the code I want.
>The NeXT OS is the first system I've gotten these errors - most OSs
>will use my malloc() and never link in the standard malloc().

Thanks to Usenet once again for quick replies.
N Tomczak-Jaegermann <ntomczak@vega.math.ualberta.ca> kindly told me:

>This issue was rehashed in this newsgroup already.  Unfortunately
>nobody seems to know a good answer and NeXT is totally numb on the
>issue.  This has to do with how shared libraries are organized.  The
>only option you really have is to rename your routines and calls to
>them.

If anyone can tell me how to get around this linker problem without
having to rename my routines, I'd really appreciate it. I hate kludges
like "#define malloc My_Malloc_I_Hope_This_Name_Isnt_In_The_Library".

One more reason why I don't want to use a NeXT box...




-- 
                __
nelson@reed.edu \/        You stupid vulgar greedy ugly American death sucker
From: toon@moene.uucp (Toon Moene)
Newsgroups: comp.sys.next.programmer
Subject: Re: Virtual memory devours my disk
Date: 12 Apr 92 19:23:26 GMT

In article <1992Apr10.052219.5103@cubetech.com> andrew@cubetech.com  
(Andrew Loewenstern) writes:

[ ... NeXTStep does reuse space within swapfile ... ]

> Filesystem            kbytes    used   avail capacity  Mounted on
> /dev/sd1a              98442   97172       0   104% /private/vm/swapdisk
> 
> This is my swapdisk.  It has been like this for several days and I've 
> been using tons of vm since then (I can hear the drive grind away when I 
> use vm).   

Well, I can see that's no point with your system: you have a seperate swap  
partition or dito disk. I don't, so swap space is competing with news,  
mail, uucp and user disk space directly here. Now I don't mind using up 50  
Mb in a Mathematica run sometimes (if I know I have the space), but I  
would like it to be returned by the time I finish MMa. I still fail to see  
why that's such a problem - given that NeXT doesn't want to dedicate  
workforce to solve it. If the OS is capable of finding free pages within  
the swap file between beginning and end, it is also capable of garbage  
collecting the file. The additional work is just updating a few vm related  
structures ...

> If what you said was correct, my machine would have gone down in flames 
> a long time ago.  Although the swapfile itself is huge, there is lots of 
> free space in it.  Even if hiwat worked, what is the poor computer 
> supposed to do when it runs out of memory?  It could die a little bit 
> more gracefully though.

Well, we would be better off if the OS just killed off (and reclaimed the  
swap file space of) a non-critical app. The point is - of course - that  
the OS has little inkling what apps are non-critical :-) Perhaps we should  
supply a configuration file ~/.non-critical-apps :-) :-)

--
Toon Moene (toon@moene.uucp)
Kantershof 269, 1104 GN  Amsterdam, The Netherlands
Tel.: + 31 20 6982029; Fax: + 31 20 6003411
No Disclaimers; a NeXT at home protects against this occupational hazard.
From: cnh5730@maraba.tamu.edu (Charles Herrick)
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin
Subject: Re: violent crashes (frequent!)
Date: 17 Apr 92 16:17:24 GMT
Followup-To: comp.sys.next.sysadmin

This belongs in comp.sys.next.sysadmin, so I've set the followup  
accordingly, and crossposted as well.

In article <andreas.703423209@atlas>  
andreas@atlas.physchem.chemie.uni-tuebingen.de (Andreas Haug) writes:
[ ... see original post in csn.programmer ...]
$ Whenever I log in, the Workspace closes immediately. 
[ ... ]
$ I formatted and rebuilded the Hard Disk several times (System 2.1)  
but that 
$ had no effect. 

Gee, I was just about to guess that you had wiped-out  
/NextLibrary/Fonts or /NextLibrary/Keyboards until I read the part  
about where you say you rebuilt the hard disk!

If you are building the system with a virgin version of 2.1 (why I  
always keep an un-diddled 2.1 OD hidden away :-), then I'd guess a  
hardware problem.

If your 2.1 is not virgin, then who knows what you're putting onto  
the HD.

	Good luck
From: cfleming@reis27.alleg.edu (Chuck Fleming)
Newsgroups: comp.sys.next.programmer
Subject: MathLink code
Keywords: MathLink, source code
Date: 9 Apr 92 00:31:51 GMT
Organization: Allegheny College

Greetings from Allegheny College,

In case anyone is interested in a simple IB example using MathLink, I just  
put one on pellns.alleg.edu in /pub/Source/Mathematics.  It's called  
PolyEval. It is an extremely simple demo, but hopefully it will give you a  
start on using MathLink with Interface Builder.  I am using Mathematica  
version 2.0.4.5.  All earlier versions gave me problems. You may still see  
some compiler warnings, but other than that things seem to be working.

Happy computing,
chuck
Newsgroups: comp.sys.next.programmer
From: smb3u@kiptron.psyc.virginia.edu (Steven M. Boker)
Subject: Re: Files in my home directory, and other ruminations
Organization: University of Virginia, Department of Psychology
Date: Tue, 14 Apr 1992 01:10:28 GMT

In article <SCOTT.92Apr13171021@nic.gac.edu> scott@nic.gac.edu (Scott Hess) writes:
>In article <1992Apr13.170727.21749@eagle.lerc.nasa.gov> jim@ljkiraly.lerc.nasa.gov (L J "Jim" Kiraly) writes:
>>The neatest thing to do would be for developers to agree to put
>>their stuff into a .Apps directory - one hidden file in your account
>>with appropriate subdirectories for the requirements of each app.
>>I was thinking that this could go into the .NeXT directory but it
>>would probably screw up upgrades etc.
>
>OK, should it be ~/.Apps?  This has other decent possibilities.
>What if you allowed a /.LocalApps directory which could store
>system-wide info?  Of course, how does one go about modifying that
>info?  You'd need a special superuser version or toggle to do it.
>But, ~/.Apps is a good idea.  Or, how about a default owned by
>System or GLOBAL called HiddenFiles, which could default to ~/.Apps,
>yet could be changed for other programs individually.
>
>What of the structure within ~/.Apps?  I would say that groups like
>RightBrain, Stone Design, and Lighthouse should use
><HiddenFiles>/RightBrain, <HiddenFiles>/Stone, etc.  <HiddenFiles>
>being "the value of the HiddenFiles default".  Note the lack of a
>'.' on the subfile names.  this makes sense, because you've already
>hidden the entire directory.  You can only assume that someone who
>comes looking into it already knows how to find hidden dot files,
>so why make their job tougher?
>

This idea makes a whole lot of sense.  I like the flexibility of 
dwrite -g NXHiddenFiles .Apps
so that everyone has the opportunity to set this default to where
they would like their hidden files to appear.

I think Scott has a good idea in setting some defacto standard about
how we organize our shared space in this directory.  Publisher name
or project name would work fine.  What doesn't work is something like
<NXHiddenFiles>/data or <NXHiddenFiles>/editor.  We just need to make
sure that the names are mutually exclusive.  It doesn't have to look
terribly pretty as we have covered it in a hidden directory anyway, right?

Steve Boker
Data Transforms.


-- 
 #====#====#====#====#====#====#====#====#====#====#====#====#====#====#====#
 #  Steve Boker           #             "Two's bifurcation                  #
 #  smb3u@virginia.edu    #             but three's chaotic"                #
 #====#====#====#====#====#====#====#====#====#====#====#====#====#====#====#
Newsgroups: comp.sys.next.programmer
From: bryan@ad.cise.nsf.gov (Bryan Thompson)
Subject: upgrading to gcc 2.0, 2.1 on a NeXT
Organization: National Science Foundation
Date: Thu, 9 Apr 1992 14:47:55 GMT

What happens we you (try to) upgrade the c/c++ compiler on the NeXT to a newer  
version (i.e. gcc 2.0, 2.1).  It is my understanding (from the man page) that  
NeXT put a lot into the version that they shipped.  What is the practive and  
experience of people using the newer gcc versions -- do you have to retain the  
older version for compatibility and use the newer version just for stand alone  
projects; is any aspect of objective C broken in the new gcc releases; how do  
you manage to install the new version without interfering with the NeXT  
supplied header files, etc.

Can anyone elaborate on the proper why to update the NeXT platform.  Does NeXT  
have any explicit recommendations and will they be shipping a newer version  
with the 3.0 OS -- how will that version relate to the GNU versions?

bryan
Newsgroups: comp.sys.next.programmer,sci.math.symbolic
From: fletcher@socrates.umd.edu (Charles Fletcher)
Subject: Re: Linking a C program to Mathematica (ver. 1.2)
Keywords: Mathematica, MathLink, MathTool, OTI MathPalette, Mark Phillips
Organization: University of Maryland University College
Date: Wed, 8 Apr 1992 17:12:12 GMT

In article <1992Apr8.132658.9582@msuinfo.cl.msu.edu> engelsma@golden.cps.msu.edu (Engelsma Jonathan) writes:
>In article <1992Apr4.002423.7852@athena.mit.edu>, shanega@athena.mit.edu (Shane G. Artis) writes:
>|> Hi!  Does anybody have any code fragments or code files that give a
>|> good example of linking a C program to Mathematica's Kernel, when
>|> running on a NeXT computer with Mathematica version 1.2?  I need
>|> to establish a two-way link and send matrices back and forth, as
>|> well as perform various other common Mathematica operations upon my
>|> data (both symbolic and numerical).
>|>
>|> Any suggestions/code?
>|>
>
>I found a small tech report from wolfram in the manuals that came
>with our Sun version of mathematica that was quite useful.  It is
>entitled: Mathlink External Communication in Mathematica.   I 
>suppose you would need to contact Wolfram to get a copy.  Can 
>somebody listening comment on the availibility of this tech report?

	Yes, you can get this from WRI (I believe it is still free), 
	but don't bother (yet.) As I wrote Shane, there a basically
	five ways to connect C->Mma:

	1) MathLink--This is a standard set down by WRI (and is suppose
	to connect their kernels and frontends in the future.) For all
	practical purposes, this doesn't work at this time (I would be 
	glad to hear from *anyone* to the contrary.) After making some
	changes to the code, I did get the frontend example working
	(see the MathLink directory under Mathematica.app) However, I haven't
	gotten any of the simple examples to work that are given in the
	docs (nor do I know anyone who has.) Some WRI reps told me that
	MathLink still isn't working (note that WRI isn't using it.)
	Word has it that it will be working in version 2.1, whenever that
	comes along.

	2) It's Unix, so use pipes. This has been done (OTI palettes
	do it this way I believe.) Mark Phillips wrote an article in the
	Fall 1990 Mathematica Journal which included discussion on how
	he used pipes to connent with Mma. His software, with source, 
	is available by ftp from 'poincare.geom.umn.edu'.

	3) Get the OTI Math Palette. This is the easiest way to go. 
	It is somewhat costly, but they do have good educational discounts.

	4) Get the Rare MathTool. This is actually a class (originally
	written by Chuck Fleming of Allegheny fame) that uses Speaker-
	Listener to connect to Mma. I don't know pricing.

	5) Write your own S-L connection (or wait on NS3.0). See the
	Real Time Algebra demo for motavition (but no source.)

	
	Good luck,

	Charlie
-- 

Charlie

*********************************************************************
Newsgroups: comp.sys.next.programmer
From: cgrafx!brian@uu.psi.com  (Brian C. Hobbs)
Subject: tracing a bezier curve
Organization: Chromagrafx Imaging Systems, Hauppauge, NY
Date: Mon, 6 Apr 1992 20:19:26 GMT


	If I constrained a bezier curve to conform to a function (as in
"every x value has one and only one y value"), and plotted it out via a 
curveto operator, is there any way that I could find out what the y value
for a point along the curve would be for any x value?  Either the relevant
equations for a Bezier curve or some ps code to trace it would be very  
helpful.

	This would sort of be like the functionality of the gamma curve
manipulator in Scene.

	Thanks.


--
Brian C. Hobbs				|	"I am Number Two."
Chromagrafx Imaging Systems	|	"Who is Number One?"
brian@chromagrafx.com		|	"You are, Number Six."
-- 
Brian C. Hobbs				|	"I am Number Two."
Chromagrafx Imaging Systems	|	"Who is Number One?"
brian@chromagrafx.com		|	"You are, Number Six."
From: cnh5730@maraba.tamu.edu (Charles Herrick)
Newsgroups: comp.sys.next.programmer
Subject: Re: Files in my home directory, and other ruminations
Date: 14 Apr 92 16:29:31 GMT

In article <SCOTT.92Apr13171021@nic.gac.edu> scott@nic.gac.edu (Scott  
Hess) writes:
$ Note that modified follow-up line.  I think this is something that
$ we should be discussing amongst the people who will be implementing
$ it (the users have already spoken and told us so :-).


Right-oh!

This thread should indeed finish it's lifespan on c.s.n.programmer.  
If we can get concensus on this, it should be presented to NeXT as a  
suggestion.
From: cnh5730@maraba.tamu.edu (Charles Herrick)
Newsgroups: comp.sys.next.programmer
Subject: Re: Pipes, Child Processes and Other Uglies
Date: 13 Apr 92 21:50:14 GMT

In article <1992Apr8.151618.10043@fnbc.com> drew@fnbc.com (Drew  
Davidson) writes:
$ A very good solution to this problem is contained in  
$ /NextDevelopers/Examples/Subprocess.  It does exactly what you want  
and uses  
$ DPSAddFD() to tie into the stdin/stdout of the subprocess.  I have  
modified  
$ this further to separate the stdout from stderr (the Subprocess  
object blends  
$ them together), allow pausing and resuming the process and some  
other neat-o's.


Drew, 
Are you going to post to this developer group or donate them to the  
archives? (hint, hint)

	Chuck Herrick
Newsgroups: comp.sys.next.programmer
From: tgingric@magnus.acs.ohio-state.edu (Tyler S Gingrich)
Subject: Re: Problems with Workspace's -getFileIconFor: TIFF: TIFFLength:ok:.
Organization: The Ohio State University
Date: Wed, 8 Apr 1992 12:30:39 GMT

In article <1992Apr7.155202.18548@talus.com> ajamison@talus.ogi.edu writes:
>In article <3502@rosie.NeXT.COM> aozer@next.com (Ali Ozer) writes:
>> done that, the problem goes away. Your bug sounds like that problem, and if
>> they're the same, then, yes, it's a NXImage bug, and it's fixed in 3.0. 
>
>Yeah, right.  Will they fix the lockFocus as well, or maybe the Bitmap  
>rendering, or maybe the screen rendering, or maybe the fact that the NXImage  
>object is too slow to render most images.
>
>I had to re-write the NXImage object because NeXT didn't do it right the first  
>time, the damn thing is too slow rendering and god forbid you actually want to  
>make a bitmap of anything at any size.  It's great if you want to render an  
>image that is only, say, 512k x 360k.  Now, let me ask you this, have you tried  
>rendering, let alone locking focus on, a 2k x 2k image that has 700 dpi worth  
>of data?  Takes a bit of time eh?
>
>I hope NeXT has changed the NXImage class drastically, otherwise we, as a  
>platform, are doomed for any type of high-end imaging.
>
>Also, something else to think about, I've seen a person who was working on an  
>image rendering project on a color station with 16MB RAM, and I've seen the  
>computer crash because the damn thing rendered so many reps, it wasn't funny.
>
>I seriously hope that these problems have been fixed, re-writing the NXImage  
>object wasn't fun...
>

I agree that some of the appkit objects need help (my personal favorite is the
text object) -- BUT, if you've rewritten the NXImage object from scratch, 
write some NeXT style documentation & sell the object for a reasonable price.

I'll buy one.

---
Tyler Gingrich				(614)292-7211
BenaTong 
Newsgroups: comp.sys.next.programmer,sci.math.symbolic
From: engelsma@springer.cps.msu.edu (Engelsma Jonathan)
Subject: Re: Linking a C program to Mathematica (ver. 1.2)
Keywords: Mathematica, MathLink, MathTool, OTI MathPalette, Mark Phillips
Organization: Dept. of Computer Science, Michigan State University
Date: Wed, 8 Apr 92 20:28:56 GMT

In article <1992Apr8.171212.23130@socrates.umd.edu>, fletcher@socrates.umd.edu (Charles Fletcher) writes:
|> 
|> 	Yes, you can get this from WRI (I believe it is still free), 
|> 	but don't bother (yet.) As I wrote Shane, there a basically
|> 	five ways to connect C->Mma:
|> 
|> 	1) MathLink--This is a standard set down by WRI (and is suppose
|> 	to connect their kernels and frontends in the future.) For all
|> 	practical purposes, this doesn't work at this time (I would be 
|> 	glad to hear from *anyone* to the contrary.) After making some
|> 	changes to the code, I did get the frontend example working
|> 	(see the MathLink directory under Mathematica.app) However, I haven't
|> 	gotten any of the simple examples to work that are given in the
|> 	docs (nor do I know anyone who has.) Some WRI reps told me that
|> 	MathLink still isn't working (note that WRI isn't using it.)
|> 	Word has it that it will be working in version 2.1, whenever that
|> 	comes along.
|> 

I find this strange.  I got the frontend and some of the examples
to work without modifications.  Everything seemed to work as 
documented.  

BTW, anybody know how I can reach WRI via e-mail?

-------------------------------------------------------------------------
Jonathan R. Engelsma                            Michigan State University
                                                     Department of
E-mail:   engelsma@cps.msu.edu                     Computer Science
	  uunet!frith!engelsma	
	  uunet!frith!jresys!engelsma (home)	
-------------------------------------------------------------------------
From: cnh5730@maraba.tamu.edu (Charles Herrick)
Newsgroups: comp.sys.next.programmer
Subject: If wishes were horses, what I'd like in the new IB
Date: 17 Apr 92 21:20:45 GMT

In IB, if you double-click on one of the class names in the Class  
Browser window (comes up when you double click the Classes suitcase),  
IB auto-opens the appropriate interface (.h) file.

It would be really cool if you could set via the Defaults Database an  
option to get IB to open (for example) the on-line RTF doc for that  
class.

	Just wishin' and hopin'
	cnh
Newsgroups: comp.sys.next.programmer,sci.math.symbolic
From: tlm@nextasy (Tom Marchioro)
Subject: Re: Linking a C program to Mathematica (ver. 1.2)
Organization: McMaster University, Hamilton, Ontario, Canada.
Date: Thu, 9 Apr 1992 12:37:19 GMT

engelsma@springer.cps.msu.edu (Engelsma Jonathan) writes:
: In article <1992Apr8.171212.23130@socrates.umd.edu>, fletcher@socrates.umd.edu (Charles Fletcher) writes:
<comments regarding MathLink Documentation removed>

: |> 	docs (nor do I know anyone who has.) Some WRI reps told me that
: |> 	MathLink still isn't working (note that WRI isn't using it.)
: |> 	Word has it that it will be working in version 2.1, whenever that
: |> 	comes along.
: |> 
: 
: I find this strange.  I got the frontend and some of the examples
: to work without modifications.  Everything seemed to work as 
: documented.  
: 
: BTW, anybody know how I can reach WRI via e-mail?
: 

I have also managed to get a couple of the "samples" to work (Mma 2.0.4.5
on a NeXTstation with OS 2.1) and also have Mike Mezzino's TeXdisplay 
utility which seems to be a fairly extensive and classic use of MathLink,
so perhaps it does work?

As for reaching WRI by E-mail. .. I've found that the "suggestions" box
suggestions@wri.com seems to go unanswered *forever* but that the "bugs"
one bugs@wri.com gets taken care of on a reasonable scale, ie < one week
and sometimes ~1 day which is not bad for such a service.  The fellow
I usually deal with there is named Ron Fisher and you might try putting 
ATTN: to him in the mail header (but don't tell him I gave you this idea!).

Hope this is Helpful --- Tom
From: dh10+@andrew.cmu.edu (David Christian Homan)
Newsgroups: comp.sys.next.programmer
Subject: Re: Netrek port to NeXTstep
Date: 6 Apr 92 17:45:12 GMT
Organization: Senior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA


Post from Michael Neuman:
>   There exists a program called netrek, which is arguably the most
> network arcade game for X... I've spent a long time porting it to get it to 
> run under MouseX and co-Xist, but it still doesn't work under 
> NeXTstep. The  conversion should be fairly simple--

[details of conversion deleted]

>   If there's some NeXTstep guru out there who thinks they'd like to
take a shot  
> at porting something like this over, send me mail! You netrek players out  
> there--I know you can vouch for the validity of the project! :-)

This is my worst nightmare!  I have spent many evenings working in a
cluster next to several "Net Trekkers" whose behavior (and odor) was
most foul.  Such a port would defile the NeXT.  

On a side node: many of the mice on our DEC Stations here at CMU suffer
from what is called "NetTrek Syndrome".  Because of the frequent
repetitive mouse clicking involved in the game, some mice develop
hyper-sensitive or insensitive buttons.  Also, the game has become such
a nuisance here that it is banned in almost every cluster on the campus.


- David.
Newsgroups: comp.sys.next.programmer