HDTenEightyP/NetNews huggingface dataset:
From: silbar@cantina.lanl.gov (Dick Silbar)
Subject: Re: A few small changes for 3.1 (Edit and gdb)
Reply-To: silbar@cantina.lanl.gov (Dick Silbar)
Organization: Los Alamos National Lab
Date: Mon, 21 Dec 1992 16:24:00 GMT

In article <lj6sbkINNhg9@news.bbn.com> aking@BBN.COM (Allen King) writes:
> 
>    Here are a few little nuisances I've found with 3.0 which maybe
> NeXT could clean up before 3.1 comes out. Perhaps others have found
> them too, perhaps not.  Other's may want to add to the list too. I'd
> hate to have a new release come out without them, just because NeXT
> didn't think of them and nobody thought to mention them, especially if
> they are easy ;-).
>    [munch on a list of nuisances and good suggestions]

One thing about the Edit/gdb combination that annoys me is that I like,  
while stepping thru code, to jump about and print out various things, so  
see what happened in a given step.  But then I often lose track of where  
the program actually is.  It would be nice if Edit's cursor returned to  
the next line to be processed.

   Dick Silbar
Newsgroups: comp.sys.next.programmer
From: thsscvc@iitmax.iit.edu (Chris Conley)
Subject: loading code dynamically with NXBundle
Keywords: NXBundle classNamed nib loads fine
Organization: Illinois Institute of Technology / Academic Computing Center
Date: Wed, 23 Dec 92 04:53:47 GMT


Greetings little elves, all busy toiling away on MCCA's,

I have a quick question,  :) , about dynamically loading classes using
NXBundle.

The bundle directory from which I would like to load is separate from my
main bundle.  This bundle directory consists of an interface file, 
PositioningMap.nib (inside the English.lproj dir), executable code, 
PositioningMap, and a tiff file.  The whole bundle directory is called
PositioningMap.framework.  The executable code is made up of a single class
called PositioningMap, a view subclass.

I made PositioningMap.m the nib file's owner.  Everything compiles fine
as a bundle in ProjectBuilder.

From my application, I can load the nib file, but for some reason I can't get
it to load in the PositioingMap view.  In the console, it says:

Dec 22 22:02:07 localhost ConceptBoard[3348]: objc: class `PositioningMap' 
not linked into application

Here's a snippet of code:

// The following seems to work fine
if (myBundle = [[NXBundle alloc] initForDirectory:bundlePath]) {
	printf("Seem to have gotten myBundle OK\n");
}
	
// This does not give me the Celebrate message 	
classObj = [[[myBundle classNamed:PositioningMap] alloc] initFrame:NULL];
		if (classObj) {
			printf("Celebrate good times, c'mon...\n");
		}

// And the following seems to work
if ([myBundle getPath:buf forResource:"PositioningMap" ofType:"nib"]) {
		
	loadedNib = [NXApp loadNibFile:buf owner:NXApp withNames:NO 
				fromZone:[NXApp zone]];
    }

This is when I get the `PositioningMap' not linked into application message
on the Console.

Any comments back would be appreciated.  This is for a Thesis demonstration.
If the the question seems trivial, please forgive, I'm a designer, not
a CS guru...


Merry Holidays,

Chris Conley
Institute of Design, IIT

thsscvc@iitmax.iit.edu
Newsgroups: comp.sys.next.programmer
From: brunkhorst@mayo.edu (Geoff Brunkhorst)
Subject: Help: Problems Using Expansion Dictionary in Edit (3.0)
Keywords: Edit.app Edit 
Reply-To: brunkhorst@mayo.edu
Organization: Mayo Foundation, Rochester MN. Campus
Date: Wed, 30 Dec 92 20:12:24 GMT

I am finaling working with my 3.0 machine, and have run smack into
a major problem; the functionality of Edit's Expansion Dictionary
is seems to be null for me.  I cannot get it to expand abbreviations,
let alone creating fields within the expansion.

The manual section seems to be incongruent with the presented options,
namely the Expansion Dictionary Window is totally different than the
window presented by the 3.0 App (verified with the CD-Rom version of
Edit.app).  Question:  Does the Edit  Expansion Dictionary work as advertised
under 3.0, making me look at the rest of my environment (part 2.1, part
3.0), or is it flat broke?


And another aside:

Has anyone been able to put command-key equivs on
User Pipe menu items via the documented method using
pipedict?  I have tried, and it seems to ignore
them.  Put the same line in .commanddict and it works
with out a problem.

--
- Geoff
-----------------------------------------------------------------
Geoffrey Brunkhorst                           brunkhorst@Mayo.edu
Research Computing Facility, Guggenheim 10         (507) 284-1805
Mayo Foundation, Rochester MN, 55905, USA      fax (507) 284-5231 
Newsgroups: comp.sys.next.programmer
From: sapp@falcon.ssc.gov (Kevin Sapp)
Subject: Structure Encoding
Originator: sapp@sawdust.ssc.gov
Organization: Superconducting Super Collider Laboratory, Dallas
Date: Mon, 21 Dec 1992 16:12:26 GMT

-- 
----------------------------------------------------------------------------
Kevin A. Sapp                    "A civilization depends upon the quality
Superconducting Super Collider    of individual it creates"   (Dune)
sapp@sawdust.ssc.gov :>( please NO NeXT mail                   
Newsgroups: comp.sys.next.programmer
From: tim@aplcenmp.apl.jhu.edu (Tim Pugh)
Subject: Re: A few small changes for 3.1 (Edit and gdb)
Organization: Johns Hopkins Continuing Professional Programs
Date: Thu, 24 Dec 1992 15:37:47 GMT

silbar@cantina.lanl.gov (Dick Silbar) writes:

>In article <lj6sbkINNhg9@news.bbn.com> aking@BBN.COM (Allen King) writes:
>> 
>>    Here are a few little nuisances I've found with 3.0 which maybe
>> NeXT could clean up before 3.1 comes out. Perhaps others have found
>> them too, perhaps not.  Other's may want to add to the list too. I'd
>> hate to have a new release come out without them, just because NeXT
>> didn't think of them and nobody thought to mention them, especially if
>> they are easy ;-).
>>    [munch on a list of nuisances and good suggestions]

>One thing about the Edit/gdb combination that annoys me is that I like,  
>while stepping thru code, to jump about and print out various things, so  
>see what happened in a given step.  But then I often lose track of where  
>the program actually is.  It would be nice if Edit's cursor returned to  
>the next line to be processed.

>   Dick Silbar

One addition that should be both easy to make and quite useful is to follow
the example set by the Stuart terminal emulator by adding an "extent" option
to the print pannel.  This allows one to print: all, selection, visible.
I have found this to be extremely useful.

	Tim Pugh
-- 
Tim Pugh                      |MicroCALL Services
tim@aplcen.apl.JHU.EDU        |8713 Briarcroft Lane
                              |Laurel, MD 20708-1355
------------------------------------------------------------------------------
From: bchen@cco.caltech.edu (Bing-Qing Chen)
Newsgroups: comp.sys.next.programmer
Subject: Symbol tables of dynamically loaded objects in gdb
Date: 25 Dec 1992 02:42:15 GMT
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: punisher.caltech.edu

I was trying to figure out how to add symbol tables of dynamically loaded
objects to gdb. According to the GDB document, I tried the following
commands: "load file", "load-file file" and "add-symbol-file file addr".
The first command returns "You can't do that when your target is `exec'"
if the program is not running or "You can't do that when your target is
`child'" when it is running, I wonder when I can use the "load" command?!
The second command seems to do nothing, while the third command does not
recognize address argument and it crashes gdb with "Segmentation fault"
if no address is given. This is really frustrating. Any help would be
greatly appreciated.

Thanks,
Bing Chen
bchen@cco.caltech.edu

Newsgroups: comp.sys.next.programmer
From: jacksonc@uproar.enet.dec.com (Chris Jackson @ IME)
Subject: How to make a window the key window
Reply-To: jacksonc@uproar.enet.dec.com (Chris Jackson @ IME)
Organization: Digital Equipment Service Industries Solutions Company Ltd
Date: Mon, 21 Dec 1992 12:39:34 GMT


How do I make a window the key and/or the main window ?

I have tried with a very simple application that
has a single window.  When the application is invoked,
its window does not come to the front of the stack and
become the key window.

I have tried subclassing Object to produce, say, AppController.
I have made an instance of this the delegate of Application.
When this instance receives the 'appDidInit:' message,
I have tried sending the window a 'makeKeyAndOrderFront:'
message :

	[ [NXApp mainWindow] makeKeyAndOrderFront: self ]

    but this has no effect.

Can anyone help, please ?

Chris.
Newsgroups: comp.sys.next.programmer
From: mcastle@cs.umr.edu (Michael R Castle)
Subject: Re: ARC on NeXT
Date: Sat, 2 Jan 1993 18:29:02 GMT
Organization: University of Missouri - Rolla, Rolla, MO


I've found ARC for the NeXT already compiled! 

I'd like to thank scott hess <shess@ssesco.com> for pointing me to the
package Opener (on many ftp sites) that not only has ARC, but ZIP/UNZIP,
LHA, and a few other useful packages.  

I'd also like to thank Michal Jaegermann (ntomczak@vega.math.ualberta.ca)
for offering to mail his binaries to me.  

anyone else who responds, thank you!

happy new year!
mrc
-- 
Mike Castle .-=NEXUS=-.  Life is like a clock:  You can work constantly
  mcastle@cs.umr.edu     and be right all the time, or not work at all
S087891@UMRVMA.UMR.EDU   and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen
From: samurai@cs.mcgill.ca (Darcy BROCKBANK)
Newsgroups: comp.sys.next.programmer
Subject: Re: Problems using gcc 2.3.3
Keywords: gcc Objective-C
Date: 31 Dec 92 03:02:09 GMT
Organization: SOCS - Mcgill University, Montreal, Canada

In article <1htfq5INNhm3@shelley.u.washington.edu> reggie@stein.u.washington.edu (Reginald Perry) writes:
>I am having problems using gcc 2.3.3 on the NeXT which is an '040 cube
>running NS 3.0. What follows is a snippet of the code followed by the
>error. Any help at all would be greatly appreciated.
>
>
>				Reggie
>

Last thing I knew was that the latest version of gcc didn't support the
NeXT extensions to Objective-C in the 3.0 release of NeXTSTEP.

Forget trying to compile NeXTSTEP programs until this is implemented.

- db
Newsgroups: comp.sys.next.programmer
From: gmk@pegasos.ccsr.uiuc.edu (Gottfried Mayer-Kress)
Subject: IB Tutoring wanted.
Reply-To: gmk@pegasos.ccsr.uiuc.edu (Gottfried Mayer-Kress)
Organization: University of Illinois at Urbana
Date: Wed, 30 Dec 1992 00:16:27 GMT

I am looking for a NeXT programmer with fluent knowledge of the IB 
who would be interested in doing some problem oriented IB tutoring via 
NeXT-mail. I don't have the time to go to developers camp or work through 
the books.
Please respond by e-mail.

--
Gottfried Mayer-Kress
Center for Complex Systems Research, Department of Physics
3025 Beckman Institute, 405 N Mathews, Urbana, Il 61801
gmk@pegasos.ccsr.uiuc.edu (NeXT-Mail)
gmk@goshawk.lanl.gov, gmk@santafe.edu 
(217)-244-5877 (voice/fax modem),x8371(fax), x1994 (msg)
Newsgroups: comp.sys.next.programmer
From: john@logiconultra.com (John Martyniak)
Subject: Process Info
Keywords: Process,system
Organization: Logicon_Ultrasystems
Date: Mon, 21 Dec 1992 22:29:10 GMT


Has anybody out there tried to get process information (pid,ppid,Start  
command,start data, etc.) from system?  My first attempt was to try to  
find a system call that would do the job.  The only one I found that  
seemed like it would give me the info was pfind(), however, I can't get to  
that extern (the compiler does not like it when you #define KERNEL).  My  
second approach was to use nlist to get the process table entry location  
(proc, or nproc) but neither of these exist in /mach, and there is no  
documentation to support it.  In hpux, you can do an nlist for proc and  
nproc, and get the offset, you can then go to that offset in /dev/kmem and  
get the process table.  There is also a pstat (process status) system  
call, that does essentially the same thing.  However on the NeXT I have  
been unable to find such a thing.

Can anybody help?  Has anybody tried to do anything like this?

Thanx for the help.

John Martyniak
From: gerard@clip.inria.fr
Newsgroups: comp.sys.next.programmer
Subject: Subclass of NXImageRep
Date: 23 Dec 92 17:05:20 GMT

Has anyone test the possibility to subclass NXImageRep.

I have tried this but it does not work. Which are the methods to override  
and implement?

Does exit an example in the net.

Thanks a lot
Newsgroups: comp.sys.next.programmer
From: thomsen@spf.trw.com (Mark Thomsen)
Subject: Re: experienced NeXTSTEP programmer shortage
Organization: TRW Inc., Redondo Beach, CA
Date: Mon, 21 Dec 92 23:13:27 GMT

Gregory H. Anderson writes
> My point is that you only need one or two people who really, really know  
> NeXTSTEP to build a programming shop, corporate-internal or third-party.  
> Everyone else just has to be reasonably smart and open-minded. As I've  
> stated innumerable times, the difficulties learning NeXTSTEP relate to  
> information volume, not concepts. The AppKit, DBKit, IndexingKit, etc.,  
> are just plain BIG, not hard. If you have even one or two person around  
> who know how to navigate them, you can keep a whole shop moving forward.  
> We do it. So can you.

I agree with this almost exactly. We sent three of us to NS camp (4/89).
The has been it --- the rest have learned from apprenticeship and indulging
themselves in the learning experience (reading the manuals, trying stuff out).

I except the concepts of doing the OO architecting well with little
experience, and easily. This is an area where most of us are not doing
very well in the process of learning OO in the large for the first time.

If you have some helpful hints on creating large class hierarchies well -
the parts work together when inherited in part to do new jobs, efficiency
is semi-optimal, the hierarchy is regular and logical to others, the
pieces are general enough to convince new developers to reuse them, and
so forth - I would love to hear them. I wish I had more paths to learning
to point/lead new developers down.

> *soap box on*
> Why won't anyone invest in training their employees anymore? Why must  
> everyone come pre-programmed for the specific job available? I'd rather  
> teach programming to smart liberal arts majors who know how to think, than  
> teach thinking to a bunch of computer linguists who only know how to code.
> *soap box off*

There are a few examples of this, but the standard seems to pay for pre-
trained people. Somehow this seems better. We trained ours, but to staff
quickly hiring trained people is still the only option for most organizations.

Lots of the hiring going on now is quick response stuff - immediate opps.

Mark R. Thomsen
Newsgroups: comp.sys.next.programmer
From: paul@phoenix.Princeton.EDU (Paul Lansky)
Subject: cant open 2.0 .nib file under 3.0
Originator: news@nimaster
Organization: Princeton University
Date: Wed, 30 Dec 1992 22:15:32 GMT

I have a .nib file from an app built under 2.0.  It is
one of several for this app.  The others open successfully
under 3.0, but this one crashes interface builder whenever
I attempt to open it.  I see no messages in the console.log
or in /usr/adm/messages.  Can anyone tell me how to update
this to 3.0.  Thanks


Paul Lansky
music
princeton

paul@princeton.edu
From: bjorn@darmok.uoregon.edu (Bjorn S. Fjeld Pettersen)
Newsgroups: comp.sys.next.programmer
Subject: Re: Problems using gcc 2.3.3
Date: 3 Jan 93 22:14:34 GMT
Organization: University of Oregon Network Services
NNTP-Posting-Host: cisco-ts2-line65.uoregon.edu

In article <1993Jan1.110309.5899@mic.ucla.edu> iwelch@agsm.ucla.edu (Ivo Welch)  
writes:
> And, let's not forget that  some of us need to  debug programs, too. But   
NeXT
> gdb does not work with gcc 2.x.x, and NeXT  has not forwarded its  own  
changes
> to gdb to   the FSF in their  standard  format; therefore, the  FSF's new   
gdb
> version does not compile on NeXTs.
> 
> So: either you can use NeXT's historic version of gcc with non-ANSI C++  
syntax
> and no libg++, or  you can use  FSF version of   gcc without  NeXT  
Objective-C
> extensions and without a functional gdb.
> 
> A pathetic state of affairs.
> 
> /ivo welch
> 

Indeed!  I know some people here are Objective-C fanatics :) -- including many  
people at NeXT. And yes, I do like Objective-C for GUI stuff. But it seriously  
s**** sh** when it comes to other things. BTW, does anyone out there know why  
NXPoin, NXSize etc., etc. were not implemented as objects? In C++ it would have  
been easy (both to program, use, and subclass), and if would have been  
EFFICIENT!

Ah... It felt good to get that out of my system :)

--bjorn

------------------------------------------------------------------------------
Bjorn S. Fjeld Pettersen
bjorn@doek.uoregon.edu                       NextMail Welcomed
#include <std-disclaimer.h>
------------------------------------------------------------------------------
From: louie@sayshell.umd.edu (Louis A. Mamakos)
Newsgroups: comp.sys.next.programmer
Subject: Re: loading code dynamically with NXBundle
Date: 23 Dec 1992 14:04:14 GMT
Organization: University of Maryland, College Park
NNTP-Posting-Host: sayshell.umd.edu
Keywords: NXBundle classNamed nib loads fine

In article <1992Dec23.045347.19934@iitmax.iit.edu> thsscvc@iitmax.iit.edu (Chris Conley) writes:

>Dec 22 22:02:07 localhost ConceptBoard[3348]: objc: class `PositioningMap' 
>not linked into application

>// The following seems to work fine
>if (myBundle = [[NXBundle alloc] initForDirectory:bundlePath]) {
>	printf("Seem to have gotten myBundle OK\n");
>}

This looks to be the problem here.

>// This does not give me the Celebrate message 	
>classObj = [[[myBundle classNamed:PositioningMap] alloc] initFrame:NULL];
>		if (classObj) {
>			printf("Celebrate good times, c'mon...\n");
>		}

What I do, which seems to work just fine, is something like this:

classObj = [[[myBundle principalClass] alloc] initFrame:NULL];

Also, you're invoking the classNamed: method incorrectly;I think that
this will work too:

classObj = [[[myBundle classNamed:"PositioningMap"] alloc] initFrame:NULL];

classNamed: take the *name* of the class, not a Class reference.

louie

Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.misc
From: bnixon@fnma.com (Bill Nixon)
Subject: Get one more free dock entry under 3.0
Followup-To: comp.sys.next.misc
Keywords: dread dwrite Workspace DockPaths
Organization: FannieMae, Washington, DC
Date: Mon, 21 Dec 1992 16:02:02 GMT

Ever need just one more free entry on your NeXTSTEP dock.
Well, here's one way to do it.  I have only done this under
3.0, so I am not sure if it will work on older versions.

The trick is to move the Recycler icon off the dock.  Here's
how:

1. Open a terminal session and type "dread -n DockPaths" at
the command line.

This will return the current entries on your dock.  Mine
looks like this:

Workspace DockPaths "Workspace Manager;/NextApps/Preferences.app;
/NextApps/Mail.app;/NextApps/Librarian.app;/NextApps/Edit.app; ;
/NextDeveloper/Apps/ProjectBuilder.app;
/NextDeveloper/Apps/InterfaceBuilder.app;
/NextApps/Terminal.app; ; ; ;Recycler"

(NOTE:  the above will appear as one line, I added newlines
so the various news reader don't complain.)

2. Write out a new DockPaths entry without the Recycler
entry.

dwrite Workspace DockPaths "Workspace Manager;/NextApps/Preferences.app;
/NextApps/Mail.app;/NextApps/Librarian.app;/NextApps/Edit.app; ;
/NextDeveloper/Apps/ProjectBuilder.app;
/NextDeveloper/Apps/InterfaceBuilder.app;
/NextApps/Terminal.app; ; ; ; "

(NOTE:  the above will appear as one line, I added newlines
so the various news reader don't complain.)

3. Logout and login again.  You should have a blank entry
at the bottom of you dock and the Recycler icon will show
up at the bottom rightmost corner just like any normal
application icon.

4. I did the same thing with the Workspace Manager entry
and "it just worked".  I got a free entry at the top of my dock.
But I didn't get a File Viewer and couldn't log out since I
couldn't get to the Workspace menu.  Therefore I would NOT
recommend this.

5. Note that this is not supported by me, FannieMae or NeXT.
If you screw things up, it's all your fault...

Bill
-- 
bnixon@fnma.com or ...!uunet!fnma.com!bnixon (NeXT Mail Okay)
Bill Nixon, Senior Programmer Analyst, Advanced Technology, 2H-4S
FannieMae, 3900 Wisconsin Ave NW, Washington, DC 22016  (202) 752-5468
From: mlake@irscscm.UUCP (Marshall Lake)
Newsgroups: comp.sys.next.programmer
Subject: Business Opportunity
Date: 28 Dec 92 13:36:41 GMT
Reply-To: mlake@irscscm.UUCP (Marshall Lake)
Distribution: usa
Organization: Internal Revenue Service, Washington, DC


We at TEAM Software are considering putting together a catalogue of
computer software for the end user.  This software could be any type
(entertainment, utility, educational, etc.) and run on any platform
(PC, Amiga, Macintosh, Atari, NeXT, UNIX, etc.).  The software would be
inexpensive to the end user (we envision $5 to $15).  It would be kept
inexpensive by not including any type of packaging and providing the
documentation as a disk file.  We would not necessarily exclude higher
priced software, however.

For this approach to work we feel we would need to offer a lot of
product in the catalogue.  We have access to extensive mailing lists for
various platforms.  The programmer would retain all rights to the
software and there would be a contract between the programmer and TEAM
Software.  We expect the programmer to make a royalty of 10% to 15% of
our gross.

Do you know anyone who might be interested in providing software for
something like this?


Marshall Lake
TEAM Software
POB 7332
Washington, DC  20044-7332
tel 703-533-2132
fax 703-538-4598
uucp ...!uunet!{media,mimsy!bogart}!irscscm!mlake
Internet mlake@irscscm.UUCP
CIS 73717,3174
GEnie MLAKE

-- 
Marshall Lake
...!uunet!{media,mimsy!bogart}!irscscm!mlake
mlake@irscscm.UUCP
Newsgroups: comp.sys.next.programmer
From: liberte@cs.uiuc.edu (Daniel LaLiberte)
Subject: Re: wanted additional functionality in IB.
Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
Date: Tue, 22 Dec 1992 17:56:35 GMT

In article <1992Dec19.014103.28938@u.washington.edu> zeno@phylo.genetics.washington.edu (Sean Lamont) writes:

   One thing that I think would be REALLY useful would be a "Group in
   arbitrary view" function which would encapsuluate both of the above, plus
   be more extensible.

   Sean T. Lamont

-------

More general than that would be to specify the actual subclass of any
view.  So the grouping operation would simply wrap the selected views
in a general superview of class View, and then you could specify the
desired subclass of that superview.  Also, a Button view could be
subclassed to MyButton without having to provide a palette for it and
custom inspector.

If you want to discuss interface builder ideas like this, I encourage
you to join the ibex mailing list
(gnu-objc-ibex-request@gnu.ai.mit.edu).  Ibex will be a portable,
extensible interface builder, and copylefted source will be included.

Dan LaLiberte
liberte@cs.uiuc.edu
(Join the League for Programming Freedom: lpf@uunet.uu.net)



Newsgroups: comp.sys.next.programmer
From: estrin!kswanson (Kevin Swanson)
Subject: dbkit and sybase server connections
Organization: RDR, Inc.
Date: Mon, 28 Dec 1992 20:10:19 GMT

I'm working on an application that uses dbkit along with sybase.
I've come across the problem that my application makes two and sometimes
three connections to the sybase server, when it really should only need
a single connection.

Has anyone who has worked with dbkit experienced any problems like this?

thanks,
kevin


kswanson@rdr.com
Newsgroups: comp.sys.next.programmer