HDTenEightyP/NetNews huggingface dataset:
From: kathys@ursulajpl.nasa.gov (Kathy Sturdevant)
Subject: Dynamic displays 
Organization: Jet Propulsion Laboratory (NASA)
Date: Tue, 26 Jan 1993 22:16:04 GMT

I am interested in having a dynamic area in my user interface.  Based on information given
by the user in one area, I want to bring up a certain configuration of text objects.  Currently,
I have two possible configurations.  I've looked around, but am not quite sure what to do.
Would I create two different custom views, then create and display the appropriate one?

Keep in mind, I am not creating a separate window--just filling in an open area on the current window.

I would appreciate suggestions, and pointers to documentation/examples on the NeXT.

Thanks in advance.

kathy sturdevant

kathys@jpl-devvax.jpl.nasa.gov 
 

Newsgroups: comp.sys.next.programmer
From: drew@fnbc.com (Drew Davidson)
Subject: Re: gdb seems broken on Next 3.0 Turbo color
Reply-To: drew@fnbc.com
Organization: First National Bank Of Chicago, Chicago IL, USA
Date: Thu, 21 Jan 93 15:43:18 GMT

In article <1993Jan21.013214.28984@slate.mines.colorado.edu>  
lpratt@slate.mines.colorado.edu (Lorien Pratt) writes:
> Hi,
>  I'm running gdb for the first time on my new NeXT, and it seems broken.
> I wonder if anybody could help me.  Here are the symptoms:
> 
> mple.c
> main ()
> { int i;
> 
>   for (i = 0; i < 5; i++)
>     if (!i) i += 3; else if (i == 4) i += 2;
> }
> % cc -g simple.c -o simple
> % gdb simple
> Reading symbol data from simple...done.
> Reading symbol data from /usr/shlib/libsys_s.B.shlib...done.
> (gdb) list
> 1       main ()
> 2       { int i;
> 3
> 4         for (i = 0; i < 5; i++)
> 5           if (!i) i += 3; else if (i == 4) i += 2;
> 6       }
> (gdb) break 5
> Breakpoint 1 at 0x3eae: file simple.c:5.
> (gdb) run
> Starting program: /Users/lpratt/simple 
> Program generated(1): Memory access
> exception on address 0x50088f0 (invalid address).
> Program generated(1): Memory access exception on address 0x50088f0 (invalid
> address).
> Program generated(1): Memory access exception on address 0x50088f0 (invalid
> address).
> Program generated(1): Memory access exception on address 0x50088f0 (invalid
> address).
> Program generated(1): Memory access exception on address 0x50088f0 (invalid
> address).
> Program generated(1): Memory access exception on address 0x50088f0 (invalid
> address).
> etc. etc. ad infinitum....!
>  
------------------------------------------------------------------------------
> I wonder if anybody's run into this symptom before, or knows what's wrong?
> Thanks in advance for any ideas or pointers!
>   --Lori

I ran this on a Turbo Color under 3.0 and it worked fine.  Except for the fact  
that on mine, the message after the breakpoint setting was "Breakpoint 1, main  
() at simple.c:5" instead of "Breakpoint 1 at 0x3eae: file simple.c:5".  Could  
this be significant?  Hmmmm...

> -- 
> L. Y. Pratt                           Dept. of Math and Computer Science
> lpratt@franklinite.mines.colorado.edu Colorado School of Mines    
> (303) 273-3878 (work)                 402 Stratton                
> (303) 278-4552 (home)                 Golden, CO 80401, USA      

--
+--------------------------------+-------------------------------------------+
|        Drew  Davidson          | "Never ask a programmer if he'll have     |
|         Software Guy           |  another cup of coffee because it's       |
| First National Bank of Chicago |  nobody's damn business how much he's     |
|     drew@fnbc.com  (NeXTmail)  |  already had!"       - me                 |
+--------------------------------+-------------------------------------------+
Newsgroups: comp.sys.next.programmer
From: karl@ensuing.com (Karl Kraft)
Subject: Re: IB broken with custom Box classes?
Reply-To: karl@ensuing.com (Karl Kraft)
Organization: Ensuing Technologies Inc.
Distribution: usa
Date: Thu, 21 Jan 1993 23:25:59 GMT

In article <1993Jan21.164823.1865@afs.com> greg@afs.com (Gregory H.  
Anderson) writes:
>Has anyone else noticed braindead behavior for custom Box classes in IB  
>3.0? We have an AfsBox class with some additional ivars to secure the  
>contents. Of course, the Group operation doesn't work, so you have to  
>alt-drag objects into it individually. So far so good. But once they're  
>inside, IB refuses to recognize them as attachable (i.e., it won't draw  
>rings around them while you're alt-dragging). Has anyone else noticed  
>this, and has it been reported to NeXT?

No I have a palette with a subclass of Box, and this behaviour doesn't  
happen at all.  My version in Release 3.0 v359.0, which is what came with  
the release of 3.0.

But then again:

>Of course, the Group operation doesn't work, so you have to  
>alt-drag objects into it individually.

It's a well known (and well documented) bug that you can't alt drag objects  
in IB anymore.  So obviouslly we have differnent versions.  Fess up, what  
version number do you have?


--
__________
Karl Kraft
karl@ensuing.com  (NeXT mail)

Newsgroups: comp.sys.next.programmer
From: singerm@Informatik.TU-Muenchen.DE (Markus Singer)
Subject: How to use NXBundles?
Originator: singerm@hphalle3f.informatik.tu-muenchen.de
Organization: Technische Universitaet Muenchen, Germany
Date: Wed, 27 Jan 1993 10:58:17 GMT


I have a few questions relating NXBundles:

1. The project I'm working of will consist of several bundles, 
   each containing a different part of my app.
   My problem is now: 
   How do I have to "#import" header files spread over different 
   *.bproj directories?
  
  example:
	
    /* in mainBundle file I write*/

    #import "anyName.bproj/anyName.h" 
    #import "anotherName.bproj/anotherName.h"

    /* in anyName.m I want to import */

    #import "../mainBundleFile.h"

    /* in anotherNameFile.m I want to import */

    #import "../mainBundleFile.h"

  But when I want to compile something like this, it seems like I'm getting a recursive import of the bproj files, resulting in an inability to find certain files! WHY?

  I hope anyone understands my problem and knows a solution to it.
  (Maybe it's the best way is to ignore the example ;-)

2.  Can I have a bundle (i.e. file package) as the 
    document type for my application?


Thanks in advance,

Markus
 
------------------------------------------------------------------------
Markus A. Singer (singerm@informatik.tu-muenchen.de)	Humpa, humpa...
Newsgroups: comp.sys.next.programmer
From: tjb@strangeways.unh.edu (Thomas J. Baker)
Subject: Re: RGB Values of "NeXT Help Blue"
Reply-To: tjb@strangeways.unh.edu (Thomas J. Baker)
Organization: Baker Consulting  -  Dover, NH
Date: Thu, 28 Jan 1993 12:33:55 GMT

In article <82110@hydra.gatech.EDU> cc100aa@xray.gatech.edu (Ray Spalding)  
writes: 
> There may be more going on here than meets the eye, so to speak :-).
> 
> Look at the RTF code in:
> /usr/lib/NextStep/Resources/English.lproj/HelpTemplate/Index.rtfd/TXT.rtf
> 
> Just guessing, but it looks to me like they encode both a color
> value (red56,green70,blue144) that the Text object will use to
> display certain text on a color device, AND a gray value (gray333)
> that it will use to display the same text on a gray-scale device.
> 
> -- 
> Ray Spalding, Office of Information Technology
> Georgia Institute of Technology, Atlanta Georgia, 30332-0715
> Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)


It seems we're getting close.  I know the tiff's for the lines have both 24bit  
and 2bit color representations in them.  It seems like the text does too.  But  
does anyone know how to do this?  The following bit of RTF is what happens in  
the NeXT Help File:

{\colortbl;\red0\green0\blue0;\red56\green70\blue144;\red85\green85\blue85;}
\pard\tx720\tx1080\tx1440\tx1800\tx2160\tx2520\tx2880\tx3240\tx3600\tx3960\tx43 
2
0\tx4680\tx5040\tx5400\tx5760\tx6120\tx6480\tx6840\tx7200\tx7560\f0\b0\i0\ulnon 
e
\fs16\li360\fc1\cf1 \

\b\fs36 Index
\i
\b0\i0\fs20\gray333\fc2\cf2 (Click a topic to learn about it)
\b\fs36\gray0\fc1\cf1
\f1\b0\fs16 \

Both "Index" and "(Click a topic to learn about it)" are displayed in either  
blue or dark gray depending on the window depth.  Wouldn't it be great if you  
could have different depth representations of an RTF file in Edit and be able  
to switch between them, like in IconBuilder?  

Anyway, if anyone knows how to generate this RTF (besides by hand) I'd like to  
know.

Thanks,

tjb
--
=====================================================================
| Thomas Baker        Director of the New Hampshire NeXT User Group | 
| P.O. Box 213           Internet/NeXTmail: tjb@strangeways.unh.edu |
| Durham, NH 03824                   Voice: (603) 743-4987          |
=====================================================================
From: Stephen_CCSI_Cincotta@cup.portal.com
Newsgroups: comp.sys.next.programmer
Subject: Re: Dynamic displays
Date: Thu, 28 Jan 93 19:23:32 PST
Organization: The Portal System (TM)

Check out SwitchBox palette on sonata.  This should do what you want.

-Sean_Hill@ccsi.com
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa)
Newsgroups: comp.sys.next.programmer
Subject: Re: <Help: DSP Assembler> How to access D/A converter?
Date: 28 Jan 1993 01:50:41 GMT
Organization: University of California, Berkeley
Distribution: world
Reply-To: izumi@pinoko.berkeley.edu
NNTP-Posting-Host: moica.berkeley.edu

In article <2B6728CE.6A0E@deneva.sdd.trw.com> kieffer@spf.trw.com (Robert Kieffer) writes:
Hi folks,
>
>Does anyone have experience with accessing the D/A converters from within  
>a DSP assembly program?
>
>Basically, I'm writting a DSP assembly program to pipe a sine wave to the  
>speakers but I don't have any idea how to access the D/A converters.


D/A converters have no direct connection from the DSP chip, in the
way DSP program can access the D/A hardware.
It is the sounddriver that keeps the D/A sample stream filled up.

It is possible to set up DMA streams out of DSP and then to the D/A.
A very good example code is in JeanLarouche collection of examples
particularly DigEars example.  Which gets sound data from DigitalEars
and play it through D/A.

Get JeanLarouche.tar.Z file from ccrma-ftp.stanford.edu in pub dir.




--
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 (NeXTMail OK)
From: mcgowan@emerald.physics.utoronto.ca (Patrick McGowan)
Newsgroups: comp.sys.next.programmer
Subject: array of id's ? Palette'ized objects
Date: 27 Jan 93 02:38:52 GMT
Article-I.D.: helios.C1HrCt.M33
Reply-To: mcgowan@emerald.physics.utoronto.ca (Patrick McGowan)
Organization: University of Toronto Physics/Astronomy/CITA

Maybe this is a dumb question, but I'd like to be able to access an array  
of id's (outlets) so that I can access the one of my choice depending on a  
selection made at run time....in this case I am presented a range of  
operations to perform on some data. These operations are listed in a  
PopUp. It would be easiest to use the index of the selected item to access  
an array element rather than a hard name like calc1, calc2, calc3...etc.
Am I missing something, or is this not a common type of problem?

Also, can a non-view object be palette'ized for use in IB? I'd like to be  
able to hook up one of the above calc objects using IB. ie. drag one off a  
palette into the .nib Objects well (instantiate) for graphical connection  
to other objects.

Thanks in advance.
From: lemson@ux1.cso.uiuc.edu (David Lemson)
Subject: Re: Next NFS server upgrade
Organization: University of Illinois at Urbana
Date: Thu, 28 Jan 1993 07:45:25 GMT

Tod McQuillin <tm8t+@andrew.cmu.edu> writes:

>We're running a NeXT cube (68040/25Mhz) with 2.5 GB of disk serving 50
>NFS clients or so.  We're considering upgrading the server with a
>Turbo board (68040/33Mhz).

>My question is, with such a configuration, is upgrading to a Turbo
>likely to help?  It's quite possible that the machine is disk-bound,
>in which case increasing the CPU speed won't significantly help.

>Any comments?

Do a ps auxw on the machine when it is most loaded down!  The nfsd's
should be at the top.  On most of our servers, the 4 nfsd's use
around 9% of CPU each when about 90 machines are accessing that
server.  The bottleneck is probably network interface and disk i/o.
Too bad there is no cache like Prestoserve available for NeXTs. (at
least not that I know of)
Also do an 'uptime' when heavy usage.  If you see load averages
around 1.5-2.0 from just 'server-ish' duties, then you might want to
upgrade the machine.  I doubt you will get that kind of usage
though. (unless it's your netinfo server too)
To monitor network traffic, say 'netstat 1' or so... it will give
you a packet report each second.  Total numbers around 200 in and
out is close to peak.  This is not an exact count, I'm no expert on
this subject but I have been told that this isn't the way to check
your network.  
-- 
David Lemson                                                (217) 244-1205
University of Illinois NeXT Campus Consultant / CCSO NeXT Lab System Admin
Internet : lemson@uiuc.edu                UUCP :...!uiucuxc!uiucux1!lemson 
NeXTMail & MIME accepted                           BITNET : LEMSON@UIUCVMD
From: matthews@oberon.umd.edu (Mike Matthews)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: NetInfo authentication
Date: 27 Jan 93 00:30:36 GMT
Organization: Los Alamos National Laboratory, NM

In article <1k3lgmINNq80@menudo.uh.edu> sears@uh.edu writes:
>If there is not a "root" account on a level in the Netinfo structure, then  
>that level can only be modified on the machine that serves it.

True.  The problem turned out to be many uid 0 accounts (a field account set
up for class use, and somehow sundiag and sysdiag got there too....).
Getting rid of all the other uid 0 accounts solved the problem.  Jeff Kight
suggested the fix.

>The root users in these domains can have different passwords if  
>you like and can make for added security since you will have to supply a  
>password to make any changes to that particular domain.  This would me  
>that if someone got root on your server, they would only be able to screw  
>with the local netinfo domain on that server (unless all your root  
>passwords in Netinfo are the same!)...

Um, not quite.  Root on the local machine can modify whatever it wishes on
that machine.  NetInfo checks the incoming port number, and if it's less than
1024, it's considered trusted.  If you are not root, yes, you need to enter
the appropriate root password (with niutil -p or the NetInfo authentication
panel with the GUIs).

>I would suggest that you use trusted_networks.  Otherwise anyone can snarf  
>any of your netinfo data by using tags.

Normally I would but these are on their own network, with no connection to
anything else.

>Paul S. Sears
------
Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
------
"A fractal is by definition a set for which the Hausdorff Besicovitch
dimension strictly exceeds the topological dimension."
-- Mandelbrot, _The Fractal Geometry of Nature_



Newsgroups: comp.sys.next.sysadmin
From: b-bohlmann@.uiuc.edu (Brian Bohlmann)
Subject: printing problem
Organization: University of Illinois at Urbana
Date: Fri, 22 Jan 1993 17:55:12 GMT
Keywords: printing

I am having a very strange problem with printing.

system info:
Cube with 68040 cpu
NeXTPrinter
3.0 OS without developer package

problem:
it will intermittantly not print from either the command line using lpr or
using the print tool from the menu's. The following show's up in the 
console window-
Jan 22 11:42:22 kimber Server:Local_Printer[298]: DPS client library  
error: PostScript program error, DPSContext 562f8
Jan 22 11:42:22 kimber Server:Local_Printer[298]: %%[ Error: undefined;  
OffendingCommand: ^?NXTfr-400 ]%%

I have tried rebooting which fixes the problem once in awhile but not  
consistantly then after awhile the problem reappears. I am printing normal  
files created on the local system. Has anyone seen this before or better
yet, have a fix for it?

thanks,
-- 
Brian Bohlmann
University of Illinois, Champaign/Urbana 
Computing & Communications Services Office
email: bohlmann@ux1.cso.uiuc.edu
phone: 217-244-5409
NeXTmail accepted
From: bpp@infoserv.com (Jonathan E. Ganz)
Newsgroups: comp.sys.next.sysadmin
Subject: Need help with MaxStream Tape Unit
Keywords: tape backup MaxStream Maynard Archive
Date: Fri, 22 Jan 93 23:21:06 PST
Distribution: world
Organization: Blank Page Productions
From: bpp@infoserv.com (Jonathan E. Ganz)
Newsgroups: comp.sys.next.admin
Subject: need help with tape drive
Keywords: Maxstream tape drive tar dump
Date: Sat, 16 Jan 93 16:42:57 PST
Distribution: world
Organization: Blank Page Productions

Hi,

I'm trying to back up to a MAXSTREAM 250Q and nothing
seems to work.  I tried tar -c ./etc and got the error:
/dev/rxt0: I/O error.  Then I tried the dump command --
dump 0u ./etc and got the error: bad sblock magic number.

Can some kind UNIX expert tell me what to do or suggest
something?  I tried more /dev/rxt0 and the light on the
drive came on... I don't know if that makes any difference.

Please reply to me and I'll summarize if there is interest.

Please, please help!

Thanks in advance!!

Jonathan

=============================================================
Jonathan E. Ganz                         tel/fax 415-327-6816
Pacific International
(technical language services)
Blank Page Productions		             bpp@infoserv.com
P.O. Box 7035			    ...uunet!infoserv.com!bpp
Redwood City, CA 95054	       ...uunet!CompuServe!74425.1054
=============================================================
PHILOSOPHY/DISCLAIMER:	Call on God, but row away from rocks.
Newsgroups: comp.sys.next.sysadmin
From: gcolello@biosphere.Stanford.EDU (Greg Colello)
Subject: Setuid Permission Not Copied By FileViewer?
Organization: DSO, Stanford University
Date: Thu, 28 Jan 93 21:09:39 GMT

I'm probably the only one in the Next sys admin world who didn't know  
this, but I found out the hard way that the FileViewer apparently strips  
the setuid permission when copying files even though it retains all other  
parts of the permissions matrix. The "hard way" I mentioned involved an  
attempt to restore /NextApps and /NextAdmin from the NS3.0 CDROM using the  
FileViewer (while logged onto root). Everything was copied exactly except  
the setuid permissions (there are 11 such files in /NextApps and  
/NextAdmin). This "stripping of setuid" occurs even if you copy a file  
from one part of your own account to another part.

Ok. Now I know. I should have used cp -rp to restore the directories. Too  
bad. I've gotten real fond of using the GUI to do "Unix stuff".

Is there any way to make the FileViewer copy the setuid permissions  
faithfully (like a dwrite or something)? I checked as much documentation  
as I could and found no mention of this.

-----------------------------------------------------------------
Greg Colello
Carnegie Institution, Department of Plant Biology
Stanford University
gcolello@biosphere.stanford.edu (NeXT mail OK)
Newsgroups: comp.sys.next.sysadmin
From: matt@crawfish.math.tulane.edu (Matt Hopkins)
Subject: a working talk(1)?
Organization: Mathematics department, Tulane University
Date: Wed, 27 Jan 1993 15:54:48 GMT
Nntp-Posting-Host-[nntpd-24732]: crawfish.math.tulane.edu

Can anyone tell me where I can get a copy of talk that works?  The one
I have (from NextStep 2.2) doesn't work.

Matt

--
        matt@crawfish.math.tulane.edu (NeXT Mail accepted!)
 Matt Hopkins - Tulane University - Dept of Mathematics - New Orleans
 "Do you hate people?" "No ... but I seem to feel better when they're
      not around."           "Hey mister! Throw me some beads!"
From: rawyatt@phakt.usc.edu (Robert Alexander Wyatt)
Newsgroups: comp.sys.next.sysadmin
Subject: Basic RenderMan Questions...
Date: 23 Jan 1993 01:41:29 -0800
Organization: University of Southern California, Los Angeles, CA
Distribution: world
NNTP-Posting-Host: phakt.usc.edu

Since I am on a roll tonight in posting questions, I'll finish up with a
RenderMan post...

Actually, I'm not sure what in the heck I'm doing, so I hope someone can
give me a hand...(or at least some advice...)

How do I set up my system as a renderer?  I am using a stand-alone system
at home...no networks or anything like that...what does the RenderManager
app do?  Whenever I try to use it, everything is grayed out and I can't make
any selections...do I have to have Release 3 extended installed to use
rendering?

Any advice, help, etc. would be great!

Thanks a lot!  Please email or post any responses!

Later,
Rob

rawyatt@scf.usc.edu
Newsgroups: comp.sys.next.sysadmin
From: gary@nshade.uah.ualberta.ca (Gary Ritchie)
Subject: 2.2 Needed
Organization: University Of Alberta, Edmonton Canada
Date: Mon, 25 Jan 1993 20:08:50 GMT

For various reasons, I have to downgrade 41 Turbo NeXTs from 3.0 to 2.2.   
Problem is, nobody around here has a 2.2 distribution, or even a 2.2 hard  
drive to build from.

I'm not sure what the licensing implications are, but does anyone have an  
original 2.2 distribution on (yech) floppies that they could arrange to  
lend/rent/lease/ftp :-) to me?  Was 2.2 ever shipped on a CD, because that  
would be even better.

I haven't talked to NeXT about this yet, but does anyone know if they will  
still ship pre-3.0 software?

Aaarrgghh!!

---
Gary Ritchie
Newsgroups: comp.sys.next.sysadmin
From: matthews@oberon.umd.edu (Mike Matthews)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: Preventing Optical Disc Ejection
Date: 23 Jan 93 22:13:13 GMT
Organization: Los Alamos National Laboratory, NM

In article <1js071INN4gk@menudo.uh.edu> sears@uh.edu writes:
>Yes.  Have unix mount the drive during the boot process.  You can do this  
>by placing the proper information about the disk in the file /etc/fstab.   
>Please see an earlier article "Re: hard drive mounting" that I just  
>posted.  It should also apply to Optical disks.

This is good only from the logical standpoint.  All it takes is a long, thin
object and the OD can be made to eject physically.  Same goes for CD ROMs,
which I found out much to my dismay (the NeXT gets *really* *confused* when
you eject a disk without telling it).  Plugging the appropriate hole/button
with some key-based removable object is the only way I can think of to do
that.  Either that or something similar to fire alarms -- you can pull it,
but you get sprayed with lots o' nasty white stuff too. <evil grin>

>Paul S. Sears
------
Mike Matthews, matthews@oberon.umd.edu (NeXTmail accepted)
------
To err is human, to moo bovine.
From: iarit@slate.mines.colorado.edu (ARIT ISMAIL)
Newsgroups: comp.sys.next.sysadmin
Subject: X for color NeXT?????......
Date: 25 Jan 93 19:34:01 GMT
Organization: Colorado School of Mines

Hi there,

I don't know if this is the right place to post this question,
but I need some help with getting X up and running on color NeXT.
Does anybody know where I can get X (need binaries, don't have space to
compile)
for color NeXT? I got X for Mono(2 bits) NeXT up and running, but the same
binaries doesn't work for color one( show very small multiple windows 
on the screen).
I appreciate any help.

iarit@slate.mines.colorado.edu
From: rawyatt@phakt.usc.edu (Robert Alexander Wyatt)
Newsgroups: comp.sys.next.sysadmin
Subject: Basic Swapfile Questions...
Date: 23 Jan 1993 01:41:07 -0800
Organization: University of Southern California, Los Angeles, CA
Distribution: world
NNTP-Posting-Host: phakt.usc.edu

Another swapfile question...

Actually, I'm going to insult all of the NeXT geniuses and ask...
What exactly is a swapfile and why do I have it?  I know that it gets bigger
and bigger...how can I wipe it out?  Is there a terminal command?  Can I
simply erase it?

I have limited disk space...my swapfile is 16MB and my swapfile.front is
37MB...what's the difference between the two?  what are their purposes?
That 50+ Meg sure could come in handy...(even a fraction of it...)

Thanks a lot!  Please email or post any responses!

Later,
Rob

rawyatt@scf.usc.edu
Newsgroups: comp.sys.next.sysadmin