HDTenEightyP/NetNews huggingface dataset:
From: hkeller@itr.ch (Keller Heinz)
Subject: Using of the serial port
Organization: Interkantonales Technikum Rapperswil (ITR) Switzerland
Date: Fri, 13 Nov 1992 14:37:47 GMT

We are looking for some source to make a connection from the NeXT over the seria
l interface to a Short Wave Radio Receiver.
Can someone give us information on this topic.
We've already tried to open the device /dev/cua and write some information with
write(). 
Are there somewhere in the net some demos for the use of the serial interface.

Pleas send by e-mail

Heinz Keller, Technical School Rapperswil, Switzerland
e-mail: hkeller@itr.ch
Newsgroups: comp.sys.next.programmer
From: Robert_La_Ferla@hot.com
Subject: Distributed Objects and Network Name Server
Organization: Hot Technologies
Date: Fri, 13 Nov 1992 12:24:10 GMT

Keywords: NeXTSTEP 3.0, Distributed Objects, Network Name Server, nmserver
Reply-To: Robert_La_Ferla@hot.com
Distribution: world


Is there a command line utility or any utility for that matter that  
displays any and all registered port names in the Network Name Server?  In  
lieu of such a utility, does enabling debugging on nmserver via -c -t -p 0  
work and does it provide this information?  It didn't work for me.

If you register an object with a name using registerRoot:withName:, when  
does it cease existing in the NetNameServer?  Is it removed from the  
server automatically when the application or task exits?  Do you need to  
explicitly unregister the object?  How?  Do you use free or removeObject:?

What do the following error messages mean?

Unknown error code 11013 in NXReportError
Unknown error code 11004 in NXReportError

Inquiring minds want to know!

Robert La Ferla

PS.  NeXT Developer Support: WE NEED MINI-EXAMPLES for Distributed Objects  
(especially ones that show how to provide two way communication between a  
server and a client, how to detect server/client death, how to properly  
unregister/clean up connections), Object Linking and other 3.0  
functionality.  The last distribution mostly dealt with DBKit.  WE ALSO  
NEED TO BE AWARE OF ANY BUGS in Distributed Objects.
Newsgroups: comp.sys.next.programmer
From: brian@chromagrafx.com (Brian C. Hobbs)
Subject: NXZoneMalloc is your friend... NXBitmapImageRep is not.
Organization: Chromagrafx Imaging Systems, Hauppauge, NY
Date: Sat, 7 Nov 1992 00:33:48 GMT


Greetings,

Just a curious question:  Are developers experiencing more memory  
corruption errors of bugs (i.e. invalid memory access, writing over  
existing data, etc...) using 3.0 than 2.1?  It seems that I've got to  
explicitly NXZoneMalloc off everything I do just so the memory is there  
and protected.

Also... this is more of an "intuition" thing... I've talked to NeXT about  
it but I don't know if it's valid and I can't give any examples here:   
I've had some corruption problems using [[NXBitmapImageRep alloc]  
initData:NULL ...] different times on multiple machines on multiple apps  
that I'm writing.  However, if I malloc the memory myself and pass the  
pointer to initData, the problem goes away. (nifty methods, +sizeImage:  
and such.)

The moral of this story:

Don't be lazy.  NXZoneMalloc off everything you can.  Especially on large  
sections of memory like images.  Stay away from:

unsigned char imageData[justHowMuchCanIPutInHereAnyways:)]

Brian Hobbs
Chromagrafx Imaging Systems
brian@chromagrafx.com

"NXZoneMalloc and NXBitmapImageRep.  Use them together.  Use them in  
peace."
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc
From: dead@well.sf.ca.us (Bruce Fancher)
Subject: Help needed with Window Server crash
Organization: Whole Earth 'Lectronic Link
Date: Fri, 6 Nov 1992 06:37:24 GMT



	I foolishly ran the Next Tour program as root and managed to lock
myself into the account.  Now when I log out of the Window Server it just
logs me back in as NextTour. Argh!  Any ideas?  Please respond through mail.
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups)
Newsgroups: comp.sys.next.programmer
Subject: [Corrected] NeXTSTEP Development Projects (TX, OK, CA, NY, MA, D.C)
Date: 5 Nov 92 18:57:03 GMT
Reply-To: user_groups@next.com

NeXTSTEP Development Positions Open -  Will Train
(Contract and Full Time)

If you recognize as we do that NeXT will be the chosen development
platform of the 90's and are looking to ride that wave, you will want
to contact The Maddox Group in Dallas, Texas. We currently have
permanent positions in Texas that will hire OOP'S programmers with
any OOP'S experience to work on exciting NeXT Development Projects.
We have additional NeXT openings that we are trying to fill in

Oklahoma, Connecticut, New York, California, District of Columbia,
and Massachusetts. In addition we have contract opening in all these
states and plan to continue Networking till we have positions
everywhere. For more information contact ...

The Maddox Group
Phone: 214-341-2554  (PLEASE NOTE CORRECTED NUMBER)
Fax your resume to 214-341-3041.
From: ambi@localhost.bu.edu (Mike Amirault)
Newsgroups: comp.sys.next.programmer
Subject: RIBs, RenderMan, and Textures
Date: 11 Nov 92 19:24:38 GMT
Reply-To: ambi@it-next2.bu.edu


 I've been messing around with Renderman and RIB files for a couple
of days and need some help. I can pretty much get everything to work
except textures.  I've tried everything and can't get a simple texture
to display from a RIB file I created. I can use 3DReality and add a
texture fine, but I can't do it from my RIB file.

 I've tried things like:

 Surface "SD_Simple_tx" "txmap" "/NextLibrary/Textures/brick.tex"
 Surface "texmap" "texname" "brick"
 ...

 Does anyone know how to do this?  Does anyone have any docs on the
RIB syntax?  I bought the RenderMan Companion book but that doesn't
really help. Also, does anyone know how to compile shader function 
source to a *.slo file?

 Thanks for the help,
		Mike
Newsgroups: comp.sys.next.programmer
From: marcel@opal.cs.tu-berlin.de (Marcel Weiher)
Subject: Re: Look Up Tables On NeXT
Organization: Techn. University of Berlin, Germany
Date: Fri, 6 Nov 1992 17:37:56 GMT

andrew@cubetech.com (Andrew Loewenstern) writes:

>In article <1992Nov3.195318.2902@ife.fdn.org> jj@ife.fdn.org writes:
>>I am developping an image processing library which base is the use of  
>>look up tables to change the dynamic of the image quickly. It does  
>>not seem to have any LUT on the NeXT, has any one solve this problem  
>>earlier, how can I access the graphic memory directly to speed up the  
>>process of my "manual" LUT ??
>
>There are no CLUT's on the NeXT because it has Display PostScript.
>But, if you are writing something where user adjusts a parameter and
>you want to instantly display the effect in a "preview" before applying
>the transformation to the real image, then check out
>setframebuffertransfer.

Why not go for settransfer/setcolortransfer, as these are STANDARD
PostScript operators.  (Why does everybody always suggest the nastiest
sort of hack first?? )

Marcel

PS.:  Andrew, is your mail still broken?  I haven't been able to
get through.
From: coco@cbnewsl.cb.att.com (felix.lugo)
Newsgroups: comp.sys.next.programmer
Subject: Re: 3.0 Digital Librarian
Date: 10 Nov 92 02:09:25 GMT
Organization: AT&T

In article <1dmgnoINNha9@transfer.stratus.com> charlie@snowflake.az.stratus.com writes:
| I have a set of file in a directory that I wish to index. In  
| 2.0, I modified the ftypes file to describe how these files  
| look, and which command to invoke to get the correct description  
| line into the index.
| 
| In 3.0, this all changed. I now have setup the .index.ftypes  
| file correctly (I can see that DL knows the file types because  
| when I use ixbuild it displays the file types of each of the  
| files it is reading). However, the command fileType-desc command  
| isn't called and the description for each file winds up empty.
| 
| Has anyone figured out how to do this correctly?
| --
| Charles Spitzer
| charlie@snowflake.az.stratus.com
| Telecom Customer Assistance Center
| Stratus Computer, Inc.
| Phoenix, AZ  85018


	YEP!  Create a service description file (i.e., <file>.service)
under ~/Library/Services with the following information. Replace the <TEXTs>
as needed.  Run "make_services" from Terminal and then use ixbuild -g (note:
DO NOT USE Librarian TO CREATE YOUR INDEX SINCE IT DOES NOT USE THE -g
OPTION: see ixbuild(1))

Filter:
Port: NXUNIXSTDIO
Send Type: NXTypedFilenamePboardType:<YOUR_FILE_TYPE_GOES_HERE>
Return Type: IXFileDescriptionPboardType
Executable: <YOUR_EXECUTABLE_GOES_HERE>

Later,
--Felix
Newsgroups: comp.sys.next.programmer
From: bwebster@pages.com (Bruce F. Webster)
Subject: Re: What does -DDEBUG actually do?
Reply-To: bwebster@pages.com
Organization: Banzai Research Institute
Date: Wed, 11 Nov 1992 15:13:14 GMT

In article <10NOV199211495062@mpx2.lampf.lanl.gov> silbar@mpx2.lampf.lanl.gov  
(Dick Silbar) writes:
> I suspect this is very naive, but I looked all through the on-line manuals  
and 
> found no answer to the subject question.  The symbol table seems to be made
> by the -g option to cc.  So what does -DDEBUG buy me?
> 
> One answer MIGHT be (I am guessing) the ability to denote some lines in my 
> C code (with 'DEBUG'?), such as my favorite printf statements, so that they 
> are compiled when -DDEBUG is declared, but not when it is not.
> 

Exactly.  Among other things, this allows you to insert conditional code into  
your program, bracketed as follows:

#ifdef	DEBUG
<debugging code here>
#endif


..bruce..

-------------------------------------------------------------------------------
Bruce F. Webster             | Am a flamer, goateed, pallid, overweight,
Chief Technical Officer      | Willing to pull two shifts, then (hell) a third,
Pages Software Inc           | To save a session from a deadlocked state;
bwebster@pages.com           | At times, (to put it mildly) unrestrained--
#import <pages/disclaimer.h> | Almost, at times, a nerd.      -- Jeff Duntemann
-------------------------------------------------------------------------------

Newsgroups: comp.sys.next.programmer
From: moose@svcdudes.com
Subject: Re: problem with gdb
Reply-To: moose@svcdudes.com
Organization: Software Ventures, Inc.
Distribution: na
Date: Thu, 12 Nov 92 20:23:19 GMT

In article <1992Nov8.023218.11609@Trirex.COM> dglattin@trirex.com (Dennis  
Glatting) writes:
> 
> A month or two back someone complained that gdb didn't worked when the  
> *upgraded* to 3.0.  What was the resolution on this?  I have the same  
> problem.
> 

I had the same problem until I found a copy of 2.0 gdb in the directory I was  
trying to run gdb in.  Turns out that 2.0 gdb does not work on a 3.0 system.

--
Michael Rutman			|	moose@svcdudes.com
Cubist				|	makes me a NeXT programmer
Software Ventures		|	maker of MicroPhone Pro
#include <std.disclaimer>	|	really offensive political statement
Newsgroups: comp.sys.next.programmer
From: lovelace!kswanson (Kevin Swanson)
Subject: dbkit delete
Organization: RDR, Inc.
Date: Fri, 6 Nov 1992 17:55:47 GMT


has anyone played with the dbfetchgroup method setAutoSelect?
what i wanted to use it for was automatically selecting the next record
in the recordlist after a deletion. i've tried other things, like using
setCurrentRecord, but something always resets it to select record 0.

anyone with similar problems? any ideas?

thanks,
kevin


kswanson@rdr.com
Newsgroups: comp.sys.next.programmer
From: burchard@horizon.math.utah.edu (Paul Burchard)
Subject: Re: how to delete palette icon from IB preferences?
Organization: University of Minnesota
Date: Sun, 8 Nov 1992 08:16:23 GMT

In article <1992Nov8.015021.23023@news.media.mit.edu> wave@waits.media.mit.edu  
(Michael B. Johnson) writes:
> Dick Silbar writes
> > In trying to develop a custom palette (actually, help Charlie Fletcher
> > get nxyPalette working on 3.0) I found the following annoying "feature"
> > of the 3.0 Interface Builder.  You can have multiple copies of the 
> > palette icon in the Preferences panel which allows you to load or unload
> > a palette more quickly than going through the Tools menu item.  Fortunately
> > the pathname is given, so you can sort out which palette is which.
> > UNfortunately, I can't seem to delete the bad ones from that panel 
> > (employing the usual GUI tricks of highlight + <del> or <cmd-x>).
> > 
> > What's the trick here?
> > 
> >    Dick Silbar (NeXTMail:silbar@whistler.lanl.gov)
> 
> There must be a better way than this, but here's a trick I use:
> 
> Go into your ~/.NeXT directory, and look for a file called defaults.nibd.   
> There are three fields of interest:

I may be misunderstanding your question, but the directions are right on the prefs panel.  It says  "double click to install/uninstall", and indeed, double clicking will both unload the palette and change your IB prefs.

Yes, it's inconsistent with NeXT's own UI guidelines, but there it is...

--
--------------------------------------------------------------------
Paul Burchard	<burchard@geom.umn.edu>
``I'm still learning how to count backwards from infinity...''
--------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer
From: zaphod@ctrg.rri.uwo.ca (Lance R. Bailey)
Subject: open panel
Reply-To: zaphod@ctrg.rri.uwo.ca
Organization: University of Western Ontario
Distribution: na
Date: Fri, 13 Nov 1992 18:36:28 GMT

i am trying to incorporate an open panel into an application which i am 
writing.

if i tuck in the Documents menu item, i get the entries in (open, save, ...)
dimmed. but if i drag in the Edit, or Text, or Font panels, then the entries
are not dimmed and i can use them in the app.

it seems i need to create a connexion from the open entry to summat else to
make it functional, but i can not figure that out.

thanks.
--
Lance R. Bailey  System/Network Manager         Robarts Research Institute
     NeXT/email: zaphod@ctrg.rri.uwo.ca    box: Clinical Trials Resources Group
            fax: +1 519 663 3789                P.O. Box 5015, 100 Perth Dr.
            vox: +1 519 663 3787 x4108          London, Canada N6A 5K8
From: andrew@cubetech.com
Newsgroups: comp.sys.next.programmer
Subject: Re: NXBundle functionality
Keywords: unloading Classes
Date: 5 Nov 92 06:54:43 GMT
Organization: Cube Technologies, Inc.

In article <1992Nov3.173929.22960@pencom.com> alt.rush-limbaugh writes:
>Hi,
>Does anyone out here know how to unload a class once it is read in via the  
>NXBundle classNamed: method. I tried some of the runtime functions like  
>objc_unloadModules() to no avail. 
>The NXBundle class will not let you free a bundle that has dynamically  
>loaded a class so even after using the runtime function  the bundle I got  
>from an initForDirectory: was the one I previously had tried to free. This  
>"new" bundle is under the assumption that the class was already loaded.
>Any help would be great.

I'm pretty sure that you cannot unload a class once you load it from
the bundle.


andrew
-- 
andrew@cubetech.com     | "Carpe Nocturn - I get more work done after
Andrew Loewenstern      |  2 a.m. than most people do all day."
Cube Technologies, Inc. |                          - Simson Garfinkle
Newsgroups: comp.sys.next.programmer
From: west@turing.toronto.edu (Tom West)
Subject: Simple TextDidChange Question
Organization: CSRI, University of Toronto
Date: 10 Nov 92 22:20:39 GMT

Hopefully as simple question:

  The situation:

  I have a Text object that implements TextDidChange.  It sets the window to
"changed" (i.e. close box correctly marked and so forth).  When I save 
the window, I set the window to "unchanged".  Unfortunately, I never see
TextDidChange again because TextDidChange fires only the first time that
the text changed after the Text is made first responder.

  The Question:

  Short of selecting some arbitrary window and then selecting my text again,
is there some way of resetting the TextDidChange flag so that it will fire
once again?  How is this generally solved?

  Once again, I'll be happy to forward any answer I receive.

-- 

	Tom West		

   west@turing.toronto.edu  or			"Children of the Blood"
tomwest@gpu.utcs.utoronto.ca  or		  -Michelle Sagara
       west@hsa.on.ca
Xref: sparky comp.sys.next.programmer:7118 comp.sys.next.sysadmin:6390
From: hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy))
Subject: Re: Drifting clock
In-reply-to: rca@cs.brown.edu's message of 10 Nov 92 02:12:55 GMT
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin
Organization: Department of Physics, UC Irvine, CA 92717-4575, USA
Date: 10 Nov 92 07:36:45 GMT

In article <1992Nov10.021255.8585@cs.brown.edu> rca@cs.brown.edu (Ronald C. Antony) writes:

???   I realize that my clock on the NeXT keeps running late. So finally got
???   annoyed enough to try to fix the problem. In the man pages I found a 
???   reference to /etc/npt.drift
???   However the file format is not documented. Does anyone know if this
???   file can be helpful in getting rid of the problem? If yes, what do the
???   entries in the file mean?

If your machine is on a network and you know an ntp (or xntp) host at
Brown, and if your machine is running ntp (check you /etc/hostconfig
file), ntp.drift records the drift of your clock vis-a-vis the master
clock. ntp is adjusting the logical time. 
We have three servers on campus, and if I want to reset the physical
clock I issue the command (as root):
ntp -f -s -v draco.acs.uci.edu einstein.oac.uci.edu paris.ics.uci.edu
(see the man-page on ntp). 









--
Hardy 
-----
Meinhard E. Mayer,  Department of Physics, UC Irvine 
e-mail: hardy@golem.ps.uci.edu (preferred) or MMAYER@UCI.BITNET
!!!! NO NEXTMAIL TO THESE ADDRESSES, PLEASE !!!!!
Newsgroups: comp.sys.next.programmer
From: oliverm@nevada.edu (Moises Oliveira)
Subject: Re: Manpages in Section 3 gone wrong !? -NO
Organization: University of Nevada System Computing Services
Date: Fri, 6 Nov 1992 05:04:04 GMT

In article <BUZZ.92Nov5235323@hektor.cs.tu-berlin.de> buzz@cs.tu-berlin.de (Bastian Schlueter) writes:
>Hello Everybody,
>
>I just noticed that after installing NS3.0 my manpages seem to be
>wrong. All manpages in Section 3 mention the wrong include files :-(
>For example the manpage for printf() says that one has to include the
>file stdio.h. But this file doesn't exist, you have to use ansi/stdio.h.

My printf man page says:
     #include <stdio.h>

That line will import stdio.  The NeXT C compiler will automagically
look in the right place (under ansi)

You do not need to type
    #include <ansi/stdio.h>


Newsgroups: comp.sys.next.programmer
From: Robert_La_Ferla@hot.com
Subject: Re: Distributed Objects and Network Name Server
Reply-To: Robert_La_Ferla@hot.com
Organization: Hot Technologies
Date: Fri, 13 Nov 1992 12:33:44 GMT

 
> What do the following error messages mean?
> 
> Unknown error code 11013 in NXReportError
> Unknown error code 11004 in NXReportError

Never mind this part of the question.  The answer lies in NXProxy.h.
Newsgroups: comp.sys.next.programmer
From: jam@access.digex.com (Jeff Marshall)
Subject: Keyboard mapping document location
Organization: Express Access Online Communications, Greenbelt, MD USA
Date: Wed, 11 Nov 1992 13:21:19 GMT


I've been working on a program which needs to use some information 
about the current keyboard mapping and can not find any information
which describes the format of the mapping string. I did find one 
reference which says: see the document "Key Mappings on the NeXT
Computer" for more details on a key mapping string. 

For some reason I can't find this article in the online docs, or my
2.0 printed docs, any ideas?

thanks,
  -jeff
From: filibert@vista (Daniel Filiberti)
Newsgroups: comp.sys.next.programmer
Subject: Changing alpha only?
Date: 10 Nov 92 05:39:19 GMT
Article-I.D.: ohsu.1992Nov10.053919.19601
Reply-To: filibert@ohsu.edu
Organization: Oregon Health Sciences University

Hi Everybody!

Another quirky problem.  I need to mask an area of an image
by changing the alpha value within the area to 1 (for
example) and everything outside the area to (0).  The
catch is that I need to retain the original RGB data within
the whole image (not just the masked area! otherwise
clipping would work!).  I have a path to clip to, easy
enough, but how can I draw only to the alpha channel?  Or,
how do I use some strange combination of compositing
functions to do this?  The images are RGB tiffs, no alpha,
so compositing defaults to an opaque alpha (1, I
think)... 

In simpler terms, I need all of the image data, and the
alpha channel to mask a region of interest within
it...easy, right?  Any takers? 

Daniel Filiberti 

---
************************************************************
Motto for a monitor, "It's better to burn out, than to fade
 away..."  [8?)}
************************************************************
 
Daniel Filiberti
Oregon Health Sciences University
Biomedical Information Communication Center (BICC)
3181 Sam Jackson Park Road
Portland, Oregon  97201-3098
email:  filibert@ohsu.edu
Newsgroups: comp.sys.next.programmer
From: wave@waits.media.mit.edu (Michael B. Johnson)
Subject: Re: how to delete palette icon from IB preferences?
Organization: MIT Media Laboratory
Date: Sun, 8 Nov 1992 01:50:21 GMT

Dick Silbar writes
> In trying to develop a custom palette (actually, help Charlie Fletcher
> get nxyPalette working on 3.0) I found the following annoying "feature"
> of the 3.0 Interface Builder.  You can have multiple copies of the 
> palette icon in the Preferences panel which allows you to load or unload
> a palette more quickly than going through the Tools menu item.  Fortunately
> the pathname is given, so you can sort out which palette is which.
> UNfortunately, I can't seem to delete the bad ones from that panel 
> (employing the usual GUI tricks of highlight + <del> or <cmd-x>).
> 
> What's the trick here?
> 
>    Dick Silbar (NeXTMail:silbar@whistler.lanl.gov)

There must be a better way than this, but here's a trick I use:

Go into your ~/.NeXT directory, and look for a file called defaults.nibd.   
There are three fields of interest:

ActivePalette
AvailablePalettes
Palettes

ActivePalette is a 0-based index into the Palettes list which says which  
palette is selected when IB comes up.  AvailablePalettes lists the palettes IB  
knows about (this is in the Preferences section).  Palettes lists the palettes  
IB loads at launch time.

Hope this helps.
   
--

-->  Michael B. Johnson
-->  MIT Media Lab      --  Computer Graphics & Animation Group
-->  (617) 253-0663     --  wave@media-lab.media.mit.edu
-->  NeXT Mail accepted at  wave@nordine.media.mit.edu
Newsgroups: comp.sys.next.programmer