HDTenEightyP/NetNews huggingface dataset:
From: hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy))
Newsgroups: comp.sys.next.programmer
Subject: Re: Linking shared libraries at run-time
Date: 10 Sep 92 23:19:30 GMT
Organization: Department of Physics, UC Irvine, CA 92717-4575, USA
In-reply-to: mauriti@cs.tu-berlin.de's message of Thu, 10 Sep 1992 17:11:45 GMT

libNeXT_s.a is an "Archive" library.
A shared library has an .sl extension and contains some 
relocation (or whatever they call it) information. 
HP-UX allows you to use either at link-time. 
--
Hardy 
-----
Meinhard E. Mayer,  Department of Physics, UC Irvine 
e-mail: hardy@golem.ps.uci.edu (preferred) or MMAYER@UCI.BITNET
Newsgroups: comp.sys.next.programmer
From: iwelch@agsm.ucla.edu (Ivo Welch)
Subject: C++
Organization: UCLA, Anderson Graduate School Of Management
Date: 9 Sep 92 09:27:26 PDT

Because the C++ system on NeXTStep 3.0 still contains no templates (it is
based on 1.93), I have decided to see how much interest there is to get
someone to port the latest version of gnu gdb to NeXT (and make these changes
available to gnu).  With gdb, someone could easily build a complete, latest
gnu development system.  If you are willing to contribute money to the
port of gdb, please send e-mail to

	poll@next.agsm.ucla.edu	(128.97.74.50)

The text should contain three items on one line: A dollar figure (including a
"$"), followed by the word "gdb," and your e-mail address.  This way, it is
easy to grep thru the poll mailbox. I will tabulate the answers and post back.
(Should this post also go into another usenet group?)

	mail poll@next.agsm.ucla.edu
	$100	gdb	oscar@oscar.com
	^D

/ivo welch

PS: What is the latest version of LEDA that works with NeXTStep Rel3.0 C++ on
NeXT, and where should I pull it from?  I understand that [1] NIHcl does not
work with g++ at all; [2] Rogue's tools ($400) will probably work with gnu
compiler release 2.3, but do not yet work with 2.2 (and certainly not with
1.93).
From: alex@cs.umd.edu (Alex Blakemore)
Newsgroups: comp.sys.next.programmer
Subject: Re: Command-line apps now harder (Can you pass arguments?)
Date: 5 Sep 92 03:47:36 GMT
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742

In article <1992Sep4.194248.568@leland.Stanford.EDU> cooldude@elaine49.stanford.edu writes:
> How can you also pass arguments to the application being opened.  e.g, open  
> bar.app and have it open a file called "foo".  

open foo.x

will open the file foo.x using whatever app you've selected
as the default app for files with suffix x, just as if
you'ld double clicked it in a Workspace file viewer.

no extension - and you'll get the default app - probably Edit.

-- 
---------------------------------------------------
Alex Blakemore alex@cs.umd.edu   NeXT mail accepted
From: frank@fnbc.com (Frank Mitchell)
Newsgroups: comp.sys.next.programmer
Subject: Re: Command-line apps now harder (was Re: Workspace HideOnAutoLaunch)
Date: 3 Sep 92 14:12:45 GMT
Organization: First National Bank Of Chicago, Chicago IL, USA

In article <1992Sep2.095521.5784@u.washington.edu>  
wjs@blorf.cpac.washington.edu (William Shipley) writes:
> Life gets worse (in this area) under 3.0, since you can't run .app wrappers  
> easily from the command line (you have to cd to the directory and run the  
> binary to make sure you pick up the resources), and ALL freshly compiled  
> programs will be .app wrappers.

What about typing "open Whatever.app"?  It's five extra characters, but 
you don't have to cd anywhere.

But it would be nice if NeXT hacked csh (and execve(), and ...) to let it 
understand .app wrappers.

--
Frank Mitchell,	Business Systems Analyst, First National Bank of Chicago
email:frank@fnbc.com (NeXTmail)

"Remember, citizen: democracy is not for the people." -- Judge Dredd
Newsgroups: comp.sys.next.programmer
From: jon@afs.com
Subject: Re: ObjectWare catalog
Distribution: usa
Date: Mon, 14 Sep 1992 15:12:08 GMT

In article <1992Sep6.061134.3715@cubetech.com> andrew@cubetech.com (Andrew  
Loewenstern) writes:
> I don't want to nit-pick, flame, or offend anyone with a tight budget
> (mine is tight as well), but isn't it a little bit of a waste of your
> time (as a professional developer) to try and get developer pricing on
> an $11 catalogue that's really only useful for developers anyway??
> You do say that you believe in paying for objects if it will save you
> time.  This leads me to believe that your time is valuable to you...
> 
> I mean, I would go through all sorts of contortions to mabe sure I got
> my developer pricing on a $7,000 computer, but on an $11 catalogue?

Psst.
Hey, buddy.
Over here.

I think he means developer discounts on the stuff _IN_ the Objectware catalog.  
:)

Which is still pointless because only developers will want to buy them.


--
Jonathan Hendry  Anderson Financial Systems
jon@afs.com  (Nextmail Welcome!) or hendryjw@duvm.ocs.drexel.edu
Newsgroups: comp.sys.next.programmer
From: aking@BBN.COM (Allen King)
Newsgroups: comp.sys.next.programmer
Subject: 3.0 great, but return type of -data?
Date: 15 Sep 1992 13:37:08 GMT
Organization: Bolt Beranek and Newman Inc., Cambridge MA
Distribution: world
Reply-To: aking@BBN.COM (Allen King)
NNTP-Posting-Host: bbn.com

   Love that 3.0!!!. Integration of gdb and edit is a big improvement
over 2.1. One thing that pleased me is that if I insert lines in a
source I'm stepping around in, the step still gets the line numbers
correct!

   I believe that the "data" method of NXdata.h and NXBitmapImageRep in 3.0
together break the rule that methods with the same name must have the same
return value. The compiler says:

Spectrogram.m:181: warning: multiple declarations for method `data'
  /NextDeveloper/Headers/machkit/NXData.h:23:
                                      using `-(void *)data'
  /NextDeveloper/Headers/appkit/NXBitmapImageRep.h:53:
                                      also found `-(char unsigned *)data'

   The documentation of each agrees with its respective header files. What's
the scoup? 

       Do others find the same thing? (perhaps my upgrade failed)
       Is this also true on 2.1 (but now the compiler checks more) ?
       What's the cleanest workaround? (my take is to change 
            NXBitmapImageRep.h)


                               Allen King

P.S.:
   The program which does this does two non-standard things, neither of which
"should" cause a problem:
    1. The program uses 2.1 optimization of importing just those specific 
       include files that are needed (rather than using appkit/appkit.h).
    2. The program uses the MusicKit, with header files retained from 2.1.
		


Newsgroups: comp.sys.next.programmer
From: sanguish@digifix.com (Scott Anguish)
Subject: Re: ObjectWare catalog
Reply-To: sanguish@digifix.com
Organization: Digital Fix Development
Distribution: usa
Date: Tue, 15 Sep 1992 17:24:31 GMT

jon@afs.com writes
> In article <1992Sep6.061134.3715@cubetech.com> andrew@cubetech.com (Andrew  
> Loewenstern) writes:
> > I don't want to nit-pick, flame, or offend anyone with a tight budget
> > (mine is tight as well), but isn't it a little bit of a waste of your
> > time (as a professional developer) to try and get developer pricing on
> > an $11 catalogue that's really only useful for developers anyway??
> > You do say that you believe in paying for objects if it will save you
> > time.  This leads me to believe that your time is valuable to you...
> > 
> > I mean, I would go through all sorts of contortions to mabe sure I got
> > my developer pricing on a $7,000 computer, but on an $11 catalogue?
> 
> Psst.
> Hey, buddy.
> Over here.
> 
> I think he means developer discounts on the stuff _IN_ the Objectware  
catalog.  
> :)
> 
> Which is still pointless because only developers will want to buy them.
> 

	Also, Next isn't selling the objects.... It is a set of pointers to  
what is available, from who, and how to contact them.

	
-- 
- Scott Anguish -
sanguish@digifix.com (NextMail)

Newsgroups: comp.sys.next.programmer
From: alberto@parsec.mixcom.com (Manuel Alberto Ricart)
Subject: Re: setting a button key to be ESC
Organization: Is the act or process of organizing or of being organized.
Date: Wed, 9 Sep 1992 03:45:34 GMT

In article <1992Sep7.023117.22863@csus.edu> eps@cs.sfsu.edu writes:
>In article <Bu68tK.37L@cs.psu.edu> grio@colossus.cs.psu.edu
>	(Daniel L Grillo) writes:
>>I was hoping there was a way to use ESC, without subclassing Panel.
>
>From Chapter 3 of the UI Guidelines:
>
>	For UNIX compatibility, the Esc key is used to complete
>	file names (as described in the following section).  It
>	should not be used any other way in the user interface.
>        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>They tell you not to do this.  They've made it difficult for you
>to circumvent.  Must you be so .......

Perhaps the UI Guidlines should take a new look at this.
Perhaps, all button options could be invoked by pressing
<cmd> + the first letter of the button name. This practice
is sure to save a lot of mousing around.

As for use of the <esc> key, i'd love it as the standard 
cancel. In the end rules are made to be modified, since they
tend to challenge thoughts and provoke better or compromising
solutions.

Then again, since this is object land, just subclass the appropiate
classes, and rock on. Your app will probably start a trend.


-- 
Manuel Alberto Ricart
alberto@parsec.mixcom.com <NeXTMail Welcome>
From: dillon@overload.Berkeley.CA.US (Matthew Dillon)
Newsgroups: comp.sys.next.programmer
Subject: Re:  How to PANIC a NeXT (mach kernel bug )
Distribution: world
Date: 7 Sep 92 18:52:59 PST
Organization: Not an Organization

In article <1992Sep2.131055.25827@jhunix.hcf.jhu.edu> audley@jhunix.hcf.jhu.edu (Christopher D Audley) writes:
>In article <1992Sep1.211133.21384@news.lrz-muenchen.de> jolly@next2.cis.uni-muenchen.de () writes:
>>I think it is very useful to know, that the NeXT-Mach Kernel
>>does not support more than 2oo threads !
>[..munched..]
>>I don t know if 3.o solves that kernel-bug. ( using 2.1 )
>
>This is not a bug.  All operating system kernels have resource limits. Congrats,
>You've discovered one of mach's.  There's more than one way to kill a kernel by
>exceeding its limits, many I'm sure will remember that oldie but goodie
>"while(1) fork() ;".  You have to program around these limits, you can't just
>claim its a bug and push it onto someone elses plate.	I don't remember
>which header file contains a macro indicating the max number of threads per
>task, but I do know it exists ( anyone care to jump in with that info? ).

    The fact that it crashes the kernel *is* a bug, however.

    I've noticed that the NeXT, 3.0 included, appears to ignore
    many of the resource limits (limit command from CSH).. it
    looks at the coredumpsize and stacksize but completely ignores
    datasize and memoryuse.

    This is exceedingly dangerous NeXT!  It means that *one* process with a
    memory leak can crash the machine.	I'd rather just the one process go
    away instead, thank you!

				-Matt

>-=Chris
>
>--
>Christopher D. Audley		       Internet: audley@jhunix.hcf.jhu.edu
>Elec & Comp Engineering		      -= NeXTmail Welcome =-
>The Johns Hopkins University	       Phone: (410)889-3639

--

    Matthew Dillon	    dillon@Overload.Berkeley.CA.US
    891 Regal Rd.	    uunet.uu.net!overload!dillon
    Berkeley, Ca. 94708     ham: KC6LVW (no mail drop)
    USA 		    Sandel-Avery Engineering (702)831-8000

Newsgroups: comp.sys.next.programmer
From: xandor@unixg.ubc.ca (John Gilbert )
Subject: installing libg++
Organization: University of British Columbia, Vancouver, B.C., Canada
Date: Sun, 13 Sep 1992 17:43:12 GMT

I am simply trying to enable the use of c++ on my NS 2.1 system and have attempted unsuccessfully to compile the libg++2.2 version library. I assume
that there is an incompatibility with the 1.37 version compiler on the NeXT, but the nearest version I see on the archives is 1.39. Any suggestions to help me
would be much appreciated!
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups)
Newsgroups: comp.sys.next.programmer
Subject: NeXT Systems Engineer openings in Boston and Philadelphia
Date: 9 Sep 92 22:12:45 GMT
Reply-To: user_groups@next.com

NeXT Systems Engineer openings in Boston and Philadelphia:

JOB SUMMARY:
Provide Pre-sales technical support to the NeXT Sales Organization.

PRINCIPAL REQUIREMENTS:
Support Sales Representatives on sales calls.  Prepare and give
presentations that show NeXT features and benefits.  Team with the
Sales Representative to qualify opportunities and establish account
plans and strategies.

Resolve pre-sales technical questions by understanding, analyzing and
researching problems. Analyze customer requirements and propose best
possible NeXT solution.  Deliver custom software development
demonstrations.  Develop prototype systems and benchmarks.
Administrate UNIX evaluation systems in a heterogeneous environment
and deliver informal training to technical evaluators.

EDUCATION / EXPERIENCE:
B.S. Computer Science or Electrical Engineering.  M.S. preferred.
Five or more years experience in system development.  Experience in a
sales environment highly desirable.

Intimate knowledge of the Unix Operating system from a development,
administrative and systems programming perspective is mandatory.
Prior NeXT experience desirable but NOT necessary.

Please send your resume to...

	Mike Owens
	NeXT Computer, Inc.
	150 Clove Road
	Little Falls, NJ 07424
	Fax: (201)812-4222
	Email address: mowens@next.com


Newsgroups: comp.sys.next.programmer
From: colin@agincourt.bsd.uchicago.edu (& Garrett)
Subject: CFLAGS directives get hardwired?
Organization: University of Chicago Computing Organizations
Date: Fri, 11 Sep 1992 20:55:10 GMT

This is a general question about the compiler, CFLAGS and directories and  
not just about Sybase dblibrary, so don't stop reading.  I have an app  
that uses a lot of Sybase dblibrary calls.  In my Makefile.preamble I have  
this line:

CFLAGS = -I/usr/sybase/include -L/usr/sybase/lib

	When I build the project and run it on my machine, everything  
works fine.  We have some machines at another site, and their mounts are  
different so that their SYBASE directory is /Exports/usr/local/sybase  
instead of /usr/sybase.  When they run the app there, it doesn't work (an  
error message says dblibrary can't find one of the files it needs in that  
directory).  When I hack a soft link on one of those machines from  
/usr/sybase to /Exports/usr/local/sybase, everything works fine.
	I don't understand a lot about the compiler, but I can't see why,  
after it's successfully found these header files and libraries at compile  
time, it hardwires these paths into the executable so that it only looks  
in those directories at run time.  Why not depend on PATH?  Is it  
unreasonable of me to want to be able to run something on a machine that  
doesn't have a directory structure exactly the same as the one on which it  
was compiled?
	What can I do?  Thanks in advance for any insight or help.

Colin Garrett
NeXTMail: colin@delphi.bsd.uchicago.edu
Newsgroups: comp.sys.next.programmer
From: ph@theora (Patrick Hester)
Subject: need nib file help
Reply-To: ph@pencom.com
Organization: Pencom Systems Incorporated
Date: Fri, 11 Sep 1992 20:47:47 GMT

Can anyone shed some light on this...

We've got an application which will be made up of several nib files.
Each nib file will have it's own controller object (subclass of object)
and one or more windows.
The main nib file has a menu and target/action methods to load
each of the other nibs.
When a nib file is loaded, only one window should be visible.
This we handled in an awakeFromNib method.
But say the user closes the main window.
Next time they click the menu for that nib we want to redisplay
that one window without unpacking the nib again.
So how do we tell the id of that window?
At first it seemed that loadNibFile was returning the id.
But the doc says it's only an indication of whether the load
worked or no.
And what about file owners?
Should the loaded nib files have their controller object as the owner
or the main app object?
Come to think of it, can anyone help me with the concept of
"file owner"?

please reply by email to ph@pencom.com

thanks in advance for any help
Newsgroups: comp.sys.next.programmer
From: jgg@proforma.com (J. G. Gregory)
Subject: What happened to "instance drawing"
Organization: Pro Forma
Date: Wed, 9 Sep 1992 18:15:06 GMT

Way back when, there was this feature called "instance drawing".  It was  
documented in the Concepts docs, as well as the function docs.  Now I can't  
seem to find a description of it, except for the function definitions.  I  
especially expected to find it in the performance section of the docs.

I was surprised that the purple book doesn't mention it, either.

Does anyone know what the status is of instance drawing?  Is it going away?  I  
know it wasn't an Adobe thing, but that doesn't explain why NeXT doesn't  
discuss it.

--J Gregory
From: glenn@rightbrain.com (Glenn Reid)
Newsgroups: comp.sys.next.programmer
Subject: Re: Why is my PostScript text upside down?  Help!  Help!
Date: 9 Sep 92 10:32:25 GMT
Reply-To: glenn@rightbrain.com

Paul Hagstrom writes

> Easy enough.  Now, the problem is this: ALL OF THE TEXT IS UPSIDE DOWN!  It  
is  
> reflected vertically from what it should be.  Now, of course, the first  
thing  
> to think is: oh!  The coordinates must be flipped!  But, [self isFlipped]  
> returns NO, and I never specifically tell it to setFlipped:YES, which,  
> according to the documentation, I should have to do explicitly if the  
> coordinates are to be flipped.

If your text is flipped but the rest of it is okay (which you don't say
explicitly, but which seems to be the case), then you can fix it by
asking for your font differently.

If you use the Font object (which you should) there are two ways to get a
new font:

  myFont = [Font newFont:"Helvetica" size:24.0];

  myFont = [Font newFont:"Helvetica" size:24.0 matrix:NX_FLIPPEDMATRIX];

Take your pick.  Use whichever you're not using at the moment :-)

Then just

  [myFont set];
  PSmoveto ( 10.0, 10.0 );
  PSshow("Hello world");

--
 Glenn Reid        		NeXTmail: glenn@rightbrain.com
 RightBrain Software		415-326-2974 (NeXTfax 326-2977)
 Palo Alto, California
Newsgroups: comp.sys.next.programmer
From: ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson)
Subject: Re: PSsetfont
Organization: Monash University, Caulfield Campus
Date: Mon, 14 Sep 1992 09:48:13 GMT

dillon@overload.Berkeley.CA.US (Matthew Dillon) writes:

>In article <1992Sep12.224836.17946@next.cambridge.ma.us> simsong@next.cambridge.ma.us (Simson L. Garfinkel) writes:
>>Don't use the PS wraps for fonts; use the Font class.  It's  much faster.
>>
>>	id	aFont = [Font newFont:"Times-Roman" size:12.0];
>>
>>	[aFont set];
>>	PSmoveto(323,321)
>>	PSshow("foobar");
>>
>>to change the size, use:
>>
>>	aFont = [Font newFont:[aFont name] size:aNewSize];

>    Don't you want to free the old aFont ?

A quick look at Font.rft cleared this up.

"Thus, Font objects shouldn't be freed; Font's free method simply returns self"

Newsgroups: comp.sys.next.sysadmin
From: jmd@cube.handheld.com (Jim De Arras)
Subject: Re: getty vs tip on ttyda -- an old story
Organization: Hand Held Products, Inc.
Date: Mon, 7 Sep 1992 02:27:50 GMT

In article <1992Sep7.003326.1873@proforma.com> jgg@proforma.com (J. G. Gregory)  
writes:
> I trying to set up a NeXT for dialin on ttyda, via a Hayes 2400 modem.  This  
is  
> for UUCP, but that is irrelevant, I believe.
> 
> Two years ago, when I tried to do this, I ran into the problem whereby when  
the  
> getty was turned "on" for ttyda, it would not "block waiting for DCD to be  
> asserted", and would spit the login: prompt out immediately upon being reset.   
> This was on a 68030, and I proved that EVEN WITH NOTHING CONNECTED, this  
> behavior would occur.  i.e., it was not the cable or the modem.  Despite my  
> hopes, it was not solved with the 68040 upgrade or any of the software  
> releases.
> 
> Since that time, a message appeared on the net regarding this problem, and I  
> snarfed off, knowing I would come by this path again.  Here is the relevant  
> part of that post:
> 
> > open(2) does indeed block as advertised, but only if you have a
> > device connected to the port which ties the DCD pin LOW (ground
> > state).  By default, the port will float DCD HIGH (asserted or
> > "true")... To simulate this, connect the DCD pin to ground via
> > a dropping resistor (say 1k ohm).  voila! open blocks. Disconnect
> > the resistor and voila! the open goes through. Check what your
> > attached device does. You may be surprised.
> 
> Now, how do I get everything to work as advertised?  Can the modem be set to  
> hold the DCD low (it is set per the docs, &C1)?  Will the resistor trick work  
> other than for just a test?  While I have real problems understanding why a  
> dropping resistor is necessary on a NeXT with a Hayes modem (spent extra to  
get  
> modem NeXT mentioned), I can put it on if I have to.  But there has got to be  
a  
> better way.  Does any know what it is?
> 
As I read it, the advice above is demonstrating how to prove DCD control does  
work.  It is not meant to be used in an actual installation.  What he's saying  
is that with nothing connected to the DCD line, it will float in the direction  
that does not block the open.  You need to check you modem's DCD line control,  
most modems default to always asserting that line true.  Read through the AT  
command set, or on older modems, check the dip switches!

> I would also like to hear from people who are successfully using a NeXT with  
> both dialin and dialout working (without editing /etc/ttys in between).
> 
I'm using yrrid's ttydsp on an '030 at 57.6kbs with a v.32bis/v.42bis modem  
with no problems. ;-)

> Thanks in advance.
> --J Gregory

Jim
Newsgroups: comp.sys.next.sysadmin
From: lemson@ux1.cso.uiuc.edu (David Lemson)
Subject: Re: Disabling the power button
Organization: University of Illinois at Urbana
Date: Fri, 11 Sep 1992 01:16:39 GMT

ccastc2@prism.gatech.EDU (Benjamin H. Cowan) writes:


>  I don't normally read this group and what I need may be in the FAQ (if it
>exists), but I'd appreciate a little info.  I've just help install a room
>full of NeXTs that will be online for public use at Tech.  I was wondering
>if there was a way to configure the power button in the software so that it
>will not work.  If so, then how can one power it off without unplugging it?

As root, dwrite loginwindow PowerOffDisabled Yes
The only way to power off is to hit Command-~ and hit the power key,
or Command-Command-~ and halt, power, or whatever.
It is safest to tell users about "Command-~", though because they
won't go typing 'mon' in the NMI window if they don't know about it.
-- 
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 accepted                                   BITNET : LEMSON@UIUCVMD
From: wakew@csgrad.cs.vt.edu (William Wake)
Newsgroups: comp.sys.next.sysadmin
Subject: Outgoing mail has extra "name" in it
Date: 8 Sep 92 17:48:02 GMT
Organization: VPI&SU Computer Science Department, Blacksburg, VA

The address is messed up on outgoing mail from my system.
It should be
	Bill Wake <wakew@jingluo.cs.vt.edu>
but it comes up
	Bill Wake <wakew@jingluo.cs.vt.edu.name cs.vt.edu>

Any suggestions?


This is a pain, because people can't reply to me, and my message is 
occasionally appended to some other message.

I'll summarize if there's any response.
Thanks,
	Bill Wake
	wakew@csgrad.cs.vt.edu
Newsgroups: comp.sys.next.sysadmin