HDTenEightyP/NetNews huggingface dataset:
From: eps@futon.SFSU.EDU (Eric P. Scott)
Subject: Re: Using NS 3.0 appletalk support over phonenet
Reply-To: eps@cs.sfsu.edu
Organization: San Francisco State University
Date: Tue, 15 Dec 1992 07:49:16 GMT

[Many inappropriate newsgroups removed]
In article <1992Dec8.043237.25320@slab.slip.uiuc.edu>
	derek@slab.slip.uiuc.edu (Derek Taubert) writes:
>> At home my roommate and I have a NeXT and an apple Mac IIsi. We have a
>> bunch of phonenet connectors, I don't suppose that anyone has written a
>> driver that will allow me to use the phonenet connector on the next to
>> drive the next as an appleshare client or server using the capabilties
>> of NS 3.0?

You'd really be a lot happier with one of those nice Asante'
cards that plugs into the IIsi and gives you an Ethernet
interface and the floating-point unit that Apple should put there
in the first place (grr!) and a PDS pass-through.

>One of the things that really bothered me about the 3.0 presentation that
>the local NeXT rep gave was his attitude towards this.  "Why would ANYBODY
>want to use 230K/sec?"  Well, to support technology that is already in
>existance and in abundance?

And even Apple admits is *dead*.

>As far as I can tell, NeXT is not ever going to support LocalTalk.  Considering
>that they use 8530's for their serial ports (same as in mac's), I can't imagine
>why they wouldn't want to spend the small amount of time (compared to

Whoa.  NeXT's serial ports wheeze at 38.4Kb.  You might have
better luck with the DSP.  Note that Yrrid's TTYDSP product
supposedly tops out at 128Kb, however.

>                          If someone could point me in the direction of SLIP or
>   MIDI driver source code, this would be sufficient.

NeXT's MIDI driver runs *slower* than 38.4Kb!

					-=EPS=-
Newsgroups: comp.sys.next.programmer
From: ematias@dgp.toronto.edu (Edgar Matias)
Subject: Re: Using the serial # in ROM as a copy protection mechanism...?
Organization: CSRI, University of Toronto
Date: 18 Dec 92 21:35:41 GMT


> louie@sayshell.umd.edu (Louis A. Mamakos) writes:
>
> 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. That way, if it gets "loose", you know
> who to trace it back to, and thus who violated the terms of the
> software license agreement. This is the approach that I like, and the
> one that I use for the software that I write.

Well, I know for a fact that at least one of my customers has 
violated the trust.  However, I like your scheme.  Question is:
What do you do if/when you find a pirated copy?  Has it happend you
you yet?

Edgar
-- 
Edgar Matias
Input Research Group
University of Toronto
--
I speak for no one...
Newsgroups: comp.sys.next.programmer
From: gvh@metrosoft.com (Gordon Van Huizen)
Subject: Re: Quick Text object Question
Reply-To: gvh@metrosoft.com (Gordon Van Huizen)
Organization: Metrosoft
Date: Sat, 12 Dec 1992 02:23:50 GMT

In article <1992Dec10.123143.19477@jarvis.csri.toronto.edu>  
west@turing.toronto.edu (Tom West) writes:
> I am writing an extension of the Text class with Undo
> capability, so I [...] 

When you're done with it, could you send it to NeXT so they use it in  
Edit.app? :-)

Gordon
-- 
----------------------------------------------------------------
Gordon Van Huizen           vox: 619.488.9411  fax: 619.488.3045
Metrosoft                   gvh@metrosoft.com [NeXTmail welcome]
----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software
From: Michael_Pizolato@afs.com (Michael Pizolato)
Subject: Re: Printing postscript from a shell script
Reply-To: Michael_Pizolato@afs.com
Date: Fri, 18 Dec 1992 21:56:48 GMT

In article <1992Dec17.161132.1733@afs.com> Michael_Pizolato@afs.com (Michael  
Pizolato) writes:
> What command(s) do I need to print a postscript file (.ps, .eps) from a
> shell script?  I have no printer on my local machine, but we have a
> network-wide printer that is the default for everything else.  The
> only command-line utility that can find the printer seems to be
> enscript(1), but that prints the text of the postscript source, not
> the results of processing the postscript.  Stuff like pslpr(1) can't
> even find the printer, even if I use the -P option and name the printer
> explicitly.  
> 
> I have already RTFM.  In fact, I have RTFM to death :-(, and tried it many
> different ways, so please reply only if you have done this
> successfully.  

In article <1992Dec17.191304.2107@afs.com> Michael_Pizolato@afs.com (Michael
Pizolato) writes again:
> What a moron!  The bug is in your postscript code, not the printing
> utilities.  Next time think a little before posting such crap. 
> Please, don't anyone dignify this garbage with a reply. 

I seem to have caused a _huge_ number of people to think I was abusing
some poor soul who is an obvious beginner in postscript programming
(read the sender of both messages - and how could I know his problem was
with his postscript when he never posted it?).  That beginner is _me_,
and I was forgetting to put a "showpage" statement at the end of each
page, thus nothing came out of the printer.     

All you flamers can relax now.  Thanx to many others who sent in helpful
replies - sorry I didn't debug my original code better.  lpr(1) works
just fine to print _correct_ postscript files.  :-)   

Michael

--
Michael_Pizolato@afs.com
~18 kyu
Q16
NeXTMail appreciated
Newsgroups: comp.sys.next.programmer
From: woo@ornl.gov (John W. Wooten)
Subject: Custom Palette for FormCell?
Reply-To: woo@ornl.gov
Organization: Oak Ridge National Laboratory
Date: Wed, 16 Dec 1992 19:07:47 GMT

I'm trying to convert a 2.0 release Custom Palette object called Entry  
Check Form to release 3.0 and also to implement a calculating Form Cell  
as a Custom Palette.  I find that the documentation says that I can  
only do this for subclasses of View, Object, Window, or MenuCell.

How do I create a custom palette for a subclass of TeXT or of Form  
Cell?

When I tried to convert EntryCheckForm, the file palette.table was  
never created even though I got no errors when starting project builder  
to build a custom palette.  Everything compiled, etc.  BUT when you try  
to use it, the palette that was generated won't load into IB.

- - - - - - - - -
J. W. Wooten
Newsgroups: comp.sys.next.programmer
From: uad1221@dircon.co.uk (David Lomax)
Subject: Re: experienced NeXTSTEP programmer shortage
Date: Fri, 18 Dec 1992 12:07:09 GMT


> In article <Bz6wo3.Jz6@ux1.cso.uiuc.edu> lemson@ux1.cso.uiuc.edu 
(David  
> Lemson) writes:
> 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.

> Everyone else just has to be reasonably smart and open-minded. 

When you talk about teaching smart/open-minded people NeXTSTEP, 
are you assuming that even though they have no previous NeXT 
experience, they do have previous OOP/D experience. If this 
is the case then your comments indicate that you are writing 
mainly UI based apps. In my experience you are correct, a couple 
of "NeXTSTEP gurus" around is what you need to get people productive 
in IB/appkit/DBkit etc. It is definately *not* my experience 
that you can teach/assist in this way, OOP/D to people who have 
not been exposed to it before. It just takes time for people 
to *really* get their head around this way of thinking.

There are no mind bending concepts in NeXTSTEP to learn, just 
a question of reading manuals, asking questions and playing 
around; a volume of information to remember (and this is not 
peculiar to NeXT). But that is not the end of the story. What 
takes longer and is harder to get your head around is OOP/D. 
Now whether this is an issue depends on what you want your staff 
to do and what type of apps you write.

I would be very happy to take on staff who had never used a 
NeXT box before but would be a lot more retiscent about people 
who had no OOP/D experience.

David Lomax
Newsgroups: comp.sys.next.programmer
From: yann@dagobah.fdn.org (Yann Lechelle)
Subject: alpha views
Keywords: alpha, view
Reply-To: yann@dagobah.fdn.org
Organization: Individual
Date: Sat, 12 Dec 1992 15:37:13 GMT

Hi folks,

what's the easiest way to draw into a view using postscript with  
alpha-colored primitives ?
Thanks for posting the answer (to limit costly replies!).

Yann.
-- 
/ ================================================= \
\ Yann Lechelle                     (Paris, FRANCE) /
/ yann@dagobah.fdn.org               Email/NeXTmail \
\ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ /
From: louie@sayshell.umd.edu (Louis A. Mamakos)
Newsgroups: comp.sys.next.programmer
Subject: Re: Using the serial # in ROM as a copy protection mechanism...?
Date: 19 Dec 1992 14:30:49 GMT
Organization: University of Maryland, College Park
NNTP-Posting-Host: sayshell.umd.edu

In article <1992Dec18.163540.21795@jarvis.csri.toronto.edu> ematias@dgp.toronto.edu (Edgar Matias) writes:

>Well, I know for a fact that at least one of my customers has 
>violated the trust.  However, I like your scheme.  Question is:
>What do you do if/when you find a pirated copy?  Has it happend you
>you yet?

The goal of the scheme that I use is to make is clear WHO was licensed
to use the software; that is to identify the owner of the "license
key" information.  The idea was that people would be less likely to
share the copy of software that they bought if it can be traced back
to them.  All you can do is make is easier for the basically
trustworthy person to abide by the terms of his license.  Given enough
effort, any of these schemes can be broken.

In the case of my software, this "license key" information is a text
file which contains in plain text the owner of the software as well as
what features of the software are enabled, and expiration dates, etc.
It is secured in such a way to make it easy to detect when the file
has been modified, so the user can't just make his own file.  Perhaps
what I should do is imbed there user's phone number, VISA card number
and other personal information in the file to make it less likely to
be shared with his buddies.

Of course, my license key file approach is a bit more unwieldy since I
have to build one for each user.  Alternatively, you can use a long
string of characters to carry some of the information such as a unique
serial number, features, and expiration.  You can then crank these out
mechanically and still have a serial number to associate with the
original user.

What do you do when you find a pirated copy?  Well, I'm not a lawyer,
and I don't play one on the net.  I do have my own personal
bloodsucker, er, lawyer that I pay good money to for advice.  So
should you if you are seriously concerned about such issues.  There
is, of course, legal recourse against the original licensee of the
software and the pirate for violating the terms of the license and for
copyright violation.  How effective is this?  It all depends how much
time, effort and money you want to expend to pursue it.

Has it happend to me yet?  I don't think this is a question I'd answer
in public.

Look, what you really need is to tie the operation of the program to
the "owner" of the program in such a way that the user has to invest
some valuable interest that he doesn't want to share.  Perhaps his
credit card number?  Perhaps his RSA private key?  Public key
cryptography and digital signatures could be just the technology to
effectively deal with this problem.

louie
Newsgroups: comp.sys.next.programmer
From: nevin@dtint.dtint.com
Subject: Re: How to limit window size of app
Reply-To: nevin@dtint.dtint.com
Organization: Digital Technology, International
Date: Tue, 15 Dec 92 17:52:15 GMT

In article <1992Dec13.222309.16899@serveme.chi.il.us> datec@gagme.chi.il.us  
(Charles Robinson) writes:
> William Barker (wrb@ulnar.biostr.washington.edu) wrote:
> : Hej,
> : 
> : Hopefully an easy question that I'm too lazy to look up for myself:
> : 
> : How does one limit the size of an app's window?  For example, not letting  
> : the user resize a main window to less than a certain size, or more than a  
> : certain size.
> : 
> : Hope this is an easy one.
> :
> Certainly is --- look at the code in DrawDocument.m method windowDidResize
> in the Draw example. Basically you just apply the constants you want to
> to width & height after the user has made his attempt at resizing. 

No, no, no.  This is the old solution.  While this was easy, it is now even  
easier.  Under 3.0, just send the window a '-setMinSize:' message (or  
'-setMaxSize:', whichever is relevant).

--
Nevin Pratt, Digital Technology, Int'l    Orem, Ut
NeXTmail preferred, but ONLY at my REAL email address: nevin@dtint.dtint.com

-- 
---
root	                               root@dtint.dtint.com
Digital Technology Int.                (801)226-2984	
500 W. 1200 South, Orem UT, 84057      FAX (801) 226-8438
From: lozinski@cup.portal.com (Christopher A Lozinski)
Newsgroups: comp.sys.next.programmer
Subject: Re: Smalltalk for the NeXT - Let's get programming!
Date: Thu, 17 Dec 92 22:01:45 PST
Organization: The Portal System (TM)
Distribution: world
  <GUMBY.92Dec15144612@tweedledumb.cygnus.com> <BzD9r6.HA0.2@cs.cmu.edu>
  <4831@ceylon.gte.com>



>Think bigger.  Don't put a NeXTstep front end on GNU Smalltalk, make a
>version of GNU Smalltalk that lets you send messages to Objective-C
>objects!  This would be useful on any platform that has GNU
>Objective-C and SmallTalk, and on the NeXT it would give folks access
>to just about EVERYTHING.

My company offers such a product.  It is called the Smalltalk Interface to 
Objective-C.  It makes Objective-C objects look like Smalltalk Objects.  
I wonder if it would be worthwhile to port it to the NeXT.

Regards
Christopher Lozinski
Newsgroups: comp.sys.next.programmer
From: dcheslow@impact.flint.umich.edu (David A. Cheslow)
Subject: 2 NeXTMail questions
Date: Thu, 17 Dec 92 15:25:28 EST
Organization: The University of Michigan, Ann Arbor

1) Is there an easy way to make NeXTMail include my .signature
file in all mail messages?

2) Does a uudecode service exist?  We use a mixed network in which
the PC users use Pegasus Mail.  When they include a document in their  
message it is uuencoded and included with the rest of the text.  I
can copy the uuencoded portion to a text file, save it, uudecode it, and  
then load the document.... but this is painfully repetitious.  I 
think that I can write a service which will perform the same function,
but I don't want to reinvent any wheels.

thanks in advance.

=================================================================
*NOT* an official document of the University of Michigan
=================================================================
David A. Cheslow                  David.Cheslow@um.cc.umich.edu
School of Management, 344 CROB    dcheslow@impact.flint.umich.edu
University of Michigan - Flint    cheslow_d@crob.flint.umich.edu
From: zeno@phylo.genetics.washington.edu (Sean Lamont)
Newsgroups: comp.sys.next.programmer
Subject: wanted additional functionality in IB.
Date: 19 Dec 92 01:41:03 GMT
Article-I.D.: u.1992Dec19.014103.28938
Organization: Abstract Software

Just thinking a bit.

IB has great facilities for extension (palettes, etc.).  It also has
OK facilities for managing view hierarchies. (grop, group in scrollview).

One thing that I think would be REALLY useful would be a "Group in
arbitrary view" function which would encapsuluate both of the above, plus
be more extensible.

So for example you could group in scrollview, group in NXSplitView, group
in box, group in "MyHackedView", etc.  I'm not too into building up 
complex view hierarchies by hand when there's a perfectly reasonable
facility to design them.

Comments?  IS NeXT listening?

-- 
Sean T. Lamont                           |   "Don't oppress me, It's
zeno@genetics.washington.edu             |    'computer of color!' "
lamont@abstractsoft.com                  |_______________________________
Abstract Software                                                         
Newsgroups: comp.sys.next.programmer
From: a74k110@titan.ucc.umass.edu (Chris Lloyd)
Subject: Re: 8 bits AND parity, please
Organization: University of Massachusetts, Amherst
Date: Fri, 18 Dec 1992 04:41:07 GMT

In article <1992Dec17.182417.28639@netcom.com> abell@netcom.com (Steven T. Abell) writes:
>a74k110@titan.ucc.umass.edu (Chris Lloyd) writes:
>>With an 8530 manual and a kernel loaded server you're in business.
>>Just somewhat of a pain to do...
>
>My NeXT docs say "It isn't currently possible for third parties to write
>drivers for any on-board interfaces" (Writing Loadable Kernel Servers,
>page 1-1).
>
>If this is no longer true, I'd love to have more information.

Well, as with a lot of the NeXT documentation, it's wrong.  All depending on
the level of hacking you want to go thru you can write a driver for any
of the hardware.  The DSP and serial ports are the easiest IMO to write drivers
for, as all you need is in header files hanging around on the system.

/usr/include/nextdev/zscom.h has the kernel entry points for a driver to
acquire and install interrupts for each of the serial ports. At driver open
you call zsacquire(0 or 1 (a or b), ZCUSER_LOADABLE, intrsw) with
intrsw filled in (see zscom.h) with a tx/rx and line state change interrupt
routine. 'chan' would be the device port (0 or 1).  and zsrelease is done
when the device is close'd.

/usr/include/nextdev/zsreg.h has all the defines you probably need for
accessing the 8530 hardware directly. ZSADDR_A = serial port A's hardware
registers. ZSADDR_B = serial port B's hardware registers. An 8530 manual
would be a must at this stage...  ZSREAD_A et al are handy macros for accessing
the hardware and such.

So, you need a basic kernel loaded server.  When the device is opened you 
install your interrupt routines with zsacquire, when the device is closed
you zsrelease it.  When accessing hardware registers or interrupt routine
acessed variables bracket with
   {
    int level=splscc(); /* next/spl.h */
      /* access whatever */
    splx(level);
   }

To disable interrupts at SCC levels.
And disassembling the MIDI driver and kernel is a good idea for pointers...

la la la,

-- 
::   Christopher Lloyd  ::  a74k110@titan.ucc.umass.edu  ::  Yrrid, Inc.    ::
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software
From: Michael_Pizolato@afs.com (Michael Pizolato)
Subject: Re: Printing postscript from a shell script
Reply-To: Michael_Pizolato@afs.com
Date: Thu, 17 Dec 1992 19:13:04 GMT

In article <1992Dec17.161132.1733@afs.com> Michael_Pizolato@afs.com (Michael  
Pizolato) writes:
> What command(s) do I need to print a postscript file (.ps, .eps) from a
> shell script?  I have no printer on my local machine, but we have a
> network-wide printer that is the default for everything else.  The
> only command-line utility that can find the printer seems to be
> enscript(1), but that prints the text of the postscript source, not
> the results of processing the postscript.  Stuff like pslpr(1) can't
> even find the printer, even if I use the -P option and name the printer
> explicitly.  
> 
> I have already RTFM.  In fact, I have RTFM to death :-(, and tried it many
> different ways, so please reply only if you have done this
> successfully.  

What a moron!  The bug is in your postscript code, not the printing
utilities.  Next time think a little before posting such crap. 
Please, don't anyone dignify this garbage with a reply. 

-m

P.S. ;-)

--
Michael_Pizolato@afs.com
~18 kyu
Q16
NeXTMail appreciated
Newsgroups: comp.sys.next.programmer
From: dkrishna@calliope (Deepa Krishnan)
Subject: Help  with DPSClient Lib error msg
Organization: Fannie Mae
Date: Mon, 14 Dec 1992 00:15:01 GMT

Hi,

a very elementary question.

when I try to run my app which contains a custom palette, I get the  
following error message and my app stops ,

DPS client library error: PostScript program error, DPSContext 2361e4
%%[ Error: undefinedresult; OffendingCommand: bin obj seq, type=128,  
elements=3, size=28 ]%%
DPS client library error: Invalid tag in returned object, DPSContext  
2361e4, data 2267372
DPS client library error: Invalid tag in returned object, DPSContext  
2361e4, data 2267388
 

Will anyone please tell me what these mean ?

thanks in advance,
deepa
Newsgroups: comp.sys.next.programmer
From: uad1221@dircon.co.uk (David Lomax)
Subject: Re: experienced NeXTSTEP programmer shortage
Date: Wed, 16 Dec 1992 09:16:49 GMT


Wouldn't it be good if someone published a list of all the NeXT
sites (in the world). Or maybe someone already knows where this information
can be got?

Maybe one day!

Dave
Newsgroups: comp.sys.next.programmer
From: datec@gagme.chi.il.us (Charles Robinson)
Subject: Re: How to limit window size of app
Organization: GAGME - Public Access UNIX of Chicago, Illinois, USA, Earth
X-Newsreader: TIN [version 1.1 PL7]
Date: Sun, 13 Dec 1992 22:23:09 GMT

William Barker (wrb@ulnar.biostr.washington.edu) wrote:
: Hej,
: 
: Hopefully an easy question that I'm too lazy to look up for myself:
: 
: How does one limit the size of an app's window?  For example, not letting  
: the user resize a main window to less than a certain size, or more than a  
: certain size.
: 
: Hope this is an easy one.
:
Certainly is --- look at the code in DrawDocument.m method windowDidResize
in the Draw example. Basically you just apply the constants you want to
to width & height after the user has made his attempt at resizing.
From: jgreen@next.com (Jack Greenfield)
Newsgroups: comp.sys.next.programmer
Subject: Re: IndexingKit query language problem
Date: 15 Dec 92 21:30:08 GMT

In article <1992Dec7.222214.14970@cubetech.com> andrew@cubetech.com  
(Andrew Loewenstern) writes:
> On the other hand, I can't seem to get nested objects to work well...
> I have an object, which conforms to the IXRecordTranscription protocol
> that has a List as an ivar.  All of the objects in the list conform to
> IXRecordTranscription as well.  When I add the first object as a
> record to an IXRecordManager, it get's archived, but the List within
> does _not_....  Any ideas??

The fast transcription performed on objects conforming to the protocol  
does not follow id's, structures or pointers to void.  To transcribe a  
graph of objects, you must either: (a) use archiving (i.e., don't  
implement the protocol), and pay the performance hit, or (b) follow the  
graph in the sender:willWriteRecord: and sender:didReadRecord: methods.

Since the record manager is passed to these methods as the first argument,  
you can recursively write out the graph with [sender addRecord:anObject]  
or [sender replaceRecord:rn with:anObject].  In the latter case, you need  
to know anObject's record number.  Try creating a simple super class that  
knows it's record number and make your record classes inherit from it.

J.