HDTenEightyP/NetNews huggingface dataset:
From: jcollas@ictv.com (Juan Collas)
Subject: Re: Questions on inherited Text object in a ScrollView
Reply-To: jcollas@ictv.com
Organization: ICTV, Santa Clara, CA (408) 562-9200
Date: Thu, 8 Oct 1992 23:50:51 GMT

In article <73182@apple.Apple.COM> gordie@duts.ccc.amdahl.com (Gordie  
Freedman) writes:
> 
> So here are my questions:
> 
>  1) Can I set the Text object's delegate from within IB? (Using  
ctrl-mouse-drag).
> 

I don't think so.  I've just done it at runtime in my class.  Would be  
nice ...

>  2) How can I set an object outlet variable to a ScrollView object
> 	from within IB (it always sets it to the Text object within the
> 	ScrollView). I'm trying to do this so I can create a normal  
ScrollView
> 	from within IB and than in the init code of the .nib's owner I can
> 	do a setDocument (I think that is the call) on the ScrollView. I  
need to
> 	set one of the "file's owner" object's instance variables to the  
ScrollView
> 	so I can reference the ScrollView later. (On a related note, can I  
get
> 	the ScrollView from the Window object, which I can connect)?
> 

Easy.  Control-Drag from the object to the edge of the scrollview.  You  
should see a black line encompassing the scoller and text object.  That's  
the scrollview.  If you move into the text object, only it will have a  
black line around it and the scroller will be excluded.  That's the text  
object itself.

>  3) How can I use IB to set up a ScrollView containing my inherited  
CText
> 	object, rather than the Text object it usually contains? I started
> 	reading about Palettes, but I'm not sure if this is the way to go.
> 

It's the way to go.  Otherwise, you'll have to replace the default Text  
object with your CText object at runtime.

>  4) Is there some way for the Text object's delegate to get notification
> 	when the alignment or underline attribute is changed? (I think I  
also
> 	don't get color changes either, so I need that too).
> 

Sorry, can't help you there.  The documentation isn't too clear on  
attributes and the 'touched' button.

--

	- Juan Collas, ICTV
Newsgroups: comp.sys.next.programmer
From: chris (Chris Larson)
Subject: re: class instances from char string
Reply-To: chris@oceania.com
Organization: Oceania Health Care Systems
Distribution: usa
Date: Wed, 14 Oct 1992 15:37:10 GMT

Thanks to all who responded to my question.  I post an example answer for anyone
interested in this question.

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

In comp.sys.next.software article <BvvAv9.2tD@oceania.com> you wrote:
> I would really like to be able to setup a list of character strings that represent  
> classes, and at run time be able to create an instance of the class from the class  
name.
> 
> An example:
> 
> classList[] = {
> "Class1",
> "Class2"};
> 
> then at run time do some type of alloc & init from the class name. ie:
> 
> newClass = [[classList[0] alloc] init]
> 
> Any ideas?

Very simple, it's part of the runtime system:

newClass = [[objc_getClass(classList[0]) alloc] init]

Real-time symbolic mapping! Nothing beats having a compiler and linker available at  
runtime.  8^)

BTW, these kinds of questions will probably get faster answers if posted to  
c.s.n.programmer.

--
Gregory H. Anderson          | "We're very tolerant around here,
Benevolent Dictator-for-Life |  being only amateurs ourselves."
Anderson Financial Systems   | - Tortoise (Godel, Escher, Bach)
greg@afs.com  (Nextmail OK)  | 

-- 
Chris Larson  <==>  chris@oceania.com  <==>  NeXT Mail is cool
Oceania Health Care Systems                      Palo Alto, CA
The Software Ranch                               Park City, UT
Newsgroups: comp.sys.next.programmer
From: shanega@athena.mit.edu (Shane G. Artis)
Subject: Re: Using NeXT 3D kit to dump tesselated surfaces
Organization: Massachusetts Institute of Technology
Date: Mon, 12 Oct 1992 16:11:08 GMT

In article <Oct12.040326.76442@yuma.ACNS.ColoState.EDU> ns111310@longs.LANCE.ColoState.Edu (Nate Sammons) writes:
>Well,
>
>If you are looking for a sneaky way to do this on a low level,
>the lowest I can think of is manipulating the RIB file directly,
>and bypassing the 3DKit.  As I assume you know, RIB files are just
>text... so it is a simple matter to get at them... I don't want to
>make it sound too simple, but writing a program to parse a text
>file and convert the wanted parts should not be that hard.
>
>'hope this helps.
>
>-nate
> ns111310@longs.lance.colostate.edu



Actually this is exactly what I'm trying to avoid.  Tesselating
surfaces given the surface paramtrization only is a huge and difficult
job, especially when you're dealing with NURB patches, Constructive
Solid Geometry objects, and so on.  Try writing a program that
dumps the subtraction of a cylinger from a sphere as a surface of
polygons and you'll see what I mean.  However, the 3Dkit does this
all automatically so I want to get at its results.  In addition,
the 3Dkit knows how to maintain object hierarchies, keep track
of surfaces associated with those objects, and so on.  I _don't_
want to reinvent this wheel!

Anyway, thanks for trying to help.  Anyone have any other ideas?

Shane

Newsgroups: comp.sys.next.programmer
From: cain@silverblue.fac.cs.cmu.edu (Sebastian Nightingale Cain)
Newsgroups: comp.sys.next.programmer
Subject: working binary fingerd for next - where?
Date: 15 Oct 92 20:26:36 GMT
Article-I.D.: cs.Bw6JGD.JLz.2
Organization: School of Computer Science, Carnegie Mellon

Where can I find the working binary fingerd for the NeXT?

Thanks,

Aaron
Newsgroups: comp.sys.next.programmer
From: thf@zelator.in-berlin.de (Thomas Funke)
Subject: HeaderViewer.app is great !
Reply-To: thf@zelator.in-berlin.de (Thomas Funke)
Organization: NNU Corp. - NeXT is Not UN*X
Date: Sun, 11 Oct 1992 19:23:56 GMT


Have a look at this App !  A first (NeXT-) step to a code browser.
Even if it sometimes crashes, still very useful. 

-- 
------------------------------------------------------------------
Thomas Funke  ** E-mail: thf@zelator.in-berlin.de
NeXT-Developer * Unix-Consultant
------------------------------------------------------------------
From: kgnome@cs.concordia.ca (MATIS stephane)
Newsgroups: comp.sys.next.programmer
Subject: Re: Make woos under 3.0... symbolic link to CD
Date: 12 Oct 92 21:05:41 GMT
Distribution: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.misc
Organization: Computer Science, Concordia University, Montreal, Quebec

I know I shouldnt follow-up on my own most , netiquette and all, but
helpfull souls have already given me enough clues to track down the
"beastie" and fix it.

Backspace compiled and I can compile most anything other as well (given
enough space).

Thanks to all who replied and to those whore were going to!


+-------------------------------------------------------------------------+
 From     : Stephane I. Matis                "It Just Works..." 
 Internet : kgnome@cs.concordia.ca             - Steve Paul Jobs, CEO NeXT
+-------------------------------------------------------------------------+
From: kate_smith@next.com (Kate Smith)
Newsgroups: comp.sys.next.programmer
Subject: Re: Webster's in 3.0: can't print out lookups
Keywords: bug 3.0 webster printing
Date: 7 Oct 92 23:46:21 GMT
Distribution: usa

In article <1992Sep29.144601.29165@eagle.lerc.nasa.gov>  
smprove@lerc.nasa.gov writes:
> 
> When trying to print out a definition using Websters under 3.0, the  
> message "Some or all of the pages in your print request couldn't be  
> printed" pops up. Does anyone know what the problem is?
> 
> --
> Andy Provenza					 
> email:smprove@lerc.nasa.gov
> NASA Lewis Research Center
> Cleveland Ohio  44135-3191

There is a known bug in Webster in 3.0 that causes errors when printing  
some definitions which contain pictures.  It seems to be a problem with  
pictures that are stored as EPS.

The workaround is to copy the text of the definition into an rtf document  
and print that.  Note that you can't copy the picture because that also  
results in an error when you paste it.  Of course, this workaround doesn't  
get the picture printed.  You might be able to save the PS output and  
fiddle with it so that you can print that, but I wouldn't advocate that  
unless you were comfortable fiddling with PS code.  If you are interested,  
the offending command is the currentpoint command after the picture.

Kate Smith
NeXT Developer Support
Newsgroups: comp.sys.next.programmer,comp.lang.objective-c
From: ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson)
Subject: Does IB impose a rigid design?
Organization: Monash University, Caulfield Campus
Date: Mon, 12 Oct 1992 09:44:17 GMT

Does NeXT's Interface Builder impose a rigid design on applications?

If it does is this a good thing or a bad thing?

Newsgroups: comp.sys.next.programmer
From: chris (Chris Larson)
Subject: Re: loadNibSection return value
Reply-To: chris@oceania.com
Organization: Oceania Health Care Systems
Distribution: na
Date: Thu, 8 Oct 1992 16:09:07 GMT

Art Isbell writes
> 
> In article <BvrGB9.15x@oceania.com> chris@oceania.com writes:
> >The method:
> >
> >window = [NXApp loadNibSection:"NibFile.nib" owner:self];
> >
> >currently returns a window pointer to one of the windows in the nib section.  Does >  
>anyone  know if this is a stable "feature"?
> 
> I asked NeXT Support about this because the return value is used in one of
> their MiniExamples.  However, it isn't documented and if more than one window
> is in a nib, which id is returned is indeterminate (well, at least by us mere
> mortals :-)
> 
> So NeXT has recommended against using the return as the Window id because this
> behavior could change in the future.
> -- 

The one time that this is really usefull if if you have a nib file with one window in it.   
Then at run time, you can get a link to the window, without having to use IB to connect  
it up.  Much more dynamic.

Chris
-- 
Chris Larson  <==>  chris@oceania.com  <==>  NeXT Mail is cool
Oceania Health Care Systems                      Palo Alto, CA
The Software Ranch                               Park City, UT

Newsgroups: comp.sys.next.programmer
From: lupson@newton.geom.umn.edu (Linus Upson)
Subject: Re: help with streams please
Organization: University of Minnesota
Date: Mon, 12 Oct 1992 16:11:17 GMT

In article <1992Oct9.230027.1638@cubetech.com> andrew@cubetech.com writes:
> In article <4ep3D7i00iUxE1J0Yj@andrew.cmu.edu> js3b+@andrew.cmu.edu (James  
Vincent Schultz) writes:
> >How can I read & write a stream?
> 
> NX_READWRITE
> 
> everbody should index /usr/include and put it on their default
> bookshelf.  It's already done for you in 3.0 (and there's also
> header-viewer in 3.0...)

Build a precompiled header for all of /usr/include that you are interested in.   
You might try something like this:

--- NeXT.h ----------------------------
#import <ansi/ansi.h>
#import <objc/Object.h>
#import <objc/objc-runtime.h>
#import <objc/objc-load.h>
#import <appkit/appkit.h>
#import <appkit/obsoleteBitmap.h>
#import <dpsclient/dpswraps.h>
#import <3Dkit/3Dkit.h>
#import <ri/qrman.h>
#import <machkit/NXPort.h>
#import <machkit/NXNetNameServer.h>
#import <machkit/NXProtocolChecker.h>
#import <remote/NXProxy.h>
----------------------------------------

Then in a shell type: cc -precomp NeXT.h -o NeXT.p

Viola!  A precompiled header (.p).  Stuff it in ~/Library/Headers or wherever  
your faith tells you is right.  It will open HeaderViewer when double-clicked.   
Note that the order you import things will affect the hierarchy structure in  
HeaderViewer.

Read those Release Notes!  (There are some neat things in there that obviously  
aren't supposed to be regarding 4.0!)

Linus Upson
lupson@geom.umn.edu
From: khc@dannug.dk (Kim Harding Christensen)
Newsgroups: comp.sys.next.programmer
Subject: Circular Protocol refs.
Date: 9 Oct 92 14:30:38 GMT
Reply-To: khc@dannug.dk
Organization: Danish NeXT-Users group

Is it possible to forward a protocol?

I have the following problem:

@protocol KernelThread
- initWithSymbol:(id <KernelNode>)threadSymbol;
...
@end

@protocol KernelNode
- (id <KernelPort>)eval:(id <KernelPort>)inputPort 
	arg:(id <KernelPort> *)arg thread:(id <KernelThread>)theThread;
...
@end

Where the "- initWithSymbol:" method, in the KernelThread protocol, refers  
to the KernelNode protocol and the "- eval:arg:thread:" method, in the  
KernelNode protocol, refers to the KernelThread protocol.

--
Kim Harding Christensen
khc@dannug.dk
Newsgroups: comp.sys.next.programmer
From: goldly@u.washington.edu (Lloyd P. Goldwasser)
Subject: Re: Help requested: Something about pointers still eludes me:  Still elusive
Organization: University of Washington
Date: Fri, 16 Oct 1992 23:02:37 GMT

Thanks to all who have responded either directly to me or to this
group about my question regarding pointers and arrays.  They have
clarified this contrast for me and, maybe, others as well.

For better or worse, I suspect that there's still some light to be
shed.  Several of the suggestions work on their own terms, but, alas,
haven't yet produced a solution for my purposes.

If all I want to do is make x point to x_init when I want it to, then
declarations like

  float (*x)[7];

seem to be the way to go.  However, my reason for using

  float **x;

in the first place is that I'm using routines from Numerical Recipes
in C; they require this kind of declaration of x.  These routines,
which I use constantly, allow me to allocate and de-allocate x on the
fly, with array bounds of my own choosing:

  x = matrix(4,10,1,9);

gives me x[4][1] ... x[4][9] ... x[10][1] ... x[10][9].  Then I can
do

  free_matrix(x,4,10,1,9);
  x = matrix(0,6,12,20);

and get x[0][12] ... x[0][20] ... x[6][12] ... x[6][20], and so
forth.  The "layer of pointers between my floats and x" is a price
that I'm willing to pay for this flexibility: these routines are so
transparent they are a pleasure to use.

But neither declaration above allows me to make the declaration and
assignment

  float x_init = { {1., 2., ...}, {...}, ... {...} };

  x = x_init;

without getting a compiler error (e.g., "warning: assignment between
incompatible pointer types"; other possibilities allow me to make the
assigment but give me type 5 errors when I do free_matrix(), or
worse).  It makes sense to me now that the compiler complain about
the assignment, but that still doesn't make the assignment, if I can
accomplish it somehow, any less desirable.

I suppose that if I were more of a programmer I could write similarly
transparent routines of my own that would accomplish all goals at
once.  Or is there still some other way to declare x that would
convince C that the assigment, or some equivalent, is really not so
unreasonable?

Ideas?

Thanks to all,

Lloyd Goldwasser
goldly@u.washington.edu
From: ram@ramsys.sta.sub.org (Reimer A. Mellin)
Newsgroups: comp.sys.next.programmer
Subject: Re: 3.0 glitch -- <sys/table.h> missing ?
Date: 8 Oct 92 18:53:36 GMT
Reply-To: ram@ramsys.sta.sub.org
Organization: at home

In article <HARDY.92Oct7144449@golem.ps.uci.edu> hardy@golem.ps.uci.edu  
(Meinhard E. Mayer (Hardy)) writes:
> You did not spoil the upgrad, NeXT did not spoil the upgrade. 
> They just changed the location of the include files. 
> A simple way to work around this is to edit your Makefiles 
> (or Imakefiles if you are using xmkmf, or the conguration files,
> etc...) adding something like the following:
> INCLUDES = -I/NextDeveloper/2.0CompatibleHeaders/next

Generally you are right, but in the case of sys/table.h you are wrong.

The 'real' table.h, the one who defines the appropiate structs etc.
is definitly missing :-(
The existing ones im machine/ & m68k/ contain only NeXT-68040 specific
stuff.

Cheers
	Reimer
-- 
Reimer Mellin, ram@ramsys.sta.sub.org, NeXT-mail accepted
Cricket : a  curious  game which involved suddenly hitting people for no readily apparent reason and then running away.
Newsgroups: comp.sys.next.programmer
From: greg@afs.com (Gregory H. Anderson)
Subject: Don't use IB 2.0 with NS 3.0 (was Re: IB & Speed == 0)
Reply-To: greg@afs.com
Date: Thu, 15 Oct 1992 16:08:02 GMT

In article <1992Oct12.183624.117266@lexmark.com> songer@lexmark.com  
(Christopher Songer) writes:
>      Has anyone else noticed that certain things with IB are 
> unreasonably slow under 3.0? In specific I find that resizing
> Forms / Boxes, to be unbelievably slow. The initial response to
> the mouse down is bad and then subsequent response to mouse
> dragging is unacceptable. Am I doing something wrong? What's
> going on? I'm about ready to bring the 2.0 IB over to my 3.0 system
> for interface creation. 

As I have cautioned in this group before,

DON'T DON'T DON'T DON'T DON'T DON'T DON'T DON'T DON'T DON'T DON'T
use 2.0 IB in NS 3.0!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This combination represents the worst of both worlds: the nib files you  
create would not be in the 3.0 format (nib as directory), and the 3.0  
typedstreams are not backwards compatible to NS 2.x. I guess they would  
load OK into 3.0 runtime, but it's an odd combo.

(Sorry for the shouting. I once lost a weekend's work this way, because of  
the typedstream incompatibility, and I'm still not over the post-traumatic  
stress syndrome. Although the drugs have been helping a lot.)

--
Gregory H. Anderson          | "We're very tolerant around here,
Benevolent Dictator-for-Life |  being only amateurs ourselves."
Anderson Financial Systems   | - Tortoise (Godel, Escher, Bach)
greg@afs.com  (Nextmail OK)  |
From: murali@isi.edu (Murali Venkateshaiah)
Newsgroups: comp.sys.next.programmer
Subject: IP Multicasting on the NeXT
Date: 13 Oct 92 23:41:56 GMT
Reply-To: murali@ISI.EDU (Murali Venkateshaiah)
Distribution: world
Organization: USC-Information Sciences Institute

To   :  IETF Participants & NeXT Users

Hi there :

We have found that IP Multicasting is not supported on the NeXT, in  
either NeXTStep 2.1 or 3.0. We at ISI find this  deficiency affects 
our ability to use NeXTs for packet audio and video. We would like
to find out whether others are similarly affected.

Please let us know (and forward where applicable):

  1. Are you you limited because NeXT does not support IP  
     Multicasting ?

  2. Has the non availibilty of this feature excluded you from IETF 
     audiocast participation?
  
Please reply to me directly; I will summarize and post the numbers.

Thanks for your coopeartion.

	 ---Murali
	 murali@isi.edu
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups)
Newsgroups: comp.sys.next.programmer
Subject: Open Position: Systems Engineer, NeXT Computer  (Ann Arbor, Michigan)
Date: 8 Oct 92 20:30:41 GMT
Reply-To: user_groups@next.com

Open Position: Systems Engineer, NeXT Computer, Inc.
Ann Arbor, Michigan


THIS IS A PRE-SALES SYSTEMS ENGINEERING POSITION REQUIRING EXCELLENT
SOFTWARE DEVELOPMENT, NETWORK AND SYSTEMS ENGINEERING, AND VERBAL
COMMUNICATION SKILLS.


NeXT Systems Engineers provide the technical expertise necessary
to close sales, and generally evangelize the NeXT product family.
SE's must possess superb technical skills and a sense of innovation,
combined with a personality which promotes cooperation, trust, and
the sharing of ideas.  The successful candidate will have a mix of
software engineering skills, and enjoy working with people and new
technology.


Duties and Responsibilities:

- Rapid prototyping of software for feasibility analysis
- Technical presentations to all levels of customers
- Integration of NeXT computers with existing systems
- Technical account management
- Provide strategic input and guidance to sales, marketing, and
   engineering, regarding market conditions, product requirements,
   and overall program successes or failures

A typical NeXT Systems Engineer will spend one-third of their time
writing NeXTSTEP applications for customer-based prototyping or
proof-of-concept efforts, one-third consulting one-on-one with
potential and existing customers on software development and network
engineering, and one-third performing presentations and
demonstrations of NeXTSTEP.


Necessary Skills:

- Solid software engineering background
- Ability to articulate technically complex issues to a wide variety
    of audiences
- Demonstrated aptitude at working independently
- Ability to work with limited supervision in an autonomous,
    results-oriented environment
- Ability to work within a team environment
- Strong problem solving skills
- Ability to juggle multiple tasks
- B.S.C.S or equivalent with 4 years experience required; M.S.C.S
    preferred


Relevant Experience:

- NeXTSTEP, Objective-C, Mach
- UNIX systems programming/systems administration
- Object-oriented programming
- Advanced application programming in C, LISP, and FORTRAN (or
     equivalent)
- Windowing application development (Macintosh, X11, MSWindows, etc.)
- Database application development (Sybase, Oracle, etc.)
- TCP/IP, NFS, YP/NIS
- PostScript
- Pre-sales support experience


For more information please send a cover letter, resume, and salary
history via email to Central_Area_Jobs@NeXT.com or fax to
312.329.0285.  Responses without cover letters will not be
considered.  Please include at least one paragraph which reflects on
how your skills and experience will enable your success as a Systems
Engineer for NeXT.


Xref: sparky comp.sys.next.programmer:6605 comp.lang.postscript:5014
From: cartley@slate.mines.colorado.edu (Craig Artley)
Newsgroups: comp.sys.next.programmer,comp.lang.postscript
Subject: PS Level 2 image interpolation
Summary: Doesn't work for me
Keywords: Level 2 image interpolation
Date: 12 Oct 92 18:57:40 GMT
Organization: Colorado School of Mines

I'm trying to enable Level 2 image interpolation by setting Interpolate
to true in the image dictionary.  As I understand the description of
Interpolate on p. 222 of the red book, this should smoothly interpolate
between sample values when the source resolution is lower than the
device resolution.  Unfortunately, when i run the code below I simply
get the same checkerboard result as when interpolation is disabled.
	
Am I doing something wrong?

--------------------------------
%!PS-Adobe-3.0
%%BoundingBox: 13 31 603 746
%%EndComments

gsave
108 108 translate
432 576 scale

/DeviceGray setcolorspace
<<
	/ImageType 1
	/Width 3 /Height 3
	/BitsPerComponent 8
	/Decode [0 1]
	/ImageMatrix [3 0 0 -3 0 3]
	/DataSource currentfile /ASCIIHexDecode filter
	/Interpolate true
>>
image

00ff00ff00ff00ff00>

grestore

200 50 moveto
/Helvetica-Bold findfont 48 scalefont setfont
(Image Test) show

%%EOF
--------------------------------

	-craig
-- 
Craig Artley      cartley@mines.colorado.edu      (303) 273-3557
Dept. of Geophysics, Colorado School of Mines, Golden, CO  80401