HDTenEightyP/NetNews huggingface dataset:
From: samurai@cs.mcgill.ca (Darcy BROCKBANK)
Subject: Phonekit Flakiness... it don't work
Organization: SOCS - Mcgill University, Montreal, Canada
Date: Sun, 27 Sep 1992 22:30:06 GMT


Well, it doesn't work for me that is.

1) The example "MessageCenter" that shipped wouldn't compile
because it had the wrong libraries. I changed the library
from libphonekit to libphone, and it compiled.

2) MessageCenter now crashes whenever incoming calls arrive.

3) Giving up on this nice example, I've been struggling along
with the flakiness of the phonekit.

The flakiness could be due to the fact that I don't know what
the hell I'm doing however...

In any event, my NXPhoneCall subclass is implimenting ALL
of the notification messages.

- dialToneReceived
- dialingComplete
- remotePickup
- remoteHangup
- toneReceived
- remoteRing
- callReleased
- remoteBusy

However, it never recieves notification of:

- remotePickup
- remoteRing
- dialingComplete
- remoteBusy

But it gets all of the others nicely...


Why would half of the methods get called, and half not?
I know for sure that the call is getting through, because
I'm calling our other line and answering the damn phone
myself. I hang it up then, or hit some buttons first,
and get the - tone... and -remoteHangup messages, but
I don't get the others.

Is there anyone else out there having problems with this
stuff? Can someone please give me some hints?

I'm in Canada, and I'm using an ISDN Extender on 
a POTS line.

- db

(Wishing I had $225 so NeXT could tell me what's going on)
From: wfc@cl.cam.ac.uk (William Clocksin)
Newsgroups: comp.sys.next.programmer
Subject: archiving structs with bit fields
Keywords: typed stream, struct
Date: 28 Sep 92 16:34:08 GMT
Reply-To: William.Clocksin@cl.cam.ac.uk
Organization: U of Cambridge, England

Does anybody know where I can find good examples of using typed streams to  
archive structs that contain bit fields?  I am particularly interesting in  
knowing how to deal with multiple ClassVersions in which the bit fields in the  
structs are differently defined.
From: emerson@hadrosaur.cis.ohio-state.edu (R. Matthew Emerson)
Newsgroups: comp.sys.next.programmer
Subject: turning off precompiled headers
Date: 29 Sep 92 16:20:43 GMT
Article-I.D.: cis.1992Sep29.162043.19157
Organization: The Ohio State University Dept. of Computer and Info. Science

is there a compiler flag to ignore precompiled headers?
-matt
Newsgroups: comp.sys.next.programmer
From: fletcher@socrates.umd.edu (Charles Fletcher)
Subject: Re: Help! Help! Palette Problem
Keywords: palettes, NeXTSTEP 3.0
Organization: University of Maryland University College
Date: Mon, 28 Sep 1992 01:48:21 GMT

I hope to make a post on this in a couple of days. I have a list of
the necessary changes (to convert from 2.1 -> 3.0) but I want to check
it twice (to see if its ...).

Anyway, converting palettes has not been as straight forward as I had
hoped. (Is everything a directory now?) Converting a 2.1 project automatically
seems to have its difficulties ("It just works" NOT it this case--oh, it
converts the project ok, but I haven't found a way to directly include
the previous nib file, even if I change it to a 3.0 style nib. I keep
getting an Alert saying it is already of the palette category. Am I doing
something wrong here?) So (for me at least) I think it is best to start
anew and include and update from there. But I want to check out everything
before I make a post.

Charlie




-- 
	NeXTMail to:		|	...to confer, converse, and 
	charlie@technosci.com	|	otherwise hobnob with my    
				|	brother wizards.	    

Newsgroups: comp.sys.next.programmer
From: thf@zelator.in-berlin.de (Thomas Funke)
Subject: Re: MMAP Works (was Re:  mmap - System call in 3.0 still there ???)
Reply-To: thf@zelator.in-berlin.de (Thomas Funke)
Organization: NNU Corp. - NeXT is Not UN*X
Date: Mon, 28 Sep 1992 17:39:21 GMT

In article <dillon.0oe9@overload.Berkeley.CA.US>  
dillon@overload.Berkeley.CA.US (Matthew Dillon) writes:
> >In article <1992Sep25.115239.12000@odi.com> benson@odi.com (Benson I.  
Margulies) writes:
> >
> >mmap works.
> >

Some months ago I have posted a version of SYS-5 IPC for NeXT. It should be  
int the archives, too. Only shared-memory implemented yet.

I use it everyday with 'pcomm' for example.

-- 
------------------------------------------------------------------
Thomas Funke  ** E-mail: thf@zelator.in-berlin.de
NeXT-Developer * Unix-Consultant
------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer
From: ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson)
Subject: NXImage problem
Summary: NXImage problem
Organization: Monash University, Caulfield Campus
Date: Fri, 2 Oct 1992 00:32:49 GMT

I had an NXImage working perfectly under 2.1 E. Now all I get
is a black area under 3.0

Newsgroups: comp.sys.next.programmer
From: benz@infko.uni-koblenz.de (Hartmut Benz)
Subject: The Appkit-Class *Form* does't take *setIntValue:at:* any more under 3.0
Organization: Universitaet Koblenz (FB Informatik)
Date: Fri, 02 Oct 1992 16:36:47 GMT

Hi you gurus out there!

I'm absolutely new to NeXT-programming so this question might be really  
stupid, but ...

I have a small application running under 2.1 with a Form inside a Window like

		Field 1 [        ]
		Field 2 [        ]

I have a connection 'fields' to this form and used to set values like this:

		[fileds setIntValue:someValue at:1];

and everything worked fine until THE UPRGRADE TO 3.0!
After that (and the rebuilding of the application of course) nothing happens  
with this fields. Also the documentation on Form tells me not to use this  
method on it?

Two Questions:
1.	How do I do it?
2.	Why has this been changed?

Thanks in advance
			Hartmut
_______________________________________
Hartmut Benz                          | benz@infko.uni-koblenz.de
D-5400 Koblenz, Germany               |       (NeXTmail ok)
Newsgroups: comp.sys.next.programmer,comp.sources.wanted,comp.sys.next.software
From: kruegewa@cda.mrs.umn.edu (Puffin)
Subject: Re: Wanted:  simple public-domain terminal GUI
Keywords: wanted
Organization: University of Minnesota - Morris
Date: Thu, 1 Oct 1992 14:57:03 GMT

I wrote
> I'd like to find a terminal-type interface that could sit on top of a network  
> interface of my own design.  Does anyone know of such a thing laying about  
the  
> net?  I've tried archie and manual searches of certain anon-ftp sites to no  
> avail.
> 
> Any help would be greatly appreciated.

I have gotten a couple responses, but it seems I didn't explain myself  
properly.  Perhaps I should clarify:  what I need is a NeXT app, similar to  
Terminal or Stuart, that allows terminal-like user I/O that I can hack to put  
atop a custom interface.

Like so:
------------------User------------------
                   ^|
                   |V   Graphical User Interface
              ------------
              |    *     |    <---------------this is what I want
              ------------
                   ^|
                   |V   Line-based text  (".......\n")
-----------------NetIF------------------

--
   W. Alan "Puffin" Krueger  |    Professional/Perpetual Friend-At-Large
  Univ of Minnesota, Morris  |              Master Of Puffins
KRUEGEWA  @  CAB.MRS.UMN.EDU |    "Don't look at me, I just live here!"
ALAN  @ NXSCI173.MRS.UMN.EDU | Listen to the U~90 Alternative!  KUMM 89.7 fm
Newsgroups: comp.sys.next.programmer
From: federico@heinz.in-berlin.de (Federico Heinz)
Subject: Re: Fax/Modems
Organization: Federico Heinz Consulting
Date: Wed, 30 Sep 1992 20:00:32 GMT

In article <1992Sep28.183351.514@dakota.hsd.com> root@dakota (Operator)  
writes:
In article <167EDA76B.MMURPHY@cms.cc.wayne.edu> MMURPHY@cms.cc.wayne.edu  
(Mark Murphy) writes:
>    Does anyone have any recommendations for Fax/Modems? Any comments on
> the following Fax/Modems?

Higly recommended:

	ZyXEL + NXFax from B&W Software

It's the solution I had been looking for for over a year. The software is  
wonderful, and delivers everything Neuron once promised. A friend of mine  
that used Neuron tells me that NXFax's user interface is practically  
identical to Neuron's, so maybe the products are related (or were at some  
time). I can understand, however, that B&W don't want this kind of  
association with the infamous Neuron. As far as I can tell, NXFax work like  
charm, and the people behind it are very helpful.

Beware, though, that you will need ZyXEL ROM version 5.1 or higher. I'm using  
5.2, and it's just like I dreamed it.

Federico

Disclaimer: I have nothing to do with B&W Software besides being a satisfied  
customer.
From: dillon@overload.Berkeley.CA.US (Matthew Dillon)
Newsgroups: comp.sys.next.programmer
Subject: Re: shared memory (was Re: mmap - System call in 3.0 still there ???)
Distribution: world
Date: 29 Sep 92 11:16:56 PST
Organization: Not an Organization

>In article <1992Sep28.171946.22893@svcdudes.com> moose@svcdudes.com writes:
>>In article <dillon.0oba@overload.Berkeley.CA.US> dillon@overload.Berkeley.CA.US
>(Matthew Dillon) writes:
>> In article <1992Sep19.120245.1274@gamelan> thf@zelator.in-berlin.de (Thomas
>
>If this were the case, then you would be unable to attach a process using gdb.
>If you look at vm_read and vm_write, you can see how to transfer pages at will.
>While it's not as great as 1 physical page being used by two different tasks,
>it is functionally equivelant.

    It most certainly is NOT functionaly equivalent!  It's like doing IPC
    through /dev/kmem or something.  Give me a break!

    But, as someone mentioned, it turns out you CAN share writable pages
    using the undocumented mmap() call so I'm happy.

				    -Matt

>--
>Michael Rutman 		|	moose@svcdudes.com
>Cubist 			|	makes me a NeXT programmer
>Software Ventures		|	maker of MicroPhone Pro
>#include <std.disclaimer>	|	really offensive political statement

--

    Matthew Dillon		dillon@Overload.Berkeley.CA.US
    1005 Apollo Way		uunet.uu.net!overload!dillon
    Incline Village, NV. 89451	ham: KC6LVW (no mail drop)
    USA 			Sandel-Avery Engineering (702)831-8000

Newsgroups: comp.sys.next.programmer
From: root@dakota (Operator)
Subject: Re: Fax/Modems
Organization: HSD Microcomputer U.S., Inc.
Date: Mon, 28 Sep 1992 18:33:51 GMT

In article <167EDA76B.MMURPHY@cms.cc.wayne.edu> MMURPHY@cms.cc.wayne.edu  
(Mark Murphy) writes:
>    Does anyone have any recommendations for Fax/Modems? Any comments on
> the following Fax/Modems?
>  
>         DoveFax
>         FaxMaster 96/24 X
>         Mix
>         Neuron Fax Modems
>  
>  
> Thanks
> Mark Murphy
> mark@opus.pass.wayne.edu

FaxMaster from HSD
From: aozer@next.com (Ali Ozer)
Newsgroups: comp.sys.next.programmer
Subject: Re: Workspace icon animation
Date: 6 Oct 92 13:47:52 GMT
Organization: Next Computer, Inc.

In article <1992Oct3.073431.23948@muddcs.claremont.edu> wprice@pomona.claremont.edu writes:
>I've been trying to find information on how to make my program's icon in the  
>dock change images while it is running.   ...  I browsed the new  
>Workspace protocol for 3.0, is there a new special way to do this, or what is
>the old way?

Get a hold of the Window object for the application tile (via [NXApp
appIcon]) and draw in its content view.  Under 3.0 use the NXAppTile
image to assure that the standard look of the tile isn't destroyed.
Even if you are writing a 2.0 app, you should still do a findImageNamed:
on NXAppTile and use it if you find it; this assures that your app will
do the right thing under 3.0. If you don't find the image, then you can
just try to recreate the 2.0 look yourself (under 2.0 it was a much
simpler image).

The 3.0 AppKit release notes have more info about using NXAppTile.

Ali, Ali_Ozer@NeXT.com
Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy
From: ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson)
Subject: IB vs Garnet
Summary: IB vs Garnet
Organization: Monash University, Caulfield Campus
Date: Wed, 30 Sep 1992 02:34:28 GMT

I am a loyal NeXTStep programmer who is always keeping his ear
to the ground and looking out for new ideas.

Anyway, has anybody taken a good look at how IB/NextStep compares to 
a declarative style of programming environment like Garnet and Lapidary?

Garnet, looks like a very exciting approach to user interface construction.

For those who are interested I point you to, a 92 OOPSLA paper by Brad Myers
and there are other Garnet articles.

This seems so me to be the future in Interface Construction.


Newsgroups: comp.sys.next.programmer
From: timm@xongmao.ncsa.uiuc.edu (Tim McClarren)
Subject: Re: isKindOf: and IsKindOfClassNamed: problems
Organization: University of Illinois at Urbana
Date: Wed, 30 Sep 1992 21:32:01 GMT

alex@cs.umd.edu (Alex Blakemore) writes:

>In article <timm.717827168@xongmao> timm@xongmao.ncsa.uiuc.edu (Tim McClarren) writes:
>> Well, I can't seem to find a rationale for the changes, although I 
>> did find them documented in ObjC.rtf in the Developer Release Notes.
>> I am having the same problem as the original poster.  And the Release Notes
>> don't make the behavior any clearer to me.  I should think that these
>> things should both return YES or both return NO.  Any other clues?

>the difference between the IsKindOf and IsMemberOf methods (and their cousins
>that take class names instead of class objects as args) is how they handle subclasses.
>if an object x is an instance of class B (which is a subclass of A) then
>x is a kind of A but x is NOT a member of A.
>(x is both a kind of B and a member of B)

>for more info look in the concepts section on objective C or the
>reference for the class Object.

That's not what was being discussed, nor is it what you said in
your former post.  I was already well aware of the differences between
the "isKindOf:" and "isMemberOf:" methods.
So the questions still stands: where is the rationale documented,
and why is gdb exhibiting this odd behavior?

Anyone, anyone?

-- 
Tim McClarren     | "...a bajillion brilliant Jobsian lithium licks."
timm@ncsa.uiuc.edu|
(217)244-0015     |
Newsgroups: comp.sys.next.programmer
From: wcs@rainier.ATT.COM (Bill Stewart)
Subject: Re: Encryption on NeXTSTEP 3.0 with PGP 2.0?
Organization: AT&T Bell Laboratories
Date: Sun, 27 Sep 1992 04:21:22 GMT
Followup-To: comp.sys.next.programmer

In article <2073@ltb.ltb.bso.nl> wierda@ltb.ltb.bso.nl (Gerben Wierda) writes:
   NeXT ships its NeXTSTEP 3.0 software without the FEE software installed,
   probably because of the US government forbidding it.    [...]
   effort to create a package to install PGP in such a way on the NeXT that 

An obvious workaround would be for NeXt to publish the encryption algorithms
used, but not the actual software implementation, since algorithms
don't yet appear to be "munitions", and some outsider could develop a
good implementation.  Alternatively, if they don't want to be that public,
they *might* be able to contract with a non-US firm to implement the algorithm,
but that would take a lot more lawyers to tell you if it's ok.

   Btw. Using PGP in the US is illegal, because of the RSA patent. I don't see a
   way yet to get around that one. But the rest of the world might force a
   standard on this.

Could we convince RSA to take a more relaxed attitude on licensing
their product, in return for a large, low-cost US market?
After all, most of us use MS-DOS on occasion, and it's a licensed product,
but it's cheap and Microsoft's license terms don't place any undue restrictions
on users that keep your lawyers from letting you use it.
Their RSAREF license is way too hairy for me to use casually at work,
and I'm not sure I trust a key distribution system that may have the
government getting involved at the upper layers.  They're also working
to license RSA to big computer companies, but I'd really rather have
the freedom to use a mail system I want and a privacy system I can hack on.

Unfortunately, the US government is *preventing* RSA from selling to a
large, potentially lucrative market, by forbidding exports, which
makes it less attractive for them to do a cheap mass-market product here.
From: fitz@nextone.lanl.gov (Joe Fitzgerald)
Newsgroups: comp.sys.next.programmer
Subject: c++  header files
Date: 29 Sep 92 18:02:55 GMT
Article-I.D.: newshost.1992Sep29.180255.23458
Reply-To: fitz@nextone.lanl.gov
Organization: Los Alamos National Lab

I want to try c++ on my next but am stumped at the beginning.  I can't  
seem to locate the header file "stream.h" as used in cout<<"....".  Can  
someone elucidate?
Newsgroups: comp.sys.next.programmer
From: yzhao@cs.uh.edu (Yi Zhao)
Subject: NeXT DBKit Adaptor Problem : Please Help !
Organization: Computer Science dept.,  Univ. of Houston (Main Campus)
Date: Sat, 26 Sep 1992 01:52:17 GMT


Greetings,

I have a problem with the NeXT DBDatabase (DBKit) Adaptor.
I am writing a custom Adaptor, and I based my implementation on the "SimpleAdaptor"
example given by NeXT, which appears to have bugs.

My question is: Is it the responsibility of the Adaptor code to insert records
into the Binder's container ? The documentation on DBBinder seems to indicate
otherwise; it seems to suggest that the adaptor only has to fetch a row of data in its
- (BOOL)fetchData:(DBBinder*)aBinder method, and that the database will insert the
row into a new record in the container after every invocation of the fetchData:
method.

This is not what I observe.
If I say:
   	[myBinder setDatabase:myDatabase];
  	[myBinder setContainer:myContainer];
    	[myBinder reset];
	[myBinder fetch]
	printf("Count of myContainer = %d\n", [myContainer count]);
I expect the printf to print 2, corresponding to 2 records that I know are present;
however, it prints only 1.

Is the fetchData: method in the Adaptor code responsible for inserting
a record into the Binder's container after it fetches a row of data ?

Is there any sample custom Adaptor code somewhere that I could look at ?
The SimpleAdaptor code from NeXT is real old, the copyright date is 1991.

I would really appreciate any help from you DBKit experts.
From: bchen@pooh.caltech.edu
Newsgroups: comp.sys.next.programmer
Subject: How to make Help.store in NS 3.0
Date: 5 Oct 1992 18:57:39 GMT
Organization: California Institute of Technology, Pasadena
Reply-To: bchen@pooh.caltech.edu
NNTP-Posting-Host: christopher.caltech.edu

I would like to find a way to compress the Help directory in NS 3.0 to be  
a Help.store file like what NeXT did to the Help directory in the standard  
apps. I would appreciate any information on it.

Bing Chen
bchen@cco.caltech.edu
From: ddj+@cs.cmu.edu (Doug DeJulio)
Newsgroups: comp.sys.next.programmer
Subject: DBAdaptor examples?
Date: 1 Oct 92 16:56:37 GMT
Article-I.D.: cs.BvGCEE.K57.2
Organization: School of Computer Science, Carnegie Mellon


I want to play with the DBKit, but I don't have Sybase or Oracle!
Does anyone know where the source to a simple flat-file DBKit adaptor
can be found?
-- 
Doug DeJulio
ddj+@cmu.edu
Newsgroups: comp.sys.next.programmer
From: doberman!mike (Mike Panzitta)
Subject: Re: isKindOf: and IsKindOfClassNamed: problems
Reply-To: doberman!mike@esunix.sim.es.com
Organization: Doberman Systems
Date: Thu, 1 Oct 92 03:56:12 GMT

In article <60755@mimsy.umd.edu> alex@cs.umd.edu (Alex Blakemore) writes:
> In article <timm.717827168@xongmao> timm@xongmao.ncsa.uiuc.edu (Tim  
McClarren) writes:
> > Well, I can't seem to find a rationale for the changes, although I 
> > did find them documented in ObjC.rtf in the Developer Release Notes.
> > I am having the same problem as the original poster.  And the Release  
Notes
> > don't make the behavior any clearer to me.  I should think that these
> > things should both return YES or both return NO.  Any other clues?
> 
> the difference between the IsKindOf and IsMemberOf methods (and their  
cousins
> that take class names instead of class objects as args) is how they  
handle subclasses.
> if an object x is an instance of class B (which is a subclass of A) then
> x is a kind of A but x is NOT a member of A.
> (x is both a kind of B and a member of B)
> 
> for more info look in the concepts section on objective C or the
> reference for the class Object.
> 
> -- 
> ---------------------------------------------------
> Alex Blakemore alex@cs.umd.edu   NeXT mail accepted

This is well documented in the NeXT docs (sorry about the method name
change...I should have checked the release notes first).  However, the
functional problem still remains.  I have an instance of a class (say
myObject) that inherits from another class (MyClass).  The following
situation occurs (verified within gdb):

[myObject isKindOf:[MyClass class]]  returns 0

but

[myObject isKindOfClassNamed:"MyClass"]  returns 1

Has anyone else experienced this?

-Mike

--
Mike Panzitta
Doberman Systems
doberman!mike@uunet.uu.net (NeXTMail)
From: eronald@CNAM.CNAM.FR (Edmund Ronald)
Newsgroups: comp.sys.next.programmer
Subject: NS 486 pricing vs. Win NT
Date: 3 Oct 92 00:33:49 GMT

The current 69$ pricing of the Win NT development kit, coupled with
the cheap PC hardware and large market make it the poor developers 
dream. NeXTStep does allow you to get work done 5* faster, but most
of my friends cannot afford personal black hardware. Frankly, I think
a Hullot Clone should do a class hierarchy and an Interface Builder 
for NT. Lastly, those multiprocessor PeeCees are really cute: Haven't
we all yearned for symmetric multiprocessing and file system logging?

:) :)

Edmund.

-- Beta testers do it while rebooting --
-- eronald@cnam.cnam.fr               --
From: aozer@next.com (Ali Ozer)
Newsgroups: comp.sys.next.programmer
Subject: Re: NXImage problem
Date: 4 Oct 92 20:19:31 GMT
Organization: Next Computer, Inc.

In article <1992Oct2.025228.1464@monu6.cc.monash.edu.au> Robert D. Nicholson writes:
>ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson) writes:
>>I had an NXImage working perfectly under 2.1 E. Now all I get
>>is a black area under 3.0
>Further to this, I had it on a 040 mono cube on 2.1 and I now am
>experiencing this problem on a ColorStation running 3.0 Gold.

I haven't seen the original message, but seeing this bit about mono vs color
I can make a guess as to what your problem is.  Your image probably has
alpha, and you are compositing it with COPY instead of SOVER.  When you do
this, the destination ends up getting transparent bits, and transparent
bits look black on the color machines and white on the mono machines. (Think
of it as seeing the back side of your monitor! It's going to be machine
dependent. 8-) )

Unless you know that your image has no transparency (in which case COPY and
SOVER are the same), the best way to display an image in a window is to use
to SOVER mode after displaying what's supposed to be behind it.

If this does turn out to be the problem, then it has nothing to do 
with 2.1 vs 3.0. 

Ali, Ali_Ozer@NeXT.com
From: hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy))
Subject: Re: fixing up /usr/include
In-reply-to: karthy@dannug.dk's message of 5 Oct 92 19:15:54 GMT
Newsgroups: comp.sys.next.programmer
Organization: Department of Physics, UC Irvine, CA 92717-4575, USA
Date: 6 Oct 92 05:32:30 GMT

I just modified the NeXT.cf for imake (I use imake under co-Xist) to
find the include files where they are (i.e., in spite of all the
symbolic links). I guess one can do something similar in configure. 
Have not tried whether perl works yet. 
--
Hardy 
-----
Meinhard E. Mayer,  Department of Physics, UC Irvine 
e-mail: hardy@golem.ps.uci.edu (preferred) or MMAYER@UCI.BITNET