HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.sys.next.programmer
From: west@turing.toronto.edu (Tom West)
Subject: Text Class - Horizontal Scrolling
Organization: CSRI, University of Toronto
Date: 14 Dec 92 21:21:06 GMT

  One last appeal on this subject:

  Does anyone know for a fact whether 

  (1) the Text class *is* capable of doing automatic horizontal scrolling (i.e.
      when you type past the end of the frame it updates the Text objects frame)

	or

  (2) the Text class *is* not capable of doing automatic horizontal scrolling?

  There is a suspicious lack of any example programs that have editable 
horizontally scrolling windows.  The fact that all NeXT documentation
shows only vertically scrollable Text windows scares me.

  If indeed the Text class can do horizontal scrolling, any pointers to
sample code would be incredibly appreciated.  Merely changing the scrolling
Text code in the Concepts manual does *not* work.  It produces precisely
the set of symptoms mentioned in earlier posts.  (i.e. the system responds
properly for the 1st line of text and ignores the rest for purposes of
changing the frame rectangle.)  There may be some examples on ftp sites
that I am unaware of, since I've been programming the NeXT for only a little
over a month.

  Anyway, thanks in advance once again.  I'm very grateful for any
responses.

-- 
					Tom West
-----------------------------------------------------------------------------
Tom West			|  E-mail: west@hsa.on.ca 
Turing Programming Language	|  Phone : (416) 978-8363
-----------------------------------------------------------------------------
Alternate E-mail: west@turing.toronto.edu, west@opus.turing.toronto.edu 
		  tomwest@gpu.utcs.utoronto.ca 
Newsgroups: comp.sys.next.programmer
From: shanega@athena.mit.edu (Shane G. Artis)
Subject: Re: _very_ basic RenderMan question
Keywords: renderman
Organization: Massachusetts Institute of Technology
Date: Tue, 15 Dec 1992 03:34:37 GMT

In article <1992Dec13.110209.5345@lilliput.fdn.org> joseph@lilliput.fdn.org (Joseph Goldstone) writes:
><U54876@uicvm.uic.edu> writes
>> Hello -
>> 
>>   To all you experienced NeXT programmers out there, a very basic question
>> about RenderMan from someone who has just started programming.
>>   I have copied, verbatim, the "minimal program using RenderMan" from page 18
>> of The RenderMan Companion, saved it as test.c, and tried to compile it  
>using:
>> cc -lMedia_s test.c -o test
>> 
>> I get:
>> 
>> /bin/ld: Undefined symbols:
>> _RiBegin
>> _RiWorldBegin
>> _RiSurface
>> _RI_P
>> _RiPolygon
>> _RiWorldEnd
>> _RiEnd
>> 
>...
>
>You can't get there from here.
>
>To compile the programs in the Companion you would need to be able to either  
>directly link in the renderer, or link in the RIB client library routines that  
>emit the RIB eaten by the renderer (which in this case is the renderer in  
>/usr/prman/prman)..

<edited>

Actually, I disagree, up to a point.  I have successfully written and
compiled and executed most of the basic examples in The RenderMan
Companion.  The functions RiBegin(), RiSurface(), etc. exist quite
nicely in libMedia_s.a, and /usr/include/3DKit/ri.h handles things
quite nicely.  I think this person's basic problem is that to compile
you need to use the command:

	cc -g -O RIfile.c -o RIfile -lMedia_s -lNeXT_s

i.e. the libraries need to be at the END of the command line.  The
developers RenderMan is probably basically the same as the NeXT
version, but better documented, more tutorials, a linkable renderer
(for adding new capabilities, like trace(), and a RIB library).  Note
that the big feature here is the linkable renderer.

I think NeXT doesn't want to support the standard Ri() commands
themselves, at the expense of their nice Objective-C environment, but
they still work just fine if you want to use them.

This reasoning may break down when using more sophisticated examples
that I haven't tried yet, but so far I've been able to link in every
Ri function that I've needed to use, and that includes some pretty
sophisticated ones.

By the way, I haven't yet gotten one of the standard RenderMan programs
from the RenderMan Companion to output the picture to the screen - that 
process is not documented.  What I do is add lines like :

        RiBegin(RI_NULL, RI_RENDERER, &archive,
                 RI_FILEPATH, &outputfile, RI_NULL);
        RiOption(RI_ARCHIVE, "outputversion", &v31, RI_NULL);
        RiDisplay("/me/Renderman/src/foo.tiff",RI_FILE,RI_RGBA,RI_NULL);

to my file.  This dumps the rest of the file to a .RIB file, which I
then pass to prman.

Regards,

Shane


Newsgroups: comp.sys.next.programmer
From: Robert_La_Ferla@hot.com
Subject: Re: grepping, fgrepping, and egrepping
Reply-To: Robert_La_Ferla@hot.com
Organization: Hot Technologies
Date: Sat, 12 Dec 1992 13:49:11 GMT

In article <1992Dec11.01531.7421@ms.uky.edu> The Iguana writes:
> Is there anyway to get GREP to take a given string or character
> and return the result of validating a string WITHOUT these?
> 
> fgrep -v 'string'  <-- will return all LINES that don't have 'string'
> in them. But I need a process that will read in a string and output
> every character EXCEPT those in the string.

In other words, you want to remove all occurrences of a string from a text  
file or stream?  Use "sed" or "awk".

Robert La Ferla
Hot Technologies

Newsgroups: comp.sys.next.programmer
From: eps@futon.SFSU.EDU (Eric P. Scott)
Subject: Re: Emacs 3.0 & EMACSLOADPATH
Reply-To: eps@cs.sfsu.edu
Organization: San Francisco State University
Date: Sat, 19 Dec 1992 14:25:10 GMT

We use

	(setq load-path (append load-path (cons "/usr/local/lisp" nil)))

in /usr/lib/emacs/lisp/default.el to add to (rather than replace)
the load path.

					-=EPS=-
-- 
If only more things in life understood (setq inhibit-startup-message t)
Newsgroups: comp.sys.next.programmer
From: brian@umbc4.umbc.edu (Brian Cuthie)
Subject: Re: Help a Neophyte, Please
Organization: Systemix Software, Inc.
Date: Mon, 21 Dec 1992 05:41:18 GMT

In article <1992Dec20.102454.17347@macc.wisc.edu> anderson@macc.wisc.edu (Jess Anderson) writes:
>
>In my current project, I have 24 radio buttons that I want
>to behave like a matrix, in so far as clicking one unselects
>all the others.  But I want these cells to be at arbitrary
>positions in the window (they're points on a map, actually).
>I could live with a regular matrix, but the interface
>wouldn't be nearly so nice-looking.  How can I do this, or
>can I at all?
>

Why not write a class of your own that implements the behavior of a disjoint
radio button matrix.   As I see it, you would connect each individual button
to the "Coordinator" class and it would manage making sure that they (as a
group) have the behavior of a radio matrix.  That is, one button on at a
time.  This shouldn't take long to implement at all (like, less than an
hour).

brian


-- 
Brian Cuthie
Systemix Software, Inc.
brian@systemix.com
From: chauvin@pencom.com (Chris Chauvin)
Newsgroups: comp.sys.next.programmer
Subject: Re: NextDimension video memory mapping
Date: 17 Dec 92 16:42:32 GMT
Reply-To: chauvin@pencom.com (Chris Chauvin)
Organization: Pencom Software

In article <BzBqst.JBK.2@cs.cmu.edu> rwb@alexander.VI.RI.CMU.EDU (Robert  
Berger) writes:
> 
> Can the video memory of the Dimension be accessed directly, through
> /dev/vid0?
> 
> If so, where can I find some example source that does this? Maybe
> in some X implementation ?

No.  That will access the grey-scale frame buffer on the CPU board.

Chris Chauvin
Pencom Software
Newsgroups: comp.sys.next.programmer
From: jeffo@uiuc.edu (J.B. Nicholson-Owens)
Subject: Re: How to limit window size of app
Reply-To: jeffo@uiuc.edu (J.B. Nicholson-Owens)
Organization: University of Illinois at Urbana
Date: Tue, 15 Dec 1992 21:11:16 GMT

nevin@dtint.dtint.com writes
> No, no, no.  This is the old solution.  While this was easy, it is
> now even easier.

In 3.0, you can also do the minimum size in IB and save yourself that  
-setMinSize: programming.  In the window size inspector there is a  
place to set minimum size (why not both minimum and maximum?).
-- 
-- Jeff (jeffo@uiuc.edu)
-- NeXTmail welcome
From: sahle@opac1.cc.vt.edu (Eskinder Sahle)
Newsgroups: comp.sys.next.programmer
Subject: How d I update a miniaturized window?
Keywords: mini-window, appkit
Date: 16 Dec 92 00:48:57 GMT


I need to update a window periodically in my application. This means I  
need to update even when the window is miniaturized. The problem is the  
pointer to the full-blown window is different from the miniwindow that  
represents it. Hence, how do I  find the id of the original window once it  
has been miniaturized. 

Any clue is deeply appreciated

THANX
-- e.sahle
From: jgreen@next.com (Jack Greenfield)
Newsgroups: comp.sys.next.programmer
Subject: Re: Urge NeXT to support (complete) IXKit
Keywords: IXKit, IndexingKit, 3.1
Date: 15 Dec 92 21:17:04 GMT

In article <11DEC199209422447@mpx2.lampf.lanl.gov>  
silbar@mpx2.lampf.lanl.gov (Dick Silbar) writes:
> In article <1992Dec11.032552.5430@ictv.com>, jcollas@ictv.com writes...
> # ...
> #Jack mentioned that all known bugs in the Indexing Kit are fixed in  
3.1,  
> #except for the ones that haven't been found yet ;-)  
> 
> I might have missed a turn here, but has NeXT ever announced that there
> WILL be a 3.1?
> 
>    Dick Silbar

I believe I stated that all known bugs have been fixed for the next  
release, with the exception of the query object.  The introduction of the  
numbers 3.1 are the author's.

There is another correction to be made.  In response to questions from  
attendees concerning feature additions to IXKit, I stated that NeXT would  
not continue to invest resources in the IXKit after fixing the known bugs  
for the next release.  When people expressed disappointment, and asked  
what they could do to affect that decision, I suggested they send mail to  
NeXT, making their opinions known.

J.
Newsgroups: comp.sys.next.programmer
From: jeffo@uiuc.edu (J.B. Nicholson-Owens)
Subject: Re: Using the serial # in ROM as a copy protection mechanism...?
Reply-To: jeffo@uiuc.edu (J.B. Nicholson-Owens)
Organization: University of Illinois at Urbana
Date: Fri, 18 Dec 1992 22:33:24 GMT

I agree that Mathematica's protection is ridiculous.  It's a lot of  
hassle just to run Mma once, very distrustful of the user and  
ultimately a big problem when you change hardware to like hardware  
(something that most people would not consider affecting their  
purchased software at all).  However, I don't think that any approach  
is successful in tying a single user to a copy of a program.

Louis A. Mamakos writes
> The approach that I like is to give the user some piece of
> information that needs to be supplied to enable the application.  

But what if one user gives a copy of that information to another user  
and that other user changes their hardware to make the key work (for  
example, what people do when using the already publicized small program  
to change their ROM-encoded serial number to make someone else's Mma  
work)?  Or if the information is an answer to a question, what if  
someone gives those answers to someone else who gets a copy of the  
software?  Or what if someone sells their computer and copy of your  
program to someone else but doesn't tell you about the sale (perhaps  
they forgot, perhaps the warranty expired and they figured it wasn't  
worth the trouble to call you)?  In these cases, do you (the software  
developer) really have a clear idea who is pirating your software?   
When do you really know who is pirating software you wrote?
-- 
-- Jeff (jeffo@uiuc.edu)
-- NeXTmail welcome
Newsgroups: comp.sys.next.programmer
From: C471040@mizzou1.missouri.edu (Toejam)
Subject: Programmers Development Camp
Organization: University of Missouri
Date: Sun, 13 Dec 92 19:46:10 CST

Aloha.
 
I'm interested in the Programmers Development Camp offered by NeXT.
If anybody out there has attended one of these affairs could you
please drop me a line, I'd like to pop a few questions on you.
 
 
Toejam
From: toon@moene.indiv.nluug.nl (Toon Moene)
Newsgroups: comp.sys.next.programmer
Subject: Re: Using the serial # in ROM as a copy protection mechanism...?
Date: 20 Dec 92 17:02:40 GMT
Organization: Moene Computational Physics, Amsterdam, The Netherlands

In article <1gte4tINNs3r@ni.umd.edu> louie@sayshell.umd.edu (Louis A.  
Mamakos) writes:

[ .. pros and cons about using a hardwired 'serial number' for
     licensing removed ... ]

> You either trust your users or not.  The approach that I like is to
> give the user some piece of information that needs to be supplied to
> enable the application.  This piece of information uniquely identified
> the *owner* of the software.

> louie

Well, you'll trust your suppliers or not :-) Your scheme - as effected by  
the licensing for the (C)SLIP package - works fine for me - except for one  
little detail.  I obtained a license to use Compressed SLIP with my Neuron  
1414 modem.  Now this weekend I upgraded to 3.0, thereby effectively  
disabling Compressed SLIP, because it depends on being able to patch the  
kernel to permit IP packets < 536 bytes. Fortunately - I thought - there  
was an updated version of your CSLIP package on the Education Software  
Sampler CD-RON. Alas, installing this package overwrites the license file  
...  Because I'm very paranoid about keeping originals, I could go back  
and re-install the old version - and ended up doing the kernel hack myself  
:-)

Great software, though - kudo's ...

--
Toon Moene (toon@moene.indiv.nluug.nl)
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.
Newsgroups: comp.sys.next.programmer
From: minch@lotka.stanford.edu
Newsgroups: comp.sys.next.programmer
Subject: hit detection in user paths
Date: 18 Dec 1992 00:36:26 GMT
Organization: Stanford University
NNTP-Posting-Host: lotka.stanford.edu

Anybuddy,
I've got some big irregular shapes that I fill with user paths.  
Now I want to find which big irregular shape the mouse is  
clicked in. I look at DPSUserPath and find that dps_ufill is an  
allowable action, but DPSUserPath itself is declared as void. So  
how does the boolean get returned? Presumably it's left on the  
stack and I can maybe pick it up using some dps stack snooper,  
but is there a better way? 

---
 
Eric Minch         Any resemblance to the opinions of persons
Epistemic Artisan  or organizations other than myself--living,
Stanford Genetics  dead, or imaginary--is purely fortuitous.
From: andrew@stone.com (Andrew Stone)
Newsgroups: comp.sys.next.programmer
Subject: Re: Can't get OpenPanel to display *.wksp.Z files
Date: 19 Dec 92 16:55:02 GMT
Article-I.D.: stone.1992Dec19.165502.6818
Reply-To: andrew@stone.com
Organization: Stone Design Corp

In article <1992Dec19.001122.28791@newshost.lanl.gov> jpm@lanl.gov (Pat  
McGee) writes:
> 
> I'm working with an application that creates files with names that
> end in .wksp.Z (yes, they are compressed). I'd like to use
> OpenPanel to allow me to choose one of these files, with the
> other files not visible.
> 
> When I put "wksp.Z" in the types: parameter of the  
> runModalForDirectory:file:types: method, these files don't show
> up. I also have "wksp" in the list; these files show up just like I'd  
> expect.
> 
> Is there any way I can use OpenPanel to do what I want?
> 
> Has anyone written an equivalent of OpenPanel that I could get the  
> source code to?
> 
> Do you have any other suggestions? (except the obvious one of not  
> using .wksp.Z. That's outside my control.)
> 

Pat, I haven't done this exactly, but:

Check out the OpenPanel delegate methods:

- (BOOL)panelValidateFilenames:sender;
- (BOOL)panel:sender filterFile:(const char *)filename inDirectory:(const  
char *)directory;

You probably have to run modal for the .Z type [remember its probablye  
doing a strrchr on the ".", which explains why .wksp.Z doesn't work, and  
then further filter the files based on the delegate methods.

andrew
-- 
||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>||
!!      Andrew Stone          !!        (505) 345-4800      !!
!!    andrew@stone.com        <>       Stone Design Corp    !!
||<<->>||<<==>>||<<++>>||<<?>>||<<+>>||<<-->>||<<==>>||<<+>>||
Newsgroups: comp.sys.next.programmer
From: rantapaa@s6.math.umn.edu (Erik E. Rantapaa)
Subject: Do SunOS named pipes work with NS 2.0?
Organization: University of Minnesota
Date: Fri, 18 Dec 1992 06:36:21 GMT

My home directory is NFS mounted on our Nexts and Suns.
On a Sun I can create a named pipe in my home directory
and every works.  However, when I try to use the pipe
on the Nexts, both the reader and writer (which are on
the same machine) hang indefinitely.  Moreover, it is
impossible to kill them.  Can anyone explain this?
Is it not possible to use named pipes with NS?  Is this
why NS doesn't support 'mknod -p' or 'mkfifo' like
SunOS does?


Many thanks in advance,
--
 Save energy: be apathetic.

Erik Rantapaa    rantapaa@math.umn.edu
Newsgroups: comp.sys.next.programmer
From: greg@afs.com (Gregory H. Anderson)
Subject: Re: experienced NeXTSTEP programmer shortage
Reply-To: greg@afs.com
Date: Tue, 15 Dec 1992 19:50:18 GMT

In article <Bz6wo3.Jz6@ux1.cso.uiuc.edu> lemson@ux1.cso.uiuc.edu (David  
Lemson) writes:
> 
> You wouldn't believe how many headhunters call me in search of
> NeXTSTEP programmers. 

Well, the joke's on them and anyone else who thinks experience is a  
pre-requisite for all employees hired. AFS has 9 programmers now, only two  
of whom (recent arrivals) had ANY NeXT experience at all. Dave and I  
taught ourselves NeXTSTEP programming in less than three months (and I had  
only programmed in ... BASIC ... before), although I'll admit it takes  
almost a year to get really fluent at it. Since then, we have taught  
everybody else in amazingly short periods of time.

My point is that you only need one or two people who really, really know  
NeXTSTEP to build a programming shop, corporate-internal or third-party.  
Everyone else just has to be reasonably smart and open-minded. As I've  
stated innumerable times, the difficulties learning NeXTSTEP relate to  
information volume, not concepts. The AppKit, DBKit, IndexingKit, etc.,  
are just plain BIG, not hard. If you have even one or two person around  
who know how to navigate them, you can keep a whole shop moving forward.  
We do it. So can you.

*soap box on*
Why won't anyone invest in training their employees anymore? Why must  
everyone come pre-programmed for the specific job available? I'd rather  
teach programming to smart liberal arts majors who know how to think, than  
teach thinking to a bunch of computer linguists who only know how to code.
*soap box off*

Thank you. I feel better now.

--
Gregory H. Anderson          | Thus spake the master programmer: 
Master Programmer / Manager  | "Let the programmers be many and  
Anderson Financial Systems   | the managers few; then all will be 
greg@afs.com  (Nextmail OK)  | productive." -- Tao of Programming
From: athomson@otago.ac.nz (Alastair Thomson)
Newsgroups: comp.sys.next.programmer
Subject: Re: NeXTStep..
Date: 15 Dec 92 10:24:56 +1300
Organization: University of Otago, Dunedin, New Zealand

In article <1ggmnpINNhfa@usenet.INS.CWRU.Edu>, cm601@cleveland.Freenet.Edu (Bradley Alexander Derrick) writes:
> 
> 	I have a kinda dumb question.. But I guess no question is dumb,
> unless you don't ask.  So -- I am a junior in high school, and have
> basically worn out Turbo Pascal on the IBM and MAC platform.  Now my
> question is. In our computer class a graduate came back to our school with
> a NeXT Station (030 I think), and I was to say the least impressed.  So I
> did some research on NeXT and got some prices(I don't plan on buying one
> soon :> ). But I want to get a NeXT before I go to a University.  I plan on
> Majoring in Comuter Science and think with a Degree and NeXTStep programing
> capabilites I should fair pretty well.  But what dirivitive of C is
> Interface builder? C++, ANSI C.
> 
> 	I want to pick up C++ on my IBM, and learn at least the basics, so
> when I get my slab I'll know what I'm doing.
> 
>  - Al -

NeXTstep is based on Objective-C, for more info look at the discussion in
comp.sys.next.advocacy Why, Why, WHY use Objective-C.

Like C++ is is object oriented, but there the similarities end. C++ is also
bundled with NeXTstep, so you can use either, but because the Interface Builder
prodces Objective-C code it is probably easier

-- 
===============================================================================
                                    |
Alastair Thomson,                   | Phone +64-3-479-8347
University of Otago,                | Fax   +64-3-479-8529
Department of Computer Science,     | e-mail athomson@otago.ac.nz
P.O. Box 56                         |
Dunedin                             |
New Zealand                         |

===============================================================================
Newsgroups: comp.sys.next.programmer
From: statman@stat.ufl.edu (Chuck Kincaid)
Subject: Re: experienced NeXTSTEP programmer shortage
Organization: University of Fl, Department of Statistics
	<1992Dec14.043829.1120@cubetech.com>
Date: 14 Dec 92 19:57:28

>>>>> On Mon, 14 Dec 1992 04:38:29 GMT, andrew@cubetech.com (Andrew Loewenstern) said:

  In article <2B27CD4C.3212@deneva.sdd.trw.com> thomsen@spf.trw.com (Mark Thomsen) writes:
>Art Isbell writes
>> So now's the time for you to go for it!  Unfilled positions are begging for
>> your expertise (in NeXTSTEP software development) ...
>
>I have had similar experiences - lots and lots of opportunities for experienced  
>and skilled NeXTSTEP software developers. Especially if you are willing to  
>locate to SF Bay Area, Chicago, New York area, LA, or Texas. Buying NeXTs and 
>believing in the vision is easier than finding the talent to create those  
>custom applications.
>
>A sellers market at this moment.


 Andrew> ditto.


Hey, how about Ph.D. statisticians who do research and program on the
NeXT?  

charles d. kincaid
'the neo-modern post-anti-reductionistic statistician'



--
charles d. kincaid		STATS:  (904) 392-1941
statman@stat.ufl.edu		CIRCA:  (904) 392-2007
'Damn fine coffee...and hot, too!'


Newsgroups: comp.sys.next.programmer
From: eps@futon.SFSU.EDU (Eric P. Scott)
Subject: Re: How d I update a miniaturized window?
Reply-To: eps@cs.sfsu.edu
Organization: San Francisco State University
Date: Sat, 19 Dec 1992 14:12:58 GMT

In article <10502@vtserf.cc.vt.edu> sahle@opac1.cc.vt.edu
	(Eskinder Sahle) writes:
>                      how do I  find the id of the original window once it  
>has been miniaturized. 
>
>Any clue is deeply appreciated

counterpart
[Window instance variable]

					-=EPS=-
Newsgroups: comp.sys.next.programmer
From: silbar@mpx2.lampf.lanl.gov (Dick Silbar)
Subject: Re: Urge NeXT to support (complete) IXKit
News-Software: VAX/VMS VNEWS 1.41    
Organization: LAMPF Data Analysis Center, Los Alamos, New Mexico
Date: Fri, 11 Dec 1992 18:41:00 GMT

In article <11DEC199209422447@mpx2.lampf.lanl.gov>, I 
(silbar@mpx2.lampf.lanl.gov (Dick Silbar)) wrote...

#In article <1992Dec11.032552.5430@ictv.com>, jcollas@ictv.com writes...
## ...
##Jack mentioned that all known bugs in the Indexing Kit are fixed in 3.1,  
##except for the ones that haven't been found yet ;-)  
# 
#I might have missed a turn here, but has NeXT ever announced that there
#WILL be a 3.1?

Of course, minutes later I received NeXTWorld Extra and it says there will
be, according to NeXT, a 3.1 sometime next year.

   Dick Silbar