HDTenEightyP/NetNews huggingface dataset:
From: silbar@mpx2.lampf.lanl.gov (Dick Silbar)
Subject: Interactive NeXTSTEP interface to Fortran
News-Software: VAX/VMS VNEWS 1.41    
Organization: LAMPF Data Analysis Center, Los Alamos, New Mexico
Date: Thu, 27 Aug 1992 19:50:00 GMT

I posted an announcement like this about ten days ago to the SNUG mailing list,
but it (finally) occurred to me that it may well be of interest to readers of
this Newsgroup as well.

The following paper is available by request.  It is Los Alamos preprint
LA-UR-92-2541, and was submitted to Computers in Physics.  Let me know if you
can receive NeXTmail (that is, to receive and print out a .dvi and a .ps file)
or, as a less preferred means of distribution, to what address I should send a
hardcopy version of the preprint.


\begin{title}
An Interactive NeXTstep Interface to a Fortran Code
for Solving Coupled Differential Equations
\end{title}

\begin{abstract}

This paper describes a user-friendly frontend to a Fortran program that
integrates coupled nonlinear ordinary differential equations. The user
interface is built using the NeXTstep Interface Builder, together with a
public-domain graphical palette for displaying intermediate and final results.
The main problem is how to communicate between the Objective-C environment of
NeXTstep and the Fortran code. This is resolved by breaking up the Fortran into
separate subroutines, corresponding to the various control buttons in the
interface. These subroutines are then compiled in such a way that they can be
called as ordinary C functions.

\end{abstract}


   Dick Silbar
Xref: sparky comp.sys.next.programmer:5889 comp.lang.c++:13101
From: jbuck@forney.berkeley.edu (Joe Buck)
Newsgroups: comp.sys.next.programmer,comp.lang.c++
Subject: Re: Replacing NeXT cc with gcc-2.2.2
Date: 31 Aug 1992 18:28:54 GMT
Organization: U. C. Berkeley
NNTP-Posting-Host: forney.berkeley.edu

In article <1992Aug31.164909.7198@fcom.cc.utah.edu> swillden@news.ccutah.edu (Shawn Willden) writes:
>1)	I understand that the newest version of gcc incorporates NeXT's 
>Objective-C extensions.  Is gcc lacking anything?  Is NeXT making any new
>additions to their compiler for 3.0 that may not be present in the current 
>version of gcc?

NeXT donated their Objective-C compiler (which they were obligated to do
under the terms of the Gnu Public License) and it is distributed with
gcc-2.x.  However, they did not donate the run-time support or the class
libraries.  If you have a NeXT, you have these libraries and should be
able to use the Objective-C compiler from Gnu (no, I haven't tried it); if
you're on another platform, you can't (yet), because key parts are
missing.  I understand that there is now a group working on remedying
this.

>2) How complete is gcc's implementation of C++?  Does it support templates
>as described in _The C++ Programming Language 2nd Ed._ (by Bjarne
>Stroustrup)?  I know it doesn't support exceptions (yet).

g++ is a fairly complete implementation.  It supports templates, though
there are still some bugs.  We successfully use it for fairly sizable
projects on several platforms (Sun-4, DecStation, HP Snake, not NeXT though).

>3)	How stable is 2.2.2? 

It's possible to make it dump core, but that's getting harder all the
time.  It's closer to the ARM than cfront 2.1 is, and not as close to
the ARM as cfront 3.0.

>4)	How standard are the libg++ libraries?  (i.e. how closely do they track
>the work of the ANSI C++ committee? [In implementation, not content, ANSI
>hasn't/isn't going to specify standard libraries, right?])

As of libg++ 2.0, the iostream library is very close to that of AT&T.
Yes, ANSI is going to specify standard libraries for streams, and possibly
a couple of others.  I think you mean "In interface, not implementation",
since you don't care about the implementation if the interface is the same.

>5)	Is 2.2.2 compatible with the NeXT gdb or would I have to get gdb-4.6 as
>well?

I recommend getting gdb-4.6 if you're going to use g++.  It has greatly
improved facilities for finding member functions, including command
completion (where you type part of the name and prototype of an overloaded
member function and it completes it or lists the possibilities).  I don't
know what version of gdb NeXT provides; if it predates 4.0 you'll need
to upgrade.




--
Joe Buck	jbuck@ohm.berkeley.edu
Newsgroups: comp.sys.next.programmer
From: emurphy@cs.uno.edu (Edward Murphy)
Subject: (?) IB: setting up nexttext
Organization: University of New Orleans
Date: Fri, 4 Sep 1992 00:38:58 GMT


howdy.

have a small problem that i hope someone is "in the know" enough to help  
me out on. i'm putting together a app with two objects. a "form" and a  
"scrollview". i'd like to be able to tab from the last formcell to the  
scrollview's text window. is anyone able to explain to me how i might go  
about doing that? several attempts have not worked.

incidently, when i set the nexttext of the form to be the scrollview it  
crashes with the message...

error: ScrollView does not recognize selector -selectText:

..

ed murphy
From: jmartin@next.com (Jeff Martin)
Newsgroups: comp.sys.next.programmer
Subject: DBKit API and 3.0 MiniExamples
Keywords: DBKit, MiniExamples
Date: 25 Aug 92 17:44:45 GMT
Reply-To: jmartin@next.com (Jeff Martin)

Hi:
Between 3.0 PR2 and the final 3.0 Release, there was a minor DBKit API change  
that didn't make into the online technical documentation and one DBKit example  
in the release. If you are interested, you can get the new AddressBook example  
via anonymous ftp (file transfer protocol) from one of the following Internet  
archive servers. Note that they may still be in /pub/next/submissions.
       ________________________________________________________
         hostname       MiniExamples-directory
       ________________________________________________________
	
       	cs.orst.edu     	pub/next/documents/NeXTanswers/MiniExample
				(may still be in pub/next/submissions)
       	sonata.cc.purdue.edu	pub/next/docs/MiniExamples (may still be in
				pub/next/submissions)
	
  
MiniExamples are small programming examples provided by NeXT Developer Support.   
Each one contains its own README file.  

The August 92 Release contains 2 miniexamples for the 3.0 NeXTStep Release.

The AddressBook example shows you some simple usage of the DBKit Access Layer  
such as how to get connected to a SYBASE server, and how to do simple  
operations such as select, update, and delete. This example supersedes the same  
example that comes with the 3.0 Release under  
/NextDeveloper/Examples/DatabaseKit that doesn't work properly.
Please note that the on-line documentation for the method saveModifications:  
for  DBRecordList has some errors.  A return value 0 should mean success. Here  
are the corrections for DBRecordList. 
The possible return values from saveModifications: are as follows:
Value	Reason
0	The save operation was successful.
1	The save completed but not all records were saved.  This happens if  
errors are encountered but the delegate requests that the save proceeds anyway.
DB_NoIndex	Either the DBRecordList isn't ready (its status is DB_NotReady  
or DB_NoRecordKey), or one or  more records in the database have changed since  
they were fetched and the delegate hasn't forced the modifications to be saved.   
(See recordStream:willFailForReason: 	(DBRecordStream))

 
The TextORama example is a 2.0 example adapted to 3.0. It illustrates two  
things:
  How to create a TextField which supports one or more of these features:
- Restricting text length (both when typing and pasting).
- Autojumping to another TextField when maximum length is reached.
- Interpreting a carriage return literally rather than as an indication to end  
editing.
  How to implement emacs key binding support for the Text object.

Enjoy!

mai 
Developer Support
From: dillon@overload.Berkeley.CA.US (Matthew Dillon)
Newsgroups: comp.sys.next.programmer
Subject: status on Addison-Wesley books
Distribution: world
Date: 27 Aug 92 08:35:31 PST
Organization: Not an Organization

    I called up Addison-Wesley, this is what they told me:

							    status

    0-201-63248-9   NeXTSTEP General Reference		CANCELED (split into 2)
	  62220     NeXTSTEP General Reference Vol I	date not known
	  62221     NeXTSTEP General Reference Vol II	date not known
    0-201-63249-7   NeXTSTEP Development Tools		    1 NOV
    0-201-63250-0   NeXTSTEP User Interface Guidelns	    1 NOV
    0-201-63251-9   NeXTSTEP OOP and the Objective-C Lng    1 NOV
    0-201-63252-7   NeXTSTEP Operating System Software	    3 OCT
    0-201-63253-5   NeXTSTEP Progrmaming Interface Summary  1 NOV
    0-201-63254-3   NeXTSTEP Network and System Admin	    3 OCT


					-Matt

--

    Matthew Dillon	    dillon@Overload.Berkeley.CA.US
    891 Regal Rd.	    uunet.uu.net!overload!dillon
    Berkeley, Ca. 94708     ham: KC6LVW (no mail drop)
    USA
From: jml@visus.com (Jim Large)
Newsgroups: comp.sys.next.programmer
Subject: Re: [NXApp run]
Date: 31 Aug 92 14:30:34 GMT
Organization: Visual Understanding Systems, Pgh PA

In article <1992Aug25.092051@fdr.jsc.nasa.gov> shirley@fdr.jsc.nasa.gov (Bill  
Shirley [CSC]) writes:
> 
> Does the -run method of Application NEED to be invoked.
> I need a little bit more control over the event loop.

  I've found that some desirable things happen when -[Application run] is
called.  The only one I know about for sure is that the application's icon
(which is highlighted when you launch the app) becomes unhighlighted.

  That's why I did the following when I had to port an alien program to
NeXTStep:

@interface Controller:Object
@end

@implementation Controller
- appDidInit:sender {
    [NXApp stop];
    return self;
    }
@end

void main(
  int argc,
  char *argv[]
  )
  /*main*/ {
    NXApp = ...
    ...
    [NXApp setDelegate:[[Controller alloc] init]];
    [NXApp run];
    while( 1 )
      /*main loop*/ {
        ...
      /*main loop*/ }
  /*main*/ }

----------------+------------------+------------------------------------
     |\ /|      |  Jim Large       |  Visual Understanding Systems, Inc.
     | V |      |  jml@visus.com   |  2100 Wharton St.                  
   \_|   |__    |  (412)488-3600   |  Pittsburgh, PA  15203             
Newsgroups: comp.sys.next.programmer,comp.dsp
From: wiegand@rtsg.mot.com (Robert Wiegand)
Subject: Re: Finding how much DSP56001 RAM is installed via program??
Keywords: DSP, 56001, NeXT
Reply-To: motcid!wiegand@uunet.uu.net
Organization: Motorola Inc., Cellular Infrastructure Group
Date: Wed, 26 Aug 1992 14:16:07 GMT

izumi@pinoko.berkeley.edu (Izumi Ohzawa) writes:

>In article <1992Aug26.060638.10407@ee.ubc.ca>
>  williamb@ee.ubc.ca (william burchill) writes:
>>A floating bus is not going to confuse a memory testing program, that's
>>what it's looking for.  What do you mean "didn't work well"?

>Well, at the risk of making myself look totally stupid, the following is a
>simplified version of what I am trying to do.  I do use other test patterns
>in addition to $5a5a5a.  Failure on any one pattern should break the loop.
>The program just doesn't exit the loop.  I have never written a memory
>test program, so please forgive some ignorance :-)  Thanks.

>---------------------------------------------------------------------

>ERAM_Base	equ	8192		; Start address of external DSP RAM on NeXT
>	
>	<some init stuff>

>	move	#>ERAM_Base,R0
>TestLoop
>	move	#>$5a5a5a,b		;load test pattern
>	move	b,x:(R0)		;write to a memory loc
>	move	x:(R0)+,a		;read back into A1, post-incr address.
>	cmp	a,b
>	jne	memory_fail

>	<same things with different test patterns>

>	jmp	TestLoop

>memory_fail
>	<report R0 value to host>


>--
>Izumi Ohzawa
>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)

A better test would be to load different values in a number of locations,
then go back and verify all the locations. The idea is to seperate the
write and read operations so a floating bus doesn't "remember" the
value. And don't use the address as the data on any processor with
multiplexed address-data lines because this can also cause problems.

A good test is to use a psudo-random number generator to write all
locations, then read and verify all locations. Repeat with the inverse
of the data from the first pass. This will catch stuck bits in memory,
and address lines open or shorted.


-- 
------------------------------------------------------------------------------
Robert Wiegand - Motorola Inc.
uunet!motcid!wiegand
Disclamer: I didn't do it - I was somewhere else at the time.
From: jeffo@ux1.cso.uiuc.edu (J.B. Nicholson-Owens)
Newsgroups: comp.sys.next.programmer
Subject: Re: SoftPC and NeXTSTEP 3.0
Date: 27 Aug 92 22:15:40 GMT
Reply-To: jeffo@ux1.cso.uiuc.edu (J.B. Nicholson-Owens)
Organization: University of Illinois at Urbana

Scott Hess writes
> I've heard this at various times, too.  What's the scoop?

According to NeXTWORLD Extra, this capability of being faster on
screen writes is due to some software whiz at NeXT (sorry, I don't have  
the article ahndy so I can't quote sources) speeding up a display object.   
This speedup will only affect color machines because the speedup deals  
with handling images of a bitplane-depth greater than the black & white  
machines can display.

It should be a standard part of the object(s) in question (whatever got  
the turbo charge) and (from how I understood the article) will "just  
work". The article didn't mention any special programming necessary to get  
this to work.
--
-- Jeff
-- jeffo@ux1.cso.uiuc.edu
From: abell@netcom.com (Steven T. Abell)
Newsgroups: comp.sys.next.programmer
Subject: Problem with NXWrite()
Date: 2 Sep 92 00:21:53 GMT
Distribution: na
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

Can anyone explain this to me?

/*### [cc] request for member `functions' in something not a structure or union*/
	NXWrite(apsStream,pvb,iz);

where apsStream is NXTypedStream*, pvb is const char*, and iz is int. These
work fine in NXWriteArray().

Thanks,

Steve abell@netcom.com
Newsgroups: comp.sys.next.programmer
From: uunet!mwhhlaw!bob (Robert L. Hartley Jr.)
Subject: Re: FrameMaker & Digital Librarian
Reply-To: bob@mwhhlaw.com
Organization: Martin Wade Hartley & Hollingsworth
Date: Tue, 25 Aug 1992 14:25:11 GMT

In article <3559@richsun.cpg.trs.reuter.com>  
jack@richsun.cpg.trs.reuter.com (Jack Gidding) writes:
> Does a filter exists for DL so that Frame docs can be  
> indexed, viewed, etc.?

Open FrameMaker.app as a Folder and find frame-ascii.

I think NeXT encourages all apps to have such a filter.  You will find  
one in Improv and Word Perfect.  But be warned, the Word Perfect filter  
is imPerfect to the point that it doesn't work.
-- 
Bob Hartley
MARTIN, WADE, HARTLEY & HOLLINGSWORTH
P. O. Box 88676
3590 N. Meridian St.
Newsgroups: comp.sys.next.programmer
From: spagiola@frinext.stanford.edu (Stefano Pagiola)
Subject: NeXTSTEP frontend to FORTRAN
Reply-To: spagiola@frinext.stanford.edu
Organization: DSO, Stanford University
Distribution: usa
Date: Thu, 3 Sep 92 02:10:39 GMT

Last week, Richard Silbar of Los Alamos posted a note about designing  
a NeXTSTEP to FORTRAN programs.  On request, he sent me a copy, and  
it looked quite good.  But now I've mistakenly trashed that copy as  
well as his e-mail address.  Does anybody know how I can get in touch  
with him?  Thank you very much.

--
-
Stefano Pagiola
Food Research Institute, Stanford University
spagiola@frinext.stanford.edu (NeXTMail encouraged)
Newsgroups: comp.sys.next.programmer
From: optadm7@watserv1.uwaterloo.ca (J.Cassidy - Optometry)
Subject: IB Parse Fails
Organization: University of Waterloo
Distribution: na
Date: Sun, 23 Aug 1992 21:54:04 GMT


I'm having a problem with IB, and am hoping if someone could
assist me.  When I try to parse a .h file that I have origionally
created with the 'unparse' command of the class window, i get
the error message: 'No interface for class BottomView'.  BottomView
is the subclass of View that I have created.  Following are some
of the symptoms/things I have tried:

I can move to another account and test things out by subclassing
View, unparsing, then parsing.  This works fine.  Even when I
copy this project back into my account and try parsing.

When I try creating a new project, subclassing, unparsing, parsing 
in my account, same error reported as above.

When I copy one of my bad IB projects to another account and parsing
there, I get the error message.

Could anyone lend me assistance?  

=========================================================================

Jim Cassidy                           jcassidy@focus.uwaterloo.ca
University of Waterloo                optadm7@watserv1.uwaterloo.ca
200 University Ave.                   VE3RTS
Waterloo, Ontario, Canada N2L 3G1     (519) 885-1211 ext. 6240


Newsgroups: comp.sys.next.programmer,comp.unix.programmer
From: coil@sneezy.eng.ohio-state.edu (Stacy D. Coil)
Subject: Setting FNDELAY with fcntl for curses
Organization: The Ohio State University Dept of Electrical Engineering
Date: Sun, 30 Aug 1992 21:24:27 GMT


I am trying to emulate the nodelay function in the System V
implementation of curses, but I am having no luck.  I assume that I
need to set a flag to make non-blocking reads with stdin.  I have
tried using fcntl() with no avail.  This is what I think should work -

	fok = fcntl(stdin, F_SETFL, FNDELAY);

I know that this is wrong, but I cannot come up with the correct call.

Could someone please explain what I am doing wrong and show me the
correct code?


Thank you

Stacy

-------------------------------------------------------------------------------
Stacy D. Coil			         The Ohio State University
Student Programmer		Electrical Engineering Computer Facilities
coil@ee.eng.ohio-state.edu		      Columbus, Ohio
coil@cis.ohio-state.edu			      (614) 292-1416
-------------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer
From: qureshi@unixhub.slac.stanford.edu ("For deposit only")
Subject: Re: Workspace HideOnAutoLaunch . . 
Reply-To: cooldude@elaine49.stanford.edu
Organization: DSO, Stanford University
Date: Fri, 28 Aug 92 18:54:11 GMT

In article <1992Aug27.224549.17805@Trirex.COM> mmelling@Trirex.com(Michael  
Mellinger) writes:
> 
> This problem ranks right up there with not having a NeXTstep equivalent to  
> X11's DISPLAY environment variable.
> 
> -Mike

The NeXTStep equivalent is "NXHost".  So if I was on machine "foo" and wanted  
to display on machine "bar", I would say, 
Edit -NXHost bar

and voila it comes up on "bar".  Ofcourse "bar" has to be set as a public  
window server for security.  You can do this through "Preferences".

Imran
From: da0g+@andrew.cmu.edu (David Apfelbaum)
Newsgroups: comp.sys.next.programmer
Subject: Database recommendations
Date: 26 Aug 92 02:29:31 GMT
Organization: Electrical & Computer Engineering, Carnegie Mellon, Pittsburgh, PA


It looks like I am going to need to tie together a rather large amount
of data as we convert an existing database's datafiles over to the NeXT.
 DBKit seems to be an ideal solution.  However, that still leaves a
choice of Sybase or Oracle for the underlying database.

So, are there any recomendations?   Advantages or Disadvantages?


            Thanks for your time....

                    -David Apfelbaum.
                     da0g+@andrew.cmu.edu
Newsgroups: comp.sys.next.programmer
From: elee6wl@rosie.uh.edu (GAJAWADA SAMPATH KUMAR -> UH COOGAR <-)
Subject: Joins and Sorts  using DBKit
News-Software: VAX/VMS VNEWS 1.41    
Organization: University of Houston
Distribution: usa
Date: Mon, 24 Aug 1992 01:56:00 GMT

Hello DBKit Gurus (Shipley, Andrew etc.c...) !!

Has anyone tried JOINS using DBKit ??  Can anyone on the net shed light
on it ?? .  I haven't been successful in implementing joins.  

Thanx in Advance,

Kumar.




And it seems SORTs can be done on only two fields if we use
DBRecordList.  DBRecordStream can be  used to SORT records on more than
two fields but Record Retrieval is Sequential ??
Organization: Penn State University
Date: Thu, 3 Sep 1992 22:10:01 EDT
From: <MKK2@psuvm.psu.edu>
Newsgroups: comp.sys.next.programmer
Subject: Re: NeXT Concepts: Software version
 <1992Sep2.184427.7816@liveware.com>

People have correctly pointed out that Concepts is/might be available
on this or that archive.

       For me, however, nothing beats having a paper copy that one can
read at the beach, during children's boring swim meets, in bed, etc.

      Get a paper one if you can.  After you know what's in there, DL is
great for reminding yourself of this or that little detail, but nothing beats
real paper for careful study (yet).
Newsgroups: comp.sys.next.programmer
From: burchard@horizon.math.utah.edu (Paul Burchard)
Subject: Re: [NXApp run]
Organization: University of Utah Computer Center
Date: Tue, 1 Sep 92 00:27:28 GMT

In article <1992Aug31.143034.12176@visus.com> jml@visus.com (Jim Large) writes:
> In article <1992Aug25.092051@fdr.jsc.nasa.gov> shirley@fdr.jsc.nasa.gov (Bill  
> Shirley [CSC]) writes:
> > 
> > Does the -run method of Application NEED to be invoked.
> > I need a little bit more control over the event loop.
> 
>   I've found that some desirable things happen when -[Application run] is
> called.  The only one I know about for sure is that the application's icon
> (which is highlighted when you launch the app) becomes unhighlighted.

You have to be a bit careful even during the event loop itself.  [NXApp run]  
takes care of some things that are not events.  One example is reseting cursor  
rects (although you can easily set them explicitly to prevent this problem).   
There are other examples noted in the concept docs.

There really should be a way to "flush" NXApp, dispatching all pending events  
and performing any other NXApp chores, and then returning.  I do not know of  
any way to kludge this with the current API (the modal loop methods almost fit  
the bill but they all discard some events).

I would suggest NeXT add the following method to NXApp to achieve this:

	- flushEvents:(int)mask waitFor:(double)timeout threshold:(int)level

with parameters analogous to -getNextEvent:waitFor:threshold:.  Anyone at NeXT  
listening?

--
--------------------------------------------------------------------
Paul Burchard	<burchard@math.utah.edu>
``I'm still learning how to count backwards from infinity...''
--------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer
From: mmelling@Trirex.com(Michael Mellinger)
Subject: Re: Workspace HideOnAutoLaunch . . 
Organization: Trirex Systems Inc.
Date: Thu, 27 Aug 1992 22:45:49 GMT

In article <1992Aug21.043506.17296@leland.Stanford.EDU>  
peer@ccrma.stanford.edu (Peer Landa) writes:
> 
> Is it possible to set up the workspace (with dwrite or something) so it  
gets  
> HideOnAutoLaunch, and double click on the NeXT-icon to open it when  
needed.
> 
> peer@ccrma.stanford.edu

Nope.  I complained at the NWE about this, and I recently sent e-mail to  
NeXT about it.  It really bugs the hell out of me that you can't hide the  
File View on startup.  Under 3.0 having the Workspace(File Viewer and  
more?) completely launch on logging in is optional, but that's not the  
solution that I want.

This problem ranks right up there with not having a NeXTstep equivalent to  
X11's DISPLAY environment variable.

-Mike