HDTenEightyP/NetNews huggingface dataset:
From: julie@next.com (Julie Zelenski)
Newsgroups: comp.sys.next.programmer
Subject: Re: Make bug?
Keywords: make deletes files
Date: 12 Sep 92 02:20:38 GMT
Reply-To: julie@next.com

In article <BuF2u0.EIC@monitor.com> howard@monitor.com (Howard Brenner)  
writes:
> This is rare, but it has happened to me twice.
> 
> In V2.1 of NeXTStep I was performing a make on my program when in the  
> middle I realized I wanted to change a file.  I pressed CNTRL-C during  
the  
> make and got the following message:
> 	<filename>.m removed
> 
> and sure enough my source file was gone!
> 
> Has anyone else run into this problem?

I can't watch innocent source files get eaten without wanting to help out.   
Here's the text from NextAnswers.736.   Be sure to put the PRECIOUS target  
in the *postamble* (SRCFILES isn't defined til after Makefile gets  
processed)

Julie Zelenski
Developer Support

make removes files

Q:  Every now and then, if I use control-c to interrupt a make(1), it  
decides to remove one of  my files.  I admit that my code isn't always the  
cleanest, but is my computer trying to tell me something?  Is there a cure  
for this? 

A:  There is a bug in make where it sometimes removes a source file  
instead of the target when interrupted.  Here is a script of one of those  
nasty interchanges between you and make:

hostname> make debug
^C*** `File.m' removed
*** Exit 2
Stop.

hostname> make debug
Make:  Don't know how to make File.m.  Stop.
*** Exit 1
Stop.

As a workaround, you can add the .PRECIOUS pseudo-target in your  
Makefile.postamble to protect yourself from this unwanted deletion.  (See  
below for more about .PRECIOUS)  It should depend on SRCFILES (which  
covers CFILES, MFILES, HFILES, nibs, tiffs, etc).
#
#  Make sure we don't remove anything by accident if 
#  interrupted at the wrong time.
#
PRECIOUS : $(SRCFILES)



About .PRECIOUS

make normally stops if any command it generates returns a non-zero exit  
code.  Before quitting, however, it removes the current target it is  
making.  The assumption here is that target is probably in a partly  
finished state.  If it were left in place, it would show as up-to-date in  
subsequent invocations of make, due to its now-revised date of last  
modification.  

There may be occasions when you do not want the target removed upon  
occurrence of errors.  The .PRECIOUS: pseudo-target allows you to specify  
any file you do not want destroyed.  For example., the description fie  
entry
	.PRECIOUS : target1 target2 target3
prevents any of the three named targets from being removed by make.  This  
entry can occur anywhere in the description file.

QA736

Valid for 1.0
Valid for 2.0

Newsgroups: comp.sys.next.programmer
From: mauriti@cs.tu-berlin.de (Frank Hartlep)
Subject: Linking shared libraries at run-time
Organization: Technical University of Berlin, Germany
Date: Thu, 10 Sep 1992 17:11:45 GMT

I tried to link libNeXT_s.a with rld into an executable, but
got an error telling me that rld can't load 'fixed vm shared libraries'.
I can get around that by extracting the object modules I need and
grouping them into a selfmade library, but that's an ugly way to go.
Does anybody know if there's a more elegant solution?
And, just for curiosity, is there any inherent reason why it shouldn't
be possible to dynamically load from shared libraries, or is this just
a limitation of rld?


Frank

Newsgroups: comp.sys.next.programmer
From: colin@agincourt.bsd.uchicago.edu (& Garrett)
Subject: Re: CFLAGS directives get hardwired?
Organization: University of Chicago Computing Organizations
Date: Mon, 14 Sep 1992 19:43:28 GMT

Thanks to everybody who responded, especially Jutta Degener who turned me  
on to the LDPATH environment variable.  This is a workably solution.   
However, while pursuing this approach I also came across the following,  
taken from the _SunOS_ man pages under the -L option for ld:
	       When building a program
               in which one or more objects are loaded when -Bdynamic
               is in effect, those directories specified by -L options
               will be remembered for use at execution time.  This
               permits the construction of software that uses shared
               objects as libraries not residing in the standard
               locations and avoids requiring the specification of the
               environment variable in order to execute such software.

Perfect!  This is an even cleaner solution.  But in the same place in the  
_NeXT_ man pages all we get is:
         Add dir to the list of directories in which libraries
          are searched for.  Directories specified with -L are
          searched before the standard directories.

And indeed it doesn't work on the NeXT: the extra paths aren't remembered  
at execute time.

Is there a way to accomplish this?

Thanks again,

Colin Garrett
NeXTMail: colin@delphi.bsd.uchicago.edu
From: hickman@cse.unl.edu (Hubert B. Hickman)
Newsgroups: comp.sys.next.programmer
Subject: Subprocess and tip/telnet
Date: 14 Sep 92 14:13:23 GMT
Article-I.D.: unlinfo.1992Sep14.141323.583
Organization: University of Nebraska - Lincoln

I have a problem in getting tip and telnet to work correctly with the
"Subprocess" object from the Subprocess demo in NextDeveloper/Examples
directory (BTW - many thanks to those who pointed out where to look
for the thing!!!).  My problems are :              

1.  When telnet is run, things "sort of" work - but telnet seems to
be doing a local echo and typed characters appear twice.

2.  When tip is run, tip starts up and dials out OK but once the
connection is received, just sits there......     

Any help would be much appreciated. 

Hubert B. Hickman
hickman@cse.unl.edu
Newsgroups: comp.sys.next.programmer,comp.sys.sun.programmer
From: chari@sonia.ma.utexas.edu (Christopher M. Whatley)
Subject: Re: What is NeXT's replacement for SUNs /usr/lib/ld.so
Originator: chari@sonia.ma.utexas.edu
Organization: /d5/staff/chari/.organization
Date: Fri, 4 Sep 1992 22:07:49 GMT



In article <1992Sep3.174352.5970@weigele.de> martin@weigele.de (Martin Weigele) writes:

    The subject says almost all. I am trying to do a binary port of some
    SW which runs on SUNs, in particular a SUN3/60. I have successfully
    experimented with NeXT's `atom' binary conversion in the past.
    However, with this program I am stuck because the program wants
    /usr/lib/ld.so which does not exist (?) on the NeXT OS.

    Any ideas how to find a replacement, if any, that could be used via
    symbolic link as a fake /usr/lib/ld.so .

You are out of luck. Only statically linked programs can be atom-ed.
Ld.so is a table of the shared libraries under SunOS. 

Chris
-- 
Chris Whatley                            |  "With sex, at least, if you are
UT-Austin Mathematics			 |  not sure about what you are
Ph: 512/471-7107(O),499-0475(H)		 |  doing, by all means, don't do
E-mail: chari@{math,emx,cs}.utexas.edu,	 |  it harder!"
	chari@gnu.ai.mit.edu		 |        -Merril Markoe


Xref: sparky comp.sys.next.programmer:6028 comp.sys.next.misc:19360
From: emarinos@nextpoint.de (Evstathios Marinos)
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc
Subject: Help:Formats needed
Keywords: Frame, PasteUp, Quark, PageMaker
Date: 7 Sep 92 08:27:27 GMT
Followup-To: comp.sys.next.programmer

I am writing an application wich administrates advertisements. The  
advertisements are stored in SYBASE. An adv consist of RTF and sometimes an  
image to. When all advertisements of an issue are entered and registered, I  
want to export all the advs to a page layout programm, such as FrameMaker,  
PageMaker, PasteUp. To do this job I need informations about the various  
document formats. (Frame InterChange Format, PasteUp Format and if possible  
PageMaker anad Quark). 
It would be nice if somebody could help me. Please reply to following address:

emarinos@nextpoint.de (NeXTmail welcome)

Thank you very much.

Stathis Marinos
NeXTpoint Information Systems GmbH
Albert-Bassermanstr. 31
6835 Bruehl / Mannheim
GERMANY
PHONE:+49 6202 70510
FAX:  +49 6202 78510
From: mauriti@cs.tu-berlin.de (Frank Hartlep)
Newsgroups: comp.sys.next.programmer
Subject: Sun's XDR routines won't work on Sun machines ...
Date: 8 Sep 92 14:04:52 GMT
Organization: Technical University of Berlin, Germany


Excuses if this message appears repeatedly, my newsreader isn't
getting my first two tries.

... although they do on a NeXT.
Perhaps somebody can see an error in this code.

                .
                .
                .

        BufferSize += 50000;
        Buffer = malloc (BufferSize);
        Offset = strlen (ARCHIVED) + strlen (Description) + 1 + 4;
        sprintf (Buffer, ARCHIVED "%s", Description);
        xdrmem_create (&Stream, Buffer + Offset, BufferSize - Offset, XDR_ENCODE);
                .
                . 
                .
        (in another function)
        if (Stream->x_op == XDR_ENCODE) {
                if (*Pointer != NULL) {
                        if (! xdr_bool (Stream, &NonNil))   <=== Bus error
                                return -1;
                        Next = 0;
                        if (DescriptionLoop (
                                Stream, Description, Descriptor, Pointer, &Next)
                            == -1)
                                return -1;
                }
                .
                .
                .

Some more info:
1.      The xdr_bool does the first write to the XDR stream, so it's very
        probable that something's wrong with the stream.
2.      The malloc for Buffer was ok, there should be enough memory for
        the stream.
3.      The Stream and NonNil variables seem to be ok, too.

I'm totally clueless. The routines have been heavily used on a NeXT without
any problem, but on a Sun4 (and IPX) they never make it beyond that point.

Any ideas are greatly apreciated.


Frank
Newsgroups: comp.sys.next.programmer
From: jonb@infoman (Jon C. Buffington)
Subject: Re: DBKit using oracle adaptor question?
Reply-To: jonb@infoman.com
Organization: Information Management Inc.
Date: Thu, 10 Sep 1992 12:51:23 GMT

In article <1992Sep9.172004.4061@deepthought.uucp> Neil Greene  
<deepthought!neil@ms.uky.edu> writes:
> I had some problems with news last week, so I thought I had better  
repost this  
> message.
> 
> Is SQL*Net required in order to use DBKit with the Oracle Adaptor?  Some  
poor  
> soul out that has been using the adaptor, please let me know.  I am  
getting no  
> where currently with the DBModeler.  
> [...]

Neil,

You need to make sure that you netinfo services contains an entry for  
orasrv (tcp, 1525) on the client machine as well as the server. Sql*net is  
linked into the oracle adaptor bundle (the adaptor REALLY wants to use the  
sql*net tcp/ip driver).

Please email me if you continue to have problems.
-- 
Jon Buffington <internet: jonb@infoman.com uucp: uunet!infoman!jonb>
NeXT VAD	Atlanta, GA			NeXTmail accepted
From: simsong@next.cambridge.ma.us (Simson L. Garfinkel)
Newsgroups: comp.sys.next.programmer
Subject: Re: Command-line apps now harder (was Re: Workspace HideOnAutoLaunch)
Date: 5 Sep 92 10:38:47 GMT
Reply-To: simsong@next.cambridge.ma.us
Organization: Simson Garfinkel and Associates, Inc.

In article <1992Sep2.095521.5784@u.washington.edu>  
wjs@blorf.cpac.washington.edu (William Shipley) writes:
> Michael Mellinger writes:
> > It's not the same thing.  It's an incredible pain in the butt to type it  
> > everytime.  dwrite'ing it is a permanent alternative, which I don't like  
> > either.  One should be able to set the DISPLAY for a login session.
> 

What's wrote with putting the following in your .cshrc:

	dwrite NXHOST `echo $DISPLAY | sed s/:.//`

Or other appropriate magic?
-- 

................................................................simson
From: jeffo@ux1.cso.uiuc.edu (J.B. Nicholson-Owens)
Newsgroups: comp.sys.next.programmer
Subject: Re: Serial Communications Beyond 38.4 Kbps
Keywords: serial, DMX512
Date: 11 Sep 92 18:24:50 GMT
Reply-To: jeffo@ux1.cso.uiuc.edu
Organization: University of Illinois at Urbana

andrew@cubetech.com (Andrew Loewenstern) writes:
>The DSP can function as a serial port that can go up to something like
>138kbps.  Yrrid sells an LKS called TTYDSP that makes the DSP into a
>third serial port (DISCLAIMER: I was a beta-tester for TTYDSP) that
>will go up to 138k.

I've heard about this product and it sounds like the only problem that
could come up is if I want to use the DSP for something else.  Also, if
I'm playing music that uses the DSP and this is attached and active,
could there be problems?  I heard that 3.0 will be able to combine sounds
from different applications, and to me this sounds like a job the DSP
would end up doing.  Is that so?

>I think you best bets would be a NeXTbus card with a serial interface,
>a SCSI<->serial interface of some kind, or an ethernet<->serial
>interface (do any terminal servers do 250kbps?).

The only serial add-on I know of is an 8-port thing from UNINET (I think
that's how that is spelled), but I just need one high-speed port.  Any
suggestions?

Thanks for the information.
-- 
-- Jeff (jeffo@uiuc.edu)
-- No NeXTmail please
From: rmyers@dec5200.acs.uci.edu (Richard Myers)
Subject: Scrolly String thing.
Summary: I'm looking for an object. 
Newsgroups: comp.sys.next.programmer
Organization: University of California, Irvine
Date: 13 Sep 92 18:01:33 GMT

When using IB to design menus, it's possible to grab one menu item
and move it to a different 'slot'.  I'm looking for a similar thing
for text in a 'view' or somesuch.

	+-------------------------------+
	| Item 1                        |
	| Item 2                        |
	| Item 3                        |
	+-------------------------------+

Grab 'Item 2' and drag it down, release it, and wind up with:
	
	+-------------------------------+
	| Item 1                        |
	| Item 3                        |
	| Item 2                        |
	+-------------------------------+

I though I'd seen something like that before, but I can't find it.
Would someone please give me a pointer to such a thing?
Thanks,
Kurt
Newsgroups: comp.sys.next.programmer
From: todd@liveware.com
Subject: Re: Library:  Where is the heck is math.a?
Keywords: Found it thanks I just awoke!!!  Thanks Irman
Reply-To: todd@liveware.com
Organization: Liveware Corporation   Fort Collins, CO.  USA.
Date: Tue, 15 Sep 1992 19:49:27 GMT

In article <1992Sep15.182550.4618@liveware.com> todd@liveware.com writes:
> Netlanders,
> 
> Can someone please tell me where the cooresponding math.a
> would be so I can run ranlib on it and get on with my
> life? ;')
> 
> Todd
> 
> PS.  I took a look in the obvious /usr/lib

Okay, so I be asleep.  I found it with the help of Irman
and it is call libm.a, whatelse right? ;')

Todd
Newsgroups: comp.sys.next.programmer
From: demarco@fsd.cpsc.ucalgary.ca (Vince Demarco)
Subject: Re: 3.0 gdb does not work?
Organization: University of Calgary
Date: Mon, 14 Sep 1992 03:54:56 GMT


I also have a similar problem with gdb in 3.0 here is some sample
output.

<gdb running as root>
# gdb a.out
Reading symbol data from a.out...done.
Reading symbol data from /usr/shlib/libsys_s.B.shlib...done.
(gdb) run
Starting program: /private/tmp/a.out 
asdf

Program exited normally.
(gdb) 
# 
# su vince
<gdb is now running as a normal user>
1 -[/tmp]: gdb a.out
Reading symbol data from a.out...done.
Reading symbol data from /usr/shlib/libsys_s.B.shlib...done.
(gdb) run
Starting program: /private/tmp/a.out 
Problem attaching to pid 937.
(gdb) 
2 -[/tmp]: 


------------
Everything is fine if you run gdb as root, which leads me to believe
that it is a problem with permissions someplace. I tryed setting gdb
to setuid root, but nothing helped.  

if i try this:
18 -[/tmp]: gdb -nx /bin/ls
Reading symbol data from /bin/ls...
(no debugging symbols found)...done.
Reading symbol data from /usr/shlib/libsys_s.B.shlib...done.
(gdb) run
Starting program: /bin/ls 
Problem attaching to pid 1028.

I get the same result.

Any help would be greately appreciated.

And by the way, when i installed 3.0 i reformated my HD, i didn't use
the Upgrade 3.0 application.

vince

vince@whatnxt.cuc.ab.ca    (NeXT Mail accepted)
demarco@cpsc.ucalgary.ca



Newsgroups: comp.sys.next.programmer
From: S3LMGEB@SAE.TOWSON.EDU (Eric Bennett)
Subject: Re: setting a button key to be ESC
Organization: The Ohio State University Department of Computer and Information Science
Date: Sat, 5 Sep 1992 11:40:53 GMT

Received: by  grimbailiwick.Salisbury.md.us  ((From Sendmail 5.52)/NeXT-2.0)
	id AA03160; Sat, 5 Sep 92 14:29:15 EDT
Date: Sat, 5 Sep 92 14:29:15 EDT
From: s3lmgeb@sae.towson.edu (Eric Bennett)
Message-Id: <9209051829.AA03160@ grimbailiwick.Salisbury.md.us >
To: comp.sys.next.programmer@cis.ohio-state.edu
Subject: Re: setting a button key to be ESC
Newsgroups: comp.sys.next.programmer
Cc: grio@cs.psu.edu
X-Originally-From: grimace@grimbailiwick.salisbury.md.us (Eric Bennett)

In article <Bu33xu.7x3@cs.psu.edu> grio@cs.psu.edu writes:
>
>In the IB inspector, I'd like to set a button's key equivalent to be ESC.
>I can't get it to work.
>
>Any ideas?
>
>--
> Dan Grillo   grio@cs.psu.edu   [NeXTmail, PrivateMail, MIME welcome]

One way I've found to do this is to open a terminal window and type:

~ % echo -n a | tr a '\033' | copy

Then in IB paste into the Key: field of the attributes inspector and press
OK.  You won't be able to see the character (looks like a space) but it'll
work.  Another useful code is \177 for the Delete key.
(Oh, and make that window a panel.)

				- Eric B.
From: lerman@seltd.UUCP (Kenneth Lerman)
Newsgroups: comp.sys.next.programmer
Subject: Re: Multiple init: functions defined
Date: 5 Sep 92 17:30:51 GMT
Reply-To: lerman@seltd.UUCP (Kenneth Lerman)
Organization: Systems Essentials Limited

In article <3575@richsun.cpg.trs.reuter.com> jack@richsun.cpg.trs.reuter.com (Jack Gidding) writes:
...

|When I include the header files from two different classes into a third class,  
|and each of the included classes have a single init: method defined, I get  
|messages similar to the following:
|
|
|main2.m:18: warning: multiple declarations for method `init:'
|/Clib/RP.h:32: using `-init:(int )pSize'
|/Clib/RS.h:31: also found `-init:(OBJPTR )s'

The problem is that the compiler doesn't know which init: to use.  It
must either know the type of the receiver or the two methods must have
identical types.

|
|
|Why is this happening??? Sometimes it tells me that it resolved which init to  
|use, sometimes not, and sometimes it resolves it to the wrong init:.
|
|
|The code that has the init method is sililar in form to:
|
|	#import <RP.h>	// Both RP and RS have and init: method
|	#import <RS.h>
|
|	id x;
|
|	x = [[RP alloc] init:(int) 5];
|
|id is totally dynamic, and thus it really does not know which init to use....
|
|So, why is it telling me that it is using one method or another...shouldn't  
|this be left up until run-time? 

Yes, it should, but the compiler must generate code which is
equivalent to a function call.  To do this, it must know the types of
the arguments.  Since the types are different in this case, it doesn't
know what to generate.

|
|
|Am I doing something wrong to cause this?
|
|

Yes, you are.

|Thanks,
|
|
|Jack Gidding
|jack@richsun.cpg.trs.reuter.com

Ken

-- 
Kenneth Lerman                  ...!uunet!casey!gaboon!seltd!lerman
Systems Essentials Limited                            (203)426-4430
55 Main Street
Newtown, CT 06470
From: Conrad_Geiger@NeXT.com (Conrad Geiger - Manager, International NeXT User Groups)
Newsgroups: comp.sys.next.programmer
Subject: NeXT Consultants Wanted (Seattle, Washington)
Date: 15 Sep 92 21:44:25 GMT
Reply-To: user_groups@next.com

NeXT Consultants Wanted (Seattle, Washington)

Background preferred:

        ObjC and NeXTSTEP programming experience
        1+ years commercial software experience

Location: Seattle, Washington
Salaried or hourly positions available.
Contracts for one year with possibility for permanent employment.

Contact:

        Julia Schroder
        Computer People, Inc.
        1601 5th Avenue, Suite 1810
        Seattle, WA 98101
        Fax: (206)628-0258
        Phone: (206)628-0950


______________________________
Conrad Geiger
International NeXT User Groups
From: deepthought!neil@ms.uky.edu (Neil Greene)
Newsgroups: comp.sys.next.programmer
Subject: Accessing DBKit through Modeler
Date: 7 Sep 92 17:52:56 GMT
Reply-To: Neil Greene <deepthought!neil@ms.uky.edu>
Organization: ARCI, Inc.

I am attempting to use the DBModeler through the Oracle adaptor.  In the manual  
under the section titled "Models", the docs state that if you have access to  
the data base through sqlplus, you should be able to use the adaptor and  
DBModeler.

Is this true?  Is SQL*net required?  May I be missing something?  What does the  
Modeler want in response to "Sever ID"?  Is this a machine name, ip address,  
oracle instance name?
Newsgroups: comp.sys.next.programmer
From: zeno@hardy.u.washington.edu (Sean T. Lamont)
Subject: Re: Scrolly String thing.
Organization: Abstract Software
Date: Tue, 15 Sep 1992 01:28:57 GMT

In article <2AB381FD.20938@news.service.uci.edu> rmyers@dec5200.acs.uci.edu (Richard Myers) writes:
>When using IB to design menus, it's possible to grab one menu item
>and move it to a different 'slot'.  I'm looking for a similar thing
>for text in a 'view' or somesuch.


Look at the "NiftyMatrix" class in /NextDeveloper examples.  It's a
Matrix subclass with a couple of added bonuses, one of which is using
the control key to invoke cell rearrangement.


-- 
Sean T. Lamont                           |   "Don't oppress me, It's
Abstract Software                        |   'Computer of color! "
zeno@abstractsoft.com                    |   NeXTMail welcomed.
----------------"My employers opinions are my own, not yours."-----------------
Newsgroups: comp.sys.next.programmer
From: alberto@parsec.mixcom.com (Manuel Alberto Ricart)
Subject: Re: NS 3.0 arrives, DAMN!
Reply-To: alberto@parsec.uucp
Organization: I keep everything where I <most likely> can find it.
Date: Tue, 15 Sep 1992 00:40:21 GMT

In article <1992Sep11.184009.27616@psisa.psi> ph@theora (Patrick Hester) writes:
> Well, NeXTSTEP 3.0 has arrived!!!
> and guess what....
> 
> YOU NEED A FLOPPY DRIVE TO INSTALL IT!!!!!
> 
> 
> AAAAAAAARRRRRRRRRRRRRGGGGGGGHHHHHHHHHHH!!!!!!!!!!!
> 
> Thank you NeXT.
> Thank you from the bottom of my optical drive.

Worse yet. The 3.0 update arrived. However, the CD ROM that
makes it useful is not expected for another TWO weeks.
A real pisser if you ask me. By the time I get into it,
it will be old news. 8-{

-- 
Manuel Alberto Ricart
alberto@parsec.mixcom.com <NeXTMail Welcome>
Xref: sparky comp.sys.next.programmer:6082 comp.sys.next.misc:19451
Organization: Penn State University
Date: Wed, 9 Sep 1992 16:25:57 EDT
From: <MKK2@psuvm.psu.edu>
Newsgroups: comp.sys.next.programmer,comp.sys.next.misc
Subject: image Flipper available on sonata

Last week someone posted a request for a program that would display a
sequence of images in quick succession to achieve an animation effect.
The problem tickled my fancy, so I build a simple App to do just that.

It is very small, so I put a copy of the source and IB files on
sonata.cc.purdue.edu in the /pub/next/submissions directory.

 There are probably already other similar Apps around.  This was a self
education project for me.

  Flipper lets the user select TIFF, EPS, or PS files and then displays
them.  There is a slider to set the speed.  I am glad to say that they go
pretty quickly, once the PostScript is rendered 8-).

  Flipper uses a DPSTimedEntry to control the flipping, in case you want
an example of doing that.

DISCLAIMER:  I can't guarantee that everything is done in the best known
way.  I did what seemed reasonable, and hey guess what, IJW!