HDTenEightyP/NetNews huggingface dataset:
From: C471040@mizzou1.missouri.edu (Toejam)
Subject: What happened to find arrayproc.h?
Organization: University of Missouri
Date: Thu, 12 Nov 92 20:34:02 CST

Aloha.
 
I use  arrayproc.h in some of my programs.  Now with sys 3.0 out
it has disappeared.  What's up?
 
Help
 
Newsgroups: comp.sys.next.programmer
From: orion@proxima.cc.colorado.edu (Orion Edward Poplawski)
Subject: 16-bit NXBitmapImageRep, Cannot do it
Reply-To: orion@proxima.cc.colorado.edu
Organization: Colorado SuperNet, Inc.
Date: Wed, 11 Nov 1992 21:30:00 GMT

Why can't I cran arbitrary bit size image with NXBitmapImageRep?  I am reading  
a custom 16-bit bitmap, and would like to put it in one, but it only seems to  
allow certain sizes.

Please e-mail.

--
Orion Poplawski
Physics Dept. Paraprofessional
The Colorado College
orion@proxima.cc.colorado.edu (NeXT mail OK)
(719)389-6750
Newsgroups: comp.sys.next.programmer
Subject: Re: Serial port communication difficulties 
From: frank@ifi.unibas.ch (Robert Frank)
Date: Wed, 11 Nov 1992 09:15:46 GMT
Reply-To: frank@ifi.unibas.ch
Organization: Institut fuer Informatik

In article <1992Nov10.115012.29368@doug.cae.wisc.edu>  writes:
> 
> Friends,
> This may be more UNIX than NeXT, but here goes.
> 
> I've been trying to get two way communication between a cheapy slave computer
> and to a Next through their serial ports to shuffle data back and forth.
> 
> On the slave I can easily check the ports status, and if there is data,
> I can read it off byte by byte. Writing is also smooth.  There are
> good routines to make sure it doesn't get hung. 
> 
> But on the Next, it seems much harder.  I simply thought by opening
> a file being /dev/cua, I could check the ports status via feof().
> But alas, it always says theres more data there, and so it continially
> gets hung on reading after the lasst charachter is read.  I tried all 
> sorts of variations with the cable, conecting various permutaions of 
> RTS/CTS and so on, but to no avail.
> 
> In sum, the Next has no trouble reading the data from the port.
> But its only problem is that it can not find a correct answer 
> for the status of the port.
> 
> Is there a simple solution or a better way?
> 
> I'll sumarize if theres enough interest.
> 
> Thanks,
> Victor
> v_white@janus.ece.wisc.edu

Just went through NeXT answers and found this about the serial devices and flow  
control. It's possibly not what's causing you headaches but you mentioned  
trying different RTS / CTS settings:

On 68040 systems, the /dev/ttyfa, /dev/ttydfa, and /dev/cufa (and corresponding  
serial port B devices) may be used to enable flow control on the serial port  
via the RTS and CTS signals. When the serial port is accessed via these  
devices, output on the port will be halted whenever the CTS signal is  
deasserted and resumed when CTS is asserted by the remote host. The RTS signal  
will be asserted by the NeXT system whenever the NeXT system can receive input  
on the port and will be deasserted when further input can not be accepted. When  
the /dev/ttyfa, etc. devices are not used (e.g., the port is opened as  
/dev/ttya), RTS is always asserted while the device is open and CTS is ignored.

To enable RTS and CTS you must use the /dev/ttyfa or /dev/cufa devices.
But does this change the behavior of EOF???
-Robert
--
Robert Frank                         tel. + (061) 321 99 67                 
Institut fuer Informatik             fax  + (061) 321 99 15                 
University of Basel, Switzerland                                            
Mittlere Strasse 142      rfc822: frank@ifi.unibas.ch (NeXT mail accepted)  
CH-4056 Basel          X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch
                   ( if all fails try frank@urz.unibas.ch )
From: paul@music.sie.arizona.edu (Paul J. Sanchez)
Newsgroups: comp.sys.next.programmer
Subject: Re: Drifting clock
Date: 10 Nov 92 16:55:15 GMT
Organization: University of Arizona UNIX Users Group

Meinhard E. Mayer (Hardy) writes
> 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). 
> 

I have the following little shell script, called timesynch, in  
/usr/local/bin.  Once root starts it, it reruns itself every night at 3AM.   
Substitute your favorite ntp host...

# timesynch shell script
/usr/etc/ntp -s time.telcom.arizona.edu > /dev/null
/usr/bin/sleep 900
/usr/bin/at 3 /usr/local/bin/timesynch
Newsgroups: comp.sys.next.programmer
From: jag@seguente.ximage.com (Jagdish Narasimhan)
Subject: NeXT news reader 
Reply-To: jag@ximage.com
Organization: /Net/ximage/users/jag/.organization
Distribution: comp.sys.next.software
Date: Thu, 12 Nov 1992 06:02:13 GMT

Help...I am looking for a news reader for the NeXT...I have seen
references to NewsGrazer...would like to get a copy of the same...

Thanks
jag
jag@ximage.com
From: jfosback@darmok.uoregon.edu (Jason Fosback)
Newsgroups: comp.sys.next.programmer
Subject: HELP: Providing services under 3.0?
Date: 10 Nov 92 00:37:21 GMT
Organization: University of Oregon Network Services
NNTP-Posting-Host: darmok.uoregon.edu

I'm currently writing an application that will provide a service to  
other applications under NS 3.0.  However, I can't get other  
applications to recognize the fact that my application is indeed  
providing a service.

I've tried placing copies in /LocalApps and ~/Apps as per instructions,  
but to no avail.  It doesn't help that the documentation in Librarian  
gives TWO possible link commands for the Makefile.preamble.  I've tried  
*both*.

I've tried using different send and return types, but it doesn't seem to  
make a difference.  My ultimate goal is to provide a service that  
doesn't require any information, thus providing the service from any  
application with a service menu.  However, I haven't been able to even  
get an enabled or disabled menu item to appear anywhere.

Below is an abridged version of what I have.  I've tried changing the  
main() function to give the commands to theListener (Application  
listener), but it didn't make a difference.

I've also tried the dynamic method of installing the services.text  
information in ~/Library/Services in a file called BlahBlah.service, and  
then called NXUpdateDynamicServices().  No luck.  Since I know exactly  
what I want to do, I'd like to avoid this method.

Any help will be MUCH appreciated.  Thank you in advance!

-jason


Makefile.preamble

#
# Set up the services handler
#

LDFLAGS = -sectcreate __ICON __services services.text

#LDFLAGS = -segcreate __ICON __services services.text


services.text:

Message: getMail
Port: PopOver
Send Type: NXAsciiPboard
Send Type: NULL
Return Type: NXAsciiPBoard
Return Type: NULL
Menu Item: Retrieve Mail
Key Equivalent: R


Controller.m (File Owner delegate, connected via IB):

- appDidInit:sender
{
	id theListener;

	theListener = [NXApp appListener];
	[theListener setServicesDelegate:self];
	return self;
	
}

- getMail:(id)pasteboard 
	userData:(const char *)userData 
	error:(char **)msg
{
	[self retrieveMail:self];
	return self;
}

- retrieveMail:sender
{
	blah blah; // do stuff

	return self;
}

______________________________________________________________________
Jason Fosback, Student Programmer/Consultant| No sir, I didn't like it
       ---- University of Oregon ----       |                 -R&S
Internet:  jfosback@oregon.uoregon.edu      | Star Trek:
NeXT mail: jfosback@darmok.uoregon.edu      |  The NeXT Generation...
Newsgroups: comp.sys.next.programmer
From: gordie@yamanote.dolphin.com (Gordie Freedman)
Subject: Re: Simple TextDidChange Question
Reply-To: gordie@yamanote.dolphin.com
Organization: Dolphin Software
Date: Wed, 11 Nov 1992 07:10:13 GMT

In article <1992Nov10.172039.23956@jarvis.csri.toronto.edu>  
west@turing.toronto.edu (Tom West) writes:
> Hopefully as simple question:
> 
>   The situation:
> 
> I have a Text object that implements TextDidChange. It sets the window 
> "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
> is there some way of resetting the TextDidChange flag so that it will
> 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

I had the same problem. It seems that textDidChange means changed since  
the window got focus, so if you keep focus you won't get the message  
again. Instead, I used textDidGetKeys and textWillConvert. Put them in and  
run the program in gdb, with breakpionts in the methods so you can see  
exactly why and when they get invoked (read the TeXT doc too).

Unfortunately, this doesn't get things like color changes, underline,  
setting alignment ... I subclassed the text object anyway, and overrode  
methods for things like:

- alignSelRight:sender
{
	[super alignSelRight:sender];
	[delegate textDidGetKeys:self isEmpty:([self textLength] == 0)];
	return self;
}

- underline:sender
{
	[super underline:sender];
	[delegate textDidGetKeys:self isEmpty:([self textLength] == 0)];
	return self;
}

Note these are not in the delegate but in my object subclassed from text.  
And there's more (alignSelCenter|Left, and for changing colors, and maybe  
even for fonts), but you'll surely find them.

-- 
Gordie Freedman gordie@yamanote.dolphin.com   ->   NextMail encouraged
(Disclaimer: Opinions expressed are my own and represent no one else.)

Xref: sparky comp.sys.next.programmer:7181 comp.sys.next.misc:21918
From: jack@richsun.cpg.trs.reuter.com (Jack Gidding)
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc
Subject: IconBuilder Extensions?
Date: 12 Nov 92 15:25:03 GMT
Followup-To: comp.sys.next.programmer



Are there any extensions for Iconbuilder currently on any of the FTP  
archives?


Thanks,

Jack Gidding
Reuters
jack@richsun.cpg.trs.reuter.com
Newsgroups: comp.sys.next.programmer
From: tacchi@next01.cc.umanitoba.ca. (Mark G. Tacchi)
Subject: Re: Simple Sound Question
Organization: University of Manitoba, Winnipeg, Canada
Date: Tue, 10 Nov 1992 19:28:06 GMT

In article <BxGuMy.Dtt@ccu.umanitoba.ca> tacchi@next01.cc.umanitoba.ca. (Mark  
G. Tacchi) writes:
> Can anyone point out why this does't make a sound?  I suppose there is more  
to  
> it than these few lines, right?
> 
> @implementation MySound:Sound
> - beep {
>   const char *theName= "Tink.snd";
>   [self setName:theName];
>   [self play];
>   return self;}
> @end
> 
> I can use the SNDPlaySoundfile(path,priority) and that works.

Thanks to those who responded to my posting.  The implementation I will be  
using is simply:

 @implementation MySound:Sound
 - beep {
   [[Sound findSoundFor:"Tink"] play];
   return self;}
 @end

--
Mark G. Tacchi                                    tacchi@next01.cc.umanitoba.ca
  Unix Support Group                                        (NeXT Mail Welcome)
  University of Manitoba Computer Services
 "My opinions are my own, and do not necessarily reflect those of my employer."
From: aozer@next.com (Ali Ozer)
Newsgroups: comp.sys.next.programmer
Subject: Re: Another new V3.0 feature - Edit keyword completion
Date: 7 Nov 92 23:15:53 GMT
Organization: Next Computer, Inc.

In article <1992Oct29.172503.332@afs.com> Michael_Pizolato@afs.com writes:
>I just discovered, quite by accident, another really cool new feature of
>V3.0.   In Edit, if you type the beginning of a keyword then hit escape, Edit
>will complete the keyword for you ...
>... Completion also doesn't work at all on some machines.  Anybody know
>about this, or know where or if it's documented?

The completion is pretty simple-minded: It will complete to any word which
occurs in the document before the cursor position. You also need to be in
C mode, I believe...

Ali, Ali_Ozer@NeXT.com
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa)
Newsgroups: comp.sys.next.programmer
Subject: Re: What happened to find arrayproc.h?
Date: 13 Nov 1992 06:57:05 GMT
Organization: University of California, Berkeley
Distribution: world
Reply-To: izumi@pinoko.berkeley.edu
NNTP-Posting-Host: moica.berkeley.edu

In article <1689D1213B.C471040@mizzou1.missouri.edu> C471040@mizzou1.missouri.edu (Toejam) writes:
>Aloha.
> 
>I use  arrayproc.h in some of my programs.  Now with sys 3.0 out
>it has disappeared.  What's up?

It has moved to /LocalDeveloper/Headers/dsp/arrayproc.h
and is contained in the MusicKit distribution from CCRMA at
Stanford Univ.  FTP it from ccrma-ftp.stanford.edu.

--
Izumi Ohzawa             [ $@Bg_78^=;(J ]
USMail: University of California, 360 Minor Hall, Berkeley, CA 94720
Telephone: (510) 642-6440     Fax:  (510) 642-3323
Internet: izumi@pinoko.berkeley.edu (NeXT Mail OK)
Newsgroups: comp.sys.next.programmer
From: Hal.Varian@umich.edu
Subject: Re: re: numeric tools for ObjC
Reply-To: Hal.Varian@umich.edu
Organization: University of Michigan Math Dept
Date: Thu, 5 Nov 1992 18:43:22 GMT

In article <1dbp4mINNi3i@flop.ENGR.ORST.EDU> dockd@storm.CS.ORST.EDU (Dion  
Dock) writes:
> 
> Looking through the Fall 1992 NeXTWORLD I found an ad:
> 
> Mission Critical Development 
> 	if this is your problem...OTI is your solution!
> 
> choser palette
> ***math palette***
> graph palette
> smart fileds palette
> 
> Professional development tools to extend the Interface Builder from the first
> commercial developer of IB palettes.
> Objective Technologies 212-227-6767
> info_palettes@object.com
> 
> I hope this solves your problem.
> dion
> 
> Dion Dock                    __                   __
>                              /  )                 /  )        /
> dockd@storm.cs.orst.edu     /  / o ______        /  / _____. /_ 
>                            /__/_<_(_) / <_      /__/_(_) (__/ <_

MathPallete is a palletized front-end to Mathematica.

--
Hal.Varian@umich.edu    Hal Varian
voice: 313-764-2364     Dept of Economics
fax:   313-764-2364     Univ of Michigan
                        Ann Arbor, MI 48109-1220
From: msanford@seychelles (Mike Sanford)
Newsgroups: comp.sys.next.programmer
Subject: lockf on the NeXT
Date: 11 Nov 92 22:41:28 GMT
Organization: Pencom Software

I want to use the UNIX lockf record locking function, however, this does  
not work on the NeXT.  Does anyone have any ideas or work arounds for this  
problem?

- Mike
-------------------------------------------------------------------------
Mike Sanford				My opinions don't represent those
Pencom Software				of Pencom Software
-------------------------------------------------------------------------
From: jja@fnbc.com (Joseph Alotta)
Newsgroups: comp.sys.next.programmer
Subject: help compiling gnutar on NeXt 3.0
Keywords: help,gnutar,3.0
Date: 5 Nov 92 16:23:59 GMT
Organization: First National Bank Of Chicago, Chicago IL, USA



i downloaded tar-1.11.1.Z from MIT and tried to compile it.

i need to use the "tar rvf" option which is missing from the
next tar.

can someone tell me if tar-1.11.1.Z is gnutar and what kind of
gynastics i have to go through to compile it?

i've noticed on 3.0 the c include files are in /usr/include/ansi but
can't seem to get the configure program or the make program to realize
this.

joe.


--
==============================================================
! joe alotta                                    jja@fnbc.com !                                               
!                                             (312) 732-3439 !
!                                                            !
! "The main thing is to keep the main thing the main thing." !
! Dr. George Sweeney                                         !
==============================================================
From: ifbb657@cc.utexas.edu (Douglas Floyd)
Newsgroups: comp.sys.next.programmer
Subject: The solution to FatBinaries.
Date: 6 Nov 92 22:18:37 GMT

OK, NeXT is using FatBinaries to do machine code for each processor.
The bad thing about this is when NeXTStep runs on other processors,
binaries must be compiled and included with the release.  P-Code is
too S----L----O----W, and interpreting binaries is slllloooowwww also.

My solution:

NeXT code

Here is how it works:

1:  Programmer codes his "killer app"
2:  C-compiler compiles the code into NeXTCode which is machine
    independant, similar to Microsoft's P-code.
3:  When program gets to the user, the user uses an installer/
    "compiler" to convert the NeXTCode to native machine code for
    his processor.

Pros:

o Only one binary needed, no FatBinaries or ObeseBinaries
o Runs LOTS faster than P-code or interpreted code
o Easy to do

Cons:

Maybe some inefficency, but _very_ little.

Notes:

A special debugger can be produced to modify NeXTCode at the source
for optomization

Patches to NeXTcode for different processors can be stored with the code

NeXT will have something no other computer has dreamed of offering :-)

COMMENTS ARE WELCOME- I would like to work on this as a discussion.

PS:  If NeXT is listening, and this helps, I am looking for a NeXT for
my use to program some stuff :-).
--
******* ifbb657@ccwf.cc.utexas.edu (Douglas R. Floyd) ******
            Disclaimer: I speak for myself.

            Please, no NeXTMail at this time.
Newsgroups: comp.sys.next.programmer
Subject: Re: The solution to FatBinaries.
From: frank@ifi.unibas.ch (Robert Frank)
Date: Tue, 10 Nov 1992 08:35:24 GMT
Reply-To: frank@ifi.unibas.ch
Organization: Institut fuer Informatik

In article <83163@ut-emx.uucp>  writes:
> OK, NeXT is using FatBinaries to do machine code for each processor.
> The bad thing about this is when NeXTStep runs on other processors,
> binaries must be compiled and included with the release.  P-Code is
> too S----L----O----W, and interpreting binaries is slllloooowwww also.
> 
> My solution:
> 
> NeXT code
> 
> Here is how it works:
> 
> 1:  Programmer codes his "killer app"
> 2:  C-compiler compiles the code into NeXTCode which is machine
>     independant, similar to Microsoft's P-code.
> 3:  When program gets to the user, the user uses an installer/
>     "compiler" to convert the NeXTCode to native machine code for
>     his processor.
> 
> Pros:
> 
> o Only one binary needed, no FatBinaries or ObeseBinaries
> o Runs LOTS faster than P-code or interpreted code
> o Easy to do
> 
> Cons:
> 
> Maybe some inefficency, but _very_ little.
> 
> Notes:
> 
> A special debugger can be produced to modify NeXTCode at the source
> for optomization
> 
> Patches to NeXTcode for different processors can be stored with the code
> 
> NeXT will have something no other computer has dreamed of offering :-)
> 
> COMMENTS ARE WELCOME- I would like to work on this as a discussion.
> 
> PS:  If NeXT is listening, and this helps, I am looking for a NeXT for
> my use to program some stuff :-).
> --
> ******* ifbb657@ccwf.cc.utexas.edu (Douglas R. Floyd) ******
>             Disclaimer: I speak for myself.
> 
>             Please, no NeXTMail at this time.

Yep, that's my long term project, except that I am using a Modula-2 like  
language ...
--
Robert Frank                         tel. + (061) 321 99 67                 
Institut fuer Informatik             fax  + (061) 321 99 15                 
University of Basel, Switzerland                                            
Mittlere Strasse 142      rfc822: frank@ifi.unibas.ch (NeXT mail accepted)  
CH-4056 Basel          X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch
                   ( if all fails try frank@urz.unibas.ch )
From: wave@waits.media.mit.edu (Michael B. Johnson)
Newsgroups: comp.sys.next.programmer
Subject: Re: how to delete palette icon from IB preferences?
Date: 9 Nov 92 14:04:07 GMT
Organization: MIT Media Laboratory

Paul Burchard writes
> 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.
> 

I think what he is asking is how to get it out of the list in Preferences.  You  
can unload it, but it's still taking up space.  Why would this matter?  Well,  
in my case, I'm developing palettes, and I might have a lot of versions of a  
palette floating around, and I don't want the old grotty ones around to be  
clicked on.

--

-->  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
From: gbrown@raven.ctr.columbia.edu (Glenn Brown)
Subject: Re: Alternate and Command Emacs Key Bindings?
Organization: J. Random Misconfigured Site
Date: Fri, 13 Nov 1992 01:37:55 GMT
X-Posted-From: raven.ctr.columbia.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

In comp.sys.next.programmer article <92316.222348SLVQC@CUNYVM.BITNET>:
>
> Is it possible to bind an emacs function to an Alternate and/or
> Command key sequence on the NeXT keyboard? If so, please send a
> simple example. Thanks!

>From within emacs, you can get to the docs for this by typing:
C-h imemacs RET mcustomization RET

C-h means control-h, RET means return....

A simple example:

M-x global-set-key RET (key) (cmd) RET.

M-x means 'meta-x' or 'alternate-x' or 'escape followed by x' if you don't  
have an escape or meta key.

Learn to use the online documentation.  The online docs are your friends!   
"C-h i" (as above) gets you there.  As an alternative, you can buy the  
printed version from the FSF for about $15.  It's worth it.

Have fun!

--Glenn