ftp.nice.ch/peanuts/GeneralData/Usenet/news/1995/Prog95-II

This is Prog95-II.gz in view mode; [Up]


From: tiggr@es.ele.tue.nl (Pieter Schoenmakers) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: New test release of libtl-0.08.2 Followup-To: comp.lang.objective-c Date: 30 Jun 1995 14:53:32 GMT Organization: Eindhoven University of Technology, The Netherlands Message-ID: <TIGGR.95Jun30165332@cobra.es.ele.tue.nl> Keywords: programming, libraries, tlisp A new test release of TL is available from ftp.es.ele.tue.nl as `/pub/tiggr/tl-0.08.2.tar.gz'. libtl is rather usable: I've written a special purpose httpd in TLisp. The available features of libtl, the performance and time-to-implement of this program rather surpassed my expectations. STATUS This is a test release of TL. It is by no means a complete library (yet). Lost of things are still missing, see the file TODO (in the TL distribution) for more information. DESCRIPTION TL is a basic Objective-C library, which happens to incorporate a Lisp interpreter, which provides a seamless integration between Objective-C and Lisp. (It is neither common lisp nor emacs lisp; it is probably best described by the name tiggr's lisp.) TL provides mark & sweep garbage collection to instances of TLObject or a subclass thereof. TL provides the following classes: The `root' object TLObject, a patch for existing root objects (like TLPatchObject), TLString (and TLMutableString), TLRange, TLDictionary plus enumerators (TLDictionaryEnumerator, TLDictionaryDictEnumerator, TLDictionaryKeyEnumerator, TLDictionaryValueEnumerator), basic streams (TLFDStream, TLFILEStream), TLSocketStream (TLInetSocketStream, TLUnixSocketStream) plus addresses (TLInetAddress, TLUnixAddress), TLStringStream (TLConstantStringStream, TLMutableStringStream), TLBase64Stream (TLBase64InputStream, TLBase64OutputStream), various other streams (TLBufferedStream, TLHTTPStream, TLSneakStream, TLStreamStream, TLSyslogStream, TLTelnetStream, TLWrapStream), lisp specific classes (TLCons, TLConsEnumerator, TLLDelegate, TLLInvocation, TLLLambda, TLLLex, TLLSubroutine, TLLTag, TLNil, TLSymbol, TLSymbolValue) and various others: TLDate, TLMimeItem, TLNumber, TLRunLoop, TLURL, TLVector and TLVectorEnumerator. Furthermore, it includes a host of Lisp invokable (but C written and thus also C invokable) functions. If reference counting is not provided by another library, TL provides reference counting and an NSAutoreleasePool. TL has been tested on HP9000/735 HP-UX 9.05 with the GNU runtime, and on a NeXTstation Mono Turbo NS3.3 with the NeXT runtime. TL is distributed under the GNU General Public License. TL comes WITHOUT ANY WARRANTY. See the file LICENSE in the TL distribution for details. TL is available through anonymous FTP at HREF="ftp://ftp.es.ele.tue.nl/pub/tiggr/tl-0.08.2.tar.gz" Changes in version 0.08.2 New classes: TLConsEnumerator, TLDate, TLRunLoop, TLStreamStream, TLSneakStream, TLTelnetStream, TLVectorEnumerator. Removed classes: TLLStringConstant. Initial support for BSD ttys in Ftcgetattr and Ftcsetattr. Changed TLEnumerator protocol to be able to handle NIL objects contained in the object being enumerated. Split `-flush' stream method into `-flushInput' and `-flushOutput'. Fixed numerous bugs and mis-features.
From: nbc@cs.strath.ac.uk (Neil Clark) Newsgroups: comp.os.msdos.programmer,comp.os.ms-windows.programmer.graphics,comp.os.os2.programmer.misc,comp.os.ms-windows.programmer.win32,comp.sys.amiga.graphics,comp.sys.amiga.programmer,comp.sys.ibm.pc.programmer,comp.sys.mac.programmer.codewarrior,comp.sys.mac.programmer.misc,comp.windows.open-look,comp.windows.x.motif,comp.windows.x.intrinsics,comp.windows.x,comp.sys.next.programmer Subject: Re: Graphical coordinate system Date: 30 Jun 1995 15:43:35 +0100 Organization: Comp. Sci. Dept., Strathclyde Univ., Glasgow, Scotland. Distribution: inet Message-ID: <3t12in$hc@lister-04.cs.strath.ac.uk> References: <dmenchac-2806951249250001@manteca.mv.us.adobe.com> In article <dmenchac-2806951249250001@manteca.mv.us.adobe.com>, Ronin <dmenchac@mv.us.adobe.com> wrote: >Hello, > I'm working on the conceptual stage on a graphical shell that will run in >various enviroments. Hopefully this shell will grow into providing GUI >primitives (menus, windows, dialogs, controls, gadgets, widgets, etc.) and >event handling. > Anyways, I was wondering how I should map my coordinate system out. >Should I go from 0,0 to +x,+y like in Postscript or should I use the >Macintosh style going from 0,0 to +x,-y? In modern computer graphics the method often used is to create your "world" using as generic a system as possible, which is then mapped to the computers' own graphical coordinate system. Although incurring a slight performance penalty, this approach has several advantages, not least of all portability, between both machines and situations. In general I would recommend going with a mathematically intuitive approach for choosing your coordinate system as this helps a great deal when applying transformations to the objects within. I generally use (0,0,0) as the "true" centre of world space, where x=0 and y=0 are mapped to the centre of the screen in "display space", and z=0 denotes the position of the screen on the z axis. Most often used directions are X increasing from left to right, Y increasing from bottom to top, and Z decreasing as it gets further away from "you". Recommended reading : "Computer Graphics: Principles and Practice" by Foley, Van Damme, et al. Pub. Addison Wesley. -- Neil Clark Telepresence researcher University of Strathclyde "I can create a fire anywhere with a few hours and two old cliches"
From: Christopher_Lane@Med.Stanford.EDU Newsgroups: comp.sys.next.programmer Subject: Re: Long long, how to print? Date: 30 Jun 1995 16:54:27 GMT Organization: Stanford University Message-ID: <3t1a83$qtm@nntp.Stanford.EDU> References: <DAIGFK.KBH@mamba.cs.unm.edu> Martin Mueller <martin@mamba.cs.unm.edu> writes > NeXT has built in a long long 64 bit data type, > > unsigned long long big_unsigned = 0xffffffffffffffffULL; > > How can I print and scan such a number (printf, scanf, NXPrintf, ...) In FoundationKit, the NSScanner object has a method which converts string objects containing the printed representation of a long long into a long long data type: - (BOOL)scanLongLong:(long long *)value Scans a long long int into value if possible. Returns YES if a valid integer expression was scanned, NO otherwise. LONG_LONG_MAX or LONG_LONG_MIN is put in value on overflow. (The *_MIN and *_MAX constants are defined in limits.h header file for your particular architecture.) The NSValue class in FoundationKit also seems to be long long savy. Alternatively, the g++ libraries on the NeXT appear to know a little about long long as well and the declaration of the iostream operators istream & ostream indicate that they can read and write them, both signed and unsigned. The /usr/include/architecture/byte_order.h file has routines it in to byte swap long long types if needed. - Christopher
Newsgroups: comp.sys.next.programmer From: gerald@kurt.in-berlin.de (Gerald Erdmann) Subject: Problems with instance drawing Message-ID: <1995Jun30.134015.1103@kurt.in-berlin.de> Sender: news@kurt.in-berlin.de Date: Fri, 30 Jun 1995 13:40:15 GMT Hi! I want to draw a line in a view to show the actually position. I choose instance drawing. The problem is that nothing is visible until the scrollview begins scrolling. Now it works fine. Ive tried DSPFlush(), -flushWindow and other things to display the instance drawing. nothing. The following code I used: PSsetinstance (YES); PSnewinstance (); PSnewpath (); PSsetlinewidth (0.0); PSmoveto (displayPosition, 0.0); PSrlineto (0.0, height); PSclosepath (); PSsetgray (NX_DKGRAY); PSstroke (); PSsetinstance (NO); HOW CAN INFORM THE WINDOW SERVER TO DISPLAY THE INSTANCE DRAWING WITHOUT DISPLAYING THE WHOLE VIEW? Thanx for any help, Gerald -- --------------------------------------------------------------------- | GERALD ERDMANN | email: gerald @ kurt.in-berlin.de (NeXTmail welcome) | voice: +49 30 372 43 10 (Germany - Berlin) | crypt: pgp2 public key available |
From: sanguish@digifix.com Newsgroups: comp.sys.next.programmer Subject: Re: Help - Modifying a TIFF in a View ... Date: 30 Jun 1995 19:13:21 GMT Organization: Digital Fix Development Message-ID: <3t1ich$ltq@digifix.digifix.com> References: <3t0rqk$qft@aplinfo.jhuapl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mike Hostetter <Michael_Hostetter@JHUAPL.Edu> wrote: > NeXTperts, > I have a .tiff image that I am loading into an NXImage inside a View. > It displays just fine, but I want to draw some filled circles on it and > then save it to file as a .tiff. Currently, I can draw the circles > using PS calls, but all I can save to file is the original .tiff NXImage > data. I have had no luck with compositing a .eps file either -- it > doesn't draw the image 'correctly' after I resize it, and it doesn't > save even the 'wrong' image (just the base image). > Any help would be greatly appreciated! > Mike Hostetter (Michael_Hostetter@JHUAPL.Edu) The answer to this question is in NextAnswer 1861, attached. Q: My application is a simple paint program. The user opens a TIFF image, then scribbles into it, and finally saves the new image as a TIFF file. However, the changes made by the user aren't saved into the TIFF file˜it contains the original image. Why? A: This occurs if you open the TIFF file like this: image = [[NXImage alloc] initFromFile:fileName]; NXImage will have two representations˜the file, and the cache. NXImage will treat the cache as a transitory image, and the file as its "best representation." The cache is the off-screen window to which the user's scribbles are drawn. When asked to write out the image, NXImage writes out its best representation of the image˜which is the actual TIFF file residing on disk˜thus ignoring completely the changes made to the image. To get around this you must fake out NXImage by forcing the cache to be the best representation of the image. The following code snippet illustrates what you must do: /* When the user opens the image */ rep = [[NXBitmapImageRep alloc] initFromFile:fileName]; [rep getSize:&imageSize]; image = [[NXImage alloc] initSize:&imageSize]; if ([image useCacheWithDepth:d] && [image lockFocus]) { [rep draw]; [image unlockFocus]; } [rep free]; This code sample initialized an NXBitmapImageRep from the file containing the opened image. The NXImage is initialized from this representation. Now the NXImage does not have a file which can serve as its best representation˜it only has the cache. Thus when you tell NXImage to writeTIFF: the cache with all of the user's scribbles is written out properly. QA786 Valid for 1.0, 2.0, 3.0 -- - Scott Anguish - sanguish@digifix.com (NextMail) next-announce@digifix.com (comp.sys.next.announce submissions) http://www.stepwise.com/ (Stepwise NEXTSTEP/OpenStep Information Server)
Newsgroups: comp.sys.next.programmer From: andylee@netcom.com (Andy Lee) Subject: Edit.app Goto Line? Message-ID: <andyleeDB0Fs1.HIK@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Fri, 30 Jun 1995 23:55:13 GMT Sender: andylee@netcom14.netcom.com How does the ProjectBuilder.app instruct Edit.app to dislpay certain line # in a .m file!?
From: Greg.Titus@mccaw.com (Greg Titus) Newsgroups: comp.sys.next.programmer Subject: Re: Edit.app Goto Line? Date: 1 Jul 1995 02:03:00 GMT Organization: McCaw Cellular Communications, Inc. Message-ID: <3t2ack$q56@nwestmail.nwest.mccaw.com> References: <andyleeDB0Fs1.HIK@netcom.com> In article <andyleeDB0Fs1.HIK@netcom.com> andylee@netcom.com (Andy Lee) writes: > How does the ProjectBuilder.app instruct Edit.app to dislpay certain > line # in a .m file!? Edit's listener (see the docs on the Speaker and Listener classes in the appkit (especially Speaker under Sending Remote Messages)) responds to a method: - openFile:(char *)file onHost:(char *)host atTrueLine:(int)line; To use the current host, the host parameter should be an empty string:"". -Greg --------------------- Greg Titus Omni Development Inc. toon@omnigroup.com
From: tyf@soda.CSUA.Berkeley.EDU (Tin-Yau Fung) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: [?] SmallTalk on NeXT ? Date: 1 Jul 1995 08:04:30 GMT Organization: Computer Science Undergraduate Association, UC Berkeley Message-ID: <3t2vie$p91@agate.berkeley.edu> Hi, Has anyone successfully installed the GNU Smalltalk 80 on NeXTSTEP 3.3 ? I am having trouble compiling. If you know what are the modficiations necessary to make mst work under NS, please give me a mail. Thanks a lot.
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Fri, 30 Jun 95 20:43:10 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9506301843.AA02016@flexus> Subject: Re: HOW TO SET A DELEGATE USING DISTRIBUTED OBJECTS? Christophe Dore writes: > So if the myDO real object has built its delegate > mechanism in the a) way, myLocalObject will never > receive any of the delegate s message. -respondsTo: will be forwarded to the real object and return *it's* answer, so things should work transparently. Have you tested your assertion at all? Besides, you shouldn't implement delegation by providing a default method in Object. Did NeXT do that anywhere (declarations don't imply implementation)? I don't think so! The reason is that delegation (NeXT's use of this term, which is quite distinct from delegation in a language like Self where it replaces inheritance itself) is quite crude: an object typically supports only one delegate, yet different messages can be handled either by that delegate or by the object itself (if a subclass implements the delegate method). Combined with the concept of (dis)allowing an operation by returning self or nil for certain ...Will... messages, you would need three values to distinguish between: - delegate doesn't implement this (doesn't override from Object), so try the delegating object itself - delegate doesn't allow the operation - delegate allows the operation Which values will you use? self, nil, and anything else? Will every other NeXT programmer use the same convention? So avoid the confusion and use respondsTo: in all cases. Of course, NeXT should really document all of this, because it conceived this protocol (general meaning). Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Q: How to convert archives from Object to NSObject? Message-ID: <DB0tsr.7EG@genoa.com> Keywords: foundation NSObject archiving encoding Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems Date: Sat, 1 Jul 1995 04:58:02 GMT If you have a network of classes inheriting from Object, and have been archiving them into typedStreams with read:, and wish to change to use NSObject as the superclass, is there any way to convert the saved archives to a form so they can be loaded into the new objects? -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Problems with instance drawing Date: Sat, 01 Jul 95 13:48:59 GMT Organization: Cedar Systems Message-ID: <804606539snz@cedar.demon.co.uk> References: <1995Jun30.134015.1103@kurt.in-berlin.de> In article <1995Jun30.134015.1103@kurt.in-berlin.de> gerald@kurt.in-berlin.de "Gerald Erdmann" writes: Gerald, I must admit I have not actually tried this out, but I think that all you need is an NXPing() after the PSstroke(). Not that it matters, I think the PSnewpath and PSclosepath are not necessary in this case. As a possible alternative, I have a ruler for a Text object that supports right, centre and decimal tabs. As the ruler tokens are dragged across the ruler, I use NXHighlightRect() to draw a vertical line down the Text as the token is dragged. I find this superior to instance drawing. If you try using NXHighlightRect, you will need a flushWindow in the loop. Let me know if NXPing() doesn't work and I'll work out an example that does work and send it to you. Regards, Paul Heffernan. > Hi! > > I want to draw a line in a view to show the actually position. I choose > instance drawing. > > The problem is that nothing is visible until the scrollview begins > scrolling. Now it works fine. > > Ive tried DSPFlush(), -flushWindow and other things to display the instance > drawing. nothing. > > The following code I used: > > PSsetinstance (YES); > PSnewinstance (); > PSnewpath (); > PSsetlinewidth (0.0); > PSmoveto (displayPosition, 0.0); > PSrlineto (0.0, height); > PSclosepath (); > PSsetgray (NX_DKGRAY); > PSstroke (); > PSsetinstance (NO); > > HOW CAN INFORM THE WINDOW SERVER TO DISPLAY THE INSTANCE DRAWING WITHOUT > DISPLAYING THE WHOLE VIEW? > ----------------------------------------------- Cedar Systems email: phef@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
From: ccwf@locke.klab.caltech.edu (Charles Fu) Newsgroups: comp.sys.next.programmer Subject: Re: How to get a list of file names in a directory? Date: 1 Jul 1995 23:21:52 GMT Organization: California Institute of Technology, Pasadena Message-ID: <3t4lag$2rl@gap.cco.caltech.edu> References: <3s4en6$bqe@mailer.york.ac.uk> In article <3s4en6$bqe@mailer.york.ac.uk>, Roger Peppe <rog@ohm.york.ac.uk> wrote: >apologies - i wrote : >> struct dirent *de; /* directory entry pointer */ > ^^^^^^ > this should of course be : > struct direct *de; Well, theoretically, you can compile for POSIX by using dirent instead of direct, using the appropriate headers, and so forth. Practically, of course, the readdir() function in libposix.a is buggy (it can fail to read all entries in a directory--work around by writing your own readdir() or swiping code for readdir() from another POSIX system). -ccwf
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de(Juergen Sell) Subject: Re: QUEST: Generating raw g3 fax data from PS files? Message-ID: <DB1uFD.Kp@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <3ssi0p$uq@kahu.mrtc.maui.com> Date: Sat, 1 Jul 1995 18:09:12 GMT In article <3ssi0p$uq@kahu.mrtc.maui.com> danno@maui.com (Dan Bigelow) writes: [...] > Question, is there a command line util that will let me : > > cat file.ps | some_cool_next_cmd -cool_g3_output > outfile.g3 I seem to remember netpbm tools allow for this. The netpbm tools is a superset of pbmplus set of cmd-line-tools. Cannot verify at the moment, though. Juergen --- Fon ++49 511 4406-88 NeXTMail welcome Fax ++49 511 4406-17 == What time do we live in when a wine's class matters more than its taste, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names?
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.programmer Subject: Re: QUEST: Generating raw g3 fax data from PS files? Date: 2 Jul 1995 09:50:54 GMT Organization: University of Heidelberg, Germany Message-ID: <3t5q5u$jhq@sun0.urz.uni-heidelberg.de> References: <3ssi0p$uq@kahu.mrtc.maui.com> <DB1uFD.Kp@euler.hnv.icem.de> In article <3ssi0p$uq@kahu.mrtc.maui.com> danno@maui.com (Dan Bigelow) writes: [...] > Question, is there a command line util that will let me : > > cat file.ps | some_cool_next_cmd -cool_g3_output > outfile.g3 ftp://ftp.cs.orst.edu/software/NeXT/submissions/ps2_.tar.gz contains ps2g3 and ps2pcl by Kevin Peckover. Propably better than netpbm stuff, I think. Gregor PS: Are you trying to muck around with mgetty ??? -- | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: stefan@rubc.rz.ruhr-uni-bochum.de (Stefan Bohringer) Newsgroups: comp.sys.next.programmer Subject: Optimizing ObjC Date: 2 Jul 1995 13:05:13 -0500 Organization: UTexas Mail-to-News Gateway Sender: nobody@cs.utexas.edu Message-ID: <9507021807.AA00231@localhost> I have seen somebody posting about this topic, but unfortunately I haven't caught his email then. So I post my proposal here; sorry for this pollution. Since ObjC does a objc_msgSend call for each message sent and goes through a lookup loop ("virtually as quick as a C-call would be" ;-) there is some overhead. Look at the output of the program - added to the end of the article for those who want to reproduce (NeXTStation mono -O2): Seconds elapsed:1.640625 Seconds elapsed:1.640625 Seconds elapsed:1.625000 Seconds elapsed:0.625000 The first 3 are ObjC the last is C. A factor of something above 2.5 seems not bad even since further subclassing is cached effectivly (1st compared with the 2nd). But if you really build the Data Model of your application on ObjC (for which EOF is an example) this effectivly means that messages will dominate function calls even in computational tasks. So how to improv? Another jumptable may help. For each message call with a !static! selector (which dominates at 99.53% from my totally arbitrary assumption) an entry in the jumptable would contain the receiving object's id and the address of the method machine code (as obtained by methodFor:). Then the assembly (m68k) could look like this (yielding performance like C++-virtual functions: ; assumed things are right on the stack lea jmptableaddr,a0 ; jmptableaddr points at a the entry ; of the jumptable corresponding to ; this message (a0) is the object ; (4,a0) is the method's address cmp (sp),(a0) ; (sp) is the receiving object beq jumpAway ; has the object changed? pea (a0) jsr correctJmpTable addq #4,sp lea jmptableaddr,a0 ; a0 may be destructed jumpAway: jsr ([4,a0],X0,0) ; we can directly call the code now ; (where X0 is the dummy register) retAddress: ; things go their way ... correctJmpTable: ; this occures only once in the ; program ; find_out_new_method_address something similar objc_msgSend rts This should not require many changes to gcc and should be fully architecture independend. However codesize would increase here by 26 bytes a message plus 8 bytes for lookup. - Stefan ------------------------------------------------------------------- // ObjCbench.m //Wed Jun 28 21:29:57 MET DST 1995 #import <appkit/appkit.h> #define benchStart(strt) ( (strt)=clock() ) #define benchStop(strt) ( (clock()-(strt))/(float)CLK_TCK ) #define LOOP_CNT 800000 @interface SomeObject : Object { } - called; - caller; @end @implementation SomeObject - caller { int i; for (i=LOOP_CNT; --i>=0; ) [self called]; return self; } - called { return self; } @end @interface SomeOtherObject : SomeObject { } @end @implementation SomeOtherObject @end @interface SomeVeryObject : SomeOtherObject { } @end @implementation SomeVeryObject @end void called(void) {} void caller(void) { int i; for (i=LOOP_CNT; --i>=0; ) called(); } void main(void) { clock_t strt; SomeObject *probandA=[[SomeObject alloc] init]; SomeOtherObject *probandB=[[SomeOtherObject alloc] init]; SomeVeryObject *probandC=[[SomeVeryObject alloc] init]; benchStart(strt); [probandA caller]; printf("Seconds elapsed:%f\n",benchStop(strt)); benchStart(strt); [probandB caller]; printf("Seconds elapsed:%f\n",benchStop(strt)); benchStart(strt); [probandC caller]; printf("Seconds elapsed:%f\n",benchStop(strt)); benchStart(strt); caller(); printf("Seconds elapsed:%f\n",benchStop(strt)); exit(0); }
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 3 Jul 1995 04:15:11 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <3t7qsf$c98@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:Michael_Pizolato@afs.com) Dan Grillo (mailto:dan_grillo@next.com)
From: chin@clark.net Newsgroups: comp.sys.next.programmer Subject: DriverKit: Jazz16 device driver Date: 3 Jul 1995 05:40:07 GMT Organization: Clark Internet Services, Inc. Message-ID: <3t7vrn$emb@clarknet.clark.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit I'm polishing up my base modifications to the SoundBlaster8 driver to support Jazz16 chipset based sound boards. Specifically, I've got a Mediavision Deluxe Sound card in my Pentium. These modifications are based off of the VoxWare 3.0 beta sound drivers for Linux and were rather straightforward and simple. I've only concentrated on playback and have not tested recording yet. For the most part, it works - no clicking or dropouts with 22khz stereo or 44.1khz mono playback. 44.1khz stereo playback works flawlessly most of the time. I've even played "Vision in Black" without any glitches from CD-ROM. What does not work are: 16 bit DMA transfers (I think this is a hardware problem) and therefore 16 bit DMA channels and NEXTIME movie playback. Specifically, if I install the NEXTIME sound driver, I don't get any hardware interrupts anymore! If I don't install that driver, the sounds play just fine but the video isn't synchronized to the sound. A ProAudio Spectrum 16 in the same machine plays back NEXTIME with sound without this problem (it's got tons of other problems). Anyone out there can help? Thanks! ..Bill Chin p.s. Also, if you are interested in beta testing this driver, please e-mail me. People willing to dig into DriverKit and debug a driver only at this point! Thanks! -- Bill Chin - chin@clark.net - NeXTmail welcomed
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer From: cjones@netcom.com (Carl Jones) Subject: Re: SerialPorts driver vs. Mux... Message-ID: <cjonesDB4JLt.9Io@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <3r5b5l$tjk@digdug.pencom.com> <3r8ta7$pue@news.next.com> <cjonesDAI9uq.L84@netcom.com> <ken.804051360@darwin> <3t0b0v$1gg@marsu.pilhuhn.de> Date: Mon, 3 Jul 1995 05:08:16 GMT Sender: cjones@netcom11.netcom.com OK, I don't know what to do and am certain that it is stupid. I cannot get my internal Gateway/2000 FAX modem to work. I have retrieved the latest serial drivers from NeXT and successfully installed them. However, if I tip dial1200 xxxyyyy I hear the dial, hear the ring, hear the search for matchup, get a "connect" and then nothing. If I tip a9600 (or cufa9600 or any similar from the std etc/remote) then I get less than nothing! No modem directives work, ATDT, ATH, etc. When I boot DOS/Windows I can dial out just fine, as I have done just now to enter this sad note! What *am* I doing wrong? or what can I do to get more information? I am not a whiz at all with unix, so explicit directions would be appreciated. advaTHANKSnce, carl jones
From: braun@biw.cube.de (Pirmin Braun) Newsgroups: comp.sys.next.programmer Subject: email adress of Doug Harris wanted Date: 3 Jul 1995 08:51:13 GMT Organization: BIW Systemhaus Message-ID: <3t8b21$b35@next01.biw-ag.de> Hi NextProgrammers, does anybody know the email adress of Doug Harris, the author of WatchSwap? dough@bou.shl.com doesn't work. Thanks in advance, greets, Pirmin. -- Pirmin Braun; BIW GmbH; Werkstr. 24; 71384 Weinstadt; Germany Phone: 0049 7151 602 204; Fax: 0049 7151 602 341 #include <StandardDisclaimers.h>
Newsgroups: comp.sys.next.programmer From: chris@aptime.fdn.org Subject: Re:Re:HOW TO SET A DELEGATE USING DISTRIBUTED OBJECTS? Message-ID: <DB56LL.DGA@aptime.fdn.org> Sender: usenet@aptime.fdn.org (News Operator) Organization: C3iS - APTIME // Paris, France References: <9506301843.AA02016@flexus> Date: Mon, 3 Jul 1995 13:24:57 GMT In article <9506301843.AA02016@flexus> Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> writes: > Christophe Dore writes: > > So if the myDO real object has built its delegate > > mechanism in the a) way, myLocalObject will never > > receive any of the delegate s message. > -respondsTo: will be forwarded to the real object and return *it's* answer, so > things should work transparently. Have you tested your assertion at all? That s right, I made a mistake and wrote a wrong thing. Sorry. I made a test : I sent respondsTo(@selector(takeFloatValueFrom:) to a proxy of a TestField and it works !! I m the first surprised because my assertions came from a previous test. I must have drawn conclusions too quickly. -- Christophe Dore (chris@aptime.fdn.org NEXTMAIL & MIME OK)
From: jjfeiler@diga (John Jay Feiler) Newsgroups: comp.sys.next.programmer Subject: Generating bitmaps from postscript files Date: 3 Jul 1995 16:17:23 GMT Organization: Seanet Online Services, Seattle WA Message-ID: <3t956j$hfi@kaleka.seanet.com> Hi all: I need an easy way to generate images from postscript files. I figured that I could use the pstopnm program that's part of netpbm, but it requires ghostscript. I've compiled ghostscript 2.6.2, and it works like a champ, but I can't seem to get it to recognize the fonts I have installed. Does anyone know how to do either of the following: (1) get ghostscript to recognize the fonts I already have installed, or (2) get pft to work with the ps2ppm.ps file that's included with the ghostscript distribution? Thanks in advance.... John
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Sun, 2 Jul 95 18:27:40 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9507021627.AA03484@flexus> Subject: Re: HOW TO SET A DELEGATE USING DISTRIBUTED OBJECTS? I wrote: > The reason is that delegation (NeXT's use of this term, > which is quite distinct from delegation in a language > like Self where it replaces inheritance itself) is quite > crude Forget ``crude''. There are limitations, of course; Foundation Kit notifications are the way to go, IMHO. Seems all the good things in computing are slower... :-) Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: gshaw@zeta.org.au (Greg Shaw) Newsgroups: comp.sys.next.programmer Subject: Adding serial number and Auth codes to my software Date: 4 Jul 1995 13:21:16 +1000 Organization: Kralizec Dialup Unix Sydney, +61-2-837-1183 V.32bis Message-ID: <3tac3c$6ou@godzilla.zeta.org.au> I have written some commercial software on NS/FIP and am now faced with the need to add Auth codes to it. The intent is to control how many users can use the system at a time. In its simplest form what I am looking for a mechanism for entering an encoded serial/Authority code that recognises the number of users that the code is for. Actually controlling the number of users in the system is another issue. Does anyone have the source code to one of these Auth code encryption schemes or are they written from scratch each time?? Any help or pointers would be appreciated. C Cheers, Greg Shaw.
From: samurai@maggie.cs.mcgill.ca (Darcy BROCKBANK) Newsgroups: comp.sys.next.programmer Subject: Re: Help: A TEXT object with RTF in Color background Date: 04 Jul 1995 13:22:41 GMT Organization: School of Computer Science, McGill Univ. Message-ID: <SAMURAI.95Jul4092241@maggie.cs.mcgill.ca> References: <3tbair$7ee@nyheter.chalmers.se> In-reply-to: nazari@hegel3.cs.chalmers.se.u.cs.chalmers.se's message of 4 Jul 1995 12:01:31 GMT <nazari@hegel3.cs.chalmers.se.u.cs.chalmers.se> writes: >Hi >In an application I use a Text object. The text is in RTF >and everything works well. I can change the background >color using Preferences in the menu. Then I can not see the >selection in my Text if I select a part. I can copy the >selection ,so it is there but I can not paint it and see >it. I can not find any method in the Text object to handel >this problem. How can I decide the color of selection and >show it? It is a shameful, shameful, shameful bug in the Text object. NeXT never programmed it for color, and any color support in it is a graceless hack. Will they ever fix it? Depends on whether or not it generates a new 1000 seat order or not for MCCA seats. I'll bet on Sun's working right though. - db -- You smell of corduroy and lemon drops. -- Veruca Salt -- Baldric, you wouldn't see a subtle plan if it painted itself purple and danced naked on top of a harpsichord singing, "Subtle Plans Are Here Again" -- Atkinson -- The Lord loves a hanging, that's why he gave us necks! -- Hoek and Cat --
From: stefan@rubc.rz.ruhr-uni-bochum.de (Stefan Bohringer) Newsgroups: comp.sys.next.programmer Subject: Optimizing ObjC Date: 4 Jul 1995 11:26:16 -0500 Organization: UTexas Mail-to-News Gateway Sender: nobody@cs.utexas.edu Message-ID: <9507041628.AA00323@localhost> I have seen somebody posting about this topic, but unfortunately I haven't caught his email then. So I post my proposal here; sorry for this pollution. Since ObjC does a objc_msgSend call for each message sent and goes through a lookup loop ("virtually as quick as a C-call would be" ;-) there is some overhead. Look at the output of the program - added to the end of the article for those who want to reproduce (NeXTStation mono -O2): Seconds elapsed:1.640625 Seconds elapsed:1.640625 Seconds elapsed:1.625000 Seconds elapsed:0.625000 The first 3 are ObjC the last is C. A factor of something above 2.5 seems not bad even since further subclassing is cached effectivly (1st compared with the 2nd). But if you really build the Data Model of your application on ObjC (for which EOF is an example) this effectivly means that messages will dominate function calls even in computational tasks. So how to improv? Another jumptable may help. For each message call with a !static! selector (which dominates at 99.53% from my totally arbitrary assumption) an entry in the jumptable would contain the receiving object's id and the address of the method machine code (as obtained by methodFor:). Then the assembly (m68k) could look like this (yielding performance like C++-virtual functions: ; assumed things are right on the stack lea jmptableaddr,a0 ; jmptableaddr points at a the entry ; of the jumptable corresponding to ; this message (a0) is the object ; (4,a0) is the method's address cmp (sp),(a0) ; (sp) is the receiving object beq jumpAway ; has the object changed? pea (a0) jsr correctJmpTable addq #4,sp lea jmptableaddr,a0 ; a0 may be destructed jumpAway: jsr ([4,a0],X0,0) ; we can directly call the code now ; (where X0 is the dummy register) retAddress: ; things go their way ... correctJmpTable: ; this occures only once in the ; program ; find_out_new_method_address something similar objc_msgSend rts This should not require many changes to gcc and should be fully architecture independend. However codesize would increase here by 26 bytes a message plus 8 bytes for lookup. - Stefan ------------------------------------------------------------------- // ObjCbench.m //Wed Jun 28 21:29:57 MET DST 1995 #import <appkit/appkit.h> #define benchStart(strt) ( (strt)=clock() ) #define benchStop(strt) ( (clock()-(strt))/(float)CLK_TCK ) #define LOOP_CNT 800000 @interface SomeObject : Object { } - called; - caller; @end @implementation SomeObject - caller { int i; for (i=LOOP_CNT; --i>=0; ) [self called]; return self; } - called { return self; } @end @interface SomeOtherObject : SomeObject { } @end @implementation SomeOtherObject @end @interface SomeVeryObject : SomeOtherObject { } @end @implementation SomeVeryObject @end void called(void) {} void caller(void) { int i; for (i=LOOP_CNT; --i>=0; ) called(); } void main(void) { clock_t strt; SomeObject *probandA=[[SomeObject alloc] init]; SomeOtherObject *probandB=[[SomeOtherObject alloc] init]; SomeVeryObject *probandC=[[SomeVeryObject alloc] init]; benchStart(strt); [probandA caller]; printf("Seconds elapsed:%f\n",benchStop(strt)); benchStart(strt); [probandB caller]; printf("Seconds elapsed:%f\n",benchStop(strt)); benchStart(strt); [probandC caller]; printf("Seconds elapsed:%f\n",benchStop(strt)); benchStart(strt); caller(); printf("Seconds elapsed:%f\n",benchStop(strt)); exit(0); }
From: dcell@tudhope.com (Dan Ellison) Newsgroups: comp.sys.next.programmer Subject: PLEA: Help with 'performv' Date: Sun, 02 Jul 1995 14:22:48 -0400 Organization: Tudhope Associates Inc. Distribution: world Message-ID: <dcell-0207951422480001@tudhope.tor.hookup.net> A simple question, I hope: Does 'performv' give an object a chance to forward a message? It doesn't appear so... I want to be able to add methods to Application without the restrictions of a category or '+poseAs' (i.e. no new instance variables). Actually, what I REALLY want is a global object (like NXApp). I know this goes against all OO tenets, but it seems to be an extremely efficient way to implement a custom preferences function without having to pass around a prefs object ad nauseum. If there's a simple way to do this, I would ask that someone enlighten me. Otherwise, though I may be waaaaaaay off, here's my approach: I have defined a category of Application that consists only of a forward method. This method forwards messages it can't handle to Application's delegate (my code). To avoid having to put all preference functionality in my main class (the one that handles menu choices, etc.), I have it forward *those* messages to my Preferences object. Ok. All fine and good. Everything trundles along properly, everyone responds properly to respondsTo. Everyone's happy... until NXApp (in the Forward category I defined) sends a performv to my code. An error results, because my code can't actually respond to the message. I was counting on being able to forward the message to my preferences object, but 'forward' is never executed. The error results instead. I could just put all the preferences methods in my main class and all would be well with the world... but that's admitting defeat. I want it to work the way I want it to work, dammit! If anyone has any ideas, or can tell me of a better way of handling the situation (and please don't say "use NXDefaults" - I don't like that mechanism) please let me know either here or in Email (dcell@tudhope.com). Thanks in advance! ------------------------------------------------- Daniel C. Ellison Vox: 416-366-7100 Tudhope Associates Inc. Fax: 416-366-7711 International Graphic Design dcell@tudhope.com -------------------------------------------------
From: hannes@ping.at (Hannes Tiefenbrunner) Newsgroups: comp.sys.next.programmer Subject: Cyclic references in retain/release-mechanism Date: 4 Jul 1995 19:41:27 GMT Organization: TELECOM Network Provider, Austria Distribution: world Message-ID: <3tc5h7$286@pina1.telecom.at> Keywords: retain reference release allocate Originator: hannes@s156.ping.at I haven't been watching this list for a while - so if I'm asking already heavy discussed stuff, please be patient...: Has anybody the slightest idea of how NeXT is going to deal with the problem of cyclic references in their reference-counting mechanism in OpenStep (retain/release)? ----- if this is stuff from yesterday stop reading here... A short outline of the situation: - A new document is to be created in a standard OpenStep-app - An instance of class 'DocumentController' gets allocated - The object that allocated it (e.g. NXApp) holds _one_ reference to this DocumentController - The DocumentControllers nib-file gets loaded - DocumentController has an outlet 'window' which gets set to reference a window loaded from the nib-file - The window references (over some subviews) a button - This button has an outlet 'target' which gets set to reference the DocumentController Question: Does the button have to retain the DocumentController? Actually it has an instance variable of type id pointing to it, so it would have to retain it. But if it does, the DocumentController is then referenced by _two_ objects! If the object (e.g. NXApp) who allocated him, releases him, he won't be deallocated and the whole chain DocumentController->Window->..views..->Button is hanging in the air. So how is the programmer supposed to know, if he may/has_to retain an object to which he holds a reference (has a variable of type id pointing to it)? ____________________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred, MIME ok) -- ____________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred)
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: PLEA: Help with 'performv' Date: 4 Jul 1995 22:08:34 GMT Organization: The SenseMedia Network, http://sensemedia.net/, info@sensemedia.net Distribution: world Message-ID: <3tce52$6g3@emerald.oz.net> References: <dcell-0207951422480001@tudhope.tor.hookup.net> In article <dcell-0207951422480001@tudhope.tor.hookup.net> dcell@tudhope.com (Dan Ellison) writes: > I want to be able to add methods to Application without the restrictions > of a category or '+poseAs' (i.e. no new instance variables). Actually, > what I REALLY want is a global object (like NXApp). I know this goes > against all OO tenets, but it seems to be an extremely efficient way to > implement a custom preferences function without having to pass around a > prefs object ad nauseum. If there's a simple way to do this, I would ask > that someone enlighten me. > Well, you could define a Preferences class and design it to create a single shared instance similar to OpenPanel. E.g., you define a local global variable (a.k.a., an Objective-C class variable :-) in your Preferences class that points to the shared instance: sharedInstance. Define a class method named "sharedInstance". If sharedInstance is nil when sharedInstance is invoked, a new Preferences object is allocated, initialized, and assigned to sharedInstance. sharedInstance is returned. Using this approach, you can always access your Preferences instance without using a global variable of your own (of course, class names are global variables in a sense): #import "Preferences.h" Preferences *preferences = [Preferences sharedInstance]; --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice: +1 408 335 1154 Trego Systems Fax: +1 408 335 2515 CaseServ: NEXTSTEP managed care USmail: Felton, CA 95018-9442 contract and case management solutions
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: Cyclic references in retain/release-mechanism Message-ID: <DB824p.B65@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <3tccjk$5th@emerald.oz.net> Date: Wed, 5 Jul 1995 02:41:13 GMT Art Isbell writes > Unfortunately, it seems to be up to the programmer to avoid creating > cyclic references. This seems like a pretty difficult task to do without > error. So far, you're right on the money. > But these sorts of bugs aren't app-crashers, so it could be worse. Don't be so sure, having unretained references can easily cause objects to be deallocated while other objects still have dangling references to their old addresses. If those references are ever dereferenced, it can crash an app instantly. > If the new memory-management scheme reduces memory leaks overall (even if > it makes creating a few because of cyclic references), I guess it should > be judged an improvement over the old way where each memory allocation had > to be managed by the programmer. I agree its an improvement, but still not a particularly well documented one. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: nazari@hegel3.cs.chalmers.se.u.cs.chalmers.se (Nader Nazari,5415) Newsgroups: comp.sys.next.programmer Subject: Help: A TEXT object with RTF in Color background Date: 4 Jul 1995 12:01:31 GMT Organization: Chalmers University of Technology Message-ID: <3tbair$7ee@nyheter.chalmers.se> Hi In an application I use a Text object. The text is in RTF and everything works well. I can change the background color using Preferences in the menu. Then I can not see the selection in my Text if I select a part. I can copy the selection ,so it is there but I can not paint it and see it. I can not find any method in the Text object to handel this problem. How can I decide the color of selection and show it? Please help me. Nader <nazari.cs.chalmers.se>
Newsgroups: comp.sys.next.programmer From: csaldanh@mae.carleton.ca (Chris Saldanha) Subject: Object-tree or directory-tree objects? Message-ID: <DB8xrF.38K@cunews.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: Carleton University Date: Wed, 5 Jul 1995 14:04:27 GMT Does anyone know of a free or public domain tree object that will store objects in the nodes of the tree? There is a MiscTree, but it only stores MiscString objects. My primary reason for wanting this is to store detailed directory and file information to model a real directory structure. If such a beast doesn't exist, I will write one; I'd rather not re-invent the wheel, though. --Chris Chris Saldanha, Software Analyst -------------------------------------- computerActive, Inc |"The telephone was not invented by | chris@computerActive.on.ca (NeXTMail) | Alexander Graham Unitel" -Bell Ad | http://www.mae.carleton.ca/~csaldanh --------------------------------------
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Cyclic references in retain/release-mechanism Date: 5 Jul 1995 15:17:47 GMT Organization: The SenseMedia Network, http://sensemedia.net/, info@sensemedia.net Distribution: world Message-ID: <3teaer$jg@emerald.oz.net> References: <DB824p.B65@genoa.com> In article <DB824p.B65@genoa.com> alex@genoa.com (Alex Blakemore) writes: > Art Isbell writes > > But these sorts of bugs aren't app-crashers, so it could be worse. > Don't be so sure, having unretained references can easily cause objects to be > deallocated while other objects still have dangling references to their old > addresses. If those references are ever dereferenced, it can crash an app > instantly. Although this whole issue of cyclic references is tricky, I don't believe that the creation of cyclic references can result in unretained references that could be deallocated. The problem is just the opposite: objects involved in cyclic references can't be deallocated but their pointer variables are usually gone resulting in memory leaks. Please correct me if I'm wrong. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice: +1 408 335 1154 Trego Systems Fax: +1 408 335 2515 CaseServ: NEXTSTEP managed care USmail: Felton, CA 95018-9442 contract and case management solutions
From: peter@bert (Peter) Newsgroups: comp.sys.next.programmer Subject: [Application unloadNibFile: . . .] ??? Date: 5 Jul 1995 02:12:56 GMT Organization: University of Prince Edward Island, Charlottetown, PEI Canada Message-ID: <3tcsf8$7gn@atlas.cs.upei.ca> Is there any simple way to unload all of the objects loaded by a NIB file when the owner is deallocated? Is this done automagically, or can it be done at all? In my program, many objects have there own NIB files. These provide inspectors, miscellaneous panels and supporting objects. When I no longer need an object, I would like to be able to free the whole shebang with one simple message. I have hunted through all the documentation, but I can't find any reference to freeing NIBs. Peter -- Peter 'Beaker' Burka / GCS d--- h---- s+ g+ p? au a- w+ v++ C++ UL++++/X+++/ Prince Edward Island \ O++ P+ L+>++ 3 N++ K++ W++/--- M- V-\ po-- Y+ t+ 5- pburka@upei.ca / v b+++ D++ b- e+(*) u--- h* f- r- n- y-@ j++ r-- "If only we were weiner dogs our problems would be all solved"
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: PLEA: Help with 'performv' Message-ID: <zazulaDB94DH.DG6@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <dcell-0207951422480001@tudhope.tor.hookup.net> Date: Wed, 5 Jul 1995 16:27:14 GMT Sender: zazula@netcom.netcom.com In article <dcell-0207951422480001@tudhope.tor.hookup.net> dcell@tudhope.com writes: >A simple question, I hope: Does 'performv' give an object a chance to >forward a message? It doesn't appear so... > >I want to be able to add methods to Application without the restrictions >of a category or '+poseAs' (i.e. no new instance variables). Actually, >what I REALLY want is a global object (like NXApp). I know this goes >against all OO tenets, but it seems to be an extremely efficient way to >implement a custom preferences function without having to pass around a >prefs object ad nauseum. If there's a simple way to do this, I would ask >that someone enlighten me. Otherwise, though I may be waaaaaaay off, >here's my approach: > Why not define a "well-known" method to access the Preferences object and use that to access it? You can do something like: - preferencesObject { return _preferencesObject; } in NXApp's delegate, and always have access to it via: id prefsObject = [[NXApp delegate] preferencesObject]; You have the added advantage of being able to lazily create the object in the delegate, i.e.,: - preferencesObject { if(!_preferencesObject) { _preferencesObject = [[Preferences alloc] init]; } return _preferencesObject; } This gives you a globally accessible Preferences object without having to maintain a pointer to the instance everywhere you want to refer to it. Ralph --- Ralph Zazula zazula@netcom.com
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: PLEA: Help with 'performv' Message-ID: <zazulaDB94J7.E3s@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <dcell-0207951422480001@tudhope.tor.hookup.net> <3tce52$6g3@emerald.oz.net> Date: Wed, 5 Jul 1995 16:30:42 GMT Sender: zazula@netcom.netcom.com In article <3tce52$6g3@emerald.oz.net> art@cubicsol.com (Art Isbell) writes: >In article <dcell-0207951422480001@tudhope.tor.hookup.net> >dcell@tudhope.com (Dan Ellison) writes: >> I want to be able to add methods to Application without the restrictions >> of a category or '+poseAs' (i.e. no new instance variables). Actually, >> what I REALLY want is a global object (like NXApp). I know this goes [...] >> > Well, you could define a Preferences class and design it to create a >single shared instance similar to OpenPanel. E.g., you define a local >global variable (a.k.a., an Objective-C class variable :-) in your >Preferences class that points to the shared instance: sharedInstance. [...] This is an equally good, probably more elegant, solution (to the NXApp delegate method) as long as you are aware of the issues with shared instances and subclassing (a discussion that appeared here a while back...). Ralph --- Ralph Zazula zazula@netcom.com
Newsgroups: comp.sys.next.programmer From: weiyao@ipswichcity.qld.gov.au Subject: Game programming Message-ID: <DB960u.9pr@ipswichcity.qld.gov.au> Date: Wed, 5 Jul 1995 17:02:54 GMT Organization: Global Infolinks Internet Server, Ipswich Qld Australia we know, ID software using NeXTSTEP to creat the new age of the 3D games world. however, i just so interesting about, how do them develop a DOS game under NeXTSTEP environment?? in the other hand, if u can using those helpful environment under NeXTSTEP to creat DOS/WINDOWS/OS2 program, wouldn't they be wounderful! ^_^
From: dcell@tudhope.com (Dan Ellison) Newsgroups: comp.sys.next.programmer Subject: Re: PLEA: Help with 'performv' Date: Wed, 05 Jul 1995 14:32:12 -0400 Organization: Tudhope Associates Inc. Distribution: world Message-ID: <dcell-0507951432120001@tudhope.tor.hookup.net> References: <dcell-0207951422480001@tudhope.tor.hookup.net> <3tce52$6g3@emerald.oz.net> In article <3tce52$6g3@emerald.oz.net>, art@cubicsol.com (Art Isbell) wrote: > In article <dcell-0207951422480001@tudhope.tor.hookup.net> > dcell@tudhope.com (Dan Ellison) writes: > > I want to be able to add methods to Application without the restrictions > > of a category or '+poseAs' (i.e. no new instance variables). Actually, > > what I REALLY want is a global object (like NXApp). I know this goes > > against all OO tenets, but it seems to be an extremely efficient way to > > implement a custom preferences function without having to pass around a > > prefs object ad nauseum. If there's a simple way to do this, I would ask > > that someone enlighten me. > > > Well, you could define a Preferences class and design it to create a > single shared instance similar to OpenPanel. E.g., you define a local > global variable (a.k.a., an Objective-C class variable :-) in your > Preferences class that points to the shared instance: sharedInstance. > Define a class method named "sharedInstance". If sharedInstance is nil > when sharedInstance is invoked, a new Preferences object is allocated, > initialized, and assigned to sharedInstance. sharedInstance is returned. > > Using this approach, you can always access your Preferences instance > without using a global variable of your own (of course, class names are > global variables in a sense): > > #import "Preferences.h" > > Preferences *preferences = [Preferences sharedInstance]; Thanks for the help, Art! Also, Thanks to Scott Hess and Allan Noordvyk for your Email responses. Putting all the ideas together, I decided to do the following: I did define the category of Application that consists only of a forward method. In this category I defined a local global variable similar to what Art (and Allan) outlined: "static Preferences *prefs = nil;". When this forward method is first invoked, it checks to see if the 'prefs' variable is nil, allocating and initializing as necessary. It then forwards the unknown message to 'prefs' - if it can handle it, of course. This works quite well, actually. Because it's being initialized from the forward method, it's completely transparent to my application. It's as if NXApp has gained a complete preferences functionality - without the restrictions of a category or '+poseAs'. I just have to be careful that all my method names are unique to my class. The only catch is that the prefs object must be specifically freed by my application. Because Application already has a 'free' method, it never gets forwarded to my prefs object. No big deal, but if there's a way around that, please let me know. Again, thanks for the help! ------------------------------------------------- Daniel C. Ellison Vox: 416-366-7100 Tudhope Associates Inc. Fax: 416-366-7711 International Graphic Design dcell@tudhope.com -------------------------------------------------
From: tbm@tci002.uibk.ac.at (Martin Michlmayr) Newsgroups: comp.sys.next.programmer Subject: Re: Game programming Date: 6 Jul 1995 10:11:22 GMT Organization: Dept. of Computer Science, University of Salzburg Distribution: world Message-ID: <3tgcsa$c20@esel.cosy.sbg.ac.at> References: <DB960u.9pr@ipswichcity.qld.gov.au> weiyao@ipswichcity.qld.gov.au wrote: / in the other hand, if u can using those helpful environment under / NeXTSTEP to creat DOS/WINDOWS/OS2 program, wouldn't they be wounderful! ^_^ OpenStep from NeXT will be available on Windows 95 and Windows NT. OpenStep from GNUStep will be available on OS/2 WARP. Microsoft says DOS will be dead when Windows 95 comes out. So, what do you want more ? ;-) -- Martin Michlmayr | tbm@tci002.uibk.ac.at | tbm@gnu.ai.mit.edu GNUStep Volunteer Coordinator, http://fvkma.tu-graz.ac.at/gnustep/index.html
From: hannes@ping.at (Hannes Tiefenbrunner) Newsgroups: comp.sys.next.programmer Subject: Re: [Application unloadNibFile: . . .] ??? Date: 6 Jul 1995 10:08:33 GMT Organization: TELECOM Network Provider, Austria Distribution: world Message-ID: <3tgcn1$l5l@pina1.telecom.at> References: <3tcsf8$7gn@atlas.cs.upei.ca> Keywords: files-owner NIB free Originator: hannes@s156.ping.at In article <3tcsf8$7gn@atlas.cs.upei.ca> peter@bert (Peter) writes: # Is there any simple way to unload all of the objects loaded by a NIB file when the owner is # deallocated? Is this done automagically, or can it be done at all? # # In my program, many objects have there own NIB files. These provide inspectors, # miscellaneous panels and supporting objects. When I no longer need an object, I would # like to be able to free the whole shebang with one simple message. # # I have hunted through all the documentation, but I can't find any reference to freeing # NIBs. # Usually the files-owner should have access to all objects in the NIB-file directly or indirectly over one of it's instance variables. If this is the case, freeing the files-owner should automatically free all objects included in the NIB-file. An example: 4 objects in the NIB-file-window: files-owner a document window instance of FooInspector an inspector panel The files-owner should have an outlet to the document window _and_ the FooInspector instance. The FooInspector instance should have an outlet to the inspector panel. In the -free method of the files-owner, there should also be sent a -free message to the document window _and_ the inspector, which should then also free the inspector panel. As -free of Window also frees its content view and all its subviews there shouldn't be anything left then (unless you're using OpenStep an have a cyclic reference problem :-) Hope it helps. ______________________________________ Hannes Tiefenbrunner hannes@ping.at - NeXTMail, MIME, ASCII -- ____________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred)
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: Cyclic references in retain/release-mechanism Message-ID: <DB9xB5.C5q@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <3teaer$jg@emerald.oz.net> Date: Thu, 6 Jul 1995 02:52:17 GMT Art Isbell writes > Although this whole issue of cyclic references is tricky, I don't > believe that the creation of cyclic references can result in unretained > references that could be deallocated. The problem is just the opposite: > objects involved in cyclic references can't be deallocated but their > pointer variables are usually gone resulting in memory leaks. > > Please correct me if I'm wrong. You're right with what you said. What I meant to say was that programmers are forced to rely on less safe mechanisms if they need to reclaim memory, such as not retaining some references in order to prevent cycles. Though manageable in certain circumstances, having unretained references can lead to crashes. Since the alternative may be a (minor or major) memory leak, we may be forced into that situation -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: [Application unloadNibFile: . . .] ??? Message-ID: <DB9xp1.C6J@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <3tcsf8$7gn@atlas.cs.upei.ca> Date: Thu, 6 Jul 1995 03:00:37 GMT Peter writes > Is there any simple way to unload all of the objects loaded by a NIB file > when the owner is deallocated? nibs are just containers that store archived objects. Thinking of loading a nib as roughly a shortcut for allocing, initing and configuring a network of objects. Except for a few extra messages sent during the unarchiving process, the end result is the same as if you created the network of objects by custom objC code. From this point of view, you should use the same techniques for releasing all or part of a network of objectss that you use with any objects. The fact that the objects were unarchived from a nib rather allocated and initialized isn't really relevant when it comes time to destroy them. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: dcell@tudhope.com (Dan Ellison) Newsgroups: comp.sys.next.programmer Subject: Re: PLEA: Help with 'performv' Date: Thu, 06 Jul 1995 11:19:46 -0400 Organization: Tudhope Associates Inc. Distribution: world Message-ID: <dcell-0607951119460001@tudhope.tor.hookup.net> References: <dcell-0207951422480001@tudhope.tor.hookup.net> <3tce52$6g3@emerald.oz.net> <zazulaDB94J7.E3s@netcom.com> In article <zazulaDB94J7.E3s@netcom.com>, zazula@netcom.com (Ralph Zazula) wrote: > In article <3tce52$6g3@emerald.oz.net> art@cubicsol.com (Art Isbell) writes: > >In article <dcell-0207951422480001@tudhope.tor.hookup.net> > >dcell@tudhope.com (Dan Ellison) writes: > >> I want to be able to add methods to Application without the restrictions > >> of a category or '+poseAs' (i.e. no new instance variables). Actually, > >> what I REALLY want is a global object (like NXApp). I know this goes > [...] > >> > > Well, you could define a Preferences class and design it to create a > >single shared instance similar to OpenPanel. E.g., you define a local > >global variable (a.k.a., an Objective-C class variable :-) in your > >Preferences class that points to the shared instance: sharedInstance. > [...] > > This is an equally good, probably more elegant, solution (to the > NXApp delegate method) as long as you are aware of the issues with > shared instances and subclassing (a discussion that appeared here > a while back...). > > Ralph Actually, the solution I used (see my message <dcell-0507951432120001@tudhope.tor.hookup.net>) seems to avoid the shared instance problem. If I'm wrong please let me know; I didn't see the discussion that appeared here a while back. I am having a discussion in Email with Robert Nicholson <robert.nicholson@mccaw.com> about using my method as opposed to subclassing Application (this having the advantage of retaining the super function). I see a few advantages to my method over subclassing. First, it requires less effort on the programmer's part to use the module. No extra steps are necessary in Interface Builder. This is much better when you consider object reusability. Second, it's relatively transparent to the programmer. NXApp simply gains preferences functionality. Third (and this may be somewhat controversial in OO circles), my method could conceivably be expanded to provide a kind of clearing-house for global objects. The category of Application could initialize any number of objects, then offer messages to them in turn. How does this last point fit in with OO concepts? Does it break any rules? Is it defeating the purpose of OO programming? It just seems to make certain things considerably easier and more elegant. Thoughts, anyone? ------------------------------------------------- Daniel C. Ellison Vox: 416-366-7100 Tudhope Associates Inc. Fax: 416-366-7711 International Graphic Design dcell@tudhope.com -------------------------------------------------
From: vfr@ubszh.net.ch (Tim Vetter) Newsgroups: comp.sys.next.programmer Subject: W: 3-D Graphing Objects Date: 6 Jul 1995 14:47:02 GMT Organization: Union Bank of Switzerland Message-ID: <3tgt16$q28@ubszh.fh.zh.ubs.com> Anyone aware of commercial or PD 3-D graphing objects? I am using OTI's GraphPalettes happily for my 2-D work but I am now forced to leave Flatland ... any pointers? -- Tim Vetter vfr@ubszh.net.ch (ASCII, MIME, NeXTMail) Forex & Fixed Income Trading Development, Union Bank of Switzerland voice: (+41) 1/2357921 fax: (+41) 1/2368392 snailmail: LEIT/LITH-VFR Postfach 8021 Zurich, Switzerland
From: shess@subzero.winternet.com (Scott Hess) Newsgroups: comp.sys.next.programmer Subject: Re: PLEA: Help with 'performv' Date: 06 Jul 1995 19:50:40 GMT Organization: Is a sign of weakness Distribution: world Message-ID: <SHESS.95Jul6145040@subzero.winternet.com> References: <dcell-0207951422480001@tudhope.tor.hookup.net> <3tce52$6g3@emerald.oz.net> <zazulaDB94J7.E3s@netcom.com> <dcell-0607951119460001@tudhope.tor.hookup.net> In-reply-to: dcell@tudhope.com's message of Thu, 06 Jul 1995 11:19:46 -0400 In article <dcell-0607951119460001@tudhope.tor.hookup.net>, dcell@tudhope.com (Dan Ellison) writes: [Regarding use of -forward:: and -performv:: to add certain] [preferences-oriented methods to NXApp.] >Third (and this may be somewhat controversial in OO circles), my >method could conceivably be expanded to provide a kind of >clearing-house for global objects. The category of Application >could initialize any number of objects, then offer messages to >them in turn. > >How does this last point fit in with OO concepts? Does it break >any rules? Is it defeating the purpose of OO programming? It just >seems to make certain things considerably easier and more elegant. I've no idea how to take it from an "OO" point of view. I would argue against your idea more because it breaks "The rule of least surprise/confusion". Saying: [[NXApp delegate] doSomething]; or [[Preferences sharedInstance] doSomething]; is much more clear than: [NXApp doSomething]; My reasoning is that the NeXTSTEP programmer with a reasonable amount of experience is going to see this and say "Hmm, I didn't know Application implemented -doSomething", at which point they'll have to go off and look up where the functionality resides. There's your confusion. In the first two instances, it is self-evident where the functionality is implemented. On the surprise side, what if two of these things which latch onto NXApp somehow manage to use the same method? Then one of them may no longer work, and it is unlikely to be obvious to the programmer _why_. There's your surprise. In any case, the whole idea goes against a practical rule I've developed over the past couple years, which is "Say what you mean, and mean what you say." A very simple example of this is something like: id obj=[self getObject]; if( obj) { [obj doSomething]; } The code "if( obj)" is _really_ a shorthand for "if( obj!=nil)". What the programmer really meant was "if( obj!=nil)", so my argument is that that's what the programmer should have said in the first place. Drawing that out to the presented example, "[NXApp doSomething]" is _really_ a shorthand for "[[NXApp findSomeoneToDo:@selector( doSomething)] doSomething]". In other words, it's certainly a slick trick, but are you going to remember how it worked in 3 (6, 9, 12, 24) months? After working on 2 (4, 6, 12) other projects? Later, -- scott hess <shess@winternet.com> (WWW to "http://www.winternet.com/~shess/") Home: 12901 Upton Avenue South, #326 Burnsville, MN 55337 (612) 895-1208 Office: 101 W. Burnsville Pkwy, Suite 108F, Burnsville, MN 55337 890-1332 <?If you haven't the time to design, where will you find the time to debug?>
From: df@watershed.com (Dirk P. Fromhein) Newsgroups: comp.sys.next.programmer Subject: gdb 4.14 ? Date: 6 Jul 1995 02:23:56 GMT Organization: UltraNet Communications, Inc. Message-ID: <3tfhfs$1hf@caesar.ultra.net> I just finished compiling gcc 2.7 and libg++ for NeXTSTEP, but I can't seem to get gdb 4.14 to compile at all. Has anyone done this? Thanks, -- Dirk Fromhein df@watershed.com Dirk.P.Fromhein@Fmr.com Watershed Technologies, Inc. ---
From: Seth Andrew Covitz <sc67+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Disassembler for NeXTStep(Intel) Date: Fri, 7 Jul 1995 09:21:40 -0400 Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA Message-ID: <IjzHHYi00YUt44FEto@andrew.cmu.edu> Does anyone know of a Disassembler for the Intel version of NeXTStep 3.3? -Seth
From: jlsabou@uranus (Jean Luc Sabourin) Newsgroups: comp.sys.next.programmer Subject: EOF Date: 7 Jul 1995 15:03:33 GMT Organization: Universite de La Rochelle Message-ID: <3tjic5$f0a@hpuniv.univ-lr.fr> can you say how perform a stored procedure (ORACLE 7) from EOF?
From: etienne@venus.univ-lr.fr (Etienne Gourdon) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: How to call an ORACLE stored procedure from EOF ? Date: 7 Jul 1995 15:38:44 GMT Organization: Universite de La Rochelle Message-ID: <3tjke4$fbl@hpuniv.univ-lr.fr> For one of my collegues , Is it possible to call an ORACLE stored procedure from an EOF method ? With EOAdaptorChannel: evaluateExpression, we can call SQL statements but it doesn't works with a stored procedure. How can we do this, please... Thanks.
From: etienne@venus.univ-lr.fr (Etienne Gourdon) Newsgroups: comp.sys.next.programmer Subject: How to call an ORACLE stored procedure from EOF ? Date: 7 Jul 1995 15:41:12 GMT Organization: Universite de La Rochelle Message-ID: <3tjkio$fd5@hpuniv.univ-lr.fr> For one of my collegues , Is it possible to call an ORACLE stored procedure from an EOF method ? With EOAdaptorChannel: evaluateExpression, we can call SQL statements but it doesn't works with a stored procedure. How can we do this, please... Thanks.
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: NSCoder & function pointer Date: 7 Jul 1995 14:28:46 GMT Organization: University of Heidelberg, Germany Message-ID: <3tjgau$3u1@sun0.urz.uni-heidelberg.de> Hi OpenStepers, I have the following declaration: typedef void (*ST_ArgProc)(char **argument); and a class: @interface MyClass:NSObject { .... ST_ArgProc helpHandler; .... } .... @end Is it possible to pass the helpHandler trough a NSCoder (initWithCoder and encodeWithCoder) and if yes, how? Thanks -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: rog@talisker.ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer Subject: finding TextField from Text delegate method ? Date: 7 Jul 1995 15:42:57 GMT Organization: The University of York, UK Distribution: world Message-ID: <3tjkm1$jde@mailer.york.ac.uk> sorry if this has been asked before, but... i have a window containing many TextFields, each of which has its textDelegate pointing to the same object. when this object receives a textDidChange:sender method, is it possible to determine which TextField object has been changed ? all i want is the TextField's tag! why do they make it so difficult to do this ? why doesn't TextField forward its delegate methods with a little bit more information - e.g. [textDelegate textDidChange:textobj inTextField:self] ? IMHO, all objects should support subclassing in IB in the same way that Window subclasses do. This would make an _enormous_ difference to the flexibility of IB! to summarise, what i want is something like : - textDidChange:sender { int sender_tag = [[sender sendingObject] tag]; .... cheers for any help, rog.
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: [Application unloadNibFile: . . .] ??? Date: 7 Jul 1995 16:23:00 GMT Organization: The SenseMedia Network, http://sensemedia.net/, info@sensemedia.net Distribution: world Message-ID: <3tjn14$570@emerald.oz.net> References: <1995Jul7.043722.15496@media.mit.edu> In article <1995Jul7.043722.15496@media.mit.edu> wave@media.mit.edu (Michael B. Johnson) writes: > It's true that nib files are just a way of storing objects. > Unfortunately, because there's no legal, supported way to find out > what objects are in a nib file, you can only free/manage objects which > have been connected up in the nib file to each other or the File's > owner. > Well, there is a legal, supported way to find out what objects are in a nib when in IB. The IBDocuments protocol getObjects: method will fill a list with all non-connector objects in the nib. Sending each object a legal, supported listConnectors:forDestination: message would show which objects aren't connected to any other nib object including the File's Owner. These connections become pointers to the object when a nib is loaded. So I would think that any object that doesn't have a connection to it in IB will end up as a memory leak when loaded (correct me if I've missed something obvious because I'm thinking off the top of my head :-) Implementing this test in the IBDocumentControllers protocol willSaveDocument: method will cause this test to be run whenever a nib is saved. I currently use a similar approach to check that all required connections in our complex nibs have been made, that they've been made to objects of the proper class, etc. I print warnings about missing or bad connections to a small text panel so that the nib builder can read them. It would be easy to flag objects that might become memory leaks so the nib builder can either remove them or connect some other object to them. This all could be implemented in a simple little palette whose IBPalette subclass is made a document controller. So even nibs not created by you could be run through this test to alert you about the possibility of rogue objects. So while there's lots of stuff about nibs that is undocumented, NeXT has provided quite a few peepholes into nibs from within IB via the various IB protocol methods. I encourage all nib builders to become familiar with these methods and take advantage of them whenever possible. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice: +1 408 335 1154 Trego Systems Fax: +1 408 335 2515 CaseServ: NEXTSTEP managed care USmail: Felton, CA 95018-9442 contract and case management solutions
From: caraher@eid.anl.gov (PJ Caraher) Newsgroups: comp.sys.next.programmer Subject: Re: finding TextField from Text delegate metho Date: 7 Jul 1995 18:06:24 GMT Organization: Argonne National Laboratory Distribution: world Message-ID: <3tjt30$o46@milo.mcs.anl.gov> References: <3tjkm1$jde@mailer.york.ac.uk> In article jde@mailer.york.ac.uk, rog@talisker.ohm.york.ac.uk (Roger Peppe) writes: >sorry if this has been asked before, but... > >i have a window containing many TextFields, each of which >has its textDelegate pointing to the same object. > >when this object receives a textDidChange:sender method, is it possible >to determine which TextField object has been changed ? > >all i want is the TextField's tag! why do they make it so difficult to do this ? >why doesn't TextField forward its delegate methods with a little bit >more information - e.g. [textDelegate textDidChange:textobj inTextField:self] ? >IMHO, all objects should support subclassing in IB in the same way that Window >subclasses do. This would make an _enormous_ difference to the flexibility of IB! > >to summarise, what i want is something like : > >- textDidChange:sender >{ > int sender_tag = [[sender sendingObject] tag]; > .... > > cheers for any help, > rog. Try: int sender_tag = [[sender superview] tag]; PJC --- | | | My name is NOT Dave Rhodes, but you can send me $1 anyway! | | |
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: PLEA: Help with 'performv' Message-ID: <zazulaDBBJKo.MD5@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <3tce52$6g3@emerald.oz.net> <zazulaDB94J7.E3s@netcom.com> <dcell-0607951119460001@tudhope.tor.hookup.net> Date: Thu, 6 Jul 1995 23:50:47 GMT Sender: zazula@netcom.netcom.com In article <dcell-0607951119460001@tudhope.tor.hookup.net> dcell@tudhope.com writes: > >Third (and this may be somewhat controversial in OO circles), my method >could conceivably be expanded to provide a kind of clearing-house for >global objects. The category of Application could initialize any number of >objects, then offer messages to them in turn. > >How does this last point fit in with OO concepts? Does it break any rules? >Is it defeating the purpose of OO programming? It just seems to make >certain things considerably easier and more elegant. > >Thoughts, anyone? > Hi - Yes, I did cringe a little at your glomming behavior on the beloved and sacred Application class :-) Here's something to think about - what if you want Preferences behavior in a non-appkit program (i.e., a command-line tool)? There is no NXApp in this case... Putting the behavior in the Preferences class (e.g, via a shared instance) makes the implementation very portable (it is embodied completely by the Preferences class itself). Adding it to some other class means it can only go along with that class. Ralph --- Ralph Zazula zazula@netcom.com
From: h.m.speyer@student.utwente.nl (Hans Speijer) Newsgroups: comp.sys.next.programmer Subject: Non-working compiler. Date: 7 Jul 1995 18:22:00 GMT Organization: Hio Enschede Message-ID: <3tju08$auu@driene.student.utwente.nl> To: All Hi all. I'm having troubles with installing NeXTSTEP Developer 3.2 from my Academic bundle. I don't know if the CD-ROM is corrupt or the CD-ROM player is malfunctioning but I get a checksum error on both the DeveloperLibs and the Developertools package. I copied all files from the CD-ROM to my harddisk and I FTP'd the latest cc. However I can't compile a single source. The error-message I get is: cc: Internal compiler error: program cpp-precomp got fatal signal 11 not found Any advice would be welcome. I have been waiting for 5 months to start with NeXTSTEP now. I am getting a little frustrated. (Non-certified hardware, no money, broken-down SCSI-Disks, the works...) Greetings, Hans Speijer
From: samurai@maggie.cs.mcgill.ca (Darcy BROCKBANK) Newsgroups: comp.sys.next.programmer Subject: Re: Game programming Date: 07 Jul 1995 17:31:04 GMT Organization: School of Computer Science, McGill Univ. Distribution: world Message-ID: <SAMURAI.95Jul7133104@maggie.cs.mcgill.ca> References: <DB960u.9pr@ipswichcity.qld.gov.au> <3tgcsa$c20@esel.cosy.sbg.ac.at> In-reply-to: tbm@tci002.uibk.ac.at's message of 6 Jul 1995 10:11:22 GMT <tbm@tci002.uibk.ac.at> writes: >weiyao@ipswichcity.qld.gov.au wrote: >/ in the other hand, if u can using those helpful environment under >/ NeXTSTEP to creat DOS/WINDOWS/OS2 program, wouldn't they be wounderful! ^_^ > OpenStep from NeXT will be available on Windows 95 and Windows NT. > OpenStep from GNUStep will be available on OS/2 WARP. > Microsoft says DOS will be dead when Windows 95 comes out. As long as games run much faster on DOS than Windows, DOS won't die. - db -- You smell of corduroy and lemon drops. -- Veruca Salt -- Baldric, you wouldn't see a subtle plan if it painted itself purple and danced naked on top of a harpsichord singing, "Subtle Plans Are Here Again" -- Atkinson -- The Lord loves a hanging, that's why he gave us necks! -- Hoek and Cat --
From: robertn@seahawk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: finding TextField from Text delegate method ? Date: 07 Jul 1995 19:33:34 GMT Organization: McCaw Cellular Communications, Inc. Distribution: world Message-ID: <ROBERTN.95Jul7123334@seahawk> References: <3tjkm1$jde@mailer.york.ac.uk> In-reply-to: rog@talisker.ohm.york.ac.uk's message of 7 Jul 1995 15:42:57 GMT In article <3tjkm1$jde@mailer.york.ac.uk> rog@talisker.ohm.york.ac.uk (Roger Peppe) writes: Path: nwestnews!nwfocus.wa.com!news.omnigroup.com!nwfocus1.wa.com!news.sprintlink.net!dish.news.pipex.net!pipex!warwick!yama.mcc.ac.uk!news.york.ac.uk!talisker!rog From: rog@talisker.ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer Date: 7 Jul 1995 15:42:57 GMT Organization: The University of York, UK Lines: 23 Distribution: world Reply-To: rog@ohm.york.ac.uk NNTP-Posting-Host: talisker.ohm.york.ac.uk X-Newsreader: TIN [version 1.2 PL2.1] sorry if this has been asked before, but... i have a window containing many TextFields, each of which has its textDelegate pointing to the same object. when this object receives a textDidChange:sender method, is it possible to determine which TextField object has been changed ? all i want is the TextField's tag! why do they make it so difficult to do this ? Wasn't I right before when I suggested that the "sender delegate" will point to the id of the textField? I thought the window's field editor's delegate was lazily set to the textfield.
From: robertn@calypso (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: finding TextField from Text delegate method ? Date: 07 Jul 1995 20:01:13 GMT Organization: McCaw Cellular Communications, Inc. Distribution: world Message-ID: <ROBERTN.95Jul7130113@calypso> References: <3tjkm1$jde@mailer.york.ac.uk> <ROBERTN.95Jul7123334@seahawk> <ROBERTN.95Jul7124825@calypso> In-reply-to: robertn@calypso's message of 07 Jul 1995 19:48:25 GMT In article <ROBERTN.95Jul7124825@calypso> robertn@calypso (Robert Nicholson) writes: Path: nwestnews!news-p!robertn From: robertn@calypso (Robert Nicholson) Newsgroups: comp.sys.next.programmer Date: 07 Jul 1995 19:48:25 GMT Organization: McCaw Cellular Communications, Inc. Lines: 12 Distribution: world References: <3tjkm1$jde@mailer.york.ac.uk> <ROBERTN.95Jul7123334@seahawk> NNTP-Posting-Host: calypso.nwest.mccaw.com In addition... Breakpoint 1, -[AppDelegate textDidChange:] (self=0xb239c, _cmd=0x61b2934, sender=Reading in symbols for appkit_globals.m...done. 0xb95bc) at AppDelegate.m:8 (gdb) p sender $1 = (struct Text *) 0xb95bc (gdb) p [sender delegate] $2 = 748772 (gdb) p (char *)[[[sender delegate] class] name] $3 = 0x619d08c "TextField" (gdb) Also, if you have a Form ie. a Matrix of TextField cells then the delegate will be set to the matrix and you can get the tag of the cell with... gdb) p [[[sender delegate] selectedCell] tag] $12 = 0 or just (gdb) p [[sender delegate] selectedTag] $13 = 0
Newsgroups: comp.sys.next.programmer From: "David Wetzel" <Dave@turbocat.snafu.de> Date: Thu, 06 Jul 95 19:27:56 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Sample printer driver for non-ps printers? Message-ID: <37730413@turbocat.snafu.de> Organization: Turbocat's Development, Germany Is there an printer driver available that enables one to print on non-postscript printers? NOTE: I do not mean the drivers that use GS to print postscript on such printers. The NeXT has buld-in PS but how do I bring that on an printer? _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Phone +49 33056 82151, Fax +49 33056 82152 (______) dave@turbocat.snafu.de
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de(Juergen Sell) Subject: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Message-ID: <DBCBwG.HI@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown Date: Fri, 7 Jul 1995 10:02:40 GMT I would like to know your most pressing arguments why you consider the combination of Obj-C plus IB a better development tool / implementation mechanism than the more traditional C or C++ together with whatever GUI-builder. What have you experienced can be done with one of those but not with the other? I am not interested in a mere theoretical apporach but would like to know about 'real life' experience with limitations you find/found inconveniently/unavoidably hazardous. Juergen --- Fon ++49 511 4406-88 NeXTMail welcome Fax ++49 511 4406-17 == What time do we live in when a wine's class matters more than its taste, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names?
From: jehu@jehu.async.vt.edu (john stanhope) Newsgroups: comp.sys.next.programmer Subject: Wanted pre alpha testers for smalltalk<->objective-c interface Date: 8 Jul 1995 00:36:44 GMT Organization: Virginia Tech, Blacksburg, Virginia Distribution: world Message-ID: <3tkjut$diu@solaris.cc.vt.edu> I have written some code to interface objective-c with the latest alpha of GNU smalltalk. This interface goes both ways, allowing smalltalk code to send message to objective-c objects and objective-c objects send messages to smalltalk objects. I won't go into the details by suffice it to say you can write NXBrowser delegate code like this browser: arg0 fillMatrix: arg1 inColumn: arg2 | sender matrix column cell selString selClass classes i sorted | matrix _ Matrix newWithId: arg1. sender _ NXBrowser newWithId: arg0. column _ arg2. (column == 0) ifTrue: [ matrix addRow. cell _ matrix cellAt: 0 anArg: 0. cell setStringValue: 'Object'. cell setLoaded: YES. cell setLeaf: NO. ^1.] ifFalse: [ " Do something else ..." ^i ]. ^0 And actually have it work. But there are a few caveats. o If you do certain things wroing it will crash for no apparent reason and you might need gdb to figure out what went wrong. o It doesn't seem to work on motorolla and I can't figure out why. Since I only have limited access to NeXT hardware I am hoping someone else will be willing to figure this out with my help. o Its never even seen sparc or hppa so I have no idea what would happen on those archs. If you're interested in seeing what I have so far email me and I will NeXTMAIL you the distribution along with some instructions. John
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <mt1!stwo@netcom.com> From: Dennis Warn <mt1!stwo@netcom.com> Message-ID: <9507072224.AA12645@mt1.mantech.com> Date: Fri, 7 Jul 95 15:24:44 -0700 Subject: TCP/IP: 0 socket returned from an Accept function I have a problem with the TCP/IP Accept function. Everything is executing great until an Accept sees a Connect from a client with good numbers and no error but the returned socket number is zero which is a non-socket. Server Client socket socket bind listen accept => <= connect The server assigns a port number to the client and knows the client's family and address. The client knows the server's port and address and thinks it has a good connection. The server receives a zero socket number from the accept which stops any further communication with the client. What is going on with the Accept that it would return a zero socket? Thanks for your time and answers. Dennis L. Warn
From: seanl@jujube.cs.umd.edu (Sean Luke) Newsgroups: comp.sys.next.programmer Subject: Re: TCP/IP: 0 socket returned from an Accept function Date: 8 Jul 1995 04:48:24 GMT Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Message-ID: <3tl2mo$a1m@mimsy.cs.umd.edu> References: <9507072224.AA12645@mt1.mantech.com> Dennis Warn (mt1!stwo@netcom.com) wrote: > I have a problem with the TCP/IP Accept function. Everything is executing great until >an Accept sees a Connect from a client with good numbers and no error but the returned >socket number is zero which is a non-socket. I've been using the following socket code (for the most part yanked out of TCP/IP and Network Programming, the bible for socket stuff). It works quite well under NS--if this code is giving bad answers back too, then it's probably not a programming thing you've done but some stupid OS thing. At any rate, it'd be the first place to check. Good luck. Your main() would run something along these lines: 1. Set global_server_port (an int) to the socket port you're using (7000-9000 _should_ be fine) 2. Set global_server_addr (a char[256]) to the NUMERICAL TCP address of the server. 3. set global_server_defined to 1. 4. If you want your server to be multi-forked instead of serial, set server_type (an int) to SERVER_TYPE_PARALLEL, else to SERVER_TYPE_SERIAL. 5. If you're a client program, connect_to_socket(); < here it shouldn't return 0! 6. Else if you're the server program, wait_on_socket(); < here it shouldn't return 0! 6.5 Use readn(), writen(), and readline() to transfer information, or roll your own read/write routines. 7. If you're a client program and you need to close, use close() 8. If you're a server program and you need to close and re-loop, If you're multi-forked, use close(), followed by exit(0)!!! If you're serial, use close(), then re-loop to, oh, #6. Two files (inet.h, inet.c): --------------- inet.h [snip] ----------------- /* Definitions for TCP client/server programs */ // This code is based to some degree on UNIX Network Programming #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> // Modify these to your own liking! #define SERV_TCP_PORT 8063 // default TCP Port #define SERV_HOST_ADDR "128.128.128.128" // default server address here // For use by servers only #define SERVER_TYPE_PARALLEL 0 // Server connection is multiuser #define SERVER_TYPE_SERIAL 1 // Server connection is one-shot int global_server_defined; // We've got a non-default port // and non-default server address int global_server_port; // the actual TCP port char[256] global_server_addr; // the actual tcp address int server_type; // Server type (see above) char *pname; // Junk global port name int readn (int fd, char* ptr, int nbytes); // Read n chars, else <0 int writen(int fd, char* ptr, int nbytes); // Write n chars, else <0 int readline (int fd, char* ptr, int maxlen); // Read a line, else <0 int connect_to_socket(); // Make a client connection int wait_on_socket(); // Make a server connection ------------- inet.c [snip] --------------- /* Utility Functions (read, write, etc.) */ #include "inet.h" int readn (int fd, char* ptr, int nbytes) // reads n bytes from a file or socket. This version // works symmetrically regardless of which the stream // came from. // fd is the file or socket descriptor. // ptr is a buffer nbytes long. // nbytes is the number of bytes we wish to read. // readn fills ptr with the data, and returns either // a read error (<0) or the number of bytes that were // actually read (if this differs from nbytes, it's because // an eof was encountered). { int nleft, nread; nleft=nbytes; while (nleft > 0) { nread = read(fd, ptr, nleft); if (nread < 0) return (nread); else if (nread == 0) break; nleft -=nread; ptr += nread; } return (nbytes-nleft); } int writen(int fd, char* ptr, int nbytes) // writes n bytes to a socket or file descriptor. // works properly for both (write does not) // fd is the file or socket descriptor // ptr is the data to write, nbytes long // nbytes is the size of the data // writen returns the number of bytes actually written out // (I believe this is always 0) or a write error (<0). { int nleft, nwritten; nleft = nbytes; while (nleft > 0) { nwritten = write(fd, ptr, nleft); if (nwritten <= 0) return(nwritten); nleft -=nwritten; ptr +=nwritten; } return (nbytes-nleft); } int readline (int fd, char* ptr, int maxlen) // reads into ptr maxlen bytes from a socket or file descriptor // or until encountering a '\n', whichever comes first. // '\n' is included at the end of ptr, followed by '\0' (of course). // fd is the file or socket descriptor // ptr is the data to write, maxlen bytes long // maxlen is the maximum size of the data // readn fills ptr with the data, and returns either // a read error (<0) or the number of bytes that were // actually read (if this differs from maxlen, it's because // an eof was encountered, or because a '\n' was found). { int n, rc; char c; for (n=1;n<maxlen;n++) { if ((rc=read(fd,&c,1)) == 1) { *ptr++=c; if (c=='\n') break; // End of line } else if (rc == 0) { if (n==1) return 0; // EOF, no data read else break; // EOF, some data was read } else return -1; // Error! } *ptr = 0; return n; } /* Functions for client access */ int connect_to_socket() // Connects to remote socket and returns. Returning is as follows: // < 0 Error. Connecting to the socket failed. // Either die or try again, or whatever. // >0 Success. Here's the socket file descriptor. // Process the requests. Be sure to tell // the server that you're all done. Remember to // close the socket descriptor before quitting! { int sockfd; struct sockaddr_in serv_addr; if (!global_server_defined) {global_server_port=SERV_TCP_PORT; strcpy(global_server_addr,SERV_HOST_ADDR);} // Here we fill in the structure "serv_addr" with the address of the // server that we want to connect with... bzero((char *) &serv_addr, sizeof(serv_addr)); serv_addr.sin_family = AF_INET; serv_addr.sin_addr.s_addr = inet_addr(global_server_addr); serv_addr.sin_port = htons(global_server_port); // Open a TCP socket (an Internet Stream Socket) if ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) <0) { printf("Client Error: Can't open stream socket.\n"); return -1; } // Connect to the server if (connect(sockfd, (struct sockaddr*) &serv_addr, sizeof(serv_addr)) < 0) { printf("Client Error: Can't connect to server.\n"); return -1; } return sockfd; } /* Functions for server access */ int wait_on_socket() // Waits on a socket. When it gets an incoming request, forks and // returns, so a child can process the request. Returning is as follows: // < 0 Error. You're the parent process, and waiting // on the socket failed. Either die or try again, // or whatever. // > 0 Success. You're a child process; here's the socket file // descriptor. Process the requests. When you // are told that you're all done, exit(0). { int sockfd,newsockfd,clilen,childpid; struct sockaddr_in cli_addr, serv_addr; if (!global_server_defined) {global_server_port=SERV_TCP_PORT; strcpy(global_server_addr,SERV_HOST_ADDR);} // Open a TCP socket (an Internet stream socket). if ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { printf("Server Error: Can't open stream socket.\n"); return -1; } // bind our local address so that the client can send to us. bzero((char*) &serv_addr, sizeof(serv_addr)); serv_addr.sin_family =AF_INET; serv_addr.sin_addr.s_addr =htonl(INADDR_ANY); serv_addr.sin_port =htons(global_server_port); if (bind(sockfd, (struct sockaddr*) &serv_addr, sizeof(serv_addr))<0) { printf("Server Error: Can't bind to local address.\n"); return -1; } listen(sockfd,5); while (1) { // Now we wait for a connection from a client process, and fork // off a child process to do stuff... clilen = sizeof(cli_addr); newsockfd = accept(sockfd, (struct sockaddr *) &cli_addr, &clilen); if (newsockfd <0) { printf("Server Error: Accept error.\n"); return -1; } if (server_type==SERVER_TYPE_PARALLEL) { if ((childpid = fork()) <0) { printf("Server Error: Fork error.\n"); return -1; } else if (childpid == 0) // child process { close (sockfd); // close old socket return newsockfd; // process the request } else close (newsockfd); // parent process printf("--Parallel Connection Established--\n"); } else // server_type==SERVER_TYPE_SERIAL { close(sockfd); printf("--Serial Connection Established--\n"); return newsockfd; } } } ---------------- END ---------------- Sean Luke seanl@cs.umd.edu
Newsgroups: comp.sys.next.programmer From: infielr@il.us.swissbank.com (Richard Infield) Subject: EOF Questions Message-ID: <1995Jul7.213340.8192@il.us.swissbank.com> Keywords: EOF Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division Date: Fri, 7 Jul 1995 21:33:40 GMT Fellow cyberstrollers, I am developing my first major NeXT app and am having a couple of problems which I cannot seem to solve. I therefore beseech any NeXT whizzkids out there to help me over these humps. I am using EOF1.1 with a Sybase 4.x back-end. My problems are: 1. I have MONEY fields in the database (MONEY is float(15,2)) which EOF translates to float or double. Unfortunately, when the data is displayed the values are converted to scientific notation e.g. 9.9e7. Not only do my users not want this, they actually want the data to be formatted with 2 decimal places and with commas every third significant digit i.e. as real people format it. I have tried forcing the data to integer format (successfully) but this solved neither of these problems. Does anyone out there know how I can force an NSNumber field to format as required here or do I need to sub-class NSValue to do this? 2. When I fetch the table view - which has columns which stretch beyond the visible width of the view - the horizontal scroll bars seem to align to the middle of the view. I want these bars to move all the way to the left when the table view has been populated but I cannot seem to get this to happen. I am sure that there is a simple solution to thsi one, but it sure beats me! 3. I have several fields on my windows. Ideally I would like the tab key to navigate between fields and the return key to performClick on the default button but I currently have the tab and return key navigating. The return key only does the performClick: when it is on the last field of the window. Please don't 'rtm' me on this one - I have read the manual over and over and it is still not something I have got to work successfully. Please help... Regards, Richard
From: hannes@ping.at (Hannes Tiefenbrunner) Newsgroups: comp.sys.next.programmer Subject: Re: NSCoder & function pointer Date: 8 Jul 1995 11:11:04 GMT Organization: ping - Personal InterNet Gate Distribution: world Message-ID: <3tlp48$32v@peng.ping.at> References: <3tjgau$3u1@sun0.urz.uni-heidelberg.de> Keywords: code network encode Originator: root@s156.ping.at In article <3tjgau$3u1@sun0.urz.uni-heidelberg.de> tuparev@EMBL-Heidelberg.DE (Georg Tuparev) writes: > Hi OpenStepers, > > I have the following declaration: > > typedef void (*ST_ArgProc)(char **argument); > > and a class: > > @interface MyClass:NSObject > { > ..... > ST_ArgProc helpHandler; > ..... > } > ..... > @end > > Is it possible to pass the helpHandler trough a NSCoder (initWithCoder and > encodeWithCoder) and if yes, how? > Wow - encoding whole functions, sending them over the network and recreating the code on the other side again - possibly for another processor...quite a lot to ask, isn't it. If you really want to transfer 'code' over the network there would be 2 possibilities: 1) If you also need resources for the code (NIB, TIFF, Sound, ...): Create a bundle with the code and all resources in it. Either load that bundle into the receiver from an NFS-mounted dir or (I've really done that too) pack the bundle into a tar.Z and push it over the network-connection. Unpack it at the receiver side and load it. 2) If you just need code: Unfortunately the rld library isn't part of OpenStep, but if you want to do it in NEXTSTEP, you could send the fat-object file with the code in it over the network connection and load the functions directly out of the received data-block into the app with all symbols. See the man page of rld for details. ____________________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred, MIME ok)
From: hannes@ping.at (Hannes Tiefenbrunner) Newsgroups: comp.sys.next.programmer Subject: Re: Sample printer driver for non-ps printers? Date: 8 Jul 1995 11:11:07 GMT Organization: ping - Personal InterNet Gate Distribution: world Message-ID: <3tlp4b$330@peng.ping.at> References: <37730413@turbocat.snafu.de> Keywords: printing postscript Originator: root@s156.ping.at In article <37730413@turbocat.snafu.de> "David Wetzel" <Dave@turbocat.snafu.de> writes: # Is there an printer driver available that enables one # to print on non-postscript printers? # # NOTE: I do not mean the drivers that use GS to print # postscript on such printers. # # The NeXT has buld-in PS but how do I bring that on an printer? # _ _ # _(_)(_)_ David Wetzel, Turbocat's Development, # (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, # _/ \_ Phone +49 33056 82151, Fax +49 33056 82152 # (______) dave@turbocat.snafu.de The HPDJ, the HP Desk- and Laser-Jet PrinterDriver, is available in source code and should be quite easy to change for another printer. I don't know an URL for it, but in compressed form it's about 20k, so I could send it via NeXTMail to you. ____________________________________________ Hannes Tiefenbrunner hannes@ping.at - NeXTMail preferred, MIME ok
From: hannes@ping.at (Hannes Tiefenbrunner) Newsgroups: comp.sys.next.programmer Subject: Re: TCP/IP: 0 socket returned... Date: 8 Jul 1995 11:11:11 GMT Organization: ping - Personal InterNet Gate Distribution: world Message-ID: <3tlp4f$331@peng.ping.at> References: <9507072224.AA12645@mt1.mantech.com> Keywords: socket TCP accept select Originator: root@s156.ping.at In article <9507072224.AA12645@mt1.mantech.com> Dennis Warn <mt1!stwo@netcom.com> writes: # I have a problem with the TCP/IP Accept function. Everything is executing great until # an Accept sees a Connect from a client with good numbers and no error but the returned # socket number is zero which is a non-socket. # # Server Client # # socket socket # bind # listen # accept => # <= connect # # The server assigns a port number to the client and knows the client's family and # address. The client knows the server's port and address and thinks it has a good # connection. The server receives a zero socket number from the accept which stops any # further communication with the client. # What is going on with the Accept that it would return a zero socket? # Thanks for your time and answers. # What's going on? I $^#&#@* don't know!! I've been wasting days on this problem and finally had to use a "solution" I really hate to use: ignore it Actually the program doing so works for about a year now without error. What I've done is: If the select() call says, that there's a connect pending on the main-socket -> call accept(). If accept() returns an FD of 0 - simply ignore it and try again with select()... I _think_ that it has to do with interrupted system calls (as my app has about 40-90 threads, most of them using TCP-sockets through my lib and I often catch the SIG_PIPE signal), but errno doesn't say anything about that. If anybody knows better...(sigh) ____________________________________________ Hannes Tiefenbrunner hannes@ping.at - NeXTMail preferred, MIME ok
From: hannes@ping.at (Hannes Tiefenbrunner) Newsgroups: comp.sys.next.programmer Subject: Re: Disassembler for NeXTStep(Intel) Date: 8 Jul 1995 11:11:15 GMT Organization: ping - Personal InterNet Gate Distribution: world Message-ID: <3tlp4j$332@peng.ping.at> References: <IjzHHYi00YUt44FEto@andrew.cmu.edu> Keywords: disassambler gdb Originator: root@s156.ping.at In article <IjzHHYi00YUt44FEto@andrew.cmu.edu> Seth Andrew Covitz <sc67+@andrew.cmu.edu> writes: # Does anyone know of a Disassembler for the Intel version of NeXTStep 3.3? # # -Seth # Why not use gdb's x/i?
From: jens@myhost (Jens Kleemann) Newsgroups: comp.sys.next.programmer Subject: Re: Disassembler for NeXTStep(Intel) Date: 8 Jul 1995 11:51:12 GMT Organization: University Frankfurt/M Message-ID: <3tlrfg$u9u@jurpool0.rz.uni-frankfurt.de> References: <IjzHHYi00YUt44FEto@andrew.cmu.edu> Seth Andrew Covitz <sc67+@andrew.cmu.edu> wrote: > Does anyone know of a Disassembler for the Intel version of NeXTStep 3.3? try otool . See man pages for details -> it works fine
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: finding TextField from Text delegate method ? Message-ID: <DBDMqI.I0F@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <ROBERTN.95Jul7123334@seahawk> Date: Sat, 8 Jul 1995 02:54:18 GMT Roger Peppe wrote: >i have a window containing many TextFields, each of which >has its textDelegate pointing to the same object. >when this object receives a textDidChange:sender method, is it possible >to determine which TextField object has been changed ? PJ Caraher wrote: > int sender_tag = [[sender superview] tag]; Robert Nicholson wrote > Wasn't I right before when I suggested that the "sender delegate" > will point to the id of the textField? both [sender superview] and [sender delegate] work, but the delegate approach is documented (and thus presumably more safe) Of course, OPENSTEP changes the way works anyway. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Sat, 8 Jul 95 11:23:28 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9507080923.AA00518@flexus> Subject: Re: Cyclic references in retain/release-mechanism Here are a few thoughts for your consideration (be sceptical, most of them are just *my* thoughts). The issue is resource management. There is one special branch of that called memory management, also known as garbage collection (but this is also a possible technique, so memory management seems more appropriate). Another branch, currently under attention, would be object management. The difference would be that an object might stand in for another resource that would be in an inconsistent state until its stand-in is deallocated (a file, a port, ...), so that deallocation may have to be synchronous. How long must the resource exist? - Lower limit: references exist with the privilege of keeping the resource alive (important point!). - Upper limit: all resources must be freed in due time to avoid blocking machine resources, and some of them must be freed synchronously. As for the lower limit, there are several sets which can be considered garbage (and the complement would be the live resources): - resources which will never be used again (fundamentally unpredictable) - resources which can never be used again as determined by data flow analysis - resources which cannot be reached by reference traversal from a set of root resources - resources which have no references to them >From the perspective of resource management, these are strictly shrinking sets of ever less efficient conservative estimates. Efficient: resources which are not freed because the system doesn't know any better have a cost in machine resources. Conservative estimate: any subset of the first set is a conservative estimate of it from the perspective of resource management (conservativeness is relative to the current purpose). I don't know about the second set, but the third is the target of several algorithms. The fourth set is the one obtained through reference counting, and is the only one of those mentioned here which is not effective anymore, in the sense that if only resources in this set are freed, some others may be leaked for eternity (or until the task is terminated, of course), due to referential cycles (should be obvious by now). A benefit is that the garbage it detects is detected synchronously. Now, NeXT has provided a reference counting scheme. This is a conservative estimate of liveness which has to be complemented with either a policy to avoid referential cycles, or another, effective, resource management scheme, to have an effective system. The second alternative seems strange: why then not forget about reference counting and only use the ``backup'' system? Well, in the right circumstances, reference counting is cheaper, and may avoid wasting CPU resources to the backup system; it also provides synchronous freeing where desired. Let's consider the policy first. It is clear that such a policy is completely absent from the current specification. Further investigation shows that part of the retain/release mechanism is safe: there is a stack of autorelease pools (or rather, a comb, if multiple threads are allowed), which is fundamentally acyclic. Any autorelease is immune from leakage (which does not imply that any other references may not cause leaks to occur), and guaranteed to be really released when the current autorelease scope exits (the programmer should know if that is acceptable, which it is in most cases). It is the other references which cause trouble. How could cycles be avoided here? Well, one of the goals, rather explicitly stated in the concepts, was to do away with the concept of transferring ownership, because this is confusing. Now, the owner of an object is considered to be its creator, which has the responsibility to free it; others can only retain it for a while longer; I find this rather strange, as if the reasoning has not settled down. But it is more useful to consider the original concept of ownership. Ownership is already present in the context of archiving/encoding objects. Some references are traversed for this purpose, some are only recorded if the destination is accessed through another route. The former would be the owned objects (such as subviews), the latter are not owned. So this concept of ownership should be familiar anyway, and can therefore be used in resource management as well. There is one addition: ownership need not be unique, there can be shared ownership. And what now is a very desirable property of ownership? It is acyclic! Well, if it is properly thought through, it is; there is room for human error here, but if you want to mess up a program anyway, you have other means at your proposal. It should always be clearly documented what the expectations about ownership are, and transfers of ownership should follow logically from these basic rules. Finally, a proposed compatible alternative to retain/release. Firstly, autorelease can be retained (little joke), although it would be clearer to do [p autoretain] rather than [[p retain] autorelease]; this could be an NSObject category. But instead of doing -retain indiscriminately, there would be separate messages -retainForOwner: and -retainForNonOwner:. The former would be for instance variables which are considered part of that object (subviews, image representations, ...), the latter would be only for references (control targets, delegates, ...). As for implementation, there would be a direct subclass of NSObject which would pose as NSObject to add these methods and redefine -dealloc and such. Or rather, several of them: one for production versions, one for debugging, for example. For -retainForNonOwner:, that non-owner would be registered for notification of the destination object's death (through -dealloc in the posing NSObject subclass, possibly): a funeral list mechanism. For -retainForOwner:, a production version might just use reference counting, and a debugging version might maintain a list of references which can be traversed by a debugger. If the retain count instance variable can contain a pointer, its role might be redefined to contain more information, such as a list of owners. As for a backup resource manager, this would also benefit from the explicit reference graph information inherent to -retainForOwner: messaging. But it may not even be necessary anymore. I *might* implement such a scheme someday (for free?); to have it sooner, send an HP NEXTSTEP system, ``full options''. :-) Hope this is useful, Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
Newsgroups: comp.sys.next.programmer From: csaldanh@mae.carleton.ca (Chris Saldanha) Subject: Re: EOF Questions Message-ID: <DBF1GM.L35@cunews.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: Carleton University References: <1995Jul7.213340.8192@il.us.swissbank.com> Date: Sat, 8 Jul 1995 21:09:58 GMT Richard Infield (infielr@il.us.swissbank.com) wrote: : 1. I have MONEY fields in the database (MONEY is float(15,2)) which EOF : translates to float or double. Unfortunately, when the data is displayed : the values are converted to scientific notation e.g. 9.9e7. Not only do my : users not want this, they actually want the data to be formatted with 2 : decimal places and with commas every third significant digit i.e. as real : people format it. I have tried forcing the data to integer format : (successfully) but this solved neither of these problems. Does anyone out : there know how I can force an NSNumber field to format as required here or : do I need to sub-class NSValue to do this? The worst thing about the 'double' storage of Money is that it internally represents values like "2.50" as something more like 2.4999999999999999, and that's what you see in the text field, which could easily give anyone in a bean-counting job a heart attack. I had one of our other programmers write me a Money class that handles money objects as two integers, and does the right thing for adding and subtracting, and scalar multiplication. It adopts the EO<Something>Coding (I forget the name) protocol, so the EOF mechanisms can correctly instantiate a money object and initialize it. --Chris Chris Saldanha, Software Analyst -------------------------------------- computerActive, Inc |"The telephone was not invented by | chris@computerActive.on.ca (NeXTMail) | Alexander Graham Unitel" -Bell Ad | http://www.mae.carleton.ca/~csaldanh --------------------------------------
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: finding TextField from Text delegate method ? Date: 9 Jul 1995 02:40:00 GMT Organization: The SenseMedia Network, http://sensemedia.net/, info@sensemedia.net Distribution: world Message-ID: <3tnfi0$i3d@emerald.oz.net> References: <DBDMqI.I0F@genoa.com> In article <DBDMqI.I0F@genoa.com> alex@genoa.com (Alex Blakemore) writes: > Roger Peppe wrote: > > >i have a window containing many TextFields, each of which > >has its textDelegate pointing to the same object. > >when this object receives a textDidChange:sender method, is it possible > >to determine which TextField object has been changed ? > > both [sender superview] and [sender delegate] work, but the delegate approach > is documented (and thus presumably more safe) > I don't think that [sender superview] works reliably. Try it when you've configured a scrollable textField, a very common configuration. In this case, superview is a clipView which isn't what you want and will likely crash your app. How many times have you dragged out a matrix of textFieldCells in IB and then decided you only needed a single one? Looks like any other textField, but it remains a matrix of one textFieldCell for which [sender delegate] will return the matrix which isn't usually what you want. [[sender delegate] selectedCell] should work in general for both a textField and a matrix of textFieldCells so is a pretty general solution (as I now await a flood of exceptions to this assertion :-) --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice: +1 408 335 1154 Trego Systems Fax: +1 408 335 2515 CaseServ: NEXTSTEP managed care USmail: Felton, CA 95018-9442 contract and case management solutions
From: zhao@crl.nmsu.edu (Z. Zhao) Newsgroups: comp.sys.next.programmer Subject: help: using posix library for nextstep 3.3 Date: 9 Jul 95 11:11:12 Organization: Computing Research Lab Message-ID: <ZHAO.95Jul9111112@sparta.crl.nmsu.edu> POSIX library is required to "make" some software I got from public domain to run. If I simply add /usr/lib/libposix.a of nextstep/intel 3.3 for 'ld', the made program binary would die because of "floating exception". What is the right way to modify the Makefile so that I can use POSIXs to 'make'? Thanks in advance, zhao
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: HeaderViewer patch? Message-ID: <jpanicoDBGnz5.MtF@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Sun, 9 Jul 1995 18:13:53 GMT Sender: jpanico@netcom.netcom.com As you know, 3.3 HeaderViewer experiences confusion when trying to locate methods descriptions. Is there a patch for this problem yet? -- Joe Panico jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 10 Jul 1995 04:15:14 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <3tq9gi$lof@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:Michael_Pizolato@afs.com) Dan Grillo (mailto:dan_grillo@next.com)
From: sanguish@digifix.com Newsgroups: comp.sys.next.programmer Subject: Setting the value of an NSNumber after initialization Date: 10 Jul 1995 05:01:24 GMT Organization: Digital Fix Development Message-ID: <3tqc74$m3p@digifix.digifix.com> I have a situation where I need to set the value of an NSNumber with a new value after it has been initialized... I'm sticking it into an NSDictionary as the object, and I want to be able to alter the value in the NSNumber without needing to re-allocate it. Is this possible? The docs only list init... Thanks Scott
From: mshores@iastate.edu (Free from religion!!!) Newsgroups: comp.sys.next.programmer Subject: Getting NXConnection to thread while NOT using the appkit... Date: 10 Jul 95 07:47:34 GMT Organization: Iowa State University, Ames, Iowa Message-ID: <mshores.805362454@isua2.iastate.edu> Summary: Need help getting client side of a NXConnection to run on a separate th Keywords: NXConnection appkit client I hope this has not been asked before - I am having trouble getting the client side of a NXConnection to use it's own thread. I tried [clientConnection runInNewThread] but the connection throws away most of the tranmissions, then it crashes... the main problem is this - I need a client/server connection where I can send messages to BOTH. That is, if the server needs to send a message to the client, it will, and the client will handle it as soon as it receives it. Thank you. Matt -- ------------------------------------------------------------------------------- "Christian, n. One who believes that the New Testament is a divinely inspired book admirably suited to the spiritual needs of his neighbor." --- Ambrose Bierce, "The Devil's Dictionary" Surgeon General's Warning: Quitting Religion Now Greatly Increases the Chances of World Peace. -------------------------------------------------------------------------------
From: rog@talisker.ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer Subject: Re: TCP/IP: 0 socket returned... Date: 10 Jul 1995 12:46:45 GMT Organization: The University of York, UK Distribution: world Message-ID: <3tr7fl$qad@mailer.york.ac.uk> References: <9507072224.AA12645@mt1.mantech.com> <3tlp4f$331@peng.ping.at> Hannes Tiefenbrunner (hannes@ping.at) wrote: > If accept() returns an FD of 0 - simply ignore it and try again with > select()... an fd of 0 is perfectly valid - it will return this if the standard input has been closed. (some shells do this when backgrounding their processes). -1 is the only error return from any of the socket related system calls. use perror(), errno or strerror(errno) > I _think_ that it has to do with interrupted system calls (as my app has about > 40-90 threads, most of them using TCP-sockets through my lib and I often catch > the SIG_PIPE signal), but errno doesn't say anything about that. SIGPIPE happens when you're writing down a socket to a process which has died. The system call will give an indication of this by returning -1 with errno set to EINTR (interrupted system call). (you only get the indication if you are catching the signal) cheers, rog.
Newsgroups: comp.sys.next.programmer From: pelletk@il.us.swissbank.com (Ken Pelletier) Subject: Re: EOF Questions Message-ID: <1995Jul10.184807.29053@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <1995Jul7.213340.8192@il.us.swissbank.com> Date: Mon, 10 Jul 1995 18:48:07 GMT Richard Infield writes > Fellow cyberstrollers, > I am developing my first major NeXT app and am having a couple of problems > which I cannot seem to solve. I therefore beseech any NeXT whizzkids out > there to help me over these humps. I am using EOF1.1 with a Sybase 4.x > back-end. My problems are: > > 2. When I fetch the table view - which has columns which stretch beyond > the visible width of the view - the horizontal scroll bars seem to align > to the middle of the view. I want these bars to move all the way to the > left when the table view has been populated but I cannot seem to get this > to happen. I am sure that there is a simple solution to thsi one, but it > sure beats me! > Richard, Believe it or not, NXTableView will make visible the column to which you made your last association. If you simply disconnect and reconnect the first column of the table view, it should behave as you want. - Ken (pelletk@il.us.swissbank.com) -- Ken Pelletier NiKA Software 1207 W. Newport Ave Chicago, IL 60657
From: monckton@tiger.mech.ubc.ca (Simon Monckton) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 10 Jul 1995 19:26:51 GMT Organization: University of British Columbia, Vancouver, B.C., Canada Message-ID: <3trutr$476@nntp.ucs.ubc.ca> References: <DBCBwG.HI@euler.hnv.icem.de> Juergen Sell (js@euler.hnv.icem.de) wrote: : I would like to know your most pressing arguments : why you consider the combination of Obj-C plus IB a better development tool / implementation : mechanism than the more traditional C or C++ together with whatever GUI-builder. : What have you experienced can be done with one of those but not with the other? : I am not interested in a mere theoretical apporach but would like to know about 'real life' : experience with limitations you find/found inconveniently/unavoidably hazardous. : Juergen In my experience both of these languages have significant pros and cons. One `Pro' of Obj. C is the dynamic binding facility. All member functions are bound at run-time (unless explicitly instructed otherwise). This combined with the ability of the system to load code dynamically makes a powerful, flexible, and _extensible_ development environment far superior to any other that I know. A con of Obj. C is... the dynamic binding facility! It is often slower than the C++ method call. All is not lost however. It is possible to disable this binding technique under the right circumstances. A `Pro' of C++, and one that is widely exploited, also happens to violate one of the basic tenets of object oriented programming, namely the ability to examine public data members from outside an object. While this is a carry over from C structures and can be very useful...it violates the principle of data hiding. Another feature is templates, though I am not sure there is not a way of implementing similar structures in ObjC. C++ has some capabilities that (I wish) Objective C provided, such as operator overloading. I am sure your question will spur heated debate, but before it gets too hot I would like to suggest using _both_! NEXTSTEP provides a flexible compiler that can handle both ObjC and 90% of C++. You can mix and match structures in ObjC and C++ as well as function (pardon me) method calls.In my most recent experience, I have mixed C++ numerical methods with ObjC Appkit methods with satisfying results. Simon
From: hyongsop@dip.eecs.umich.edu (Hyong Sop Shim) Newsgroups: comp.sys.next.programmer Subject: Archiving Objects Date: 10 Jul 1995 19:30:26 GMT Organization: University of Michigan EECS Dept. Message-ID: <3trv4i$r7p@zip.eecs.umich.edu> Hi, While building a custom palette, I've come up with a following question. When an object is archived to a palette file, does the init... method of the object is invoked? I know that the write: method of the object is invoked while being archived but I'm not sure from the documentation that whether the init... method of the object is invoked. Any help on this would be greatly appreciated. Thanks, --Hyong (hyongsop@eecs.umich.edu)
From: rgc@jujube.cs.umd.edu (Ross Garrett Cutler) Newsgroups: comp.sys.next.programmer Subject: Re: Problem: C++ Templates mixed with Objective-C Date: 10 Jul 1995 19:44:40 GMT Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Message-ID: <3trvv8$k9g@mimsy.cs.umd.edu> References: <3trcbm$u82@columba.udac.uu.se> Sven Rieke (sr@frej.teknikum.uu.se) wrote: : Hi, : I have a big problem mixing Objective-C and C++ sources. : The NeXT compiler cc 2.5.8. (NeXT Developer package 3.3) is supposed to handle : templates. : But that's the point were I got problems. I've had no problems using C++ templates, though my classes have all been inlined. You may wish to check out my Objective-C++ notes at http://www.cs.umd.edu/~rgc/nextstep. -- Ross Cutler University of Maryland, College Park rgc@cs.umd.edu http://www.cs.umd.edu/~rgc
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: Setting the value of an NSNumber after initialization Date: 10 Jul 1995 13:50:09 GMT Organization: University of Heidelberg, Germany Message-ID: <3trb6h$qa9@sun0.urz.uni-heidelberg.de> References: <3tqc74$m3p@digifix.digifix.com> In article <3tqc74$m3p@digifix.digifix.com> sanguish@digifix.com writes: > > I have a situation where I need to set the value of an NSNumber with a new > value after it has been initialized... > > I'm sticking it into an NSDictionary as the object, and I want to be able > to alter the value in the NSNumber without needing to re-allocate it. I had exactly the same problem... > > Is this possible? The docs only list init... No it's not :-( I already sent a mail to Uncle NeXT and told him how stupid it is not to allow reassignment, but gat (of course) no answer ... he is very busy making $$$ with MCCA ;-) -- georg --
From: jchoi@uci.edu (John Choi) Newsgroups: comp.sys.next.programmer Subject: Trying to find Bruce Webster Date: 10 Jul 1995 21:26:39 GMT Organization: University of California, Irvine Distribution: usa Message-ID: <3ts5uf$jh8@news.service.uci.edu> Does anybody know how I can get in contact with Bruce Webster (formerly of Pages Software, Inc.) ? Thanks, - John Choi <jchoi@uci.edu>
Newsgroups: comp.sys.next.programmer From: randy@id.com (Randy Tidd) Subject: Re: Setting the value of an NSNumber after initialization In-Reply-To: tuparev@EMBL-Heidelberg.DE's message of 10 Jul 1995 13:50:09 GMT Message-ID: <RANDY.95Jul10211642@wort.id.com> Sender: randy@id.com (Randy Tidd) Organization: Intrinsic Development Corporation References: <3tqc74$m3p@digifix.digifix.com> <3trb6h$qa9@sun0.urz.uni-heidelberg.de> Date: Tue, 11 Jul 1995 02:16:42 GMT In article <3trb6h$qa9@sun0.urz.uni-heidelberg.de> tuparev@EMBL-Heidelberg.DE (Georg Tuparev) writes: In article <3tqc74$m3p@digifix.digifix.com> sanguish@digifix.com writes: > > I have a situation where I need to set the value of an NSNumber with a new > value after it has been initialized... > [ ... ] > > Is this possible? The docs only list init... No it's not :-( I already sent a mail to Uncle NeXT and told him how stupid it is not to allow reassignment, but gat (of course) no answer ... he is very busy making $$$ with MCCA ;-) True, this is not possible. The idea is that NSNumbers are simple, atomic, data-bearing objects, each of which represents a single number. Situations are rare where it is really critical to be able to modify the numbers. If they were mutable, there would have to be several mutable classes, one for each existing mutable class, and there would be a lot of redundant API. I guess they decided that this was too high of a price to pay for the unusual cases where it would be used. You can use scalar variables (i.e. int, unsigned, float, etc) to hold intermediate values that change a lot and finish up by storing them in an NSNumber instance. This would be faster than a mutable NSNumber class anyways. Hope this helps, -- Randy Tidd (randy@id.com) "Those that God wants to destroy he first makes mad."
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: Setting the value of an NSNumber after initialization Message-ID: <DBJ63v.L9E@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <3trb6h$qa9@sun0.urz.uni-heidelberg.de> Date: Tue, 11 Jul 1995 02:40:42 GMT Georg Tuparev writes > No it's not :-( [possible to change the value of an NSNumber instance] > I already sent a mail to Uncle NeXT and told him how stupid it > is not to allow reassignment, but gat (of course) no answer Its not stupid. NSNumber instances are by design, IMMUTABLE, just like NSString, NSArray and NSDictionary. There are lots of advantages to using immutable objects when applicable - copies are ultra cheap for one thing. storage can be optimized for another. If you really need a MUTABLE subclass NSNumber. By all means go ahead and write one. Or flame NeXT for not creating one. But don't flame them for making the distinction between mutable and immutable objects in the new class designs. That in itself is a good move. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: dcoyle@goanna.mpi-hd.mpg.de (David A. Coyle) Newsgroups: comp.sys.next.programmer Subject: doesNotRecognizeSelector: +_canAlloc Date: 11 Jul 1995 09:49:21 GMT Organization: University of Heidelberg, Germany Message-ID: <3tthf1$a5l@sun0.urz.uni-heidelberg.de> I've never seen this before: Jul 11 11:47:02 [7921] *** Uncaught exception: *** ProjPlay doesNotRecognizeSelector: +_canAlloc exiting! I tried changing the root object to Object, from NSObject, and that didn't help, so Foundation can't be the problem. I can't find +_canAlloc anywhere in Header viewer either. Any ideas? Dave
From: Jukka Tainio Newsgroups: comp.sys.next.programmer Subject: Re: doesNotRecognizeSelector: +_canAlloc Date: 11 Jul 1995 10:04:52 GMT Organization: University of Heidelberg, Germany Message-ID: <3ttic4$a5l@sun0.urz.uni-heidelberg.de> References: <3tthf1$a5l@sun0.urz.uni-heidelberg.de> A quick followup: I added ProjPlay.h: + _canAlloc; ProjPlay.m: + _canAlloc { return [super _canAlloc]; } ...and it worked! + (BOOL)_canAlloc {return YES}; works too, with no warnings... that still doesn't *explain* _anything_, though...... Dave
From: root@terra.crystalengine.com(Felipe A. Rodriguez) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 11 Jul 1995 12:05:42 GMT Organization: Network Intensive Message-ID: <3ttpem$gr0@ni1.ni.net> References: <3trutr$476@nntp.ucs.ubc.ca> In article <3trutr$476@nntp.ucs.ubc.ca> monckton@tiger.mech.ubc.ca (Simon Monckton) writes: > Juergen Sell (js@euler.hnv.icem.de) wrote: > : I would like to know your most pressing arguments > : why you consider the combination of Obj-C plus IB a better development tool / implementation > : mechanism than the more traditional C or C++ together with whatever GUI-builder. > [snip] > > C++ has some capabilities that (I wish) Objective C provided, such as operator > overloading. > [snip] > > Simon Wow, I guess beauty really is in the eye of the beholder, because if there is one single "feature" in C++ that I hate (and I dislike many of its "features") it is the ability to do operator overloading. Operator overloading is the best way I can think of to obscure the meaning of code. -- Felipe A. Rodriguez # ...it cannot be called ingenuity to kill Agoura Hills, CA # one's fellow citizens, to betray # friends, to be without faith, without root@terra.crystalengine.com # mercy, without religion; by these means (NeXTmail preferred) # one can aquire power but not glory. (MIMEmail welcome) # --Nicolo Machiavelli
From: pdolding@metz.une.edu.au (P. C. Dolding) Newsgroups: comp.os.msdos.programmer,comp.os.ms-windows.programmer.graphics,comp.os.os2.programmer.misc,comp.os.ms-windows.programmer.win32,comp.sys.amiga.graphics,comp.sys.amiga.programmer,comp.sys.ibm.pc.programmer,comp.sys.mac.programmer.codewarrior,comp.sys.mac.programmer.misc,comp.windows.open-look,comp.windows.x.motif,comp.windows.x.intrinsics,comp.windows.x,comp.sys.next.programmer Subject: Re: Graphical coordinate system Followup-To: comp.os.msdos.programmer,comp.os.ms-windows.programmer.graphics,comp.os.os2.programmer.misc,comp.os.ms-windows.programmer.win32,comp.sys.amiga.graphics,comp.sys.amiga.programmer,comp.sys.ibm.pc.programmer,comp.sys.mac.programmer.codewarrior,comp.sys.mac.programmer.misc,comp.windows.open-look,comp.windows.x.motif,comp.windows.x.intrinsics,comp.windows.x,comp.sys.next.programmer Date: 11 Jul 1995 05:50:30 GMT Organization: NIL Distribution: inet Message-ID: <3tt3f6$8t@grivel.une.edu.au> References: <dmenchac-2806951249250001@manteca.mv.us.adobe.com> Ronin (dmenchac@mv.us.adobe.com) wrote: : Hello, : I'm working on the conceptual stage on a graphical shell that will run in : various enviroments. Hopefully this shell will grow into providing GUI : primitives (menus, windows, dialogs, controls, gadgets, widgets, etc.) and : event handling. : Anyways, I was wondering how I should map my coordinate system out. : Should I go from 0,0 to +x,+y like in Postscript or should I use the : Macintosh style going from 0,0 to +x,-y? : What is the best method for graphical programmers (animation, sprites, 3D)? : Either for I use a driver to graphic for animation,sprites,3d in some case just run a program to converted the data between both systems. If you want something diferent build in code for the two so then you can have both of them in your GUI of course speed may be different between the two depending on what system you uses a your base of you GUI pcdolding
From: gblock@alpha1.csd.uwm.edu (Gregory R Block) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 11 Jul 1995 17:46:13 GMT Organization: University of Wisconsin - Milwaukee Message-ID: <3tudd5$1m7@uwm.edu> References: <3trutr$476@nntp.ucs.ubc.ca> <3ttpem$gr0@ni1.ni.net> In comp.sys.next.programmer (<3ttpem$gr0@ni1.ni.net>),Felipe A. Rodriguez (root@terra.crystalengine.com) wrote: | Wow, I guess beauty really is in the eye of the beholder, because if there | is one single "feature" in C++ that I hate (and I dislike many of its | "features") it is the ability to do operator overloading. Operator | overloading is the best way I can think of to obscure the meaning of code. That's absolutely true in many ways; powerful, but very, very easy to abuse. And once it's abused, you're completely screwed. :/ Also leads to lots of strange problems. As for the best features of Objective-C, it would be the extremely late binding ( :D ) and the run-time system. As for C++'s templates, static binding, and strong typing, you can get -most- of that with extra work; whereas C++ defaults, and has a hard time getting away from, the static binding and hard typing, you have to do some extra work in Objective-C to static/strong type. Mind you, it can be done, and if it's your thing, you can always use C++ inside of Objective-C under NS; they attack at different angles to a similar problem. Personally, like many, I feel that C++ is hideous. Unfortunately, not like so many, I don't feel it's a necessary evil. If it's ugly, you don't kiss it, folks. C++ won't be a prince in any future I can predict. Greg -- (: (: (: (: Have you overdosed on smileys today? Why NOT!?! :) :) :) :) (: Campgirl: "I'll be the victim!!!!" :) (: Wednesday: "...all your life." -Addams Family Values :) (: (: (: (: (: (: (: (: (: (: (: (: :) :) :) :) :) :) :) :) :) Wubba :)
From: rmasse@cnri.reston.va.us (Roger E. Masse) Newsgroups: comp.sys.next.programmer Subject: EOF qualified fetch question Date: 11 Jul 1995 18:13:29 GMT Organization: Corporation for National Research Initiatives Distribution: world Message-ID: <3tuf09$me2@news.CNRI.Reston.Va.US> I'm using EOF 1.1 on NS 3.3 and have a question about qualified fetches using the data source. I set up a simple EOQualifier such that my adaptor generates the following SQL expression... SELECT t0.CUI, t0.DES FROM umls141 t0 WHERE t0.DES = 'alzheimers' ...when I send the fetchObjects message to the data source. So far so good. I notice that my adaptor returns two rows when data Sources fetch loop calls my AdaptorChannel's fetchAttributes:withZone method... -fetchAttributes:withZone, returning row = {CUI = C0051532; DES = alzheimers; } -fetchAttributes:withZone, returning row = {CUI = C0105775; DES = alzheimers; } ...notice the two CUI fields are in fact different. The strangness occurs when I print the description of what's returned by the data sources fetchObjects method... It returns the right number of objects, but the objects all seems to be copies of the row returned by the last call to fetchAttributes:withZone method... Jul 11 13:52:54 [3855] keyRecs = ( { entity = umls141; self = "<EOGenericRecord: 0x13e474>"; values = {CUI = C0105775; DES = alzheimers; }; }, { entity = umls141; self = "<EOGenericRecord: 0x13e474>"; values = {CUI = C0105775; DES = alzheimers; }; } ) ...Any clues? Or should I work at the database level and set up my own fetch loop since I know the adaptors returning all the right stuff? Regards, Roger E. Masse, Systems Engineer Corporation for National Research Initiatives 1895 Preston White Drive, Suite 100 Reston, Virginia, USA 22091 Internet: rmasse@CNRI.Reston.VA.US (MIME/NeXTmail OK)
From: taubert@eehpx17 (taubert derek a) Newsgroups: comp.sys.next.programmer Subject: m68k SIGSEGV question Date: 11 Jul 1995 22:38:07 GMT Organization: University of Illinois at Urbana Message-ID: <3tuugf$4di@vixen.cso.uiuc.edu> I'm attempting to write a SEGV signal handler under NS 3.0 (black) which needs to be aware of 3 things: 1) The address that caused the fault 2) The type of operation (read or write) 3) The data and size of access Also, it appears to me that when the SEGV handler exits, read operations will re-start, but writes will not. So here are my questions: 1) Can I get all of the above info inside the handler, or will I have to intall my own fault handler in the process' Access Fault vector? 2) How can I make write operations re-start from the SEGV handler without doing something hackish like modifying the PC? 3) If I do have to install my own Access Fault routine, how do I do this, and can anybody provide me with sample 68040 code? 4) Am I even on the right track? GDB has to be able to do this, because it gets the access address right every time. If anybody could help me with this, I would be most grateful. E-mail responses would be best for me, I'll summarize if there is interest. Derek Taubert taubert@uiuc.edu
From: rnielsen@everest.com (Robert D. Nielsen) Newsgroups: comp.sys.next.programmer Subject: Wanted: rtf2ps/rtfd2ps - printrtf/printrtfd Date: 11 Jul 1995 22:38:46 GMT Organization: TLGnet, a division of RGNet, Inc. Message-ID: <3tuuhm$11p@kadath.zeitgeist.net> Greetings, Some time ago Eric P. Scott (EPS) wrote a RTF to PostScript converter called printrtf. According to Eric someone else (Steve Hayman?) produced the final RTFD-literate version. Does anyone know where I can located these programs? I am most interested in the RTFD literate version. Using 3.3 Developer Intel, so either source or binary (for Intel) would be fine. I *can* receive NeXTmail:-) Please respond to me via email since I rarely read Usenet. Thanks a bunch!! Cheers, Robert
From: rnielsen@everest.com (Robert D. Nielsen) Newsgroups: comp.sys.next.programmer Subject: Wanted: rtf2ps/rtfd2ps - printrtf/printrtfd Date: 11 Jul 1995 22:39:12 GMT Organization: TLGnet, a division of RGNet, Inc. Message-ID: <3tuuig$11u@kadath.zeitgeist.net> Greetings, Some time ago Eric P. Scott (EPS) wrote a RTF to PostScript converter called printrtf. According to Eric someone else (Steve Hayman?) produced the final RTFD-literate version. Does anyone know where I can located these programs? I am most interested in the RTFD literate version. Using 3.3 Developer Intel, so either source or binary (for Intel) would be fine. I *can* receive NeXTmail:-) Please respond to me via email since I rarely read Usenet. Thanks a bunch!! Cheers, Robert
From: skynet@berlin.snafu.de (Mr. SkyNet himself) Newsgroups: comp.sys.next.programmer Subject: nximage Date: 11 Jul 1995 22:31:30 GMT Organization: SkyNet Message-ID: <3tuu42$anp@unlisys.unlisys.net> Mime-Version: 1.0 German --- Hi, NeXTSTEP-Freunde!!! Ich brauche mal ne Info zum NXImage-Zeug: Es geht darum, aus einem EPS ein TIFF zu machen, was an sich ja kein Thema ist. Nur es soll eben ein ganz spezielles TIFF sein, und zwar ein 1-Bit-Schwarz-Weiß-Tiff oder ein 2-Bit-Graustufen-Tiff. Und wie geht denn das??? Waere fuer Hinweise sehr dankbar. Bis demNeXT. English --- Hi, NeXTSTEP friends!!! I do need infos about the NXImage stuff: At this moment it is not clearly evident how to convert a special(!) TIFF from an EPS. This should be a 1-Bit-Black/White-Tiff or a 2-Bit-Graylevel-Tiff. How does this work? Any hints appreciated! C U later.
From: skynet@berlin.snafu.de (Martin Bachmayer) Newsgroups: comp.sys.next.programmer Subject: nximage Date: 11 Jul 1995 22:33:41 GMT Organization: SkyNet Message-ID: <3tuu85$anp@unlisys.unlisys.net> Mime-Version: 1.0 --- Hi, NeXTSTEP friends!!! I do need infos about the NXImage stuff: At this moment it is not clearly evident how to convert a special(!) TIFF from an EPS. This should be a 1-Bit-Black/White-Tiff or a 2-Bit-Graylevel-Tiff. How does this work? Any hints appreciated! C U later. Martin
From: rnielsen@everest.com (Robert D. Nielsen) Newsgroups: comp.sys.next.programmer Subject: Wanted: rtf2ps/rtfd2ps - printrtf/printrtfd Date: 12 Jul 1995 01:47:41 GMT Organization: TLGnet, a division of RGNet, Inc. Message-ID: <3tv9jt$e4d@kadath.zeitgeist.net> Greetings, Some time ago Eric P. Scott (EPS) wrote a RTF to PostScript converter called printrtf. According to Eric someone else (Steve Hayman?) produced the final RTFD-literate version. Does anyone know where I can located these programs? I am most interested in the RTFD literate version. Using 3.3 Developer Intel, so either source or binary (for Intel) would be fine. I *can* receive NeXTmail:-) Please respond to me via email since I rarely read Usenet. Thanks a bunch!! Cheers, Robert
From: rnielsen@everest.com (Robert D. Nielsen) Newsgroups: comp.sys.next.programmer Subject: Wanted: rtf2ps/rtfd2ps - printrtf/printrtfd Date: 12 Jul 1995 01:50:03 GMT Organization: TLGnet, a division of RGNet, Inc. Message-ID: <3tv9ob$e4f@kadath.zeitgeist.net> Greetings, Some time ago Eric P. Scott (EPS) wrote a RTF to PostScript converter called printrtf. According to Eric someone else (Steve Hayman?) produced the final RTFD-literate version. Does anyone know where I can located these programs? I am most interested in the RTFD literate version. Using 3.3 Developer Intel, so either source or binary (for Intel) would be fine. I *can* receive NeXTmail:-) Please respond to me via email since I rarely read Usenet. Thanks a bunch!! Cheers, Robert
From: rnielsen@everest.com (Robert D. Nielsen) Newsgroups: comp.sys.next.programmer Subject: Wanted: rtf2ps/rtfd2ps - printrtf/printrtfd Date: 12 Jul 1995 04:25:57 GMT Organization: TLGnet, a division of RGNet, Inc. Message-ID: <3tvisl$pgs@kadath.zeitgeist.net> Greetings, Some time ago Eric P. Scott (EPS) wrote a RTF to PostScript converter called printrtf. According to Eric someone else (Steve Hayman?) produced the final RTFD-literate version. Does anyone know where I can located these programs? I am most interested in the RTFD literate version. Using 3.3 Developer Intel, so either source or binary (for Intel) would be fine. I *can* receive NeXTmail:-) Please respond to me via email since I rarely read Usenet. Thanks a bunch!! Cheers, Robert
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 12 Jul 1995 03:24:00 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <3tvf8h$oht@usenet.rpi.edu> References: <DBCBwG.HI@euler.hnv.icem.de> js@euler.hnv.icem.de(Juergen Sell) wrote: > I would like to know your most pressing arguments > why you consider the combination of Obj-C plus IB a better > development tool / implementation mechanism than the more > traditional C or C++ together with whatever GUI-builder. While people debate the merits of ObjectiveC vs C++, I'd like to concentrate on the GUI-builder question for a bit. First thing to realize is that InterfaceBuilder is *not* a GUI builder. That happens to be it's most popular use, but the key to InterfaceBuilder is that it's not just another program to create code that implements GUI elements. The interface builder archives and manipulates objects. It does not produce code. Most GUI builders I've seen just spit out code -- and usually that's code which you would go on to modify. The problem comes up when you then go back to make some changes to the GUI itself. You can't feed your current code back into the GUI builder and modify it. You either modify your code (by hand, dumping the GUI builder), or you use the GUI builder to punch out a new chunk of code (which you then try to merge with your earlier code). The fact that InterfaceBuilder is for archiving and manipulating objects is really the key to the whole debate. Once you grasp that, you realize that it could be used to manipulate *any* kind of object -- it's not limited to GUI-related things. It's my guess that ObjectiveC makes it easier to write something like InterfaceBuilder than C++ would make it, so maybe one could approach that debate from the standpoint of "what language makes InterfaceBuilder easy?". Me, I just don't like C++, so that debate doesn't interest me. Most the programmers I know regularly refer to it as C--, to give you an idea of how "highly" it's valued. The problem with debating languages is that it often boils down to one person saying "Oh yeah? Well I wrote a 100,000 line program in this language and eventually got it working, so the language must be good". And since every language has someone who can say that, the debate just goes round and round. --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Message-ID: <DBL23G.18M@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <pszqilnnz4.fsf@birch.mv.us.adobe.com> Date: Wed, 12 Jul 1995 03:09:15 GMT Scott Byer <byer@mv.us.adobe.com> writes > you _don't_ get [with C++] the benefit of dynamic binding, but you pay > the penalty [with Objective-C] of not being able to do good > static analysis of the code! If you mean static analysis for purposes of generating optimized code, then I suppose you are correct. If instead, you mean static analysis for purposes of detecting programming errors during compilation, then I think you unfairly malign Objective-C. If you carefully assign types to arguments and return values in Objective-C, then the compiler can and will detect most mismatches at compile time. If instead you let them default to id, the compiler does little to check what you type. Its quite analogous to C IMHO. If you invest the time to define the types in function prototypes, the compiler will catch many type mismatches. If you don't make proper protypes (or just type things to void *), you get no help from the compiler. The choice is yours. Unfortunately, quite a lot of Objective-C code takes the second approach - such as the appkit. Fortunately, OPENSTEP corrects that error. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: Rainer Frohnhoefer Newsgroups: comp.sys.next.programmer Subject: Re: Non-working compiler. Date: 10 Jul 1995 14:17:02 GMT Organization: University of Wuerzburg, Germany Message-ID: <3trcou$60k@winx03.informatik.uni-wuerzburg.de> References: <3tju08$auu@driene.student.utwente.nl> Keywords: RAM h.m.speyer@student.utwente.nl (Hans Speijer) wrote: >Hi all. >I'm having troubles with installing NeXTSTEP Developer 3.2 from >The error-message I get is: [snip snip] >cc: Internal compiler error: program cpp-precomp got fatal signal 11 not found >Any advice would be welcome. I have been waiting for 5 months to start >with NeXTSTEP now. I am getting a little frustrated. (Non-certified hardware, >no money, broken-down SCSI-Disks, the works...) >Greetings, Hans Speijer I don't really know about Intel NextStep systems (I use black hardware :) but I heard the same complains from several people who use Linux and freeBSD. In every case a misconfigured system and/or was the reason. The same happened to me for a while. I found out it was caused by a malfunctioning SIMM. Better check your RAM/cache configuration. Sorry that I don't have something more specific, I hope this helps ... Rainer. ------------------------------------- "Um Energie zu sparen, wird das Licht am Ende des Tunnels vorlaeufig abgeschaltet." rainer@picard.mathematik.uni-wuerzburg.de
From: mshores@iastate.edu ([self returnName];) Newsgroups: comp.sys.next.programmer Subject: termios functions in NeXTSTEP.... Date: 12 Jul 95 07:47:49 GMT Organization: Iowa State University, Ames, Iowa Message-ID: <mshores.805535269@las1.iastate.edu> Could anyone tell me why NeXT removed the termios functions from the libsys.a libraries? The only way to get applications that use this to run is by including the libposix.a library. However, if you do this with libsys.a, there are lots of multiple definitions. Assuming that libsys.a was meant to contain most of the posix functions, why did they leave out termios? Can anyone tell me a way to include these functions WITHOUT ripping from libposix.a??? Any help is appriciated... Matt
From: John Kheit <jkheit@cnj.digex.net> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 12 Jul 1995 08:42:00 GMT Organization: Express Access Online Communications, USA Message-ID: <3u01so$99o@news3.digex.net> References: <3trutr$476@nntp.ucs.ubc.ca> <3ttpem$gr0@ni1.ni.net> <pszqilnnz4.fsf@birch.mv.us.adobe.com> Scott Byer <byer@mv.us.adobe.com> wrote: > Naw, C++ is so full of "unclear on the concept" of language design that it's stunning that it's made it as far as it has. This is a little off point, but my guess, and I think I've seen this hammered to death elsewhere, is that C++ is so prevelent because it was free. You had to pay for Objective-C so no one wanted to use it and C++ became the standard. But like most things, you get what you pay for :) -- Thanks, Later, John monoChrome, Inc. | New York Law School | NEXTSTEP Developer John Kheit )^> %^) | Opinions expressed | MIME & NeXTmail OK--3P jkheit@cnj.digex.net | represent me only... | Telepathy...It's coming...
Newsgroups: comp.sys.next.programmer From: gdkuch@mercator.math.uwaterloo.ca (Jerry Kuch) Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Message-ID: <DBKvuo.6Ju@undergrad.math.uwaterloo.ca> Sender: news@undergrad.math.uwaterloo.ca (news spool owner) Organization: University of Waterloo References: <3trutr$476@nntp.ucs.ubc.ca> <3ttpem$gr0@ni1.ni.net> Date: Wed, 12 Jul 1995 00:54:24 GMT In article <3ttpem$gr0@ni1.ni.net>, Felipe A. Rodriguez <root@terra.crystalengine.com> wrote: >In article <3trutr$476@nntp.ucs.ubc.ca> monckton@tiger.mech.ubc.ca (Simon >Monckton) writes: >> Juergen Sell (js@euler.hnv.icem.de) wrote: >> : I would like to know your most pressing arguments >> : why you consider the combination of Obj-C plus IB a better development >tool / implementation >> : mechanism than the more traditional C or C++ together with whatever >GUI-builder. >> >[snip] >> >> C++ has some capabilities that (I wish) Objective C provided, such as >operator >> overloading. >> >[snip] >> >> Simon > >Wow, I guess beauty really is in the eye of the beholder, because if there >is one single "feature" in C++ that I hate (and I dislike many of its >"features") it is the ability to do operator overloading. Operator >overloading is the best way I can think of to obscure the meaning of code. Operator overloading is easy to abuse, but there are cases where the alternative can obscure meaning as well. If I write some objects for complex number arithmetic for instance, it's nicer to write: z3 = (z1 + z2)*z4; Than something more ghastly like: [[[z3 addTo:z1] addTo: z2] timesBy:z4]; For arithmetic and other naturally formulaic expressions, overloading can save considerable annoyance. When overloading goes wrong is when some buttwipe starts writing things like: Screen += (Window += Button); To create a new Window and the like. But operators that are inherently arithmetic, I don't mind overloading, as long as the overloaded meanings correspond to sensibly arithmetic things. It's almost as trendy to bash C++ and everything about it as it is trendy to fall prostrate before it, sluicing out sycophantic praise for it and everything about it. Recognizing that it sucks, but realizing that there are occasional aspects of it that aren't totally ill-conceived seems to be worth doing. -- Jerry Kuch EMail: gdkuch@mercator.math.uwaterloo.ca, NeXTMail welcome. WWW: http://daisy.uwaterloo.ca/~gdkuch/home.html
From: rog@talisker.ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 12 Jul 1995 09:54:18 GMT Organization: The University of York, UK Distribution: world Message-ID: <3u064a$fbr@mailer.york.ac.uk> References: <pszqilnnz4.fsf@birch.mv.us.adobe.com> <DBL23G.18M@genoa.com> Alex Blakemore (alex@genoa.com) wrote: > If you carefully assign types to arguments and return values in Objective-C, > then the compiler can and will detect most mismatches at compile time. If > instead you let them default to id, the compiler does little to check what > you type. the problem is that using types (i.e. class names) effectively takes you back to the static binding given by C++. IMHO, object protocols are severely underused in Objective C. the compiler should check protocol conformance more rigourously; anywhere an object is used, it should be declared with a protocol matching its usage. this still allows strong type checking, but also retains the flexibility that true dynamic binding gives you, because it doesn't force the use of certain classes. it enhances modularity by keeping knowledge of class information within the classes themselves, so one is free to alter the class hierarchy without affecting the type checking. a protocol also acts as a much better documentation of the interface between objects than a class name, because it only contains those methods which are essential to the objects' interaction. unlike a class, which often implements (along with its superclasses) hundreds of methods, only a few of which are relevant. class based type checking is an anachronism in a dynamically binding language. cheers, rog.
From: tiggr@es.ele.tue.nl (Pieter Schoenmakers) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 12 Jul 1995 13:30:35 GMT Organization: Eindhoven University of Technology, The Netherlands Distribution: world Message-ID: <TIGGR.95Jul12153035@cobra.es.ele.tue.nl> References: <pszqilnnz4.fsf@birch.mv.us.adobe.com> <DBL23G.18M@genoa.com> <3u064a$fbr@mailer.york.ac.uk> In-reply-to: rog@talisker.ohm.york.ac.uk's message of 12 Jul 1995 09:54:18 GMT In article <3u064a$fbr@mailer.york.ac.uk> rog@talisker.ohm.york.ac.uk (Roger Peppe) writes: the problem is that using types (i.e. class names) effectively takes you back to the static binding given by C++. No. Indicating the type of an object, whether by `id <SomeProtocol>' or by `SomeClass *' only confines the search space of the compiler when it looks for typing information of the arguments and the return value of a method. In NeXT and GNU Objective-C, _all_ _method_ _invocations_ _are_ _dynamically_ _bound_ _period_. IMHO, object protocols are severely underused in Objective C. the compiler should check protocol conformance more rigourously; The problem with protocols is that the compiler is too dumb for less obvious use of protocols. For instance, how'd you declare a method which accepts as an argument a class object which implements the class methods as declared in a certain protocol? You can't. --Tiggr
From: root@terra.crystalengine.com(Felipe A. Rodriguez) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 12 Jul 1995 14:46:37 GMT Organization: Network Intensive Message-ID: <3u0n8d$nmv@ni1.ni.net> In article <DBKvuo.6Ju@undergrad.math.uwaterloo.ca> gdkuch@mercator.math.uwaterloo.ca (Jerry Kuch) writes: [snip] > > Operator overloading is easy to abuse, but there are cases where the > alternative can obscure meaning as well. > > If I write some objects for complex number arithmetic for instance, it's > nicer to write: > > z3 = (z1 + z2)*z4; > > Than something more ghastly like: > > [[[z3 addTo:z1] addTo: z2] timesBy:z4]; > > For arithmetic and other naturally formulaic expressions, overloading can save > considerable annoyance. It may be "nicer" but the meaning of the C++ statement is not necessarily clear to me. The ObjC version may involve a bit more typing but it's meaning is crystal clear (as defined by the manual). >When overloading goes wrong is when some buttwipe > starts writing things like: > > Screen += (Window += Button); > > To create a new Window and the like. But operators that are inherently > arithmetic, I don't mind overloading, as long as the overloaded meanings > correspond to sensibly arithmetic things. > What is sensible to you may appear irrational to me, and obviously if we can not communicate in code then our supposedly labor saving OOP will be anything but. > It's almost as trendy to bash C++ and everything about it as it is trendy > to fall prostrate before it, sluicing out sycophantic praise for it and > everything about it. Recognizing that it sucks, but realizing that there > are occasional aspects of it that aren't totally ill-conceived seems to > be worth doing. > > > -- > Jerry Kuch EMail: gdkuch@mercator.math.uwaterloo.ca, NeXTMail welcome. > WWW: http://daisy.uwaterloo.ca/~gdkuch/home.html > Well at least we agree it sucks :-) Felipe A. Rodriguez # ...it cannot be called ingenuity to kill Agoura Hills, CA # one's fellow citizens, to betray # friends, to be without faith, without root@terra.crystalengine.com # mercy, without religion; by these means (NeXTmail preferred) # one can aquire power but not glory. (MIMEmail welcome) # --Nicolo Machiavelli xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
From: John Kheit <jkheit@cnj.digex.net> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 12 Jul 1995 16:59:11 GMT Organization: Express Access Online Communications, USA Message-ID: <3u0v0v$atk@news3.digex.net> References: <DBCBwG.HI@euler.hnv.icem.de> <3tvf8h$oht@usenet.rpi.edu> Garance A Drosehn <gad@eclipse.its.rpi.edu> wrote: > The interface builder archives and manipulates objects. It does > not produce code. Most GUI builders I've seen just spit out code Excellent point, this makes a huge difference in not only ease of design, but time to implement a project. -- Thanks, Later, John monoChrome, Inc. | New York Law School | NEXTSTEP Developer John Kheit )^> %^) | Opinions expressed | MIME & NeXTmail OK--3P jkheit@cnj.digex.net | represent me only... | Telepathy...It's coming...
From: seanl@jujube.cs.umd.edu (Sean Luke) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 12 Jul 1995 16:44:32 GMT Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Distribution: world Message-ID: <3u0u5g$qp9@mimsy.cs.umd.edu> References: <pszqilnnz4.fsf@birch.mv.us.adobe.com> <DBL23G.18M@genoa.com> <TIGGR.95Jul12153035@cobra.es.ele.tue.nl> Pieter Schoenmakers (tiggr@es.ele.tue.nl) wrote: >In article <3u064a$fbr@mailer.york.ac.uk> rog@talisker.ohm.york.ac.uk (Roger Peppe) writes: > the problem is that using types (i.e. class names) effectively takes you > back to the static binding given by C++. >No. Indicating the type of an object, whether by `id <SomeProtocol>' or by >`SomeClass *' only confines the search space of the compiler when it looks >for typing information of the arguments and the return value of a method. >In NeXT and GNU Objective-C, _all_ _method_ _invocations_ _are_ >_dynamically_ _bound_ _period_. Not exactly correct. It is possible to do method invocations that are not dynamically bound in the sense we're talking about. If you'll be calling the same method over and over in a tight loop, grab its @selector, then call the function directly inside the loop. Since the Obj-C runtime is "standardized" (whatever that means), this is usually acceptable code. Pretty nasty, tho. 100,000 calls, but only one dynamic lookup, translates into a lot of non-dynamically bound calls. Sean Luke seanl@cs.umd.edu
From: alex@talus.com (Alex Kolesov) Newsgroups: comp.sys.next.programmer Subject: Full user name ? Date: 12 Jul 1995 17:10:10 GMT Organization: The Black Box, Houston, Tx (713) 480-2686 Distribution: world Message-ID: <3u0vli$mm@news.blkbox.com> Keywords: user, name Does anybody know how to get full user name from NEXTSTEP application ? In other words is there something similar to NXUserName() that returns full user name stored in netinfo ? (For example: "Alex Kolesov" instead of "alex") Any help will be appreciated. ~~~ Alex A. Kolesov || Talus Systems alex@talus.com || 710 Queensmill Court Phone: (713) 531-0006 || Houston, TX 77079 Fax: (713) 531-1546 || NeXT & MIME mail accepted
From: robertn@seahawk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Full user name ? Date: 12 Jul 1995 18:55:28 GMT Organization: McCaw Cellular Communications, Inc. Distribution: world Message-ID: <ROBERTN.95Jul12115528@seahawk> References: <3u0vli$mm@news.blkbox.com> In-reply-to: alex@talus.com's message of 12 Jul 1995 17:10:10 GMT In article <3u0vli$mm@news.blkbox.com> alex@talus.com (Alex Kolesov) writes: Path: nwestnews!nwfocus.wa.com!news.omnigroup.com!nwfocus1.wa.com!news.sprintlink.net!gatech!swrinde!news.uh.edu!uuneo.neosoft.com!news.blkbox.COM!usenet From: alex@talus.com (Alex Kolesov) Newsgroups: comp.sys.next.programmer Date: 12 Jul 1995 17:10:10 GMT Organization: The Black Box, Houston, Tx (713) 480-2686 Lines: 11 Distribution: world Reply-To: alex@talus.com NNTP-Posting-Host: port146.blkbox.com Keywords: user, name Does anybody know how to get full user name from NEXTSTEP application ? In other words is there something similar to NXUserName() that returns full user name stored in netinfo ? (For example: "Alex Kolesov" instead of "alex") Any help will be appreciated. ~~~ Alex A. Kolesov || Talus Systems alex@talus.com || 710 Queensmill Court Phone: (713) 531-0006 || Houston, TX 77079 Fax: (713) 531-1546 || NeXT & MIME mail accepted Go look up...man 3 getpwnam Just waiting for somebody to suggest that this doesn't use netinfo :-)
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP/Career Position/ILL Date: 12 Jul 1995 19:24:07 GMT Organization: Norden 1 Communications Message-ID: <3u17gn$6dh@news1.channel1.com> Programmer/analyst/developer NEXTSTEP Objective C A plus---Sybase or Oracle A plus---DB Kit or EOF Career Position Outstanding opportunnity Excellent benefits Relocation assistance To be considered---Fax resume or mail a hard copy. -- ehutch@norden1.com (419) 893-6367 [fax] The Omni Group (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
Newsgroups: comp.sys.next.programmer From: tyler@vanguard.com (Tyler Gingrich) Subject: Re: Full user name ? Message-ID: <1995Jul12.194807.24144@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <3u0vli$mm@news.blkbox.com> Date: Wed, 12 Jul 1995 19:48:07 GMT Alex Kolesov writes > Does anybody know how to get full user name from NEXTSTEP application ? > In other words is there something similar to NXUserName() that returns > full user name stored in netinfo ? (For example: "Alex Kolesov" instead > of "alex") > Here's the plain vanilla unix stuff. Up to you to wrap in an object. struct passwd *pwd; const char *p; pwd = getpwuid(getuid()); p = pwd->pw_gecos; Tyler Gingrich #include <std_disclaimers.h>
From: Carl_Lindberg@BLaCKSMITH.com Newsgroups: comp.sys.next.programmer Subject: Re: Full user name ? Date: 12 Jul 1995 20:02:56 GMT Organization: BLaCKSMITH, Inc. Message-ID: <3u19pg$9kh@anvil.BLaCKSMITH.com> References: <3u0vli$mm@news.blkbox.com> alex@talus.com (Alex Kolesov) wrote: > Does anybody know how to get full user name from NEXTSTEP application ? In > other words is there something similar to NXUserName() that returns full > user name stored in netinfo ? (For example: "Alex Kolesov" instead of > "alex") It's the only thing in the pw_gecos field of a passwd struct. So: const char *realNameForUsername(const char *username) { struct passwd *user = getpwnam((char *)username); if (user) return user->pw_gecos; return NULL; // if username was invalid } Hope this helps... ---------------------------------------- Carl Lindberg Carl_Lindberg@BLaCKSMITH.com (NeXTmail)
From: tm8025a@localhost.wisc.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: Unix SubProcess and or Terminal --- Long Date: 12 Jul 1995 22:06:18 GMT Organization: University of Wisconsin, Madison Message-ID: <3u1h0q$1hpe@news.doit.wisc.edu> I posted recently about my problems interacting with a Unix SubProcess. Since no one responded to it I thought I would add a bit more info and ask an other question also. (Thanks much for all the help with the text field to those that responded.) I am trying to make a little front end for a telnet session, send it some commands/strings when it gets connected, and then send further commands as strings from a panel and text field box. Hopeful series of events. Invokes "/bin/sh" with the init: message in the class and with pty support. Get connected. Sends terminal type, VT100 in this case. Sends a password. Send further commands via Panel buttons. I am using the Subprocess class documented in NextDeveloper/Examples/UNIX/. I get connected but only partially. When it connects it seems that the connection gets dropped due to "lack of input" because I get the "Connection dropped by foreign host message". If I go through Terminal I get connected and get the text that asks me for the Terminal type and passwd string. Everything then goes as smooth as it normally does. I have tried different shells, sourcing startup files, and tn3270 instead of telnet. I then tried telnetting to my own machine when I noticed that things didn't work as well in the terminal window. What is the difference? I know that is a big thing to ask but by starting sh in a scrollview, the one enclosed with the subprocess for instance, instead of the terminal is what seems to be throwing me off. Either that or the subprocess is not doing exactly what Terminal does. I could scrap all of this if there was a way to send commands to a terminal window from a panel. Like the GDB panel invoked via Project Builder.app. You click debug, it chucks up a terminal, sends it a command, and then looks to the panel for more input. Any one know how to pull that one off? Thanks for any help or even starting places to look. -- Torrey McMahon
From: rworne@chaos (Robert Worne) Newsgroups: comp.sys.next.programmer Subject: GNU Fortran f77 and GNU Pascal installation questions: Date: 13 Jul 1995 00:12:17 GMT Organization: Primenet Message-ID: <3u1od1$9m@dump.primenet.com> After combing the net for different languages to load into my cube for upcoming classes in the fall, I need to know how to install/configure the following packages: GNU 'C' 2.7.0-- won't compile properly, it fails the "make test" of course, after 6 hours of compiling... GNU Fortran f77, the base release of GNU 'C' in NeXT is too low a version number. What to do? GNU Pascal, same version problem as GNU Fortran. Smalltalk and Lisp are working as fine as I can tell... Any hints tips, etc would be appreciated.
From: marcus@sysc.pdx.edu (Marcus Daniels) Newsgroups: comp.sys.next.programmer Subject: Linker, Mach-O, BFD Followup-To: comp.sys.next.programmer Date: 12 Jul 1995 15:41:22 GMT Distribution: world Message-ID: <MARCUS.95Jul12084122@sayre.sysc.pdx.edu> I'm really frustrated by not being able to do cross-compilation to NEXTSTEP. Does anyone know of the following? 0) the history of NeXT's ld 1) alternatives to NeXT ld 2) Mach-O to a.out/ELF/anything conversion Otherwise, does anyone have interest in any of the following: 0) A BFD backend for Mach-O 1) Conversion tools for making NeXT binaries run on other O.S.'s 2) Mach-O executable support for Linux Also, has anyone built and put of for ftp gcc-2.7.0 m68k Mach-O binaries ?
Newsgroups: comp.sys.next.programmer From: davidjohn@kira.net.netcom.com (David John Burrowes) Subject: Re: Cyclic references in retain/release-mechanism Message-ID: <1995Jul12.115853.843@kira.net.netcom.com> Sender: davidjohn@kira.net.netcom.com Organization: No organization at this time. References: <3tc5h7$286@pina1.telecom.at> Date: Wed, 12 Jul 1995 11:58:53 GMT In article <3tc5h7$286@pina1.telecom.at> hannes@ping.at (Hannes Tiefenbrunner) writes: > ... > A short outline of the situation: > > - A new document is to be created in a standard OpenStep-app > - An instance of class 'DocumentController' gets allocated > - The object that allocated it (e.g. NXApp) holds _one_ reference to this > DocumentController > - The DocumentControllers nib-file gets loaded > - DocumentController has an outlet 'window' which gets set to reference a > window loaded from the nib-file > - The window references (over some subviews) a button > - This button has an outlet 'target' which gets set to reference the > DocumentController > > Question: > > Does the button have to retain the DocumentController? > Actually it has an instance variable of type id pointing to it, so it would > have to retain it. > But if it does, the DocumentController is then referenced by _two_ objects! > If the object (e.g. NXApp) who allocated him, releases him, he won't be > deallocated and the whole chain DocumentController->Window->..views..->Button > is hanging in the air. Probably I am missng something here, but this really isn't an issue of 'cyclic references', is it? It seems to me the problem is that NeXT has introduced a good new low tech paradigm for dealing with garbage collection. Unfortunately, not all their classes make use of this. If the button, in the above example, did retain the DocumentController (as I suspect it should) and then released it (and all other relevant instance variables) when it, itself, was freed/released, then this situation would not be bad. Thus: I don't think it is circularity, it is having two memory allocation/deallocation schemes coexisting (the older one not knowing about retain and release as it should). Agreements or Disagreements? david john burrowes
From: root@terra.crystalengine.com(Felipe A. Rodriguez) Newsgroups: comp.sys.next.programmer Subject: Re: Unix SubProcess and or Terminal --- Long Date: 13 Jul 1995 04:36:24 GMT Organization: Network Intensive Message-ID: <3u27s8$fo7@ni1.ni.net> References: <3u1h0q$1hpe@news.doit.wisc.edu> In article <3u1h0q$1hpe@news.doit.wisc.edu> tm8025a@localhost.wisc.edu (Torrey McMahon) writes: >I posted recently about my problems interacting with a Unix SubProcess. >Since no one responded to it I thought I would add a bit more info and ask >an other question also. (Thanks much for all the help with the text field >to those that responded.) > >I am trying to make a little front end for a telnet session, send it some >commands/strings when it gets connected, and then send further commands as >strings from a panel and text field box. > >Hopeful series of events. > >Invokes "/bin/sh" with the init: message in the class and with pty support. >Get connected. >Sends terminal type, VT100 in this case. I believe this is a potential problem, because the terminal produced with the Subprocess example is not a true VT100. >Sends a password. >Send further commands via Panel buttons. > >I am using the Subprocess class documented in NextDeveloper/Examples/UNIX/. > >I get connected but only partially. When it connects it seems that the >connection gets dropped due to "lack of input" because I get the >"Connection dropped by foreign host message". If I go through Terminal I >get connected and get the text that asks me for the Terminal type and >passwd string. Everything then goes as smooth as it normally does. > >I have tried different shells, sourcing startup files, and tn3270 instead >of telnet. I then tried telnetting to my own machine when I noticed that >things didn't work as well in the terminal window. > >What is the difference? Again, the terminal produced by the subprocess example does not recognize the VT100 command syntax. I know that is a big thing to ask but by starting >sh in a scrollview, the one enclosed with the subprocess for instance, >instead of the terminal is what seems to be throwing me off. Either that or >the subprocess is not doing exactly what Terminal does. > >I could scrap all of this if there was a way to send commands to a terminal >window from a panel. Like the GDB panel invoked via Project Builder.app. >You click debug, it chucks up a terminal, sends it a command, and then >looks to the panel for more input. Any one know how to pull that one off? Ah, you want magic. Luckily, with UNIX there usually is a way. You can have your app launch a UNIX tool to act as a frontend (usign pty's) for your UNIX process and simultaneously have it act as a rearend for a Terminal.app shell window. You can then avail and control this tool from your app through the distributed objects mechanism or Mach RPC. Simple huh? In case you are wondering. I have written the above which is a Multi-tasked, Multi-threaded tool which acts as frontend to both sides of tip and which acts as a rearend to Terminal.app. I must, however, warn you that although this tool is not very big it is a rather tricky piece of code. If you are interested let me know and I will send you a Beta source version of my app. It would be nice if their was a simpler interface to Terminal.app (there may be), but the nice thing about the UNIX way is it's inherent portability > >Thanks for any help or even starting places to look. > >-- >Torrey McMahon -- Felipe A. Rodriguez # ...it cannot be called ingenuity to kill Agoura Hills, CA # one's fellow citizens, to betray # friends, to be without faith, without root@terra.crystalengine.com # mercy, without religion; by these means (NeXTmail preferred) # one can aquire power but not glory. (MIMEmail welcome) # --Nicolo Machiavelli
From: tiggr@es.ele.tue.nl (Pieter Schoenmakers) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 13 Jul 1995 06:36:10 GMT Organization: Eindhoven University of Technology, The Netherlands Distribution: world Message-ID: <TIGGR.95Jul13083610@cobra.es.ele.tue.nl> References: <pszqilnnz4.fsf@birch.mv.us.adobe.com> <DBL23G.18M@genoa.com> <TIGGR.95Jul12153035@cobra.es.ele.tue.nl> <3u0u5g$qp9@mimsy.cs.umd.edu> In-reply-to: seanl@jujube.cs.umd.edu's message of 12 Jul 1995 16:44:32 GMT In article <3u0u5g$qp9@mimsy.cs.umd.edu> seanl@jujube.cs.umd.edu (Sean Luke) writes: Pieter Schoenmakers (tiggr@es.ele.tue.nl) wrote: >In NeXT and GNU Objective-C, _all_ _method_ _invocations_ _are_ >_dynamically_ _bound_ _period_. Not exactly correct. It is possible to do method invocations that are not dynamically bound in the sense we're talking about. If you'll be calling the same method over and over in a tight loop, grab its @selector, then call the function directly inside the loop. Yes, you can get a function pointer by a runtime lookup (i.e. dynamic binding). And then you invoke functions. Which are not methods. And thus the following statement remains correct: In NeXT and GNU Objective-C, _all_ _method_ _invocations_ _are_ _dynamically_ _bound_ _period_. --Tiggr
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 12 Jul 1995 23:44:16 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <3u1mog$8j2@usenet.rpi.edu> References: <3trutr$476@nntp.ucs.ubc.ca> <3ttpem$gr0@ni1.ni.net> <pszqilnnz4.fsf@birch.mv.us.adobe.com> <3u01so$99o@news3.digex.net> John Kheit <jkheit@cnj.digex.net> wrote: > Scott Byer <byer@mv.us.adobe.com> wrote: > > Naw, C++ is so full of "unclear on the concept" of language > > design that it's stunning that it's made it as far as it has. > This is a little off point, but my guess, and I think I've seen > this hammered to death elsewhere, is that C++ is so prevelent > because it was free. You had to pay for Objective-C so no one > wanted to use it and C++ became the standard. But like most > things, you get what you pay for :) Well, one thing C++ tried to do was add ideas taken from a variety of sources. This was done precisely to make it attractive to as many people as possible. It explains both why it's so popular, and why it's so full of "unclear on the concept". It's not a concept-driven design, so there is no clear concept. Given a language with a clear and focused concept, programmers have to adapt to it. C++ tried to adapt itself to the pool of potential programmers. --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? In-Reply-To: root@terra.crystalengine.com's message of 11 Jul 1995 12:05:42 GMT Message-ID: <ps20vxp2k7.fsf@birch.mv.us.adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated, Mountain View, CA References: <3trutr$476@nntp.ucs.ubc.ca> <3ttpem$gr0@ni1.ni.net> Date: Tue, 11 Jul 1995 18:49:44 GMT Felipe A Rodriguez writes: Felipe> Wow, I guess beauty really is in the eye of the beholder, because if Felipe> there is one single "feature" in C++ that I hate (and I dislike many Felipe> of its "features") it is the ability to do operator overloading. Felipe> Operator overloading is the best way I can think of to obscure the Felipe> meaning of code. I have to second that. Operator overloading causes C++ to be a complete nightmare - you _don't_ get the benefit of dynamic binding, but you pay the penalty of not being able to do good static analysis of the code! As for dynamic binding vs. performance - is it really that hard to do @selector before entering a tight loop? Because if you cover those cases, the extra time spent for the dynamic binding in the rest of the code is mostly noise. It's certainly small enough to be easily made up by having a better code optimizer. Naw, C++ is so full of "unclear on the concept" or language design that it's stunning that it's made it as far as it has. -- Scott Byer E-Mail: byer@mv.us.adobe.com Adobe Systems Incorporated These are my opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. === === C++ is to C as lung cancer is to lung.
Newsgroups: comp.sys.next.programmer From: Scott Byer <byer@mv.us.adobe.com> Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? In-Reply-To: root@terra.crystalengine.com's message of 11 Jul 1995 12:05:42 GMT Message-ID: <pszqilnnz4.fsf@birch.mv.us.adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated, Mountain View, CA References: <3trutr$476@nntp.ucs.ubc.ca> <3ttpem$gr0@ni1.ni.net> Date: Tue, 11 Jul 1995 18:49:44 GMT Felipe A Rodriguez writes: Felipe> Wow, I guess beauty really is in the eye of the beholder, because if Felipe> there is one single "feature" in C++ that I hate (and I dislike many Felipe> of its "features") it is the ability to do operator overloading. Felipe> Operator overloading is the best way I can think of to obscure the Felipe> meaning of code. I have to second that. Operator overloading causes C++ to be a complete nightmare - you _don't_ get the benefit of dynamic binding, but you pay the penalty of not being able to do good static analysis of the code! As for dynamic binding vs. performance - is it really that hard to do @selector before entering a tight loop? Because if you cover those cases, the extra time spent for the dynamic binding in the rest of the code is mostly noise. It's certainly small enough to be easily made up by having a better code optimizer. Naw, C++ is so full of "unclear on the concept" of language design that it's stunning that it's made it as far as it has. -- Scott Byer E-Mail: byer@mv.us.adobe.com Adobe Systems Incorporated These are my opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. === === C++ is to C as lung cancer is to lung.
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP/Career Position/ILL Date: 13 Jul 1995 10:43:21 GMT Organization: Norden 1 Communications Message-ID: <3u2tc9$8pj@news1.channel1.com> Programmer/analyst/developer NEXTSTEP Objective C DB Kit or EOF Sybase or Oracle Career position Outstanding opportunity Relocation assistance To be considered---Fax resume or mail a hard copy. -- ehutch@norden1.com (419) 893-6367 [fax] The Omni Group (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP/Career Position/ILL Date: 13 Jul 1995 11:29:26 GMT Organization: Norden 1 Communications Message-ID: <3u302m$8qu@news1.channel1.com> Programmer/analyst/developer NEXTSTEP Objective C A plus---DB Kit or EOF A plus---Sybase or Oracle Career position Outstanding opportunity Relocation To be considered---Fax resume or mail a hard copy -- ehutch@norden1.com (419) 893-6367 [fax] The Omni Group (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: hannes@ping.at (Hannes Tiefenbrunner) Newsgroups: comp.sys.next.programmer Subject: Re: TCP/IP: 0 socket returned... Date: 13 Jul 1995 11:47:28 GMT Organization: TELECOM Network Provider, Austria Distribution: world Message-ID: <3u314g$f2r@pina1.telecom.at> References: <3tr7fl$qad@mailer.york.ac.uk> Originator: hannes@s156.ping.at In article <3tr7fl$qad@mailer.york.ac.uk> rog@talisker.ohm.york.ac.uk (Roger Peppe) writes: # an fd of 0 is perfectly valid - it will return this if the standard # input has been closed. (some shells do this when backgrounding their # processes). # # -1 is the only error return from any of the socket related system calls. # use perror(), errno or strerror(errno) I agree - 0 _would_ be a valid fd if stdin has been closed. But if you try to use this fd, it doesn't work! I don't remember exactly _what_ went wrong, but I know I couldn't talk through this fd. # SIGPIPE happens when you're writing down a socket to a process which # has died. The system call will give an indication of this by returning # -1 with errno set to EINTR (interrupted system call). (you only get the indication # if you are catching the signal) # I know. I got this ERRNO and it's ok. But this 0-fd usually just occurred when lots of threads ran and lots of ports died - so I assumed these facts interfere. ____________________________________________ Hannes Tiefenbrunner hannes@ping.at - NeXTMail preferred, MIME ok -- ____________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred)
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.programmer Subject: Re: ncurses 1.9.x on NEXTSTEP 3.3? Date: 18 Jul 1995 11:02:46 GMT Organization: University of Heidelberg, Germany Message-ID: <3ug4cn$e2s@sun0.urz.uni-heidelberg.de> References: <3udfk4$enh@emf.emf.net> Farhad Afrahi (fa@emf.emf.net) wrote: : Has anyone successfully installed ncurses 1.9.x on NEXTSTEP 3.3? : If so, were any delicate points encountered? I will be grateful : for any guidance on this matter. I think you come pretty far by adding '-posix' to CFLAGS and LDFLAGS (sp?). Nevertheless there still remain some minor pitfalls in the compilation (have to look them up). On the other hand, I'm not sure if it makes sense to use '-posix' for ncurses. I think this means that you have to use '-posix' for any application that you'll compile with ncurses, and this may result in some trouble. It may be a better way to implement the changes that are necessary to compile ncurses for NEXTSTEP without '-posix'. Gregor -- | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: hannes@ping.at (Hannes Tiefenbrunner) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 18 Jul 1995 12:57:42 GMT Organization: TELECOM Network Provider, Austria Distribution: world Message-ID: <3ugb46$12q2@pina1.telecom.at> References: <3udj5p$sdg@mailer.york.ac.uk> Originator: hannes@s156.ping.at In article <3udj5p$sdg@mailer.york.ac.uk> rog@talisker.ohm.york.ac.uk (Rp9 Peppe) writes: # if typing using class names is done throughout a piece of objective C # code, then the underlying method calls could just as easily have been # implemented using static binding (as C++ does it), because it the # compiler has all the class information it needs at compile time. Well, if you don't use some ObjectiveC specialities like posing and dynamic loaded categories... # ... -- ____________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred)
From: hship@sinistar.cac.stratus.com (Howard Ship) Newsgroups: comp.sys.next.programmer Subject: Q: Obj-C Interpreter? Date: 18 Jul 1995 13:33:42 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <3ugd7m$fvj@transfer.stratus.com> A month or two ago, I saw a post about an Objective-C interpreter. It sounded like magic, it also sounds like something that would make a terrific test harness. I can't find the post, nor have I been able to locate it at ftp.cs.orst.edu, anybody remember this beast? -- Please come home with me... I have Tylenol!! Howard Ship hship@cac.stratus.com `84 GPz 750 (4sale) `88 FZR1000 (Zed) "I lurk not, neither do I flame." [NeXT Mail 3.3 / MIME Mail OK]
From: wfc@cl.cam.ac.uk (W F Clocksin) Newsgroups: comp.sys.next.programmer Subject: Rich Text control words explanation Date: 18 Jul 1995 13:59:49 GMT Organization: University of Cambridge, England Message-ID: <3ugeol$ppu@lyra.csx.cam.ac.uk> Can anyone point me to an on-line document that explains the Rich Text control words? I am particularly interested in the subset understood by NeXTStep's Text object. Thanks. W.F. Clocksin Compter Laboratory University of Cambridge
Newsgroups: comp.sys.next.programmer From: fred@improve.fdn.org (Frederic STARK) Subject: Re: [Application unloadNibFile: . . .] ??? Message-ID: <1995Jul18.125432.4581@improve.fdn.org> Sender: news@improve.fdn.org Organization: improve SA - La Defense, Paris, France. References: <3tcsf8$7gn@atlas.cs.upei.ca> Date: Tue, 18 Jul 1995 12:54:32 GMT In article <3tcsf8$7gn@atlas.cs.upei.ca> peter@bert (Peter) writes: > Is there any simple way to unload all of the objects loaded by a NIB file when the owner is > deallocated? Is this done automagically, or can it be done at all? > > In my program, many objects have there own NIB files. These provide inspectors, > miscellaneous panels and supporting objects. When I no longer need an object, I would > like to be able to free the whole shebang with one simple message. > > I have hunted through all the documentation, but I can't find any reference to freeing > NIBs. You can load the nib file in a special NXZone and free the zone when your are over with the nib content. This almost work, the only problem is when you have pointers to objet in the nib. The classic case is the application windowList that contains pointers to Windows within the list. Beware of the fact that popup are windows and so can be present in the windowList (I had the problem once). So you can have your file owner free the window that are present in the nib and after deallocate the whole nib. Hope that helps. ----------------------------------------------------------------- frederic stark -- fred@improve.fdn.org -----------------------------------------------------------------
From: James Gaines <jgaines@mcs.net> Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,mcs.general Subject: ISDN, OmniWeb, Ascend Pipeline 50, How Do I Default Gateway? Date: 18 Jul 1995 14:39:46 GMT Organization: Gaines Capital Corporation Message-ID: <3ugh3i$lk4@News1.mcs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have an ISDN/PPP internet connection via an Ascend Pipeline 50 with an IP address of 198.3.189.1 My goal is to have every other NeXT machine (198.3.189.xxx) on the network see the Pipe 50 and point to 198.3.189.1 when looking for a connection upon invoking a WWW browser or such. How do I do this? I thought I simply needed to set the default gateway in SNMP to be 198.3.189.1 for each NeXT machine on the network. However, even when I do this, each time I startup OmniWeb it cannot find the connection. What am I doing wrong? I did not see anywhere from within the OmniWeb app to point to the gateway. I believe OmniWeb assumes the connection has already been established. Also, since the PPP is running on the Pipe 50 only, is there anyway I can establish the Pipe 50's PPP connection from one of my workstations instead of having to do it from the Pipe 50 itself? Please reply to jgaines@mcs.com Thanks in advance, James jgaines@mcs.com
From: makhani@cftnet.com (Suleman Makhani) Newsgroups: comp.sys.next.programmer Subject: Need program for credit card numbers digit verificaion Date: 15 Jul 1995 18:10:09 GMT Organization: CFT Message-ID: <3u90a1$ddc@tech.cftnet.com> Does anyone have algorithm for digit verification for credit card? Please send me an email if you have it or if you know where can I get it from. Thanks Suleman Makhani
From: pisul_cj@cowley.uwlax.edu (Charles Pisula S92) Newsgroups: comp.sys.next.programmer Subject: Re: Q: Obj-C Interpreter? Date: 18 Jul 1995 17:12:28 GMT Organization: University of Wisconsin - La Crosse Message-ID: <3ugq1s$m80@alfred.acs.uwlax.edu> References: <3ugd7m$fvj@transfer.stratus.com> In article <3ugd7m$fvj@transfer.stratus.com> hship@sinistar.cac.stratus.com (Howard Ship) writes: > A month or two ago, I saw a post about an Objective-C interpreter. It sounded > like magic, it also sounds like something that would make a terrific test > harness. I can't find the post, nor have I been able to locate it at > ftp.cs.orst.edu, anybody remember this beast? > > -- > Please come home with me... I have Tylenol!! > > Howard Ship hship@cac.stratus.com `84 GPz 750 (4sale) `88 FZR1000 (Zed) > "I lurk not, neither do I flame." [NeXT Mail 3.3 / MIME Mail OK] Try Eval.app. I think it is at cs.orst. -- Chuck ------------------------------------------------- Steve Jobs quote From UnixWorld, April 1993 "If we give people an alternative to Microsoft... it will have been a greater good." ------------------------------------------------- ***
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de(Juergen Sell) Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Message-ID: <DBx6vG.Fy@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <DBvL1p.7FA@genoa.com> Date: Tue, 18 Jul 1995 16:23:39 GMT In article <DBvL1p.7FA@genoa.com> alex@genoa.com (Alex Blakemore) writes: [...] > On an app of any significant size, the only safe way to modify the outlets, > action methods or class hierarchy is to revise the header files (the true > source) and then reparse so that the nib (the derived source) is in synch. That is exactly what I meant. Is it not a pity? Why cannot IB be smart enough to correctly modify the appropriate header and implementation files? This to me would be the natural way to go. And since we are at it: let IB offer the implementation/modification of the code for a selected method in a TextView (or your favourite editor). What do I care if/whether I cross file boundaries or how else things are organized internally? I work with objects - thanks to the hype. So give me true object manipulation facilities, not some editing crap which balks on modifications i.e. chews up my work. SmallTalk implementations do allow for method code modification in their browsers. Should not be impossible to do for NEXT with a little help from find/grep/cut/patch/diff etc. > It would be even better if IB read this info from the class files (or the .o > files) automatically. Sure. Juergen --- Fon ++49 511 4406-88 NeXTMail welcome Fax ++49 511 4406-17 == What time do we live in when a wine's class matters more than its taste, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names?
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: [Application unloadNibFile: . . .] ??? Date: 18 Jul 1995 18:39:00 GMT Organization: The SenseMedia Network, http://sensemedia.net/, info@sensemedia.net Distribution: world Message-ID: <3ugv44$1a7@emerald.oz.net> References: <1995Jul18.125432.4581@improve.fdn.org> In article <1995Jul18.125432.4581@improve.fdn.org> fred@improve.fdn.org (Frederic STARK) writes: > You can load the nib file in a special NXZone and free the zone when your > are over with the nib content. > > This almost work, the only problem is when you have pointers to objet in > the nib. The classic case is the application windowList that contains > pointers to Windows within the list. Beware of the fact that popup are > windows and so can be present in the windowList (I had the problem once). > So you can have your file owner free the window that are present in the > nib and after deallocate the whole nib. > If you enjoy beating your head against brick walls, you might enjoy freeing nib objects by freeing their zone :-) I've *NEVER* gotten this to work with any real nibs (maybe with some toy examples). And forget it if you've got any DBModules in the nib. You can *NEVER* free a DBModule without your app subsequently crashing. Because so many classes need to do proper cleanup that's implemented in their free methods, just blowing away their memory by freeing their zone deprives them of the opportunity for proper cleanup. This results in all sorts of mysterious problems. So since you must free objects so they can clean up properly, you don't really need to blow away their zone. All nib objects are accessible in some way (you wouldn't be creating unaccessible nib objects, would you?), so just accesss and free them when no longer needed. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice: +1 408 335 1154 Trego Systems Fax: +1 408 335 2515 CaseServ: NEXTSTEP managed care USmail: Felton, CA 95018-9442 contract and case management solutions
Newsgroups: comp.sys.next.programmer From: lloyd@world.std.com (Christopher Lloyd) Subject: Re: [Application unloadNibFile: . . .] ??? Message-ID: <DBxE15.CMI@world.std.com> Organization: The World Public Access UNIX, Brookline, MA References: <1995Jul18.125432.4581@improve.fdn.org> <3ugv44$1a7@emerald.oz.net> Date: Tue, 18 Jul 1995 18:58:17 GMT In article <3ugv44$1a7@emerald.oz.net>, Art Isbell <art@cubicsol.com> wrote: >In article <1995Jul18.125432.4581@improve.fdn.org> fred@improve.fdn.org >(Frederic STARK) writes: >> You can load the nib file in a special NXZone and free the zone when >> your are over with the nib content. >>[...] > If you enjoy beating your head against brick walls, you might enjoy >freeing nib objects by freeing their zone :-) I've *NEVER* gotten this to >work with any real nibs (maybe with some toy examples). And forget it if >you've got any DBModules in the nib. You can *NEVER* free a DBModule >without your app subsequently crashing. >[...] Not to mention that this trick won't work in OpenStep, there is no NSDestroyZone, instead NSRecycleZone, which just moves the zone's memory back into the default zone. -- |: Christopher Lloyd :|: Yrrid Incorporated :|: lloyd@yrrid.com :| |: http://world.std.com/~lloyd :|
From: "Jeremy G. Mereness" <zonker+@CMU.EDU> Newsgroups: comp.sys.next.programmer Subject: Starting a Program from Boot Date: Tue, 18 Jul 1995 15:38:44 -0400 Organization: Graduate School of Industrial Administr., Carnegie Mellon, Pittsburgh, PA Message-ID: <0k30r4200iMa0AvUw0@andrew.cmu.edu> I have a NeXTstation that I would like to have go immediately into the desktop after booting and start an application. I know this is possible if you have no password file (the "me" account) but I would like to preserve that security. Also, when applications start up through the preferences in the Workspace manager, they don't have they don't get the focus... Workspace remains in the foreground. Is there a way to do this? Thanks! Jeremy Mereness FAST Laboratory GSIA
From: charles@manta.cs.vt.edu (Charles M. Esterbrook) Newsgroups: comp.sys.next.programmer Subject: An ObjC Header File Maker Date: 18 Jul 1995 19:34:01 GMT Organization: Virginia Tech, Blacksburg, Virginia Message-ID: <3uh2b9$8qd@server.cs.vt.edu> Keywords: ObjC header file script I know it's possible to make an ObjC implementation file look like this: @implementation MyClass : Object { float x; float y; } - method1 { return self; } @end And then have a script process this to produce the header file: @interface MyClass : Object { float x; float y; } - method1; @end I know some developers use such scripts. Would anyone like to share their script with the rest of us? Send e-mail to me at chuck@manta.cs.vt.edu and I will summarize for the news group. Thank you, Chuck Esterbrook
From: samurai@maggie.cs.mcgill.ca (Darcy BROCKBANK) Newsgroups: comp.sys.next.programmer Subject: Re: Linker, Mach-O, BFD Date: 18 Jul 1995 20:36:24 GMT Organization: School of Computer Science, McGill Univ. Distribution: world Message-ID: <SAMURAI.95Jul18163624@maggie.cs.mcgill.ca> References: <MARCUS.95Jul12084122@sayre.sysc.pdx.edu> <3uauoj$9f8@tauras.vu.lt> In-reply-to: urka@tauras.vu.lt's message of 16 Jul 1995 11:56:03 GMT <urka@tauras.vu.lt> writes: >Marcus Daniels (marcus@sysc.pdx.edu) wrote: >: Otherwise, does anyone have interest in any of the following: >: 0) A BFD backend for Mach-O >: 1) Conversion tools for making NeXT binaries run on other O.S.'s >: 2) Mach-O executable support for Linux >: Also, has anyone built and put of for ftp gcc-2.7.0 m68k Mach-O binaries ? >Well, I *seem* to remeember, somewhere in the fog of my mind, a switch >for making not Mach-O binaries, but standard BSD 4.3 a.out files, for the >compiler. >I suppose that you could also compile a gcc compiler for another platform >under NS. I don't think that switch works anymore. Anyway, someone should give NeXT a good boot in the head and have them do their BFD backend for MachO. It would make life easy for the rest of us... just imagine, up to date gdb binaries as you need them, etc. As is, NeXT's MachO support in the GNU bin tools is a horrible kludge. And, the source that they ship on the CD-ROM doesn't even compile. What a waste... you should just skip using NEXTSTEP now and go straight to Linux. - db -- You smell of corduroy and lemon drops. -- Veruca Salt -- Baldric, you wouldn't see a subtle plan if it painted itself purple and danced naked on top of a harpsichord singing, "Subtle Plans Are Here Again" -- Atkinson -- The Lord loves a hanging, that's why he gave us necks! -- Hoek and Cat --
From: muwka@shell1.best.com (Alexander Makarewycz) Newsgroups: comp.sys.next.programmer Subject: GDB Pitfalls Date: 18 Jul 1995 21:49:06 GMT Organization: BEST Internet (415) 964-2378 Message-ID: <3uha8i$18u@news1.best.com> Summary: gdb on i486 doesn't print floats properly Keywords: gdb GDB won't print proper results for messages or functions that return double or float on i486 boxes. Example main.c: double foo(int x) { return (double)x*5.0; } int main() { double a; printf ("%g\n",foo(5.0)); return 0; } When you compile and run this code it works fine. But if you debug it in gdb and explicitly call foo, you won't get the correct value returned to you. (gdb) p a = foo(10.0) a will not be equal to 50.00. In the cc Man page there are several options for i486 floating point arithmetic. These `-m' options are defined for the Intel 80386 family of computers: -m486 -mno-486 Control whether or not code is optimized for a 486 in- stead of an 386. Code generated for a 486 will run on a 386 and vice versa. -msoft-float Generate output containing library calls for floating point. Warning: the requisite libraries are not part of the GNU C compiler. Normally the facilities of the machine's usual C compiler are used, but this can't be done directly in cross-compilation. You must make your own arrangements to provide suitable library functions for cross-compilation. On machines where a function returns floating point results in the 80387 register stack, some floating point opcodes may be emitted even if `-msoft-float' is used. -mno-fp-ret-in-387 Do not use the FPU registers for return values of func- tions. The usual calling convention has functions return values of types float and double in an FPU register, even if there is no FPU. The idea is that the operat- ing system should emulate an FPU. The option `-mno-fp-ret-in-387' causes such values to be returned in ordinary CPU registers instead. I've tried debugging code with the the option, `-mno-fp-ret-in-387'. But this does not seem to help. Does anyone know of a workaround for this problem? Thanks, - Alex Makarewycz Please respond to alex@filoli.com
From: peter@bert (Peter) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 19 Jul 1995 01:43:46 GMT Organization: University of Prince Edward Island, Charlottetown, PEI Canada Message-ID: <3uho0i$o01@atlas.cs.upei.ca> References: <DBvC1y.1BL@euler.hnv.icem.de> <DBvL1p.7FA@genoa.com> alex@genoa.com (Alex Blakemore) wrote: [snip] > Being able to _view_ the class definitions in IB is not in itself harmful, > but being able to _modify_ them in two places (the nib, the headers) is. > On an app of any significant size, the only safe way to modify the outlets, > action methods or class hierarchy is to revise the header files (the true > source) and then reparse so that the nib (the derived source) is in synch. > It would be even better if IB read this info from the class files (or the .o > files) automatically. Although I agree with you for most intents and purposes, there are circumstances where it is _necessary_ to use IB to add actions or outlets. This arises when the object in question doesn't actually implement the actions or outlets, but passes unrecognized messages on to a delegate. Thus the action (or outlet, assuming -setFoo: is implemented somewhere) can be linked to other objects even though it doesn't appear in the object's .h file. > The __STDC__ macro def is useful for allowing you to assign types to outlet > ivars for the compiler, and let them be typeless for IB. I've never understood why IB insists on outlets being typeless. It would be simple to parse the type in the .h file and require that any links to the outlets meet the type requirements. Peter -- Peter 'Beaker' Burka / GCS d--- h---- s+ g+ p? au a- w+ v++ C++ UL++++/X+++/ Prince Edward Island \ O++ P+ L+>++ 3 N++ K++ W++/--- M- V-\ po-- Y+ t+ 5- pburka@upei.ca / v b+++ D++ b- e+(*) u--- h* f- r- n- y-@ j++ r-- "If only we were weiner dogs our problems would be all solved"
From: tm8025a@localhost.wisc.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: Terminal and Shell Date: 19 Jul 1995 03:35:11 GMT Organization: University of Wisconsin, Madison Message-ID: <3uhuhf$j4m@news.doit.wisc.edu> In my trials trying to get a telnet frontend to work, correctly, I was wondering what happens when Terminal.app starts up? What does it do that makes telnet work in Terminal as opposed to me starting up a shell via a subprocess and piping the input and output to and fro a ScrollView? Any help appreciated. Torrey McMahon P.S. For those interested: I have posted a bit about my problem with this before. Look for "Subprocess" in the header or my name even! But to sum up.... I have tried stty settings. And they are both the same in each. I have tried sourcing the shell startup files and the .login files. But something is blocking my attempts at programming this bugger. The same thing happens when I use the Telnet.app found on the archives so it is doing the same thing I am and having the same problem. I am using the Subprocess example from NeXT for a framework. -- Torrey McMahon
From: karl@MCS.COM (Karl Denninger) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,mcs.general Subject: Re: ISDN, OmniWeb, Ascend Pipeline 50, How Do I Default Gateway? Date: 19 Jul 1995 01:10:45 -0500 Organization: MCSNet Ops, Chicago, IL Message-ID: <3ui7l5$sis@Mars.mcs.com> References: <3ugh3i$lk4@News1.mcs.net> In article <3ugh3i$lk4@News1.mcs.net>, James Gaines <jgaines@mcs.net> wrote: >I have an ISDN/PPP internet connection via an Ascend Pipeline 50 with an >IP address of 198.3.189.1 > >My goal is to have every other NeXT machine (198.3.189.xxx) on the >network see the Pipe 50 and point to 198.3.189.1 when looking for a >connection upon invoking a WWW browser or such. > >How do I do this? Point default at the P50; that should do it nicely. If the unit is set up with the proper SPIDs and all, it will call by itself when there is traffic for it. Note that your provider must know about the P50 and where it is supposed to be address-wise. >I thought I simply needed to set the default gateway in SNMP to be >198.3.189.1 for each NeXT machine on the network. However, even when I >do this, each time I startup OmniWeb it cannot find the connection. > >What am I doing wrong? Is the P50 pointing default at the other end of the connection? >Also, since the PPP is running on the Pipe 50 only, is there anyway I can >establish the Pipe 50's PPP connection from one of my workstations >instead of having to do it from the Pipe 50 itself? The P50 should come online automatically when there is traffic for the network link. There is no need to manually connect it. >Please reply to jgaines@mcs.com I'm posting here so that others may get the benefit of the information. -- -- Karl Denninger (karl@MCS.Net)| MCSNet - The Finest Internet Connectivity Modem: [+1 312 248-0900] | (shell, PPP, SLIP, leased) in Chicagoland Voice: [+1 312 248-8649] | 7 Chicagoland POPs, ISDN, 28.8, much more Fax: [+1 312 248-9865] | Email to "info@mcs.net" WWW: http://www.mcs.net ISDN - Get it here TODAY! | Home of Chicago's only FULL AP Clarinet feed!
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Linker, Mach-O, BFD Date: 19 Jul 1995 06:16:32 GMT Organization: The SenseMedia Network, http://sensemedia.net/, info@sensemedia.net Distribution: world Message-ID: <3ui800$rls@emerald.oz.net> References: <SAMURAI.95Jul18163624@maggie.cs.mcgill.ca> In article <SAMURAI.95Jul18163624@maggie.cs.mcgill.ca> samurai@maggie.cs.mcgill.ca (Darcy BROCKBANK) writes: > What > a waste... you should just skip using NEXTSTEP now and go straight to > Linux. > What a great idea!! I can now move forward (NOT!) to my ultimate goal in life and do it for free: X Window programming. Yowsa, I can hardly wait :-) --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice: +1 408 335 1154 Trego Systems Fax: +1 408 335 2515 CaseServ: NEXTSTEP managed care USmail: Felton, CA 95018-9442 contract and case management solutions
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 19 Jul 1995 06:33:00 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <3ui8us$3no@usenet.rpi.edu> References: <3tvf8h$oht@usenet.rpi.edu> <DBvC1y.1BL@euler.hnv.icem.de> js@euler.hnv.icem.de(Juergen Sell) wrote: > Garance A Drosehn <gad@eclipse.its.rpi.edu> writes: > > While people debate the merits of ObjectiveC vs C++, I'd > > like to concentrate on the GUI-builder question for a bit. > > > > First thing to realize is that InterfaceBuilder is *not* a GUI > > builder. That happens to be it's most popular use, but the > > key to InterfaceBuilder is that it's not just another program > > to create code that implements GUI elements. > > > > The interface builder archives and manipulates objects. It > > does not produce code. Most GUI builders I've seen just spit > > out code -- and usually that's code which you would go on to > > modify. The problem comes up when you then go back to make > > some changes to the GUI itself. You can't feed your current > > code back into the GUI builder and modify it. You either modify > > your code (by hand, dumping the GUI builder), or you use the > > GUI builder to punch out a new chunk of code (which you then > > try to merge with your earlier code). > I had this exact same experience using IB when substantially > modifying a working app. Unless you are willing to subclass for > each and every addition to existing classes, you are forced to > add every addition manually. Subclassing is most inconvenient > if you already have subclasses in use of the class to be improved, > or you had to alter the whole class tree of the derived classes. > Again, manually, as IB does not allow for drag'n-drop manipulation > of inheritance structures. Hrm. I'm afraid I don't quite follow what you're saying here. While I agree that IB isn't as smart as it could be, I still say it's a lot better than traditional GUI-builders I've seen. If I understand the problem you're talking about, I still don't see how it could possibly be considered "the exact same thing" as the lameness of standard GUI builders. I realize you can't "unparse" in IB after you've made changes to your header files, but at least you can make changes to the header files and keep IB in sync via "parse". > If you try to add Outlets and Action within IB, 'Parse' is not > really satisfying as it merely overwrites your old implementation > of that class.[hm] . I believe you mean "UnParse" there. Parse works fine. I agree that UnParse is only useful for the very initial stage of making an object (or a class, really). > > The fact that InterfaceBuilder is for archiving and manipulating > > objects is really the key to the whole debate. Once you grasp > > that, you realize that it could be used to manipulate *any* > > kind of object -- it's not limited to GUI-related things. > Can you give an example where you really used this and feel the > result was otherwise difficult to achieve? Most of my NeXTSTEP programming is pretty simple stuff, so there are a lot of things I haven't really used much. I still think IB is *significant* because it's archiving and manipulating objects, and not just spitting out code for some compiler. Whether people take advantage of that is another question... The first half of the Objective-C book by Brad Cox is sort of the philosophical underpinnings of what he expects from Object Oriented programming. Namely, "software IC"s. While the hardware side of the computer industry continues to progress at a rapid rate, the software side is (relatively speaking) going nowhere. We're all sitting around rewriting the same damn thing we were writing 20 years ago. As long as we're always writing everything from scratch, it's always going to be the hardware guys who are making us look good, because we'll be do damn stupid to make any significant progress ourselves. It is my guess that for software IC's to *really* work, you need something like InterfaceBuilder. Something where you can manipulate an object without any religious affilation to the language it happens to be written in. Standard GUI builders do *nothing* to divorce objects from a language. IB does something, although it doesn't do as much as I'd like. Still, you have to start somewhere, and I'd rather start with InterfaceBuilder which is dealing at the object level, than some lame GUI-builder which is really just a pretty layer on top of the same old programming languages. Now, I should admit here that IB isn't the only tool that's trying to divorce programming from the standard programming language paradigm. It's just the one that interests me the most. > I do not want to comment on C++ issues here. I chose ObjC as a > purer OO language (much closer to SmallTalk) and then it was my > choice for NeXT based system which did it. My main reason for commenting (even though I haven't done a lot of in-depth NeXTSTEP programming) is that I thought your question on IB vs GUI-builders was a lot more interesting than another age-old debate over which language is more macho than the other. As long as all objects have to be written in any one single language, we're going to continue to rewrite the same old crap over and over, without really making any progress. --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 19 Jul 1995 06:36:55 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <3ui967$3no@usenet.rpi.edu> References: <DBvC1y.1BL@euler.hnv.icem.de> <DBvL1p.7FA@genoa.com> alex@genoa.com (Alex Blakemore) wrote: > The __STDC__ macro def is useful for allowing you to assign > types to outlet ivars for the compiler, and let them be > typeless for IB. Hmm. How would you use __STDC__ to do that? (some example code...) --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Newsgroups: comp.sys.next.programmer From: fred@improve.fdn.org (Frederic STARK) Subject: Re: Cyclic references in retain/release-mechanism Message-ID: <1995Jul19.081522.7967@improve.fdn.org> Sender: news@improve.fdn.org Organization: improve SA - La Defense, Paris, France. References: <3tccjk$5th@emerald.oz.net> Date: Wed, 19 Jul 1995 08:15:22 GMT In article <3tccjk$5th@emerald.oz.net> art@cubicsol.com (Art Isbell) writes: > In article <3tc5h7$286@pina1.telecom.at> hannes@ping.at (Hannes > Tiefenbrunner) writes: > > Has anybody the slightest idea of how NeXT is going to deal with the > problem of > > cyclic references in their reference-counting mechanism in OpenStep > > (retain/release)? > [crunch] > > Unfortunately, it seems to be up to the programmer to avoid creating > cyclic references. This seems like a pretty difficult task to do without > error. But these sorts of bugs aren't app-crashers, so it could be worse. > If the new memory-management scheme reduces memory leaks overall (even if > it makes creating a few because of cyclic references), I guess it should > be judged an improvement over the old way where each memory allocation had > to be managed by the programmer. Sadly, I feel the goal of maintaining references cannot be correctly achieved. Silly example: Should an browser retain it delegate ? NO: A browser cannot live without its delegate. The delegate can be thought as a Controller, and have the total control of the browser. So the delegate is responsible of freeing the browser. YES: A browser is the main interface element, and I have a lightweight delegate (ie a NSArray of string) that fills the delegate. When the window which own the browser is freed, the NSArray should be deallocated with the browser. (Note that I consider the two paradigm beeing equally valid, and argumentation for one or the other could last quite long - If anybody choose to say that only one is valid, I'll fight to death defending the alternative :-) ) The problem is that we have to find a partial order through the 'pointers' graph, and use that order to affect ownership. Can we say that a browser<delegate or the opposite ? I'm afraid that depends of the class of the delegate. If the delegate is a NSArray, we have browser > delegate, but if the delegate is the main controller of the app, I want to have delegate > browser. (Think of '>' to be 'more important' and impling 'should retain') So, what happends if you use two objects that comes from two different vendors that to not agree about the partial ordering ? Imagine I give you a nice interface object that retains its delegate and you want to have your appController be its delegate ? Imagine I give you a nice interface object that could work nicely with a NSDictionary for delegate, but don't retain it ? Do you really want to use a '- setDelegate:aDelegate andRetain:(BOOL)retainFlag' mnethod ? The solution was named Garbage Collection and was missed. Dead End. Cheers, ----------------------------------------------------------------- frederic stark -- fred@improve.fdn.org -----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: brouwer@minnie.informatik.uni-stuttgart.de (Klaus Brouwer) Subject: Re: Archiving Objects Message-ID: <DBwrzr.JGt@news.informatik.uni-stuttgart.de> Sender: news@informatik.uni-stuttgart.de Organization: Informatik, Uni Stuttgart, Germany References: <3trv4i$r7p@zip.eecs.umich.edu> Date: Tue, 18 Jul 1995 11:02:14 GMT In <3trv4i$r7p@zip.eecs.umich.edu> hyongsop@dip.eecs.umich.edu (Hyong Sop Shim) writes: >Hi, >While building a custom palette, I've come up with a following question. >When an object is archived to a palette file, does the init... method ^^^^^^^ a ".nib" file? >of the object is invoked? I know that the write: method of the object >is invoked while being archived but I'm not sure from the documentation >that whether the init... method of the object is invoked. Of course -init is not invoked. -init sets up a default state, but archived objects file are individually configuerd in IB (Inspector panel). Exception: instantiated objects are initialized using -init when the ".nib" file is loaded. If you drag an object from a palette it is written on a stream an read back after dropping somewhere. By the way, why didn't you just insert some printf() in your -init method and test it yourself? Bye, Klaus
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Rich Text control words explanation Date: Wed, 19 Jul 95 14:48:40 GMT Organization: Cedar Systems Message-ID: <806165320snz@cedar.demon.co.uk> References: <3ugeol$ppu@lyra.csx.cam.ac.uk> The RTF spec is available from Microsoft, you can get it from their ftp site - I think the file name started GC0165. As you are probably aware, the NeXT Text object's Rich Text Format support is fairly limited - those supported are listed in Pre 3.0 Concepts 09_UIObjects. Regards, Paul Heffernan. ----------------------------------------------- Cedar Systems email: phef@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 ----------------------------------------------- > Can anyone point me to an on-line document that explains the Rich Text control > words? I am particularly interested in the subset understood by NeXTStep's > Text object. Thanks. > > W.F. Clocksin > Compter Laboratory > University of Cambridge > >
From: hship@sinistar.cac.stratus.com (Howard Ship) Newsgroups: comp.sys.next.programmer Subject: Re: Q: Obj-C Interpreter? Date: 19 Jul 1995 15:33:15 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <3uj8jr$3mp@transfer.stratus.com> References: <3ugd7m$fvj@transfer.stratus.com> Howard Ship writes > A month or two ago, I saw a post about an Objective-C interpreter. It sounded > like magic, it also sounds like something that would make a terrific test > harness. I can't find the post, nor have I been able to locate it at > ftp.cs.orst.edu, anybody remember this beast? > Thanks to all who replied. I was looking for Eval, which is available at ftp://ftp.cs.orst.edu/pub/next/sources/tools/Eval3.3.tar.gz -- If I am elected, the concrete barriers around the WHITE HOUSE will be replaced by tasteful foam replicas of ANN MARGARET! Howard Ship hship@cac.stratus.com `84 GPz 750 (4sale) `88 FZR1000 (Zed) "I lurk not, neither do I flame." [NeXT Mail 3.3 / MIME Mail OK]
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 19 Jul 1995 15:54:14 GMT Organization: The SenseMedia Network, http://sensemedia.net/, info@sensemedia.net Distribution: world Message-ID: <3uj9r7$ghn@emerald.oz.net> References: <3ui967$3no@usenet.rpi.edu> In article <3ui967$3no@usenet.rpi.edu> Garance A Drosehn <gad@eclipse.its.rpi.edu> writes: > alex@genoa.com (Alex Blakemore) wrote: > > > The __STDC__ macro def is useful for allowing you to assign > > types to outlet ivars for the compiler, and let them be > > typeless for IB. > > Hmm. How would you use __STDC__ to do that? > (some example code...) > @interface Controller:Object { @private @protected #ifndef __STDC__ id windowMenu; id departmentUserMC; id expertUserMC; id tutorialsMC; id windowsMC; id feedbackMC; #else __STDC__ Menu *windowMenu; MenuCell *departmentUserMC; MenuCell *expertUserMC; MenuCell *tutorialsMC; MenuCell *windowsMC; MenuCell *feedbackMC; #endif __STDC__ TSQualifierBuilder *qualifierBuilder; WindowOpener *windowOpener; id tablePrinterManager; @public } IB merely parses the interface file looking for "id" and "sender" and considers the "id" variables to be outlets and methods with a "sender" argument to be actions. So the above approach keeps IB happy yet uses static typing at run-time when __STDC__ (a standard ANSI C macro) is defined. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice: +1 408 335 1154 Trego Systems Fax: +1 408 335 2515 CaseServ: NEXTSTEP managed care USmail: Felton, CA 95018-9442 contract and case management solutions
From: rragner@stingray.vm.iastate.edu (Rod Ragner) Newsgroups: comp.sys.next.programmer Subject: Re: Need program for credit card numbers digit verificaion Date: 19 Jul 1995 15:43:42 GMT Organization: Iowa State University, Ames, Iowa Message-ID: <3uj97e$cbt@news.iastate.edu> References: <3u90a1$ddc@tech.cftnet.com> In article <3u90a1$ddc@tech.cftnet.com> makhani@cftnet.com (Suleman Makhani) writes: > Does anyone have algorithm for digit verification for credit card? Please > send me an email if you have it or if you know where can I get it from. > > Thanks > > Suleman Makhani Suleman, I used to work for CitiBank and I can tell you that there is no consistent algorithm. Different banks use different "check digit" algorithms. Even CitiBank had different algorithms for MasterCard and VISA and different algorithms for different version of the MasterCard (initially 12 digits, then 16 digits). Also, this is supposed to be "secret" and I can not tell you what I used when I was there (or they could sue me for breach of contract). -- Rod Ragner Veterinary Diagnostic Laboratory, College of Veterinary Medicine, Iowa State University, Ames, Iowa 50011 Voice: (515) 294-4751, FAX: (515) 294-6961 or 3564, (NeXT Mail accepted) Email: rragner@stallion.vm.iastate.edu or stryder@iastate.edu
Newsgroups: comp.sys.next.programmer From: jlemon@netcom.com (Jonathan Lemon) Subject: Re: Need program for credit card numbers digit verificaion Message-ID: <jlemonDBz6KF.8xC@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <3u90a1$ddc@tech.cftnet.com> <3uj97e$cbt@news.iastate.edu> Date: Wed, 19 Jul 1995 18:12:15 GMT Sender: jlemon@netcom22.netcom.com In article <3uj97e$cbt@news.iastate.edu>, Rod Ragner <rragner@stingray.vm.iastate.edu> wrote: >In article <3u90a1$ddc@tech.cftnet.com> makhani@cftnet.com (Suleman >Makhani) writes: >> Does anyone have algorithm for digit verification for credit card? >Please >> send me an email if you have it or if you know where can I get it from. >> >> Thanks >> >> Suleman Makhani > >Suleman, > >I used to work for CitiBank and I can tell you that there is no consistent >algorithm. Different banks use different "check digit" algorithms. Even >CitiBank had different algorithms for MasterCard and VISA and different >algorithms for different version of the MasterCard (initially 12 digits, >then 16 digits). Also, this is supposed to be "secret" and I can not tell >you what I used when I was there (or they could sue me for breach of >contract). Oh, piffle. For all the credit cards that my company deals with (MasterCard, Visa, Discover, and our private label card), you simply do a mod-10 sum over all digits and compare it to the last (check) digit. Nothing secret about it. It's possible that there are more sophisticated algorithms out there, but I don't think that's what he wants. Our production code is enclosed below. -- Jonathan ----------------------------------- cut here ----------------------------------- begin 664 checkLuhn.c.gz M'XL("`I)#3`"`WAX+F,`C5-;;],P%'Z.?\4W3;`D:T@*+TAID4`4J1+M`Q,2 M`J')39S%6G.1DR#0UO_.L9U>TFP(O\2W[W:.$_H,/CXN/BW7BQN:ANPR%9DL MA;-Z_^UV_77U8?'E]F;Y?>$X;UX[H8\5_RV+KL`EJ@P)5RE2>2?;9@!=KH?0 MMP8IRV>1C(7&2)*+Y/YSEY>TT&L::24:<!15&DPC>P'5+Z'0Y@(U;QJ1&C9C M7I8M.W"X2<X5_&3=%1Y[8)K,[-#PZ]AQS`XA]`=;44Z0;64=#[:3?&(U)ZA5 ME<;,G&JSA@;5IN6R1-D5&[)$P?I,M&<B]@>\3$&>9?8'BI=WXE6/#UFOC3F: M5M'$A?8+KU>2&5Q]_`YG_<#CH\'-<%9MSU+34*+M%!%&![::9%ZZ6N"'Q@:8 M_O1LWJQ2<&-8J<A,@H`R!X&'AP.C=B.;IN:)</W:.TJ-Y(8(4Y0Q8J,$O[=W M=\.X\SFB?P5)<DKB4I,\8J4<5]%5+TJ.XWU1];2_KE\-<9Z$U;VFK>E_A;YX M-L/8VQZC!4YYC#MZ0V/GF,W(Q^"B=7Q-5PTD!+U]7/<$+_3JI,@[B&TCSJ2. M#$^5Z:3FIB*V&!?''V!W_M+3"O1S\ZTE'KQ?G=9UR5,`U\IJAYYG/[J923[N 3YG0?09M_NM<[]A=D9RL"H`0``/1S ` end
From: robertn@seahawk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: [Application unloadNibFile: . . .] ??? Date: 19 Jul 1995 18:27:12 GMT Organization: McCaw Cellular Communications, Inc. Message-ID: <ROBERTN.95Jul19112712@seahawk> References: <1995Jul18.125432.4581@improve.fdn.org> <3ugv44$1a7@emerald.oz.net> <DBxE15.CMI@world.std.com> In-reply-to: lloyd@world.std.com's message of Tue, 18 Jul 1995 18:58:17 GMT In article <DBxE15.CMI@world.std.com> lloyd@world.std.com (Christopher Lloyd) writes: Newsgroups: comp.sys.next.programmer Path: nwestnews!c1mpls!technix!mn.state.net!news.sprintlink.net!newsfeed.internetmci.com!salliemae!uunet!in1.uu.net!world!lloyd From: lloyd@world.std.com (Christopher Lloyd) Organization: The World Public Access UNIX, Brookline, MA References: <1995Jul18.125432.4581@improve.fdn.org> <3ugv44$1a7@emerald.oz.net> Date: Tue, 18 Jul 1995 18:58:17 GMT Lines: 20 In article <3ugv44$1a7@emerald.oz.net>, Art Isbell <art@cubicsol.com> wrote: >In article <1995Jul18.125432.4581@improve.fdn.org> fred@improve.fdn.org >(Frederic STARK) writes: >> You can load the nib file in a special NXZone and free the zone when >> your are over with the nib content. >>[...] > If you enjoy beating your head against brick walls, you might enjoy >freeing nib objects by freeing their zone :-) I've *NEVER* gotten this to >work with any real nibs (maybe with some toy examples). And forget it if >you've got any DBModules in the nib. You can *NEVER* free a DBModule >without your app subsequently crashing. >[...] Sure but Scott has always said to free the objects too :-)
From: bnh@active.com (Brian Hess) Newsgroups: comp.sys.next.programmer Subject: Re: Need program for credit card numbers digit verificaion Date: 19 Jul 1995 20:04:51 GMT Message-ID: <3ujoh3$ks7@pubxfer2.news.psi.net> References: <3u90a1$ddc@tech.cftnet.com> <3uj97e$cbt@news.iastate.edu> Rod Ragner (rragner@stingray.vm.iastate.edu) wrote: : In article <3u90a1$ddc@tech.cftnet.com> makhani@cftnet.com (Suleman : Makhani) writes: : > Does anyone have algorithm for digit verification for credit card? : I used to work for CitiBank and I can tell you that there is no consistent : algorithm. Different banks use different "check digit" algorithms. Even There may not be a "consistent" one, but there certainly is either a "weak" one or an "itemizable" one. The credit card app I use (supplied by CoreStates) definitely refuses to dial if the number entered doesn't seem valid to it. Once it believes in validity, then it dials to check reality and chargeability. Keep looking, Suleman, maybe post on alt.2600 instead of comp.sys.next? Brian Hess Active Ingredients, Inc. bnh@active.com
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: fozztexx@nvc.cc.ca.us (Chris Osborn) Subject: Bug in Intel binaries when compiling Quad fat Message-ID: <DBzKx4.9I7@nvc.cc.ca.us> Sender: news@nvc.cc.ca.us Organization: Napa Valley College Date: Wed, 19 Jul 1995 23:22:16 GMT I've discovered a bug when I compile programs Quad fat under 3.3/Dev3.3. It doesn't cause a problem in the m68k binary, but it does in the i386 (don't know about hppa or sparc). The contents of the memory that self points to are getting set to zero after I enter a loop. defaultRun = malloc(sizeof(NXRun)); defaultRun->font = aFont; defaultRun->chars = 0; style = malloc(sizeof(NXTextStyle)); style->indent1st = 0; style->indent2nd = 0; style->lineHt = [defaultRun->font pointSize] + 1; style->descentLine = 2; style->alignment = NX_LEFTALIGNED; style->numTabs = 10; style->tabs = malloc((style->numTabs * 2) * sizeof(NXTabStop)); /* Things are fine here (gdb) print *self $7 = { isa = 0x625a0, theText = 0x0, theRuns = 0x0, runStack = 0x0, defaultRun = 0x470ea0 } */ width = [defaultRun->font getWidthOf:TABWIDTH]; for (i = 0; i < style->numTabs; i++) { style->tabs[i].kind = NX_LEFTTAB; style->tabs[i].x = (int) (width * (i + 1)); /* Self is wiped right here after the first time through (gdb) print *self $8 = { isa = 0x0, theText = 0x0, theRuns = 0x0, runStack = 0x0, defaultRun = 0x0 } */ } I haven't seen this problem when compiling for only i386 and m68k, but when I throw in the hppa and sparc, this problem occurs. -- Chris Osborn, Network Administrator Voice: 707 253 3130 Napa Valley College Fax: 707 253 3063 2277 Napa-Vallejo Hwy., Napa, CA, 94558 <fozztexx@nvc.cc.ca.us> MIME ok, NeXTMail tolerated
Newsgroups: comp.sys.next.programmer From: cmh@spiff.carleton.ca (Colin Henein) Subject: Text and setText: and updating Message-ID: <DBz06B.8L6@cunews.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: computerActive, Inc. Distribution: big huge whole world many people reading Date: Wed, 19 Jul 1995 15:54:11 GMT I'm trying to generate an editable form on the screen. I'm using Text objects rather than TextFields because some of the fields span multiple lines. Everything has to be transparent so that the background of the form shows through the Text objects. The problem is that when I call something like: [[fooText setText: "new text here"] display]; to change the contents of the Text, the Text object just overwrites whatever was on the screen before. I want it to undraw itself before redrawing the new text. Anyone have any ideas about this? Colin -- =================================+================================= Colin Henein (Code guy) | 3rd year Carleton C.S. Co-op. cmh@computerActive.on.ca | Systems Architect, cmh@ccs.carleton.ca | computerActive, Inc.
From: scottwei@aol.com (ScottWei) Newsgroups: comp.sys.next.programmer Subject: Explore the latest technologies with PRI (job) Date: 20 Jul 1995 02:17:08 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <3uksd4$rob@newsbf02.news.aol.com> POSITION: Trainer/Engineer I HIRING MANAGER: Stephen Asbury, Director of Corporate Education SEND RESUME TO: Paradigm Research, Inc. 4546 El Camino Real, Suite O Los Altos, CA 94023 Voice:(415)988-8585 Fax:(415)949-3942 email:info@prdgm.com Paradigm Research is a small, growing company seeking ambitious individuals looking to become major contributors. The Trainer/Engineer I position is an entry level position. The main responsibilities focus on helping Paradigm's customers adopt new technology through training and support. Paradigm Research believes clear communication is important at all levels of technology adoption and development. The incumbent will work with Paradigm's experts to improve their presentation and communication skills over their initial tenure at Paradigm Research. After proving their ability to teach and organize presentations on technology, an Engineer/Trainer I has several possible career paths. These paths include curriculum development, project lead, mentoring or lead trainer roles, or moving into our product development or sales and marketing divisions. JOB RESPONSIBILITIES: Training * Teach technical courses developed by Paradigm Research or third-parties * Lecture at seminars of 30 to 1000+ participants * Assist in the design and development process of courseware: - Define objectives - Design and develop exercises - Design and develop tasks to support the objectives - Design and develop content to support the trainer * Review courseware and suggest improvements * Participate in the overall design of Paradigm's curriculum Training responsibilities may include 25% to 50% travel time. Programming * Develop tools to support Paradigm Research operation and customers * Review and maintain existing code and tools * Develop and document examples and exercise code * Suggest improvements to current products Training Support * Provide phone and email support to customers * Develop materials and processes to support on-site consultants * Provide feedback on customer interactions EXPERIENCE You must be creative, learn rapidly, keep abreast of rapid innovation, manage yourself, your work, time and deadlines effectively, and communicate easily with colleagues and customers. Working with customers to understand their unique problems and business application for a given technology is critical. You need experience in at least one of each: Environments - UNIX, NEXTSTEP, Windows NT, Languages/Tools - HTML, CGI, C, Objective-C, C++, Technologies - object-oriented analysis and design, relational databases, networking. Experience with Smalltalk, CORBA, interactive multimedia, telecommunications, systems and network management, Java, Perl, Novell Netware, OLE, Open Doc is desirable. REQUIRED ABILITIES AND BACKGROUND * Computer Science Bachelors degree or equivalent * At least 1-2 years of teaching and/or professional training experience * Software development experience * Experience with object oriented analysis and design * Experience with world-wide-web technology * Strong verbal and written communications skills * Strong customer relations skills * Proven ability to balance quality with deadlines * Ability to establish credibility and rapport with members at all levels and in all areas of Paradigm Research as well as Paradigm Research's customers * Proven ability to learn new technologies quickly, and apply this knowledge to products, consulting or training We want leadership and a strong commitment to customers and quality. In return we offer an environment for growth, challenges and an opportunity to share in the rewards of a small growing firm. ++++++++++++++++++++++++ PARADIGM RESEARCH, INC. Paradigm Research (PRI) provides the training, consulting, and mentoring necessary to introduce new technologies into existing business environments. Working with leading technology vendors, Paradigm Research has identified successful corporate adoption strategies for new technologies. Paradigm Research applies these strategies to reduce the risk involved in a company's transition from traditional software practices to specific technology solutions. ABOUT THE STAFF Each member of Paradigm Research's educational staff has strong technical expertise and presentation skills and an unparalleled drive to support the customer's unique requirements. The experienced instructors have taught technology such as object-oriented development to thousands of engineers, project managers, and key decision makers. The curriculum designers at PRI have developed curriculum for several of the major technology vendors and continue to mentor and train their customers. Paradigm Research instructors focus their attention on the individual participant's needs, whether it is an advanced C++ programmer looking for in-depth explanations or a programmer with little experience needing additional support. The instructors go out of their way to provide applicable examples and customized technology adoption strategies. PRI is able to provide this level of customer support because of their strong commitment to work with only the most talented and well-rounded personnel. Each member of the staff relates a variety of corporate experiences with several technologies and can apply this experience to the customer's situation. SERVICES OVERVIEW Course development * Curriculum design and validation. * Educational objectives and corporate needs identification and integration. * Content development and validation based on proven expertise in object environments and languages including: NEXTSTEP, OpenStep, Taligent's Common Point Application System, C++, Objective-C, ScriptX and SmallTalk. Custom training program design * Project-specific education and consulting resulting in tangible customer deliverables. * Assisting technology vendors in defining, implementing, and qualifying third-parties for ongoing support of customers. * Effective training program creation via separation of object technology and development environment learning issues. Course delivery * Lectures to classes of 4-40 or present seminars for 30-3000+ attendees. * Course delivery including stand-up presentation, seminars, instructor-led labs, and World Wide Web based training. * Real-world examples based on development and consulting experience. For more information: Paradigm Research, Inc. 4546 El Camino Real, Suite O Los Altos, CA 94023 Voice:(415)988-8585 Fax:(415)949-3942 email:info@prdgm.com
From: Norbert Heger <norbert.heger@telecom.at> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: Thu, 20 Jul 1995 07:22:53 GMT Organization: TELECOM Network Provider, Austria Message-ID: <950720092253.221AAAAE.bertl@black13> References: <DBvC1y.1BL@euler.hnv.icem.de> <DBvL1p.7FA@genoa.com> Mime-Version: 1.0 (BlackThunder) Content-Type: text/plain; charset=US-ASCII Originator: bertl@black13 alex@genoa.com (Alex Blakemore) wrote: > The __STDC__ macro def is useful for allowing you to assign types > to outlet ivars for the compiler, and let them be typeless for IB. Is there any need to use __STDC__? Using any undefined macro definition works fine for this purpose. Parsing the header-files Interface Builder ignores any preprocessor directives anyway. So you can write interface definitions like this: #undef __INTERFACE_BUILDER__ // usually this macro is undef'ed @interface MyObject:Object { #ifdef __INTERFACE_BUILDER__ id textField; #else TextField * textField; #endif } @end ____________________________________________________________________ Norbert Heger <norbert.heger@telecom.at> NeXTmail preferred, MIMEmail welcome
Newsgroups: comp.sys.next.programmer From: vallet@cui.unige.ch (VALLET Didier) Subject: Getting EOGenericRecord values Message-ID: <1995Jul20.082533.24937@news.unige.ch> Sender: usenet@news.unige.ch Organization: University of Geneva Date: Thu, 20 Jul 1995 08:25:33 GMT Hi I am beginning developing with EOF and mSQL as DataBase. I take a look on the NeXT examples, especially AccessLayer. I choose the Database level approach to connect and select objects. My question is : How can we access the values inside the EOGenericRecord once you have the objects. For example I would like to get values for the following fields : Name, address... The only thing I can do is printing the object description with : printf("%s\n",[[(NSString*)object description]cString]); (object is a EOGenericRecord). My program fetchs values and computes, it does not use UI objects. Perhaps the solution is trivial, but I didn't find (YET) a pointer to the right documentation or an example performing what I need. If you have pieces of code, examples or pointers I will be very grateful. Thanks in advance :-) Didier +---------------------------------------------------------------------+ | Didier VALLET | Centre Universitaire d'Informatique | | | Universite de Geneve | | Tel. : +41-22/705 76 61 | 24, rue du General-Dufour | | Fax. : +41-22/705 77 80 | 1211 Geneve 4 / SUISSE | | E-MAIL : vallet@cui.unige.ch | +---------------------------------------------------------------------+
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 19 Jul 1995 20:47:43 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <3ujr1f$qhs@usenet.rpi.edu> References: <DBvC1y.1BL@euler.hnv.icem.de> <DBvL1p.7FA@genoa.com> <3uho0i$o01@atlas.cs.upei.ca> peter@bert (Peter) wrote: > Although I agree with you for most intents and purposes, there > are circumstances where it is _necessary_ to use IB to add actions > or outlets. This arises when the object in question doesn't > actually implement the actions or outlets, but passes unrecognized > messages on to a delegate. Thus the action (or outlet, assuming > -setFoo: is implemented somewhere) can be linked to other objects > even though it doesn't appear in the object's .h file. Hmm. But if you do this, doesn't that mean that IB's image of that class no longer matches the real class definition? Isn't this a "Bad Thing"? Is there some change that should be made to interface builder which would allow you to do things like this, but which wouldn't result in you setting up IB to use a false definition for the class? --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: obecker@zorro.informatik.hu-berlin.de (Oliver Becker) Newsgroups: comp.sys.next.programmer Subject: Compositing an NXImage with NX_XOR Date: 20 Jul 1995 15:06:13 GMT Organization: Humboldt University Berlin, Department of Computer Science Message-ID: <3ulrd5$ora@hahn.informatik.hu-berlin.de> I want to create temporary rectangles in a view. For this reason I have done the following: 1. create an NXImage with an appropriate size by image = [ [NXImage alloc] init]; [image setSize: &aSize]; [image setFlipped: YES]; // because my view is flipped [image setBackgroundColor: NX_COLORCLEAR]; 2. draw a rectangle by [image lockFocus]; PSnewpath(); PSmoveto(0.0, 0.0); PSlineto(...); // and so on PSsetgray(NX_BLACK); PSstroke(); [image unlockFocus]; 3. composite the image by [view lockFocus]; [image composite: NX_XOR toPoint: &aPoint]; [view unlockFocus]; Step 3 has to be executed multiple times. Unfortunately, all I get the first time is a completely black rectangle (and all odd times too). All even times my drawn rectangle (black lines on a white background) appears. The former contents in the part of the view is lost. Does anyone have any solutions for this problem? Thanks, Oliver -- /---------------------------------------------------------------------\ | ob|do Oliver Becker | | --+-- email: obecker@informatik.hu-berlin.de | | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker | \---------------------------------------------------------------------/
From: rog@talisker.ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 20 Jul 1995 14:29:20 GMT Organization: The University of York, UK Message-ID: <3ulp80$cfp@mailer.york.ac.uk> References: <DBvL1p.7FA@genoa.com> <DBx6vG.Fy@euler.hnv.icem.de> Juergen Sell (js@euler.hnv.icem.de) wrote: > That is exactly what I meant. Is it not a pity? Why cannot IB be smart enough to correctly modify the appropriate > header and implementation files? This to me would be the natural way to go. one of the things i find minorly annoying is that IB has no way of distinguishing between normal instance variables and outlets when parsing a header file. which means that if you parse the header file every time you add a new outlet or action, it adds all the non-outlet instance variables as outlets. i like to be able to check that all my connections are made my just looking at the connections inspector and making sure all the outlets have their round dots attached. why couldn't NeXT have defined an 'Outlet' type (typedef id Outlet) and then parse for these ? This would make it explicit both to IB and to people reading the header file which instance variables are outlets (i.e. pre-initialised) and which are not (need initialisation in code). e.g. @interface MyObject : Object { Outlet outlet1; Outlet outlet2; id current_selection; } it also bugs me that they couldn't be bothered to write a decent C parser - it doesn't even understand syntax like : id x, y, z; let alone id fields[5]; which is a pity as there are many occasions when there are several outlets that the code wishes to access homogenously rather than individually. on an unrelated note, does anyone know of a decent way of setting the typeface of a load of textfields contained in separate boxes ? currently it seems _extremely_ laborious (select the field, find the font and fontsize, set it, select another field (losing the font you've just found), find the font again, etc, etc) it works fine for a multiple selection of fields on the same level - but there doesn't seem to be a way of selecting multiple objects within multiple boxes. cheers, rog.
From: bwarsaw@cnri.reston.va.us (Barry A. Warsaw) Newsgroups: comp.sys.next.programmer Subject: Making an NXBrowser load column > 0? Date: 20 Jul 1995 16:38:31 GMT Organization: Corporation for National Research Initiatives Distribution: world Message-ID: <3um11d$1o7@news.CNRI.Reston.Va.US> I'm *sure* I'm missing something really obvious here, but I can't figure it out, so I turn to you folks. I appreciate any help you can give me on this. I have a two column browser displaying 2 levels (only) of heirarchical data. I have top-level objects that I can create and display in column zero of my NXBrowser. When I create and destroy these objects I update my browser by sending a -reloadColumn:0 to the browser. Fine and dandy. However, some of the top-level objects may have zero or many secondary objects associated with them, and I'd like to list these objects in column 1 of the browser. If I create a top-level object with zero secondary objects, I set the cell in column zero to be a Leaf, thus it gets no arrow and nothing shows up in column one. The problem comes when I add the first secondary object to a top-level object (i.e. the selected cell in column 0 of the browser). I cannot figure out how to get column 1 updated when the first object in that column is added. I can set the column zero selected cell to non-leaf, and I see the arrow show up, but there doesn't seem to be a what to programmatically get column 1 loaded. I can re-click the mouse on the column zero selected cell, and watch as my (normal) delegate receives a -[browser:fillMatrix:inColumn:] message (where I load column one as expected). But I just can't find a way to get -[browser:fillMatrix:inColumn:] to be called programmatically. It seems that I'm not allowed to call -[NXBrowser addColumn], which I tried ;), but that caused all sorts of badness. I tried calling -[Matrix selectCell:] on the matrix in column zero, but that didn't do the trick. I tried various combinations of displayColumn: and friends, again with no luck. Does anybody know how to do this? Oh and in a related topic, what are the NXBrowser delegate methods browser:columnIsValid: and browser:selectCell:inColumn: typically used for? Thanks in advance. -Barry
From: rasmussn@uranus.eecs.umich.edu (Craig E Rasmussen) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 20 Jul 1995 17:12:49 GMT Organization: University of Michigan EECS Dept. Message-ID: <3um2qh$b8l@zip.eecs.umich.edu> References: <3ulp80$cfp@mailer.york.ac.uk> In article <3ulp80$cfp@mailer.york.ac.uk> rog@talisker.ohm.york.ac.uk (Roger Peppe) writes: > > one of the things i find minorly annoying is that IB has no way of > distinguishing between normal instance variables and outlets when > parsing a header file. which means that if you parse the header > file every time you add a new outlet or action, it adds all the > non-outlet instance variables as outlets. > Since working a little with C++ I have developed the habit of beginning private instance variables with an underscore, i.e., id _foo; IB will not add _foo as an outlet when parsing the header file. Craig Rasmussen Artificial Intelligence Lab University of Michigan
Control: cancel <DC10pt.C8o@nvc.cc.ca.us> Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: fozztexx@nvc.cc.ca.us (Chris Osborn) Subject: cancel Message-ID: <DC1GpE.FHn@nvc.cc.ca.us> Sender: news@nvc.cc.ca.us Organization: Napa Valley College Date: Thu, 20 Jul 1995 23:46:26 GMT <DC10pt.C8o@nvc.cc.ca.us> was cancelled from within trn. -- Chris Osborn, Network Administrator Voice: 707 253 3130 Napa Valley College Fax: 707 253 3063 2277 Napa-Vallejo Hwy., Napa, CA, 94558 <fozztexx@nvc.cc.ca.us> MIME ok, NeXTMail tolerated
From: willo@youcon.Central.Sun.COM (Doug Willoughby - Area Systems Engineer) Newsgroups: comp.sys.next.programmer Subject: NXStreams and FILE * Date: 20 Jul 1995 18:47:14 GMT Organization: Sun Microsystems - Southfield, Michigan Distribution: world Message-ID: <WILLO.95Jul20144714@youcon.Central.Sun.COM> What's the relationship (if any) between a NXStream and a "C" FILE * type. Given one, is there anyway to convert to the other. Actually, for portability reasons the functionality I'm really looking for is something like a log window. Basically a ScollView like window that I could write to using standard printf type calls. Doug
From: william@beirut.berkeley.edu (Andy Grosso) Newsgroups: comp.sys.next.programmer Subject: Drag and Drop Date: 21 Jul 1995 00:51:51 GMT Organization: Worm-Eaters Anonymous Message-ID: <3umtn7$gt4@agate.berkeley.edu> References: <3um11d$1o7@news.CNRI.Reston.Va.US> <1995Jul20.214400.9574@il.us.swissbank.com> Hi. I'm running 3.3 and I have this problem. Drag and drop works the first time, but not the second. More clearly : I have a subclass of view in whihc I over-ride the dragging protocols to implement dragging and dropping. Now, the first time a file is dragged over the view, verything works perfectly. The secon (and third and ...) times, prepareForDragOperation gets called, I return a YES (in fact, that's what the method does-- it's very very simple) and then performDragOperation is never called (verified through debugger and printf's). This, of course, directly contradicts the manuals. Has this ever happened to anyone ? Does anybody have any idea what is going on ? Cheers, Andy
Newsgroups: comp.sys.next.programmer From: brian@il.us.swissbank.com (Brian Welsh) Subject: Re: Making an NXBrowser load column > 0? Message-ID: <1995Jul20.214400.9574@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <3um11d$1o7@news.CNRI.Reston.Va.US> Date: Thu, 20 Jul 1995 21:44:00 GMT In article <3um11d$1o7@news.CNRI.Reston.Va.US> bwarsaw@cnri.reston.va.us (Barry A. Warsaw) writes: > > I'm *sure* I'm missing something really obvious here, but I can't > figure it out, so I turn to you folks. I appreciate any help you can > give me on this. > > I have a two column browser displaying 2 levels (only) of heirarchical > data. I have top-level objects that I can create and display in > column zero of my NXBrowser. When I create and destroy these objects > I update my browser by sending a -reloadColumn:0 to the browser. Fine > and dandy. > > However, some of the top-level objects may have zero or many secondary > objects associated with them, and I'd like to list these objects in > column 1 of the browser. If I create a top-level object with zero > secondary objects, I set the cell in column zero to be a Leaf, thus it > gets no arrow and nothing shows up in column one. > > The problem comes when I add the first secondary object to a top-level > object (i.e. the selected cell in column 0 of the browser). I cannot > figure out how to get column 1 updated when the first object in that > column is added. I can set the column zero selected cell to non-leaf, > and I see the arrow show up, but there doesn't seem to be a what to > programmatically get column 1 loaded. I can re-click the mouse on the > column zero selected cell, and watch as my (normal) delegate receives > a -[browser:fillMatrix:inColumn:] message (where I load column one as > expected). But I just can't find a way to get > -[browser:fillMatrix:inColumn:] to be called programmatically. It > seems that I'm not allowed to call -[NXBrowser addColumn], which I > tried ;), but that caused all sorts of badness. I tried calling > -[Matrix selectCell:] on the matrix in column zero, but that didn't do > the trick. I tried various combinations of displayColumn: and > friends, again with no luck. > > Does anybody know how to do this? > > Oh and in a related topic, what are the NXBrowser delegate methods > browser:columnIsValid: and browser:selectCell:inColumn: typically used > for? > > Thanks in advance. > -Barry I had a similar problem when using the NXBrowser object and found that I could force the Browser to update on demand by using the -setPath: method whenever I added a new secondary object (i.e., made a new path...) The documentation describes how to use the -setPath: method pretty well. However, it doesn't indicate that it's useful for forcing updates although the last paragraph in the description hints at it: Your code should never try to set a path or select items by sending Cell selection messages to the Matrices in the NXBrowser's columns. This bypasses every mechanism that allows the NXBrowser to update its display and load columns and Cells properly. Hope that helps. Brian Welsh Swiss Bank Corporation email: brian@il.us.swissbank.com 141 West Jackson Blvd. phone: 312-554-5366 Chicago, Il 60604 USA Any opinions expressed are my own, and not necessarily those of SBC.
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Re: Getting EOGenericRecord values Message-ID: <jpanicoDC1CB3.3rn@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <1995Jul20.082533.24937@news.unige.ch> Date: Thu, 20 Jul 1995 22:11:27 GMT Sender: jpanico@netcom.netcom.com VALLET Didier (vallet@cui.unige.ch) wrote: : Hi : I am beginning developing with EOF and mSQL as DataBase. I take a look : on the NeXT examples, especially AccessLayer. : I choose the Database level approach to connect and select objects. : My question is : : How can we access the values inside the EOGenericRecord once you have : the objects. : For example I would like to get values for the following fields : : Name, address... : The only thing I can do is printing the object description with : : printf("%s\n",[[(NSString*)object description]cString]); : (object is a EOGenericRecord). : My program fetchs values and computes, it does not use UI objects. EOGenericRecord responds to objectForKey: and valuesForKeys:, both of which allow you to extract property values based on their key names. -- Joe Panico jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: bruehl@olive.physik.TU-Berlin.DE (Ruediger Bruehl) Newsgroups: comp.sys.next.programmer Subject: How to get user name from PID? Date: 20 Jul 1995 23:44:01 GMT Organization: Technical University Berlin, Germany Message-ID: <3umpo1$kj@brachio.zrz.TU-Berlin.DE> Hi, I want to write a program like "top" which displays the processes which consume the most resources along with their parameters . Can anyone give me a hint which functions give me the user name and process name of a given PID? Or which function(s) give me information about the running processes and their parameters. Because I don't read comp.sys.next.programmer regularly, please answer also by mail. Thanks in advance, Ruediger Bruehl email: bruehl@kalium.physik.tu-berlin.de
From: turnbull@datarev.com Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: IFCONFIG with alias option needed for WWW Server Date: 20 Jul 1995 20:24:44 GMT Organization: HookUp Communication Corporation, Ottawa, Ontario, CANADA Message-ID: <3ume2c$49o@romulus.ott.hookup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am in the process of setting up a WWW server under NS 3.3 on black hardware. I would like to set up the Apache server to serve multiple domains. In order for this to work however, ifconfig must support the alias option. NS 3.3 does not appear to do this. Does anyone have the source code for ifconfig with the alias option available or even compiled for the NeXT. I know that bsdi v2.0 supports the alias option. It strikes me that the source should be available from someone and that it would be fairly straightforward to compile. I would appreciate any help on this and I will post the results and/or a copy of ifconfig with the alias option if I can come up with it.I have to believe that others are having the same problem. Certainly anyone wanting to put up a web site under NS is going to confront this problem.
Newsgroups: comp.sys.next.programmer From: csaldanh@mae.carleton.ca (Chris Saldanha) Subject: Rich Text in NXTableView Message-ID: <DC0rM3.Gvn@cunews.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: computerActive Inc. Date: Thu, 20 Jul 1995 14:44:27 GMT I have an EOF application that has RTF description fields in many of the tables. I'm storing them as BLOBs in my QuickBase database, and the EOModel brings them in as NSStrings. The Window has both the contents of a record, and a table of all the records. I have connected both the TextFields/ScrollViews and the NXTableVectors to the same EOController, so that clicking on a record in the table auto-updates the text boxes. The problem is with the RTF fields; they look fine in a ScrollView, but not in the NXTableView, which doesn't understand RTF. So, the user is treated to the guts of the RTF code. Is there an easy/efficient way of having the Table interpret the RTF? Or, alternatively, is there an easy way of having the table ASCII-ize the field before displaying it? It's EOF 1.1, with NSDev 3.3. --Chris Chris Saldanha, Software Analyst -------------------------------------- computerActive, Inc |"The telephone was not invented by | chris@computerActive.on.ca (NeXTMail) | Alexander Graham Unitel" -Bell Ad | http://www.mae.carleton.ca/~csaldanh --------------------------------------
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-NYC- NeXT/EOF/Sybase Developer to 90k+Bonus Date: 20 Jul 1995 23:22:36 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <3un6hs$h1u@newsbf02.news.aol.com> Our client, a well known financial company, has a full time need for an experienced Nextstep developer. You will be part of a team responsible for trading systems development using Next, EOF, Objective-C, and Sybase. Salary, Benefits, and Bonus are excellent. You must be eligable to work in the USA, and have at least 2 years of business experience. Contact in confidence: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX) e-mail - briman101@aol.com
From: James Gaines <jgaines@mcs.com> Newsgroups: comp.sys.next.programmer Subject: PDO: What's the story with the Upgrade? Date: 20 Jul 1995 22:50:39 GMT Organization: GCC Message-ID: <3ummjv$ipa@News1.mcs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject says it all. I need people who are familiar with the differences between v2.x and v3.x. Detailed explanation would be helpful. Thanks in advanced. Reply to jgaines@mcs.com even though he posting for an associate.
From: Norbert Heger <norbert.heger@telecom.at> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: Thu, 20 Jul 1995 23:10:37 GMT Organization: TELECOM Network Provider, Austria Message-ID: <950721011037.221AAAAE.bertl@black13> References: <DBvC1y.1BL@euler.hnv.icem.de> <DBvL1p.7FA@genoa.com> <3uho0i$o01@atlas.cs.upei.ca> Mime-Version: 1.0 (BlackThunder) Content-Type: text/plain; charset=US-ASCII Originator: bertl@black13 Peter <pburka@upei.ca> wrote: > ... there are circumstances where it is _necessary_ to use IB to add > actions or outlets. This arises when the object in question doesn't > actually implement the actions or outlets, but passes unrecognized > messages on to a delegate [...] even though it doesn't appear in the > object's .h file. It isn't really _necessary_ to use IB for this purpose as long as you rely on its "feature" to ignore any preprocessor directives. So it is possible to write a method-definition in your header file, that allows you to drag connections within IB after parsing the header file, but doesn't lead to any 'incomplete implementation'-warning when you are compiling your class. For example: #if 0 - setFoo:sender; #endif ____________________________________________________________________ Norbert Heger <norbert.heger@telecom.at> NeXTmail preferred, MIMEmail welcome
From: boomer@walden.mo.net Newsgroups: comp.sys.next.programmer Subject: Computer Pros Needed Date: 20 Jul 1995 20:02:59 -0500 Organization: -=MO.NET=- P-Net, Inc's Missouri Operations Sender: boomer@MO.NET Distribution: world Message-ID: <3umuc3$c22@Walden.MO.NET> The company I work for needs experienced computer professionals in a number of areas. To find out more information and optionally fill out a resume contact the WWW site: http://205.164.65.46. If you do not have WWW access then you may mail me your resume at boomer@walden.mo.net. If this message has been sent to a news group that is not jobs related then we are looking for people specifically in that area. Sorry there is no name for the site currently. I am working on this. This is my own WWW site and will be up and down often. If it is not available when you try, try again latter. Thanks and good luck.
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Need program for credit card numbers digit verificaion Date: 20 Jul 1995 21:39:44 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <3umif0$4e5@usenet.rpi.edu> References: <3u90a1$ddc@tech.cftnet.com> makhani@cftnet.com (Suleman Makhani) wrote: > Does anyone have algorithm for digit verification for credit > card? Please send me an email if you have it or if you know > where can I get it from. Since one of the reasons to *have* credit card verification schemes is to cut down on counterfeit cards, I expect that banks wouldn't want to give that info out. Certainly not posting the information all over usenet. (though I also expect all the real counterfeiters already know all the algorithms). --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 20 Jul 1995 22:30:09 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <3umldh$71s@usenet.rpi.edu> References: <DBvL1p.7FA@genoa.com> <DBx6vG.Fy@euler.hnv.icem.de> <3ulp80$cfp@mailer.york.ac.uk> rog@talisker.ohm.york.ac.uk (Roger Peppe) wrote: > one of the things i find minorly annoying is that IB has no way > of distinguishing between normal instance variables and outlets > when parsing a header file. which means that if you parse the > header file every time you add a new outlet or action, it adds > all the non-outlet instance variables as outlets. > i like to be able to check that all my connections are made my > just looking at the connections inspector and making sure all > the outlets have their round dots attached. I like to be able to do this, too. > Why couldn't NeXT have defined an 'Outlet' type > (typedef id Outlet) and then parse for these ? Why not do it yourself, or the inverse of it that is. Do a typedef id internalID and then use "internalID" to define all the non-outlets? Or define non-outlets as specific types, instead of generic ID's (ie, "Window *myWindow;" instead of "id myWindow"). > on an unrelated note, does anyone know of a decent way of setting > the typeface of a load of textfields contained in separate boxes > ? currently it seems _extremely_ laborious (select the field, > find the font and fontsize, set it, select another field (losing > the font you've just found), find the font again, etc, etc) Hmm. Does "command-3" and "command-4" work for copying font settings in that context? I haven't tried it, just wondering. --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Newsgroups: comp.sys.next.programmer From: csaldanh@mae.carleton.ca (Chris Saldanha) Subject: Re: Getting EOGenericRecord values Message-ID: <DC1Eo7.66J@cunews.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: Carleton University References: <1995Jul20.082533.24937@news.unige.ch> Date: Thu, 20 Jul 1995 23:02:31 GMT VALLET Didier (vallet@cui.unige.ch) wrote: : How can we access the values inside the EOGenericRecord once you have : the objects. [myEOGenericRecord objectForKey: @"foo"] will return the object inside the EOGenericRecord that corresponds to the key "foo". : Perhaps the solution is trivial, but I didn't find (YET) a pointer to : the right documentation or an example performing what I need. The EOGenericRecord class docs describe objectForKey: and setObject:forKey:, the get and set methods for EOGenericRecord. --Chris Chris Saldanha, Software Analyst -------------------------------------- computerActive, Inc |"The telephone was not invented by | chris@computerActive.on.ca (NeXTMail) | Alexander Graham Unitel" -Bell Ad | http://www.mae.carleton.ca/~csaldanh --------------------------------------
Date: 21 Jul 1995 13:55:19 GMT From: boomer@walden.mo.net Newsgroups: comp.sys.next.programmer Sender: boomer@MO.NET Message-ID: <cancel.3umuc3$c22@Walden.MO.NET> Control: cancel <3umuc3$c22@Walden.MO.NET> Subject: cmsg cancel <3umuc3$c22@Walden.MO.NET> EMP/ECP (aka SPAM) cancelled by clewis@ferret.ocunix.on.ca.
From: e8627164@fbma.tuwien.ac.at (Otto Hainzl) Newsgroups: comp.sys.next.programmer Subject: RPC Date: 21 Jul 1995 14:18:50 GMT Organization: Vienna University of Technology, Austria Message-ID: <3uod0a$fvm@news.tuwien.ac.at> I need to execute a plain binary on the next from an AIX machine. What is the best way of doing that? Are RPCs the right way. Are there any samples available? Thanks a lot, Otto
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de(Juergen Sell) Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Message-ID: <DC0vK0.wn@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <3ui8us$3no@usenet.rpi.edu> Date: Thu, 20 Jul 1995 16:09:36 GMT In article <3ui8us$3no@usenet.rpi.edu> Garance A Drosehn <gad@eclipse.its.rpi.edu> writes: [...] > > I had this exact same experience using IB when substantially > > modifying a working app. Unless you are willing to subclass for > > each and every addition to existing classes, you are forced to > > add every addition manually. Subclassing is most inconvenient > > if you already have subclasses in use of the class to be improved, > > or you had to alter the whole class tree of the derived classes. > > Again, manually, as IB does not allow for drag'n-drop manipulation > > of inheritance structures. > > Hrm. I'm afraid I don't quite follow what you're saying here. > While I agree that IB isn't as smart as it could be, I still say > it's a lot better than traditional GUI-builders I've seen. If I > understand the problem you're talking about, I still don't see how > it could possibly be considered "the exact same thing" as the > lameness of standard GUI builders. Sorry, I meant to say I was referring to your prior statement that IB is good to begin with but is of no/less use when it comes to modifying because 'UnParse' is not intelligent. Like you stated, you have to edit the source files, add things there and 'Parse' the modifications in IB. This I consider bad: using IB to design your object space with its classes, instances, actions and outlets together with the visible parts of the GUI is great. But once you need to alter an app (which is the natural way in most cases) you loose the initial advantage of dealing with your objects in IB, because it cannot properly UnParse-Merge! Instead you are forced to '70s technology of adding things with an editor - remember, the same things IB allows to enter and for which it was designed. This forces on me an inconsistent developmewnt scheme : start with IB, from then on, you are on your own. Considering this, I find the media hype NeXT got for its sophisticated development tools unjustified. [...] > > If you try to add Outlets and Action within IB, 'Parse' is not > > really satisfying as it merely overwrites your old implementation > > of that class.[hm] . > > I believe you mean "UnParse" there. Parse works fine. I agree > that UnParse is only useful for the very initial stage of making > an object (or a class, really). Sure. 'UnParse' it is. [...] > > My main reason for commenting (even though I haven't done a lot > of in-depth NeXTSTEP programming) is that I thought your question > on IB vs GUI-builders was a lot more interesting than another > age-old debate over which language is more macho than the other. > As long as all objects have to be written in any one single > language, we're going to continue to rewrite the same old crap > over and over, without really making any progress. Thank you. Juergen --- Fon ++49 511 4406-88 NeXTMail welcome Fax ++49 511 4406-17 == What time do we live in when a wine's class matters more than its taste, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names?> ---
From: pete@ohm.york.ac.uk (-bat.) Newsgroups: comp.sys.next.programmer Subject: simple_lock in kernel loadable module Date: 21 Jul 1995 11:02:57 GMT Organization: The University of York, UK Message-ID: <3uo1h1$8ql@mailer.york.ac.uk> This is a very simpel question - can I use a simple_lock from inside an interrupt handler in a loadable kernel module ? According to the manual these do not sleep, and there is nothing to say that they cannot be used, but I still feel uneasy. The code seems to run o.k. but I get rare unexplained system freezups (not panics). I still get these if I remove the locks, however. Any comments ? -bat.
From: bwarsaw@cnri.reston.va.us (Barry A. Warsaw) Newsgroups: comp.sys.next.programmer Subject: Re: Making an NXBrowser load column > 0? Date: 21 Jul 1995 15:38:37 GMT Organization: Corporation for National Research Initiatives Message-ID: <3uoht5$2du@news.CNRI.Reston.Va.US> References: <3um11d$1o7@news.CNRI.Reston.Va.US> <1995Jul20.214400.9574@il.us.swissbank.com> To: brian@il.us.swissbank.com (Brian Welsh) In-reply-to: brian@il.us.swissbank.com's message of Thu, 20 Jul 1995 21:44:00 GMT Me> The problem comes when I add the first secondary object to a Me> top-level object (i.e. the selected cell in column 0 of the Me> browser). I cannot figure out how to get column 1 updated Me> when the first object in that column is added. >>>>> "BW" == Brian Welsh <brian@il.us.swissbank.com> writes: BW> I had a similar problem when using the NXBrowser object and BW> found that I could force the Browser to update on demand by BW> using the -setPath: method whenever I added a new secondary BW> object (i.e., made a new path...) Brian, Thanks very much, setting the path did indeed make it all work! I knew it had to be something I'd overlooked. I appreciate the tip. To NeXT, if you're listening. It seems kind of bogus and obscure that the only way to get subsequent columns loaded is by doing a setPath:. For example, it seems to imply that I have to reserve a character in the cell stringValues for the pathSeparator (haven't tried a non-printable character, so maybe that will work?). Still, while I understand that NXBrowsers may have been primarily used for file system path displays, a more general API would be better. NXBrowsers are useful things! :-) -Barry
From: marcus@icc.pdx.edu (Marcus Daniels) Newsgroups: comp.sys.next.programmer Subject: Re: Linker, Mach-O, BFD Date: 21 Jul 1995 03:39:17 GMT Distribution: world Message-ID: <MARCUS.95Jul20203917@plato.icc.pdx.edu> References: <SAMURAI.95Jul18163624@maggie.cs.mcgill.ca> <3ui800$rls@emerald.oz.net> In-reply-to: art@cubicsol.com's message of 19 Jul 1995 06:16:32 GMT >>>>> "Art" == Art Isbell <art@cubicsol.com> writes: In article <3ui800$rls@emerald.oz.net> art@cubicsol.com (Art Isbell) writes: Art> What a great idea!! I can now move forward (NOT!) to my Art> ultimate goal in life and do it for free: X Window programming. So the short answer is no, I guess.
From: pascal@wsc.com () Newsgroups: comp.sys.next.programmer Subject: Re: Q: Obj-C Interpreter? Date: 21 Jul 1995 17:22:34 GMT Organization: WSC Investment Services, Inc. Distribution: world Message-ID: <3uonoq$59v@cerberus.wsc.com> References: <3ugd7m$fvj@transfer.stratus.com> In article <3ugd7m$fvj@transfer.stratus.com> hship@sinistar.cac.stratus.com (Howard Ship) writes: > A month or two ago, I saw a post about an Objective-C interpreter. > It sounded like magic, it also sounds like something that would > make a terrific test harness. The rumor here in New York city says that InterfaceBuilder will be fitted with an Objective-C interpreter in NS 4.0. - Pascal
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de(Juergen Sell) Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Message-ID: <DC2pqG.10z@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <3ulp80$cfp@mailer.york.ac.uk> Date: Fri, 21 Jul 1995 15:59:03 GMT In article <3ulp80$cfp@mailer.york.ac.uk> rog@talisker.ohm.york.ac.uk (Roger Peppe) writes: > one of the things i find minorly annoying is that IB has no way of > distinguishing between normal instance variables and outlets when > parsing a header file. which means that if you parse the header > file every time you add a new outlet or action, it adds all the > non-outlet instance variables as outlets. > > i like to be able to check that all my connections are made my > just looking at the connections inspector and making sure all the > outlets have their round dots attached. > > why couldn't NeXT have defined an 'Outlet' type > (typedef id Outlet) and then parse for these ? This would make > it explicit both to IB and to people reading the header file > which instance variables are outlets (i.e. pre-initialised) and which > are not (need initialisation in code). Sounds reasonable enough to me. Juergen --- Fon ++49 511 4406-88 NeXTMail welcome Fax ++49 511 4406-17 == What time do we live in when a wine's class matters more than its taste, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names?
Newsgroups: comp.sys.next.programmer From: as@asci.fdn.fr (Antoine Schmitt) Subject: Re: Making an NXBrowser load column > 0? Message-ID: <1995Jul21.231434.3838@asci.fdn.fr> Sender: as@asci.fdn.fr Organization: Antoine Schmitt - Paris, France. References: <3um11d$1o7@news.CNRI.Reston.Va.US> Date: Fri, 21 Jul 1995 23:14:34 GMT In article <3um11d$1o7@news.CNRI.Reston.Va.US> bwarsaw@cnri.reston.va.us (Barry A. Warsaw) writes: > It > seems that I'm not allowed to call -[NXBrowser addColumn], which I > tried ;), but that caused all sorts of badness. I tried calling > -[Matrix selectCell:] on the matrix in column zero, but that didn't do > the trick. I tried various combinations of displayColumn: and > friends, again with no luck. > > Does anybody know how to do this? I usually call addColumn after having selected ONE non-leaf cell in the previous column with [matrix selectCell:] or sisters, and it works fine. I do this on many levels without any problems. Antoine -- ________________________________________________________ Antoine Schmitt Consultant Informatique - Paris - France as@asci.fdn.fr - (33 1) 44 62 97 77 - NeXT mail welcome
From: osg@onramp.net Newsgroups: misc.jobs.offered,misc.jobs.contract,dc.jobs,comp.sys.next.programmer Subject: US-VIRGINIA NeXT DEVELOPERS Date: Fri, 21 Jul 95 11:34:48 PDT Organization: On-Ramp; Individual Internet Connections; Dallas/Ft Worth/Houston, TX USA Message-ID: <3uoktb$n22@news.onramp.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII NeXT DEVELOPERS OSG (Object Systems Group) is a technology-based consultancy that provides assistance to Global 1000 corporations in new and emerging technologies. OSG is currently hiring for a very large NeXT project in the Virginia. The project is a new development (no legacy issues) and will span 2+ years. We need to hire numerous developers. If you have a minimum of 2 years experience in a NeXTSTEP environment at any level, we want to talk to you. The rate will reflect the level of responsibility. All work must be done on site. Candidates must be willing to make a minimum of a one year commitment to the projects. If you or someone you know might be interested cutting edge work, please send resume to osg@onramp.net, US mail your resume to Object Systems Group, Inc., Attn: Glenda Maddox, 3048 Infomart, 1950 Stemmons Freeway, Dallas, Tx. 75207, or fax to 214-742-5847.
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Rich Text in NXTableView Date: 21 Jul 1995 19:33:13 GMT Organization: Sense Networking Seattle (http://www.oz.net) Distribution: world Message-ID: <3uovdq$j1e@emerald.oz.net> References: <DC0rM3.Gvn@cunews.carleton.ca> In article <DC0rM3.Gvn@cunews.carleton.ca> csaldanh@mae.carleton.ca (Chris Saldanha) writes: > Is there an easy/efficient way of having the Table interpret the RTF? > One way would be to install a custom NXTextFormatter subclass in the tableVectors that need to display RTF. This textFormatter would enlist that aid of an unbordered textFieldCell to interpret and draw the RTF text at the proper coordinates of the tableVector. This involves overriding drawFieldAt::inside:inView:withAttributes::usePositions::. The most difficult aspect of this approach is typing the above method name :-) We use various custom textFormatters to do all sorts of specialized tableView formatting. Some performance degradation is noticeable if lots of columns are visible or when scrolling rapidly, but it's usually acceptable, especially with today's faster hardware. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice: +1 408 335 1154 Trego Systems Fax: +1 408 335 2515 CaseServ: NEXTSTEP managed care USmail: Felton, CA 95018-9442 contract and case management solutions
From: ggg@crl.com (GGG) Newsgroups: comp.sys.next.programmer Subject: 56k on NeXT cube resouces Date: 21 Jul 1995 21:02:31 GMT Organization: rest Message-ID: <3up4l7$8hg@nntp.crl.com> I've been using an i860 vector accelerator on a Concurrent system (68030) for some power spectra computations. This mahine is a data acq machine and is no always available. That VA came with SAL (Scientific Algorithm Library). We've had a NeXT cube (black 68040) sitting around for a while, mainly acting as a print/dialin server. I just came across the fact that it contains a Motorola 56k (is it a 56001?) chip and some routines for accessing it. I set about converting the the SAL calls to the 60 or so calls that were in the 56k's array processing library. I thought I could make do with that limited set of calls but no go. Some calls are missing, but more importantly the FFT function provided won't seem to handle more than 1024 points. I need to do FFTs with 16k (possibly 32k) points (real to complex). Is there a version of SAL available for the NeXT040/56k combination? Do I have some other options, short of compiling up my own routines? (I think the compiling might go OK, but the interfacing to the calls from the host CPU scares me a bit). I'm just a C programmer and though I have the current56k FFT routine (fftr2a) source I can't immediately see where to tweak it to up the allowed number of points. Thanks for any tips/pointers, Gilbert
From: ggg@crl.com (GGG) Newsgroups: comp.sys.next.programmer Subject: Re: 56k on NeXT cube resouces Date: 21 Jul 1995 21:03:31 GMT Organization: rest Message-ID: <3up4n3$8hg@nntp.crl.com> References: <3up4l7$8hg@nntp.crl.com> P.S. The cube is behind the times a NS 2.1. GGG (ggg@crl.com) wrote: : I've been using an i860 vector accelerator on a Concurrent system (68030) : for some power spectra computations. This mahine is a data acq machine : and is no always available. That VA came with SAL (Scientific Algorithm : Library). We've had a NeXT cube (black 68040) sitting around for a : while, mainly acting as a print/dialin server. I just came across the : fact that it contains a Motorola 56k (is it a 56001?) chip and some : routines for accessing it. I set about converting the the SAL calls to : the 60 or so calls that were in the 56k's array processing library. I : thought I could make do with that limited set of calls but no go. Some : calls are missing, but more importantly the FFT function provided won't : seem to handle more than 1024 points. I need to do FFTs with 16k : (possibly 32k) points (real to complex). : Is there a version of SAL available for the NeXT040/56k combination? Do : I have some other options, short of compiling up my own routines? (I : think the compiling might go OK, but the interfacing to the calls from : the host CPU scares me a bit). I'm just a C programmer and though I have : the current56k FFT routine (fftr2a) source I can't immediately see where : to tweak it to up the allowed number of points. : Thanks for any tips/pointers, : Gilbert
From: zeno@serv.net (Sean T. Lamont) Newsgroups: comp.sys.next.programmer Subject: Hierarchical pop-up list ? Date: 19 Jul 1995 22:53:19 -0700 Organization: ServNet Internet Services Distribution: na Message-ID: <806219527.zeno@zebu.serv.net> Summary: Looking for a public domain hierarchical pop-up list Keywords: Key, Words I'm looking for a pop-up (pull-down) list which can be layed out in a tree-like way. IE, as you pull it down, it brings up sub-popuplists, but only allows one button title and one value per list. Thanks. -- Sean T. Lamont, President / CEO, Abstract Software (ServNet) - Internet access * WWW hosting * TCP/IP * UNIX * NEXTSTEP * WWW Development - email: lamont@abstractsoft.com WWW: http://www.serv.net "...There's no moral, it's just a lot of stuff that happens". - H. Simpson
From: speters@samsun.us.oracle.com (Stephen Peters) Newsgroups: comp.sys.next.programmer Subject: Re: Need program for credit card numbers digit verificaion Date: 21 Jul 1995 13:15:50 -0700 Organization: Oracle Corporation, Redwood City, CA, USA Message-ID: <r3eaga7lw5l.fsf@samsun.us.oracle.com> References: <3u90a1$ddc@tech.cftnet.com> <3uj97e$cbt@news.iastate.edu> <jlemonDBz6KF.8xC@netcom.com> In-reply-to: jlemon@netcom.com's message of Wed, 19 Jul 1995 18:12:15 GMT In article <jlemonDBz6KF.8xC@netcom.com> jlemon@netcom.com (Jonathan Lemon) writes: >Oh, piffle. For all the credit cards that my company deals with (MasterCard, >Visa, Discover, and our private label card), you simply do a mod-10 sum over >all digits and compare it to the last (check) digit. Nothing secret about it. >It's possible that there are more sophisticated algorithms out there, but I >don't think that's what he wants. Our production code is enclosed below. Well, the code you posted is a bit more complex than that, but the code seems to work and the "simple mod-10 sum" doesn't, so perhaps the code should be better explained. Here's what I'm seeing: The code is doing a sum across all digits *except* the last one, which serves as a check digit. The 2nd, 4th, 6th, ... (even positioned) digits are passed into the sum unchanged, whereas the odd positioned digits are instead passed in according to the mapping: 0 -> 0 5 -> 1 1 -> 2 6 -> 3 2 -> 4 7 -> 5 3 -> 6 8 -> 7 4 -> 8 9 -> 9 (this is effectively what you get by doubling the digit and then adding the digits in the sum of the result). At this point, you then do a modulo-10 sum, and subtract the result from 10 to get the final check digit. So, if you had the credit card number 1234 5678 2315 8393 (and yes, I'm making this number up), you'd add together the digits 2+2+6+4 + 1+6+5+8 + 4+3+2+5 + 7+3+9 = 7 (mod 10) If you then subtract this result from 10, you get 3, which is the value of the check digit. The interesting thing is that this algorithm returns a 1 (check is good) for most of the cards in my wallet, including all credit cards, as well as my bank card, a cafeteria credit card used by my workplace, and a department store card. Of course, some of these may just be a coincidence (after all, 10% of all random numbers will pass this check), but it is intriguing... Stephen peters
From: walsh@mathubc.ca (John B. Walsh) Newsgroups: comp.sys.next.programmer Subject: segmentation faults in C programs Date: 21 Jul 1995 23:05:54 GMT Organization: The University of British Columbia Message-ID: <3upbsi$fe4@nntp.ucs.ubc.ca> I've been running into segmentation faults in arrays which seem much too small to cause problems. I have an 040 Next station with 32 MB RAM, OS 3.2, the standard NeXT GNU cc compiler (version cc-216.obj~13, gcc version 2.2.2), etc., all installed with whatever defaults came with the OS upgrade. The simple C program below--which just defines an integer array of size N and prints an element from it--works if N = 130647 and causes a segmentation fault if N = 130648 or more. (If I use double precision, it works for N = 65322 and causes a segmentation fault if N = 65323.) This seems strange, since these arrays are not all that large. What's happening? Any ideas? John Walsh walsh@math.ubc.ca ------------------------------------------------ #include <stdio.h> #include <stdlib.h> #define N 65323 main() { int a[N]; int b; b = a[1]; printf("%d\n",b); }
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: segmentation faults in C programs Date: 22 Jul 1995 02:42:04 GMT Organization: Sense Networking Seattle (http://www.oz.net) Distribution: world Message-ID: <3upohs$67o@emerald.oz.net> References: <3upbsi$fe4@nntp.ucs.ubc.ca> In article <3upbsi$fe4@nntp.ucs.ubc.ca> walsh@mathubc.ca (John B. Walsh) writes: > I've been running into segmentation faults in arrays > which seem much too small to cause problems. I have an 040 > Next station with 32 MB RAM, OS 3.2, the standard NeXT GNU > cc compiler (version cc-216.obj~13, gcc version 2.2.2), > etc., all installed with whatever defaults came with the OS > upgrade. The simple C program below--which just defines an > integer array of size N and prints an element from it--works > if N = 130647 and causes a segmentation fault if N = 130648 > or more. (If I use double precision, it works for N = 65322 > and causes a segmentation fault if N = 65323.) This seems > strange, since these arrays are not all that large. What's > happening? Any ideas? > I suspect you've exceeded the default stack size. I don't know what that size is and I'll be late for dinner if I try to find it :-) If you malloc heap space for large arrays, the seg fault may not occur. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice: +1 408 335 1154 Trego Systems Fax: +1 408 335 2515 CaseServ: NEXTSTEP managed care USmail: Felton, CA 95018-9442 contract and case management solutions
From: John Kheit <jkheit@cnj.digex.net> Newsgroups: comp.sys.next.programmer Subject: HELP! Sound will not record except from CODEC Date: 22 Jul 1995 02:43:09 GMT Organization: Express Access Online Communications, USA Message-ID: <3upojt$jta@news4.digex.net> I cannot get sound to record from anything other than the CODEC. :-( I cannot figure out what is wrong. I've tried both the Sound class and the sound functions to no avail. However, if I simply substitute the data_format/sampling_rates for the CODEC instead of the higher quality settings for the DSP, then my routines work. BTW, I am using this on a NeXTdimension (even though I eventually will use Intel with an i56 card) so I should be able to record at the higher rates!?! I have 3 methods (if you can call them that, they are really just a few lines of code) and everything seems to work fine UNTIL I try to convert the sound from DSP format into LINEAR (so I will be able to play it). As soon as the convertToFormat line gets executed, the program bombs! Any ideas will be greatly appreciated; I didn't think this would present such problems and find myself in a tight bind confronting an upcoming deadline... Below are the three methods that should do all the work. I just want to record at 22khz @ 16bit, stop the recording and them play... //I defined myNewSound as type id in the header... - myRecord:sender { myNewSound = [Sound new]; [myNewSound setDelegate:self]; [myNewSound setDataSize:1000000 dataFormat: SND_FORMAT_DSP_DATA_16 //if I make these 8bit mulaw, and codec sample //rate, everything works fine... //of course if I sample from the codec I don't //need to do the dataFormat conversion below in //the myStop method... samplingRate: SND_RATE_LOW channelCount:1 infoSize:0 ]; [myNewSound record]; return self; } - myStop:sender { [myNewSound stop:self]; [myNewSound convertToFormat:SND_FORMAT_LINEAR_16]; //bombs here??? return self; } - myPlay:sender { [myNewSound play:self]; return self; } -- Thanks, Later, John monoChrome, Inc. | New York Law School | NEXTSTEP Developer John Kheit )^> %^) | Opinions expressed | MIME & NeXTmail OK--3P jkheit@cnj.digex.net | represent me only... | Telepathy...It's coming...
From: mmalcolm Crawford <m.crawford@dcs.shef.ac.uk> Newsgroups: comp.sys.next.programmer Subject: Re: HELP! Sound will not record except from CODEC Date: Sat, 22 Jul 1995 10:57:16 GMT Organization: Institute for Language Speech and Hearing, Sheffield University Message-ID: <950722115716.223AACUS.malc@daneel> References: <3upojt$jta@news4.digex.net> Mime-Version: 1.0 (Generated by Eloquent) Content-Type: text/plain; charset=US-ASCII > I cannot get sound to record from anything other than the CODEC. > :-( I cannot figure out what is wrong. I've tried both the Sound > class and the sound functions to no avail. > > However, if I simply substitute the data_format/sampling_rates for > the CODEC instead of the higher quality settings for the DSP, then > my routines work. BTW, I am using this on a NeXTdimension (even > though I eventually will use Intel with an i56 card) so I should > be able to record at the higher rates!?! > No, this is a hardware limitation: you won't be able to record anything other than mu-law encoded sounds at CODEC sampling rate with NeXT hardware unless you add on an expernal A/D box (such as the Singular Solutions AD64x or DigitalEars). > Below are the three methods that should do all the work. I just > want to record at 22khz @ 16bit, stop the recording and them play... [...] > dataFormat: SND_FORMAT_DSP_DATA_16 > This is wrong: you shouldn't be recording as DSP data... you should specify a SND format, e.g. SND_FORMAT_MULAW_8 To do this sort of thing "as well as possible", you should find out what formats and sampling rates are supported by your hardware, something along the lines of: sd = [[NXSoundIn alloc] init]; if ([sd acceptsContinuousStreamSamplingRates]) { float lowRate, highRate; [sd getStreamSamplingRatesLow:&lowRate high:&highRate]; if ((highRate >= ABBOT_SAMP_RATE) && (lowRate <= ABBOT_SAMP_RATE)) { } else { sstruct.samplingRate = highRate; } } else { const float *rates; float rate; unsigned int numRate, i; [sd getStreamSamplingRates:&rates count:&numRate]; rate = rates[0]; if (rate != ABBOT_SAMP_RATE) { for (i = 1; i < numRate; i++) { if (rates[i] > rate) { rate = rates[i]; } if (rates[i] == ABBOT_SAMP_RATE) { break; } } } sstruct.samplingRate = rate; // This check's here as otherwise CODEC rate // isn't recognised... <sigh> if ((rate >= SND_RATE_CODEC -1) && (rate <= SND_RATE_CODEC +1)) { sstruct.samplingRate = SND_RATE_CODEC; sstruct.dataFormat = SND_FORMAT_MULAW_8; } } I'm sure there's a more elegant way of doing this, but I hope you get the idea. Have fun, mmalc. posn. research facilitator where institute for language speech and hearing sheffield university c/o department of computer science regent court 211 portobello street sheffield s1 4dp england vox (+44) 114 282 5569 fax (+44) 114 278 0972 email m.crawford@dcs.shef.ac.uk NeXTMail, SunMail, MIME welcome http://www.dcs.shef.ac.uk/
Newsgroups: comp.lang.perl.misc,comp.lang.perl,comp.sys.next.programmer From: gemoe@proximus.north.de (Gerhard Mpller) Subject: Perl Module GetDate does not compile on NEXTSTEP 3.2/3.3 Keywords: perl, getdate(), NEXTSTEP References: <199507152148.RAA02283@shekel.mcl.cs.columbia.edu> <1995Jul21.180113.1480@proximus.north.de> Followup-To: comp.lang.perl.misc,comp.sys.next.programmer Organization: German NeXT User Group, Oldenburg. Date: Sat, 22 Jul 1995 06:06:58 GMT Message-ID: <1995Jul22.060658.762@proximus.north.de> Followup set to comp.lang.perl.misc and comp.sys.next.programmer. System NEXTSTEP 3.3, Dev. 3.2 Perl Version 5.001m, dynamic loading. Hi. I yesterday got via ftp (irz301.inf.tu-dresden.de) the GetDate Module by Tom Christiansen <tchrist@mox.perl.com>. It is dated with Wed Nov 9 09:48:32 MST 1994. However, I am not able at all to compile it on a NEXTSTEP 3.2/3.3 machine. I keep getting the errors below. (After the sig.) Can anyone help? Thank you very much, Gerhard. -- N < principiis obsta! >------------------< PGP Key available on request > N e Gerhard Moeller, Amselweg 16, 26122 Oldenburg (FRG) [*: 02/21/1968] e X Private: gemoe@proximus.north.de Phone (voice): +49-441-507856 X T Uni: Gerhard.Moeller@Informatik.Uni-Oldenburg.DE NeXTmail & MIME T NoGeNUG - Northern German NeXT User Group: NoGeNUG@proximus.north.DE cc -c -DUSE_NEXT_CTYPE -O2 -Wall -I/usr/local/lib/perl5/CORE GetDate.c getdate.y:31: warning: redefinition of macro alloca In file included from GetDate.c:14: ./getdate.c:1: conflicting types for `malloc' /NextDeveloper/Headers/ansi/stdlib.h:62: previous declaration of `malloc' ./getdate.c:1: conflicting types for `realloc' /NextDeveloper/Headers/ansi/stdlib.h:63: previous declaration of `realloc' In file included from GetDate.c:14: getdate.y:121: redefinition of `struct timeb' getdate.y: In function `getdate': getdate.y:922: warning: implicit declaration of function `tzset' getdate.y:967: warning: implicit declaration of function `getdate_THIS_yyparse' /usr/lib/yaccpar: In function `getdate_THIS_yyparse': /usr/lib/yaccpar:284: warning: label `THIS_yyerrlab' defined but not used /usr/lib/yaccpar:96: warning: label `THIS_yynewstate' defined but not used GetDate.c: In function `XS_GetDate_getdate': GetDate.c:26: warning: `now' may be used uninitialized in this function GetDate.c: In function `boot_GetDate': GetDate.c:49: warning: unused variable `items' getdate.y: At top level: getdate.y:152: warning: `RCS' defined but not used *** Exit 1 Stop.
Newsgroups: comp.sys.next.programmer From: jlemon@netcom.com (Jonathan Lemon) Subject: Re: Need program for credit card numbers digit verificaion Message-ID: <jlemonDC4t7B.MHu@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <3u90a1$ddc@tech.cftnet.com> <3uj97e$cbt@news.iastate.edu> <r3eaga7lw5l.fsf@samsun.us.oracle.com> <3ur6ks$bi4@mimsy.cs.umd.edu> Date: Sat, 22 Jul 1995 19:09:11 GMT Sender: jlemon@netcom22.netcom.com In article <3ur6ks$bi4@mimsy.cs.umd.edu>, Sean Luke <seanl@jujube.cs.umd.edu> wrote: >Stephen Peters (speters@samsun.us.oracle.com) wrote: >>The interesting thing is that this algorithm returns a 1 (check is >>good) for most of the cards in my wallet, including all credit cards, >>as well as my bank card, a cafeteria credit card used by my workplace, >>and a department store card. Of course, some of these may just be a >>coincidence (after all, 10% of all random numbers will pass this >>check), but it is intriguing... > >The lesson here is, of course, that one shouldn't be using this algorithm >to determine if a card number is _semantically_valid_, just >_syntactically_correct_. Just makin' sure the card-number data probably >got through correctly, etc. Unfortunately, we've got a lot of firms out >there that are using this as a "checker" of "goodness" of these cards. I >call that an invitation to fraud. Maybe this should go to comp.risks... Okay, I admit I glossed over the details of the algorithm; perhaps it should be "mod-10 sum over mangled sum of all significant card digits" (The check digit and prefixes for private labels aren't significant). Stephen's detailed analysis of the algorithm is correct. There is also some more checking that can be done (such as the verifying that the starting digit of all VISA cards is 4, and MC cards start in the range is 501 or 51-55, etc). Sean is right as well - the purpose of this algorithm is really to catch transposed digits, typos, or obvious fakes. Once it passes this simple check, _then_ we pass card number, amount and expiration date to our authorizer who checks the customer's credit limit, and gives us an approval or decline response. It's faster to catch typos at the POS and tell the salesperson that the number is invalid rather than waiting for a "DECLINE" from the bank. -- Jonathan
From: probe@bosi.edu (probe) Newsgroups: comp.sys.next.programmer Subject: .4TXASD`@0B7.$T Date: Sat, 22 Jul 1995 10:23:25 GMT Message-ID: <Q4u9oNypLVInU@bosi.edu> Organization: bosi Sender: probe@bosi.edu NNTP-Posting-Host: bosi.edu ********************* * * * FREE MONEY!!! * * * ********************* CAN BE YOURS! If you are an 80-IQ welfare mother producing illegitimate offspring at 9-month intervals starting at the age of 13. Generous funds are also available if you are an illegal alien in need of medical services while you give birth to a new "American" citizen, now that you are north of the Rio Grande. Grants to "help you get started" are available if you are a member of Jewish organized crime gangs newly arrived as "refugees" from Russia. If you are a homosexual "performance artist" the National Endowment for the Arts will pay you handsomely to literally or figuratively fling dung at your audience. If you are a foreign dictator currently in the good graces of the New World Order elitists, multiple billions can be yours, as long as you "cooperate". And if you burn down your own neighborhood when a court decision doesn't go your way, don't worry: truckloads of money will soon arrive to build you new breeding colonies--er, I mean houses, apartments, community centers, swimming pools, etc. Oh, I forgot to mention one thing: all this free money is not available to you if you are an ordinary straight White American, a descendant of the men and women of Europe who discovered, pioneered, and built America and made her the greatest nation ever known. If you are one the quiet, sober, thrifty, hard-working, decent and almost infinitely tolerant White majority, your job is to work hard to provide all the free money and free goodies that the criminals--uh, I mean politicians who like to give away to buy votes for the minority and special interest voting blocs. IF YOU LIKE THINGS THE WAY THEY ARE-- keep smiling, keep watching TV, keep on voting Democrat and Republican, and, above all, keep on working hard to keep the "free money" flowing! BUT--IF YOU WOULD RATHER give the crooked politicians a fair trial, and the minority parasites packing to fend for themselves, then listen to our weekly radio program, American Dissident Voices, and contact us to find out how we're working to restore America to her rightful owners. NATIONAL ALLIANCE BOX 90 HILLSBORO, WV 24946 U.S.A. Selected transcripts of American Dissident Voices, along with other patriotic texts can be obtained from our ftp site: ftp://ftp.netcom.com/pub/NA/NA/ - - - - - - - - - - - - - - - - - - AMERICAN DISSIDENT VOICES SCHEDULE - - - - - - - - - - - - - - - - - - The only truly uncensored patriotic radio program in America, that is not afraid to talk about the REAL forces destroying western civilization. The issues other so-called "conservatives" don't dare mention, is now heard worldwide on shortwave, on satellite, and on AM and FM radio in most of North America. WORLDWIDE ON SHORTWAVE: Saturday 11:30am Central Time (16:30 UTC)....15420 kHz via WRNO Saturday 8:00pm Central Time (01:00 UTC)....7355 kHz via WRNO VIA SATELLITE TO ALL OF NORTH AMERICA Wednesday 5:00pm Central Time...............C1, channel 15, 7.56 MHz audio PACIFIC AND MOUNTAIN USA from California to Washington to Montana, via KVEG, Las Vegas: Sunday night 9:30pm Pacific Time........840 on your AM dial MIDWEST AND GULF SOUTH USA from the Gulf of Mexico to the Dakotas and Minnesota, plus parts of south central Canada via KAAY, Little Rock, Arkansas: Friday night/Saturday morning 1:00am Central Time.......1090 on your AM dial Saturday night 11:30pm Central Time......1090 on your AM dial UPPER MIDWEST AND NORTHERN MOUNTAIN USA from Minnesota and Iowa west to Colorado and Montana, plus a large part of western Canada via KXEL, Waterloo, Iowa: Mon-Fri 9:30pm Central Time.......1540 on your AM dial LITTLE ROCK, ARKANSAS AREA (these stations can be heard in most of Arkansas) via KMTL, Little Rock: Saturday 10:00am.....................760 on your AM dial via KAAY, Little Rock: Friday night/Saturday morning 1:00am....................1090 on your AM dial Saturday 11:30pm...................1090 on your AM dial WICHITA FALLS, TEXAS AREA via KSEY AM-FM, Seymour: Saturday 8:30am.....................94.3 on your FM dial Saturday 10:00am....................1230 on your AM dial HOUSTON, TEXAS AREA via KGOL, Houston: Saturday 6:00pm.....................1180 on your AM dial HUNTSVILLE / DECATUR, ALABAMA AREAS via WAJF and WYAM, Decatur/Hartselle: Wednesday 9:00am....................1490 on your AM dial Wednesday 9:00am.....................890 on your AM dial TAMPA, FLORIDA AREA via WTIS, St. Petersburg: Saturday 11:30am....................1110 on your AM dial CINCINNATI, OHIO AREA via WTSJ, Cincinnati: Friday 6:00pm.......................1050 on your AM dial RHODE ISLAND, EASTERN MASSACHUSETTS, AND CONNECTICUT via WALE, Providence: Monday 10:00am.......................990 on your AM dial <= Crusader =>
From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Newsgroups: comp.sys.next.programmer Subject: Re: Need program for credit card numbers digit verificaion Date: 22 Jul 1995 20:39:43 GMT Organization: Disorganized Bits Message-ID: <3urnmf$7rm@rover.ucs.ualberta.ca> References: <3u90a1$ddc@tech.cftnet.com> <3uj97e$cbt@news.iastate.edu> <r3eaga7lw5l.fsf@samsun.us.oracle.com> Stephen Peters (speters@samsun.us.oracle.com) wrote: : The code is doing a sum across all digits *except* the last one, which : serves as a check digit. The 2nd, 4th, 6th, ... (even positioned) : digits are passed into the sum unchanged, whereas the odd positioned : digits are instead passed in according to the mapping: : 0 -> 0 5 -> 1 : 1 -> 2 6 -> 3 : 2 -> 4 7 -> 5 : 3 -> 6 8 -> 7 : 4 -> 8 9 -> 9 This is mostly OK (actually the last digit is also summed up :-), but both this descriptions and originally posted C code are somewhat too complicated in their description of this simple task. Below is attached re-implementation in Perl. The whole algorithm consists really from "while(length) {...}" loop plus one folowing statement. This program is happy with all credits cards which I have here handy and with my Social Insurance Number as well :-). Have fun with checking. Michal #!/usr/local/bin/perl # # check if a credit card number is sane # # this program accepts one number as its argument or, when called # without arguments, ask for numbers to check and exits when # gets only white space in a response. # # Michal Jaegermann, 22 July 1995 # The checking method taken from a C code posted by # jlemon@netcom.com (Jonathan Lemon) in comp.sys.next.programmer if (@ARGV) { $once = '1'; while (@ARGV) { # glue all arguments together $_ .= shift; } s/\s//g; # don't fret on quoted strings die "nothing to check - reject\n" if length == 0; } else { open(TTY, '/dev/tty') || die "cannot read from terminal: $!\n"; } while(1) { do { # ask until empty input print STDERR "number to check? "; ($_ = <TTY>) =~ s/\s//g; exit 0 if length == 0; } unless defined($once); # ... unless we got it on a command line do { warn "non-digit in input - reject\n"; next; } if $_ =~ /\D/; $check = 0; while (length) { ($_, $cd) = /(.*)(.)/; # split last digit $check += $cd; # add to check last if length == 0; ($_, $cd) = /(.*)(.)/; # split last digit $cd *= 2; # multiply by two @_ = ($cd =~ /(.)(.)?/);# and add both digits of the result $check += $_[0] + $_[1];# to check } $check =~ s/^.*(.)$/\1/; # we want only the last decimal digit # and are happy if it is 0 print ($check ne '0' ? "reject $check" : 'accept' , "\n"); } continue { last if defined($once); print "\n"; } exit 0;
From: seanl@jujube.cs.umd.edu (Sean Luke) Newsgroups: comp.sys.next.programmer Subject: Re: Need program for credit card numbers digit verificaion Date: 22 Jul 1995 15:48:44 GMT Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Message-ID: <3ur6ks$bi4@mimsy.cs.umd.edu> References: <3u90a1$ddc@tech.cftnet.com> <3uj97e$cbt@news.iastate.edu> <r3eaga7lw5l.fsf@samsun.us.oracle.com> Stephen Peters (speters@samsun.us.oracle.com) wrote: >The interesting thing is that this algorithm returns a 1 (check is >good) for most of the cards in my wallet, including all credit cards, >as well as my bank card, a cafeteria credit card used by my workplace, >and a department store card. Of course, some of these may just be a >coincidence (after all, 10% of all random numbers will pass this >check), but it is intriguing... The lesson here is, of course, that one shouldn't be using this algorithm to determine if a card number is _semantically_valid_, just _syntactically_correct_. Just makin' sure the card-number data probably got through correctly, etc. Unfortunately, we've got a lot of firms out there that are using this as a "checker" of "goodness" of these cards. I call that an invitation to fraud. Maybe this should go to comp.risks... Sean
Control: cancel <Q4u9oNypLVInU@bosi.edu> From: probe@bosi.edu (probe) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <Q4u9oNypLVInU@bosi.edu> Date: 22 Jul 95 23:39:35 GMT Message-ID: <cancel.Q4u9oNypLVInU@bosi.edu> Organization: bosi Sender: probe@bosi.edu Mass spam cancelled by news@uunet.uu.net.
From: hannes@ping.at (Hannes Tiefenbrunner) Newsgroups: comp.sys.next.programmer Subject: Tablet-Driver Date: 22 Jul 1995 20:54:13 GMT Organization: TELECOM Network Provider, Austria Distribution: world Message-ID: <3urohl$14h8@pina1.telecom.at> Originator: hannes@s156.ping.at I've been trying to write a tablet driver for my old black NeXTstation. As there's absolutely no documentation on what InstallTablet.app or the driver it installs does, I've tried to use DPS stuff (sendevent, setmouse, ...) and managed to get it to do nearly what it should - the only thing I couldn't get to work is mouse-clicks! So my Questions: a) Has anybody some idea on how to simulate a mouse-click via DisplayPostScript or Journaler, etc.? b) Has anybody any documentation on how to build a tablet driver like the one InstallTablet.app uses? Thanx in advance -- ____________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred)
Newsgroups: comp.sys.next.programmer From: kris@white.schulung.netuse.de (Kristian Koehntopp) Subject: Re: segmentation faults in C programs Organization: YAFLI Message-ID: <DC4utt.GJG@white.schulung.netuse.de> References: <3upbsi$fe4@nntp.ucs.ubc.ca> <3upohs$67o@emerald.oz.net> Date: Sat, 22 Jul 1995 19:44:13 GMT Reproduktion, auch auszugsweise, ausserhalb elektronischer, nichtkommerzieller Datennetze nur mit ausdruecklichem, schriftlichem Einverstaendnis des Autors. In <3upohs$67o@emerald.oz.net> art@cubicsol.com (Art Isbell) writes: > I suspect you've exceeded the default stack size. I don't know what >that size is and I'll be late for dinner if I try to find it :-) kris@black /Net/black/Users/kris> limit cputime unlimited filesize unlimited datasize 6144 kbytes stacksize 512 kbytes coredumpsize 0 kbytes memoryuse unlimited kris@black /Net/black/Users/kris> limit -h cputime unlimited filesize unlimited datasize unlimited stacksize unlimited coredumpsize unlimited memoryuse unlimited See "man setrlimit" for more information. Kristian -- Kristian Koehntopp, Wassilystra_e 30, 24114 Kiel 1, +49 431 688897 "Yes, sir, this file is completely empty, waiting for some real code.. I still copyright it, silly me." -- Linus Torvalds in linux/arch/i386/ibcs/emulate.c
From: Paul Heffernan <phef@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: OpenStep Journal - Well done NeXT! Date: Sun, 23 Jul 95 13:42:46 GMT Organization: Cedar Systems Message-ID: <806506966snz@cedar.demon.co.uk> I received the first issue of NeXT's replacement to NXApp - OpenStep journal on Friday, and I am most impressed by it's content. The articles are well written, and in sufficient depth that they are self contained articles rather than pointers to existing documentation. Despite receiving the Spring issue in late July, the journal is timely since it details those important differences between developing for NEXTSTEP 3 and OpenStep which we will all face when NEXTSTEP 4.0 is released. It's good news for those who, like myself, didn't realise the extent to which the interface has been rationalised for OpenStep - truely NEXTSTEP is maturing into a very elegant development environment. If the editor Cynthia Closkey can maintain the range and depth of articles in subsequent issues (and now it's Summer I hope to get my next issue shortly), then the subscription will be money well spent! Paul Heffernan, Product Development Manager. ----------------------------------------------- Cedar Systems email: phef@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
From: frantziu@gold.informatik.uni-bonn.de (Joerg von Frantzius) Newsgroups: comp.sys.next.programmer Subject: Q: running apps? Date: 23 Jul 1995 18:08:07 GMT Organization: Rheinische Friedrich-Wilhelms-Universit"at Bonn, Institut Message-ID: <3uu367$1il@apoll.informatik.uni-bonn.de> The posting I made from somewhere else seems not to have made it into the internet, so I'm asking here again: Does anybody know how to get hold of a list of all application objects of all applications running? ProcessMonitor.app and AppInspector show them so it must be possible somehow. I waded through the manuals but didn't find any hint, so I'd appreciate a lot some help on this. Thanks in advance, Joerg.
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: 23 Jul 1995 20:34:11 GMT Organization: Sense Networking Seattle (http://www.oz.net) Distribution: world Message-ID: <3uubo3$nmv@emerald.oz.net> References: <3ulp80$cfp@mailer.york.ac.uk> In article <3ulp80$cfp@mailer.york.ac.uk> rog@talisker.ohm.york.ac.uk (Roger Peppe) writes: > on an unrelated note, does anyone know of a decent way of setting the > typeface of a load of textfields contained in separate boxes ? > currently it seems _extremely_ laborious (select the field, find the > font and fontsize, set it, select another field (losing the font you've > just found), find the font again, etc, etc) > If you're using the new IB, just create a dynamic palette containing a textField with the desired font and then use it to create new textFields. Or you could do something similar with the old IB by creating a nib containing a window with one of these textFields which you'll copy and paste into your new window. Of course, neither approach will help for setting the fonts on existing textFields. If changing nibs will require a lot of work, I either make the changes programmatically at run-time or write a simple IBMole client that opens all nibs that need to be modified and do the modifications programmatically within IB. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice: +1 408 335 1154 Trego Systems Fax: +1 408 335 2515 CaseServ: NEXTSTEP managed care USmail: Felton, CA 95018-9442 contract and case management solutions
From: dnelson@core.symnet.net (Dru Nelson) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: Re: IFCONFIG with alias option needed for WWW Server Followup-To: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Date: 23 Jul 1995 21:56:12 GMT Organization: S y m N e t - North Florida Internet Access (info@symnet.net) Message-ID: <3uughs$1jj@tempest.symnet.net> References: <3ume2c$49o@romulus.ott.hookup.net> Hello, I believe that the kernel would also have to support the alias option as well. We moved our WWW server to a different platform because of this. We also got pre-compiled binaries for the other platforms. (Besides, I would rather be compiling on the next anyways :-) Dru turnbull@datarev.com wrote: : I am in the process of setting up a WWW server under NS 3.3 on black : hardware. I would like to set up the Apache server to serve multiple : domains. In order for this to work however, ifconfig must support : the alias option. NS 3.3 does not appear to do this. : Does anyone have the source code for ifconfig with the alias option : available or even compiled for the NeXT. I know that bsdi v2.0 supports : the alias option. It strikes me that the source should be available : from someone and that it would be fairly straightforward to compile. : I would appreciate any help on this and I will post the results and/or : a copy of ifconfig with the alias option if I can come up with it.I : have to believe that others are having the same problem. Certainly : anyone wanting to put up a web site under NS is going to confront : this problem.
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software From: rdl@world.std.com (Robert La Ferla) Subject: Re: IFCONFIG with alias option needed for WWW Server In-Reply-To: turnbull@datarev.com's message of 20 Jul 1995 20:24:44 GMT Message-ID: <RDL.95Jul23223444@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <3ume2c$49o@romulus.ott.hookup.net> Date: Mon, 24 Jul 1995 02:34:44 GMT Please report this to bug_next@next.com and stress the importance of it for WWW servers. Robert In article <3ume2c$49o@romulus.ott.hookup.net> turnbull@datarev.com writes: I am in the process of setting up a WWW server under NS 3.3 on black hardware. I would like to set up the Apache server to serve multiple domains. In order for this to work however, ifconfig must support the alias option. NS 3.3 does not appear to do this. Does anyone have the source code for ifconfig with the alias option available or even compiled for the NeXT. I know that bsdi v2.0 supports the alias option. It strikes me that the source should be available from someone and that it would be fairly straightforward to compile. I would appreciate any help on this and I will post the results and/or a copy of ifconfig with the alias option if I can come up with it.I have to believe that others are having the same problem. Certainly anyone wanting to put up a web site under NS is going to confront this problem.
From: rgc@jujube.cs.umd.edu (Ross Garrett Cutler) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep Journal - Well done NeXT! Date: 24 Jul 1995 02:57:04 GMT Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Message-ID: <3uv260$qs6@mimsy.cs.umd.edu> References: <806506966snz@cedar.demon.co.uk> Paul Heffernan (phef@cedar.demon.co.uk) wrote: : I received the first issue of NeXT's replacement to NXApp - OpenStep journal : on Friday, and I am most impressed by it's content. The articles are well : written, and in sufficient depth that they are self contained articles rather : than pointers to existing documentation. Will OS Journal be available via the WWW as was NXApp? Thanks. -- Ross Cutler University of Maryland, College Park rgc@cs.umd.edu http://www.cs.umd.edu/~rgc
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep Journal - Well done NeXT! Date: 23 Jul 1995 20:38:49 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <3uuc0p$b3j@usenet.rpi.edu> References: <806506966snz@cedar.demon.co.uk> Paul Heffernan <phef@cedar.demon.co.uk> wrote: > I received the first issue of NeXT's replacement to NXApp - > OpenStep journal on Friday, and I am most impressed by it's > content. The articles are well written, and in sufficient depth > that they are self contained articles rather than pointers to > existing documentation. > If the editor Cynthia Closkey can maintain the range and depth > of articles in subsequent issues (and now it's Summer I hope to > get my next issue shortly), then the subscription will be money > well spent! I also thought the magazine was well done (and was a bit surprised no one else was talking about it). --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 24 Jul 1995 04:15:11 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <3uv6of$l9a@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: gclem@dannug.dk Newsgroups: comp.sys.next.programmer Subject: mkisofs + RockRidge Date: 24 Jul 1995 07:39:47 GMT Organization: Danish NeXT User Group Distribution: world Message-ID: <3uvio3$641@snaps.dannug.dk> Hi there, Anybody that can help me with pointers to 1) mkisofs program (creating an ISO filesystem) 2) spec. of the RockRidge format Thx. Geert
From: Norbert Heger <norbert.heger@telecom.at> Newsgroups: comp.sys.next.programmer Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Date: Mon, 24 Jul 1995 09:34:20 GMT Organization: TELECOM Network Provider, Austria Message-ID: <950724113420.670AAAAF.bertl@black13> References: <DBvL1p.7FA@genoa.com> <DBx6vG.Fy@euler.hnv.icem.de> <3ulp80$cfp@mailer.york.ac.uk> <3umldh$71s@usenet.rpi.edu> Mime-Version: 1.0 (BlackThunder) Content-Type: text/plain; charset=US-ASCII Originator: bertl@black13 Garance A Drosehn <gad@eclipse.its.rpi.edu> wrote: > Hmm. Does "command-3" and "command-4" work for copying font > settings in that context? I haven't tried it, just wondering. Forget anything you've ever heard about uniform operation within GUI's! You are right, usually "command-3" and "command-4" can be used for copying and pasting font settings. In IB you can't, because those shortcuts are used elsewhere to bring up the inspector panels for size- and help-inspection. Ok. Lets try the menu. Select the button you'd like to copy the font settings from. Hmm, doesn't work, the menu item is disabled. Try to edit the buttons title double clicking it. Great, it works, the menu item becomes enabled, and you can copy the font settings. Now lets select the button to which you want to paste the font settings. Oops, forgotten to double click, otherwise the "Paste Font" menu item keeps disabled too. But now: Click "Paste Font", and ... ... PING, sorry, doesn't work. You can not copy/paste fonts within IB. You can't. :-( But don't worry, on other platforms you can't either ... :-) ____________________________________________________________________ Norbert Heger <norbert.heger@telecom.at> NeXTmail preferred, MIMEmail welcome
From: william@beirut.berkeley.edu (Andy Grosso) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep Journal - Well done NeXT! Date: 24 Jul 1995 16:40:25 GMT Organization: Worm-Eaters Anonymous Message-ID: <3v0idp$o65@agate.berkeley.edu> References: <806506966snz@cedar.demon.co.uk> <3uv260$qs6@mimsy.cs.umd.edu> About the OpenStep Journal. In the first article, page 15, it mentions that under OpenStep, all argumentsa are going to be statically typed (there is no more sender). Does anybody know what this entails (e.g. are we going to do the C++ thing with virtual functions ...). Seems a bit worrying to me... Andy
From: hship@sinistar.cac.stratus.com (Howard Ship) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep Journal - Well done NeXT! Date: 24 Jul 1995 17:38:38 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <3v0lqu$jtc@transfer.stratus.com> References: <3v0idp$o65@agate.berkeley.edu> Andy Grosso writes > > About the OpenStep Journal. > > In the first article, page 15, it mentions that under OpenStep, > all argumentsa are going to be statically typed (there is > no more sender). Does anybody know what this entails (e.g. are we going > to do the C++ thing with virtual functions ...). This is a GOOD thing ... by using declarations of the form '(SomeClass *) var' instead of 'id var', all you do is provide the compiler, at compile time, with enough info to notice any bad parameters. It also is a little 'self documenting', since it clearly indicates which class matches to which parameter. Again, this improves the compiler's ability to figure out whats wrong, it is simply policy & discipline, not a change to Objective-C. -- . Now KEN and BARBIE are PERMANENTLY ADDICTED to MIND-ALTERING DRUGS.. Howard Ship hship@cac.stratus.com `84 GPz 750 (4sale) `88 FZR1000 (Zed) "I lurk not, neither do I flame." [NeXT Mail 3.3 / MIME Mail OK]
From: Greg_Anderson@afs.com (Gregory H. Anderson) Newsgroups: comp.sys.next.programmer Subject: Re: Need program for credit card numbers digit verificaion Date: 24 Jul 1995 16:43:37 GMT Organization: Anderson Financial Systems Inc. Message-ID: <3v0ijp$at4@shelob.afs.com> References: <r3eaga7lw5l.fsf@samsun.us.oracle.com> Stephen Peters writes > The code is doing a sum across all digits *except* the last one, which > serves as a check digit. The 2nd, 4th, 6th, ... (even positioned) > digits are passed into the sum unchanged, whereas the odd positioned > digits are instead passed in according to the mapping: [etc] This technique is known as "double-add-double-mod-10" and it is also used to compute the check digit on CUSIP numbers (the standard number assigned to almost all financial securities). This algorithm is superior to the simpler mod-10 approach because it catches both "off by one" and digit transposition errors. As someone else pointed out, this algorithm only catches syntacial errors, but as al of us programmers know, those are the most common kinds. 8^) I know our credit card submission machine is programmed to reject such "bad" numbers before it will call the bank to confirm that the account is in good standing, which is a separate matter. -- Gregory H. Anderson | "Honey, there're few programming Gaffer/Best Boy/Key Grip | problems that can't be solved Anderson Financial Systems | with duct tape." -- 'Father' Duke greg@afs.com (NeXTmail OK) | (paraphrased), Doonesbury, 2/17/95
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: memory usage Date: 24 Jul 1995 12:30:59 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199507241725.TAA13160@ns.ms.mff.cuni.cz> Hi all, I'd need to get programmatically how much memory my program had allocated. Can anybody help me how to do it? (a) the 'vtimes' service is obsoleted by getrusage and does not exist at all; (b) the 'getrusage' does not report the memory size ("Currently, this field isn't valid"...); (c) the Mach services seems to report only global memory usage... I do not feel like executing 'ps' and parsing its output! -- Ondra Cada ocs@earn.cvut.cz NeXTmail and MIME OK
From: william@beirut.berkeley.edu (Andy Grosso) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep Journal - Well done NeXT! Date: 24 Jul 1995 22:56:37 GMT Organization: Worm-Eaters Anonymous Message-ID: <3v18f5$7u8@agate.berkeley.edu> References: <3v0rsa$20b@agate.berkeley.edu> <3v14if$1u8@sun.sirius.com> In article <3v14if$1u8@sun.sirius.com>, <ngervae@sirius.com> wrote: >In article <3v0rsa$20b@agate.berkeley.edu> william@beirut.berkeley.edu >(Andy Grosso) writes: > >This is Objective-C. You *always* get the method implementation >for the class itself. Type declaration has *nothing* to do with >what happens at run time. The reason to avoid declaring all objects >as id or (NSObject *) is so that the compiler can warn you when >you pass an object that really shouldn't be passed. You can still >do it, and at run time the message will still be sent, and if the >object doesn't respond to it your program will crash. But at >least if you statically typed the method you can have the warning. > Thank you. This is part of what was worrying me We are not moving to C++ style static-typing at all. It's just that the compiler is (potentiallyntially) going to generate lots of warnings (especially on ported code). How extensive is this ? Is it just the OpenStep classes that have statically typed methods ? Or all all classes required to be statically typed ? >> Another issue is that my code might not know, in advance, what >> the object is (just that it obeys some protocol). Do I actually >> have to create a "virtual object" (e.g. one that reponds stupidly >> to the protocol methods) to avoid compiler errors ? > >I can't quite make sense of this question. It's fine for your >code not to know what class the object is, as long as the object >actually responds to the methods your code thinks it does. If >you type things as: It's quite possible that I'm being muddle-headed. But suppose I write an app that uses many threads. And it occasionally becomes necessary for one of the threads to create an object and pass it to another thread. For example, if one thread is a front-end and one thread is an engine. We could encapsulate messages in subclasses of NXData. Now, the front-end might actually care what the object is. But, to the back-end, all that is important is that it respond to some protocol. The point of the question was this: Will I have to make a subclass of NXData that responds to the protocol (and let the back-end know about it) in order to avoid compiler warnings ? Note that I'm not taking a position on whether this is good or bad. I'm just wondering what is the case ? Cheers, Andy
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Re: Text and setText: and updating Message-ID: <jpanicoDC508y.73o@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <DBz06B.8L6@cunews.carleton.ca> Distribution: big huge whole world many people reading Date: Sat, 22 Jul 1995 21:41:22 GMT Sender: jpanico@netcom.netcom.com Colin Henein (cmh@spiff.carleton.ca) wrote: : The problem is that when I call something like: : [[fooText setText: "new text here"] display]; Will this work? [[text setText: ""] display] [[text setText:" new text"] display ] : to change the contents of the Text, the Text object just overwrites : whatever was on the screen before. I want it to undraw itself before : redrawing the new text. Anyone have any ideas about this? : Colin : -- : =================================+================================= : Colin Henein (Code guy) | 3rd year Carleton C.S. Co-op. : cmh@computerActive.on.ca | Systems Architect, : cmh@ccs.carleton.ca | computerActive, Inc. -- Joe Panico jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: william@beirut.berkeley.edu (Andy Grosso) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep Journal - Well done NeXT! Date: 24 Jul 1995 19:21:46 GMT Organization: Worm-Eaters Anonymous Message-ID: <3v0rsa$20b@agate.berkeley.edu> References: <3v0idp$o65@agate.berkeley.edu> <3v0lqu$jtc@transfer.stratus.com> In article <3v0lqu$jtc@transfer.stratus.com>, Howard Ship <hship@sinistar.cac.stratus.com> wrote: >Andy Grosso writes >> >> About the OpenStep Journal. >> >> In the first article, page 15, it mentions that under OpenStep, >> all argumentsa are going to be statically typed (there is >> no more sender). Does anybody know what this entails (e.g. are we going >> to do the C++ thing with virtual functions ...). > >This is a GOOD thing ... by using declarations of the form '(SomeClass *) var' >instead of 'id var', all you do is provide the compiler, at compile time, with >enough info to notice any bad parameters. It also is a little 'self >documenting', since it clearly indicates which class matches to which >parameter. Again, this improves the compiler's ability to figure out whats >wrong, it is simply policy & discipline, not a change to Objective-C. I'm not sure you answered my question. The point of my query is illustrated by the following example: Classes C1, C2, ... C47 are subclasses of Class B14 Classes B1, B2, .... B106 are subclasses of class A2 Classes A1,A2,A3 are subclasses of some primordial class. Now, all these are (to some extent) polymorphed. But the B and C classes add in a few more protocols (which the calling code can check using conformsTo if necessary). If I have an id, and I have to declare it, I might, conceivably, have to delare it as a pointer to class A2. Liek follows: A2 * pointerToSomething; Now what happens later on in the code, when I use methods from the subclass. Do I actually get methods from the subclass (in which case, I could conceivably just decare all my ids as NSObject * and be done with it). Or else, at some level, I am using the wrong methods. What happens when we message the object pointed to A2 and ask it what it's class is ? Who answers the conformsTo questions ? Etcetera. Another issue is that my code might not know, in advance, what the object is (just that it obeys some protocol). Do I actually have to create a "virtual object" (e.g. one that reponds stupidly to the protocol methods) to avoid compiler errors ? And so on...I'm just not reassured by a blanket statementthat "this is a GOOD thing." Cheers, Andy
From: Viveca Noble <vnoble@eesun2.tamu.edu> Newsgroups: comp.sys.next.programmer Subject: Whereis conio.h? Date: Mon, 24 Jul 1995 18:46:36 -0500 (CDT) Organization: Texas A&M University, College Station, TX Message-ID: <Pine.SOL.3.90.950724183655.9856A-100000@eesun2.tamu.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I'm a new NeXTStep (version 3.3 if that helps) user and I have been using my computer to write some C code. Everything was fine until I tried to use <conio.h> or "conio.h". I received a message that stated this file could not be found. What do I have to do to correct this problem? Please help me. Thanks! Vicki Noble
From: stanj@cs.stanford.edu (Stan Jirman) Newsgroups: comp.sys.next.programmer Subject: Fat compile from command line? Date: 24 Jul 1995 19:41:14 GMT Organization: Stanford University Message-ID: <3v0t0q$5au@nntp.Stanford.EDU> Hi, is there a way of compiling a PB project from commandline fat? I need this when telnetting into a machine and compiling remotely. Thanks, - Stan --- +-------------------------------------------+-------------------------+ | Stan Jirman -- The Swiss CS Guy | | | stanj@cs.stanford.edu NeXTmail / MIME | When you find yourself | | http://www-leland.stanford.edu/~stanj/ | in a hole, stop digging | | Box 2642, Stanford, CA 94309, USA | | +-------------------------------------------+-------------------------+
From: dcl@panix.com (David C. Lambert) Newsgroups: comp.sys.next.programmer Subject: Re: Fat compile from command line? Date: 24 Jul 1995 17:29:27 -0400 Organization: PANIX Public Access Internet and Unix, NYC Message-ID: <3v13bn$ne4@panix.com> References: <3v0t0q$5au@nntp.Stanford.EDU> In <3v0t0q$5au@nntp.Stanford.EDU> stanj@cs.stanford.edu (Stan Jirman) writes: >is there a way of compiling a PB project from commandline fat? I need this >when telnetting into a machine and compiling remotely. unix> cc -o foobar -arch i386 -arch hppa -arch m68k -arch sparc ... - David C. Lambert dcl@panix.com
From: "Ahn,Kyu-Tae" <cpplover@hitel.kol.co.kr> Newsgroups: comp.sys.next.programmer Subject: Q: How can i get hispeed Modem control .? Date: 23 Jul 1995 23:07:04 GMT Organization: KOREA PC Telecom CO.,Ltd. Message-ID: <3uukmo$mt@hitel.kol.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Good .. I am Ahn,Kyu-Tae. I am a Amateur in Unix and Next Programming. I want to make Modem control Program and Communication Emulator.. But general terminal is restricted modem speed. ex.19200 bps. and in NextSTEP for intel x86 .ver3.2. in Device setup directory and view some file, Serial IO device driver is 82050 . this is general speed io chip. How can I get Natianl 16650 chip driver for High speed modem control? or How can I control tty cufa ... for high speed? PLEASE GIVE ME SOME HELP !!!! HELP ME.!!! e-mail: cpplover@hitel.kol.co.kr goodbye.
From: "Ahn,Kyu-Tae" <cpplover@hitel.kol.co.kr> Newsgroups: comp.sys.next.programmer Subject: Re: termios functions in NeXTSTEP.... Date: 23 Jul 1995 22:51:23 GMT Organization: KOREA PC Telecom CO.,Ltd. Message-ID: <3uujpb$mt@hitel.kol.co.kr> References: <mshores.805535269@las1.iastate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: mshores@iastate.edu Hello Myname is Ahn. is My family name.. I don't know your Qestion , I also know little... But , I saw the some communication Source in C ... that was xc ( Linux terminal communication Software ..) their some reasonable line was found .,, #ifdef __LINUX__ ? #define ... termio(...) #endif #ifdef __UNIX__ #define ... ioctl(...) #endif I remember some line that above.. Sorry, I have a poor head .. but, I think that termio() function is replace with ioctl() or ... we use termios() function ... good -bye , I am a Korean.. give me a some mail p.s. I am a not professional in writing and speaking but, I am pro... in reading..
From: ngervae@sirius.com Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep Journal - Well done NeXT! Date: 24 Jul 1995 21:50:06 GMT Organization: Sirius Connections Message-ID: <3v14if$1u8@sun.sirius.com> References: <3v0rsa$20b@agate.berkeley.edu> In article <3v0rsa$20b@agate.berkeley.edu> william@beirut.berkeley.edu (Andy Grosso) writes: > If I have an id, and I have to declare it, I might, conceivably, > have to delare it as a pointer to class A2. Liek follows: > > A2 * pointerToSomething; > > Now what happens later on in the code, when I use methods from the > subclass. > Do I actually get methods from the subclass (in which case, I could > conceivably just decare all my ids as NSObject * and be done with it). > Or else, at some level, I am using the wrong methods. This is Objective-C. You *always* get the method implementation for the class itself. Type declaration has *nothing* to do with what happens at run time. The reason to avoid declaring all objects as id or (NSObject *) is so that the compiler can warn you when you pass an object that really shouldn't be passed. You can still do it, and at run time the message will still be sent, and if the object doesn't respond to it your program will crash. But at least if you statically typed the method you can have the warning. > Another issue is that my code might not know, in advance, what > the object is (just that it obeys some protocol). Do I actually > have to create a "virtual object" (e.g. one that reponds stupidly > to the protocol methods) to avoid compiler errors ? I can't quite make sense of this question. It's fine for your code not to know what class the object is, as long as the object actually responds to the methods your code thinks it does. If you type things as: - (void)setDelegate:(id <SomeProtocol>)myObject; and pass in an object *not* declared as conforming to SomeProtocol or of a class conforming to it, the compiler will warn you. You don't have to do anything "virtual" (whatever that means). It all just works. If you mean, "My code wants to use pointerToSomething as an object conforming to a protocol rather than as an instance of class A2"...well, then, your code should declare it as an object conforming to the protocol instead of an instance of class A2. ---- Nik Gervae <ngervae@sirius.com> (ASCII, MIME, or NeXT mail) Technical Writer sometime NextStep Programmer San Francisco
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: Fat compile from command line? Message-ID: <zazulaDC8pII.5CG@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <3v0t0q$5au@nntp.Stanford.EDU> Date: Mon, 24 Jul 1995 21:39:53 GMT Sender: zazula@netcom.netcom.com In article <3v0t0q$5au@nntp.Stanford.EDU> stanj@cs.stanford.edu writes: >Hi, > >is there a way of compiling a PB project from commandline fat? I need this >when telnetting into a machine and compiling remotely. > Hi - Give this a try: localhost> make "TARGET_ARCHS = m68k i386 hppa sparc" You can remove/add architectures as appropriate. Another idea is to put a target in your Makefile.postamble that will do the build for you: fat :: make $(MFLAGS) "TARGET_ARCHS = i386 m68k hppa sparc" Z --- Ralph Zazula zazula@netcom.com
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: OpenStep Journal - Well done NeXT! In-Reply-To: Paul Heffernan's message of Sun, 23 Jul 95 13:42:46 GMT Message-ID: <RDL.95Jul24200600@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <806506966snz@cedar.demon.co.uk> Date: Tue, 25 Jul 1995 00:06:00 GMT That issue was superb. Kudos to Cynthia and company. I especially liked the artwork and humor on the covers. Robert La Ferla Registered NEXTSTEP/OPENSTEP Consultant Boston, MA + 1 (617) 252-0088 In article <806506966snz@cedar.demon.co.uk> Paul Heffernan <phef@cedar.demon.co.uk> writes: I received the first issue of NeXT's replacement to NXApp - OpenStep journal on Friday, and I am most impressed by it's content. The articles are well written, and in sufficient depth that they are self contained articles rather than pointers to existing documentation. Despite receiving the Spring issue in late July, the journal is timely since it details those important differences between developing for NEXTSTEP 3 and OpenStep which we will all face when NEXTSTEP 4.0 is released. It's good news for those who, like myself, didn't realise the extent to which the interface has been rationalised for OpenStep - truely NEXTSTEP is maturing into a very elegant development environment. If the editor Cynthia Closkey can maintain the range and depth of articles in subsequent issues (and now it's Summer I hope to get my next issue shortly), then the subscription will be money well spent! Paul Heffernan, Product Development Manager. ----------------------------------------------- Cedar Systems email: phef@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
From: ngervae@sirius.com Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep Journal - Well done NeXT! Date: 25 Jul 1995 04:17:47 GMT Organization: Sirius Connections Message-ID: <3v1r9b$6vu@sun.sirius.com> References: <3v18f5$7u8@agate.berkeley.edu> In article <3v18f5$7u8@agate.berkeley.edu> william@beirut.berkeley.edu (Andy Grosso) writes: > How extensive is this ? Is it just the OpenStep classes that have > statically typed methods ? Or all all classes required to be statically > typed ? This is an API change, not a language change, so OpenStep classes (and protocols) have statically typed methods, and you are free to do whatever you want with yours. Since statically typing helps catch bugs, though, I encourage its use. :-) > It's quite possible that I'm being muddle-headed. But suppose I write > an app that uses many threads. And it occasionally becomes necessary > for one of the threads to create an object and pass it to another > thread. For example, if one thread is a front-end and one thread is > an engine. We could encapsulate messages in subclasses of NXData. > Now, the front-end might actually care what the object is. But, to > the back-end, all that is important is that it respond to some > protocol. > > The point of the question was this: Will I have to make a subclass of > NXData that responds to the protocol (and let the back-end know about > it) in order to avoid compiler warnings ? Well, you have to make a subclass of NSData to implement your scenario at all.... However, since you define the front end, the back end, and all of your API, no, you don't have to declare the types in your methods. If you were to pass the object to some (hypothetical) OpenStep method that required a protocol declaration, then you either have to declare the variable you pass as conforming to the protocol or do a type-cast to avoid a compiler warning. I hope that clarifies things.... ---- Nik Gervae <ngervae@sirius.com> (ASCII, MIME, or NeXT mail) Technical Writer sometime NextStep Programmer San Francisco
From: robertn@seahawk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep Journal - Well done NeXT! Date: 24 Jul 1995 19:19:42 -0700 Organization: McCaw Cellular Communications, Inc. Message-ID: <h220vfiog1.fsf@seahawk> References: <3v0idp$o65@agate.berkeley.edu> <3v0lqu$jtc@transfer.stratus.com> In-reply-to: hship@sinistar.cac.stratus.com's message of 24 Jul 1995 17:38:38 GMT In article <3v0lqu$jtc@transfer.stratus.com> hship@sinistar.cac.stratus.com (Howard Ship) writes: From: hship@sinistar.cac.stratus.com (Howard Ship) Newsgroups: comp.sys.next.programmer Date: 24 Jul 1995 17:38:38 GMT Organization: Stratus Computer Inc, Marlboro MA Reply-To: hship@sinistar.cac.stratus.com Path: nwestnews!nwfocus.wa.com!news.omnigroup.com!nwfocus1.wa.com!news.sprintlink.net!europa.chnt.gtegsc.com!news.mathworks.com!transfer.stratus.com!usenet Lines: 21 References: <3v0idp$o65@agate.berkeley.edu> NNTP-Posting-Host: sinistar.cac.stratus.com Andy Grosso writes > > About the OpenStep Journal. > > In the first article, page 15, it mentions that under OpenStep, > all argumentsa are going to be statically typed (there is > no more sender). Does anybody know what this entails (e.g. are we going > to do the C++ thing with virtual functions ...). This is a GOOD thing ... by using declarations of the form '(SomeClass *) var' instead of 'id var', all you do is provide the compiler, at compile time, with enough info to notice any bad parameters. It also is a little 'self documenting', since it clearly indicates which class matches to which parameter. Again, this improves the compiler's ability to figure out whats wrong, it is simply policy & discipline, not a change to Objective-C. Will that be (SomeClass *) or id<SomeProtocol> ?
From: Tim Pugh <tpugh@oce.orst.edu> Newsgroups: comp.sys.next.programmer Subject: Re: memory usage Date: 25 Jul 1995 00:54:26 GMT Organization: University Computing Services - Oregon State University Message-ID: <3v1fc2$i2o@news.orst.edu> References: <199507241725.TAA13160@ns.ms.mff.cuni.cz> This code below looks at Mach's task structure to get resident in-core memory usage by an application. It also reports the task's virtual memory usage. Note, see NeXT's notes on virtual memory for a correct interpretation of these numbers. - Tim - #import <mach/mach.h> #include <sys/types.h> extern kern_return_t task_stats(int pid, struct task_basic_info *info); int process_memory_size(void) { int pid = getpid(); kern_return_t task_status; struct task_basic_info taskInfo; task_status = task_stats(pid, &taskInfo); return taskInfo.resident_size; } kern_return_t task_stats(int pid, struct task_basic_info *info) { kern_return_t status; task_t p_task; unsigned int info_count=TASK_BASIC_INFO_COUNT; /* Get the task pointer for the process. */ status = task_by_unix_pid( task_self(), pid, &p_task); if (status!=KERN_SUCCESS) { printf("pid = %i\n", pid); mach_error("Error calling task_by_unix_pid()", status); return(status); } status=task_info(p_task, TASK_BASIC_INFO, (task_info_t)info, &info_count); if (status!=KERN_SUCCESS) { mach_error("Error calling task_info()", status); return(status); } return(KERN_SUCCESS); } main(int argc, char *argv[]) { printf("in-core memory size = %i\n", process_memory_size); exit(0); } In comp.sys.next.programmer article <199507241725.TAA13160@ns.ms.mff.cuni.cz> you wrote: > Hi all, > > I'd need to get programmatically how much memory my program had > allocated. Can anybody help me how to do it? > > (a) the 'vtimes' service is obsoleted by getrusage and does not > exist at all; > (b) the 'getrusage' does not report the memory size ("Currently, > this field isn't valid"...); > (c) the Mach services seems to report only global memory usage... > > I do not feel like executing 'ps' and parsing its output! > > -- > Ondra Cada > ocs@earn.cvut.cz NeXTmail and MIME OK -- -------------------------------------------------------------- Tim F. Pugh email: tpugh@oce.orst.edu Oceanic and Atmospheric Sciences voice: 503-737-2270 Oregon State University fax: 503-737-2064 NeXTmail ok! --------------------------------------------------------------
From: betsond@il.us.swissbank.com (Daniel Betson) Newsgroups: comp.sys.next.programmer Subject: Resizing within SplitView Date: 24 Jul 1995 15:48:19 GMT Organization: Swiss Bank Corporation, Swiss Bank Center, Zurich Airport Distribution: world Message-ID: <3v0fc3$rks@op1d56cmp.il.us.swissbank.com> Hi all, I am developing an application using a SplitView for the first time, and I am having problems with the resizing. I have no problems with the bottom half of the split view, but the top half really screws up. I the top half of have my SplitView, and in it are three main objects. At the top there is a 1x5 text matrix at the top, which act as titles. Next, below this, there is a ScrollView, into which I put a large matrix. At the bottom, there is another 1x5 text matrix. Each object is the same width - they are stacked on top of one another No matter how I set the springs, I can never get the re-sizing to behave properly. I want the title matrix to stick to the top of this half of the view. Likewise, I want the text matrix at the bottom, to stick to the bottom. I then want the ScrollView to stretch in between these. I can get the two matrices to stay where I want them, but then the problem comes with the ScrollView. It always seems to work properly with the bottom matrix, but then it always moves over the top of the top matrix. If I completely close up the SplitView, then the ScrollView sticks to the top of the SplitView, and the top text matrix is never seen again! I can get them to work together, but that means not having the ScrollView vertically expandable, and that would not be very good. Does anybody have any ideas what I am doing wrong (if anything). I have tried EVERYTHING with the springs, and the scenario explained above is the BEST case I can find. These re-sizing problems are really screwing up an otherwise good application. Cheers -- Daniel Betson BSc(Hons),| "And the referee Swiss Bank Centre, | needs eyes in his Zurich, Switzerland. | head at the moment" 'My thoughts not SBC's' | - John Motson
Newsgroups: comp.sys.next.programmer From: rouand@tnt.oleane.com (Jean-Michel Rouand) Subject: DXF Specification Message-ID: <1995Jul21.083555.427@tnt.oleane.com> Sender: rouand@tnt.oleane.com Organization: Terra Nova Techonologies (France) Date: Fri, 21 Jul 1995 08:35:55 GMT Hi everybody, I'm writing a DXF parser for NEXTSTEP. It works fine for some files but I cannot correctly draw some kinds of polylines bacause my documentation does not report them. If someone could give me pointers to a latest documentation concerning the DXF format, it will be great for me. Thank you. Jean-Michel ROUAND
From: bwarsaw@cnri.reston.va.us (Barry A. Warsaw) Newsgroups: comp.sys.next.programmer Subject: Re: Making an NXBrowser load column > 0? Date: 24 Jul 1995 17:05:02 GMT Organization: Corporation for National Research Initiatives Message-ID: <3v0k38$4eo@news.CNRI.Reston.Va.US> References: <3um11d$1o7@news.CNRI.Reston.Va.US> <1995Jul21.231434.3838@asci.fdn.fr> To: as@asci.fdn.fr (Antoine Schmitt) In-reply-to: as@asci.fdn.fr's message of Fri, 21 Jul 1995 23:14:34 GMT >>>>> "AS" == Antoine Schmitt <as@asci.fdn.fr> writes: AS> I usually call addColumn after having selected ONE non-leaf AS> cell in the previous column with [matrix selectCell:] or AS> sisters, and it works fine. I do this on many levels without AS> any problems. Interesting, because the doc for -[NXBrowser addColumn] says: - addColumn [...] Your code should never invoke this method; it's invoked as needed by doClick: and keyDown: when the user selects a single branch node entry [...]
From: peter@cosy.sbg.ac.at (Peter Burgstaller) Newsgroups: comp.sys.next.programmer Subject: Problem with appDidInit: Date: 26 Jul 1995 13:15:53 GMT Organization: Dept. of Computer Science, University of Salzburg Message-ID: <3v5f69$3ah@esel.cosy.sbg.ac.at> Dear programmers, I'm pretty new to NeXT Step programming and ran into a serious problem. My appDidInit:self function never gets called which is bad since I do all the initialization in it. What do I have to enable (in the Interface Builder or wherever) to get this message from the sytem? Please reply via email - Many thanx, Peter -- /--------------------------------------------------------\ | Peter Burgstaller| Student of Computerscience | | (peter@cosy.sbg.ac.at)| in Salzburg, Austria (Europe) | | "So Long, and Thanks for All the Fish" (Douglas Adams) | \--------------------------------------------------------/
From: tiggr@es.ele.tue.nl (Pieter Schoenmakers) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: New test release of libtl, version 0.09 Followup-To: comp.lang.objective-c Date: 26 Jul 1995 13:43:36 GMT Organization: Eindhoven University of Technology, The Netherlands Message-ID: <TIGGR.95Jul26154336@cobra.es.ele.tue.nl> Available as ftp://ftp.es.ele.tue.nl/pub/tiggr/tl-0.09.tar.gz is a new test version of libtl. For more information on libtl and other sw by me, see http://www.es.ele.tue.nl/tiggr/sw/index.html#libtl. --Tiggr STATUS This is a test release of TL. It is by no means a complete library (yet). Lost of things are still missing, see the file TODO (in the TL distribution) for more information. NEWS Changes in version 0.09 Provide elapsed time constrained incremental garbage collection. Allocate objects from chunks the size of the virtual memory page size. Detect and re-use empty chunks. New classes: TLSet, TLStack. Documented, at least partially, garbage collection, its use and its parameters. Fixed numerous bugs and mis-features. DESCRIPTION TL is a basic Objective-C library, which happens to incorporate a Lisp interpreter, which provides a seamless integration between Objective-C and Lisp. (It is neither common lisp nor emacs lisp; it is probably best described by the name tiggr's lisp.) TL provides elapsed time constrained garbage collection to instances of TLObject or a subclass thereof. TL provides the following classes: The `root' object TLObject, a patch for existing root objects (like TLPatchObject), TLString (and TLMutableString), TLRange, TLDictionary plus enumerators (TLDictionaryEnumerator, TLDictionaryDictEnumerator, TLDictionaryKeyEnumerator, TLDictionaryValueEnumerator), basic streams (TLFDStream, TLFILEStream), TLSocketStream (TLInetSocketStream, TLUnixSocketStream) plus addresses (TLInetAddress, TLUnixAddress), TLStringStream (TLConstantStringStream, TLMutableStringStream), TLBase64Stream (TLBase64InputStream, TLBase64OutputStream), various other streams (TLBufferedStream, TLHTTPStream, TLSneakStream, TLStreamStream, TLSyslogStream, TLTelnetStream, TLWrapStream), lisp specific classes (TLCons, TLConsEnumerator, TLLDelegate, TLLInvocation, TLLLambda, TLLLex, TLLSubroutine, TLLTag, TLNil, TLSymbol, TLSymbolValue) and various others: TLDate, TLMimeItem, TLNumber, TLRunLoop, TLSet, TLStack, TLURL, TLVector and TLVectorEnumerator. Furthermore, it includes a host of Lisp invokable (but C written and thus also C invokable) functions. If reference counting is not provided by another library, TL provides reference counting and an NSAutoreleasePool. TL has been tested on HP9000/735 HP-UX 9.05 with the GNU 2.6.3 and 2.7.0 runtime, and on a NeXTstation Mono Turbo NS3.3 with the NeXT runtime. TL is distributed under the GNU General Public License. TL comes WITHOUT ANY WARRANTY. See the file LICENSE in the TL distribution for details. TL is available through anonymous FTP at HREF="ftp://ftp.es.ele.tue.nl/pub/tiggr/tl-0.09.tar.gz"
From: Ian Feldberg <ian.feldberg@jhuapl.edu> Newsgroups: comp.sys.next.programmer Subject: POSIX and Project Builder Date: 26 Jul 1995 14:01:54 GMT Organization: Johns Hopkins / APL Message-ID: <3v5hsi$7rh@aplinfo.jhuapl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit HELP!! Has anyone out there been successful in getting POSIX compliant C code to link and run within Project Builder? We have some C code that needs the POSIX libraries but including them within an AppKit application makes the link impossible. Anyone??? - Ian
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Fat compile from command line? Date: 26 Jul 1995 15:49:42 GMT Organization: Information Technology Solutions, Inc. Message-ID: <3v5o6m$njq@www.its.com> References: <3v0t0q$5au@nntp.Stanford.EDU> stanj@cs.stanford.edu (Stan Jirman) wrote: > is there a way of compiling a PB project from commandline fat? >I need this when telnetting into a machine and compiling remotely. make debug 'OTHER_CFLAGS=-arch i386 -arch m68k' ...seems to do the trick under NEXTSTEP 3.3. You might have to use 'ALL_CFLAGS', or possibly even just 'CFLAGS', depending on just how you have your Makefiles set up. -Chuck -- Charles Swiger -- chuck@its.com | Information Techology Solutions, Inc. --------------------------------+-------------------------------------- CrashCatcher Development, Systems and Networking Administrator
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <bbum@smile.apdg.com> Message-ID: <9507261651.AA00135@smile.apdg.com> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Bill Bumgarner <bbum@smile.apdg.com> Date: Wed, 26 Jul 95 11:51:43 -0500 Subject: pgplot/fortran for NEXTSTEP I'm in the process of building pgplot quad-fat for NeXTSTEP. Unfortunately, in order to do so, I need a working fortran environment. Looking at the archive site, there is an f2c from late 1991-- has anyone compiled a more recent version (IS there a more recent version?)? Or-- anyone compiled a QUAD fat verison of pgplot? thanks, b.bum
From: johnsonk@gvsu.edu (Kenneth Johnson) Newsgroups: comp.sys.next.programmer Subject: dlfcn library for NeXT? Date: Wed, 26 Jul 1995 17:02:55 GMT Organization: Grand Valley State University Message-ID: <johnsonk.101.3016753F@gvsu.edu> We are trying to port some software from SUNOS4.1 to a NeXT. This software uses a library named dlfcn which does not appear to exist on the NeXT. We located this library on an old Sun and it has the following brief function descriptions, dlopen( ) /* open and map a shared object */ dlsym( ) /* obtain address of symbol */ dlclose( ) /* remove a shared object */ dlerror( ) /* string representing last error */ Does anyone know:
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Fat compile from command line? Date: 26 Jul 1995 17:31:44 GMT Organization: Sense Networking Seattle (http://www.oz.net) Distribution: world Message-ID: <3v5u61$hho@emerald.oz.net> References: <199507260133.UAA00222@demiurge.friday.com> In article <199507260133.UAA00222@demiurge.friday.com> writes: > # is there a way of compiling a PB project from commandline fat? > # I need this when telnetting into a machine and compiling remotely. > > Sure is. > > <<target>> is often "install". > > make <<target>> "TARGET_ARCHS = m68k i386 hppa sparc" "OTHER_CFLAGS = -pipe -O4" > > -pipe is recommended for machines with lots of memory. > -O4 is only if you are confident that the super-optimizer is not buggy. -O2 > is safer (maybe). > From the NS 3.3 Developer Release Notes: Reference: 42975 Problem: Bitfields may not work properly with -O2 optimization. Description: If you use -O2 optimization, the compiler may return a wrong value in a bitfield. Workaround: Don't use -O2 optimization. Since NeXT still specifies -O optimization in their system Makefiles, I think I won't risk stepping beyond to -O2 or -O4. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: johnsonk@gvsu.edu (Kenneth Johnson) Newsgroups: comp.sys.next.programmer Subject: dlfcn library for NeXT Date: Wed, 26 Jul 1995 17:11:18 GMT Organization: Grand Valley State University Message-ID: <johnsonk.102.30167736@gvsu.edu> Excuse the previous partial post. We are trying to port some software from SunOS4.1 to the NeXT. This software uses a library, dlfcn, available on the Sun but which we cannot find on the NeXT. This library has the following brief discriptions of its functions dlopen( ) /* open and map a shared object */ dlsym( ) /* obtain address of symbol */ dlclose( ) /* remove a shared object */ dlerror( ) /* string representing last error */ Does anyone know 1. Where we could obtain this library for the NeXT? 2. How to accomplish equivalent operations with a NeXT library, for example, rdl? We also have some HPs running NEXTSTEP so a similar question would apply there.
Newsgroups: comp.sys.next.programmer From: joerd@unicorn.it.wsu.edu (Wayne Joerding - Economics) Subject: loseing HD space Sender: news@serval.net.wsu.edu (News) Message-ID: <DCCCAy.Cwp@serval.net.wsu.edu> Date: Wed, 26 Jul 1995 20:44:57 GMT Organization: Washington State University I have a program that repeatedly reads part of a large file and then closes the file. The amount of the file that it reads is random. The file is 35MB. I have noticed that the program loses HD space each time thru the loop and I cannot regain the lost space untill I actually shut down the computer and restart Because of this problem I can only run the loop about three times, at which point I've eaten up the 64MB free on the HD before I start. The program is really simple, using fgetc to read the file, fopen to open and fclose to close the file. Can any kind soul tell me if this is a known problem in either UNIX or NeXTStep programming and if there is a simple cure. My local experts think this is not a UNIX problem but I don't know myself. I'm using Release 3.2 on a NeXTStation(Motorola). Any help would be appreciated. Wayne Joerding
From: tbm@tci002.uibk.ac.at (Martin Michlmayr) Newsgroups: comp.sys.next.programmer Subject: Re: loseing HD space Date: 27 Jul 1995 11:16:08 GMT Organization: Dept. of Computer Science, University of Salzburg Distribution: world Message-ID: <3v7sho$9ul@esel.cosy.sbg.ac.at> References: <DCCCAy.Cwp@serval.net.wsu.edu> Wayne Joerding - Economics (joerd@unicorn.it.wsu.edu) wrote: Maybe your problem is caused due to swapping. If your swap-file is on the same partition as your /home directory, then you loose the space, because your swap-file is getting bigger and bigger. / I have a program that repeatedly reads part of a large file and then closes / the file. The amount of the file that it reads is random. The file is 35MB. / I have noticed that the program loses HD space each time thru the loop and I / cannot regain the lost space untill I actually shut down the computer and / restart Because of this problem I can only run the loop about three times, at / which point I've eaten up the 64MB free on the HD before I start. / The program is really simple, using fgetc to read the file, fopen to open and / fclose to close the file. / Can any kind soul tell me if this is a known problem in either UNIX or / NeXTStep programming and if there is a simple cure. My local experts think / this is not a UNIX problem but I don't know myself. / I'm using Release 3.2 on a NeXTStation(Motorola). / Any help would be appreciated. / Wayne Joerding -- Martin Michlmayr | tbm@tci002.uibk.ac.at | tbm@gnu.ai.mit.edu GNUStep Volunteer Coordinator, http://fvkma.tu-graz.ac.at/gnustep/index.html
Newsgroups: comp.sys.next.programmer From: brianw@sounds.wa.com (Brian Willoughby) Subject: Re: Fat compile from command line? Message-ID: <DCDA6J.5ry@sounds.wa.com> Organization: Sound Consulting, Bellevue, WA, USA References: <3v0t0q$5au@nntp.stanford.edu> Date: Thu, 27 Jul 1995 08:56:42 GMT Stan Jirman <stanj@cs.stanford.edu> wrote: >is there a way of compiling a PB project from commandline fat? I need this >when telnetting into a machine and compiling remotely. The correct way to do this (for a ProjectBuilder Makefile) is: make "TARGET_ARCHS=m68k i386 hppa sparc" You can list any number of target architectures, you don't necessarily need to list them all... -- Brian Willoughby Software Design Engineer, BSEE from NCSU NeXTmail welcome Sound Consulting: Software Design and Development BrianW@SoundS.WA.com Bellevue, WA <http://nwlink.com/cyberartists/brianw/brianw.html>
From: dekorte@core.symnet.net (Steve Dekorte) Newsgroups: comp.sys.next.programmer Subject: Re: Q: Obj-C Interpreter? Date: 27 Jul 1995 13:44:23 GMT Organization: S y m N e t - North Florida Internet Access (info@symnet.net) Message-ID: <3v857n$qej@tempest.symnet.net> References: <3ugd7m$fvj@transfer.stratus.com> <3uonoq$59v@cerberus.wsc.com> <3v6ov8$lpg@crl8.crl.com> Eval.app is not an ObjC interpreter. It's more like an incremental compiler of sorts. That feature of it isn't particularly usefull thouygh. I've heard that Richard Stallman and/or some GNU folks are working on a free C interpreter that will be extended to support Objective-C though. Steve
From: wfc@cl.cam.ac.uk (W F Clocksin) Newsgroups: comp.sys.next.programmer Subject: current font for embedded cell in Text object Date: 27 Jul 1995 15:23:34 GMT Organization: University of Cambridge, England Message-ID: <3v8b1m$46n@lyra.csx.cam.ac.uk> After some experimentation I have discovered how to find out which font applies to an embedded cell in a Text object. This is useful if the purpose of the embedded cell is to represent a variable (like a page number), and then in some cases you need to render the actual page number in the correct font. My earlier posting passed on a suggestion I got from somebody else, asking why it doesn't seem to to work. I now know the suggestion turns out to be incorrect: apparently, the cached curRun always refers to the LAST lay of the current line by the time the cell is messaged. Instead, a method that seems to work is to look at all the lays in the current layarray, and then to find the lay that the embedded object is in. Embedded cells seem to be put in their own lay. (Dangers: the Text documentation is incorrect for getLocation, and the cell's x's and the lay's x's disagree by around 2 pixels anyway). Fortunately, a safe comparison is by upper bounds. Ignoring the last lay (which seems to be blank), scan back from the penultimate lay, comparing its x with the location of the cell in the Text object. The first lay encountered for which the cell's x >= the lay's x is the lay for the embedded cell. Return its font. This is illustrated as follows, for a method that is defined for the embedded cell class, and to be called by calcCellSize and DrawSelf:inView: - (Font *) getFont: (Text *) t { NXLayArray *la; NXLay *lay; NXPoint pt; NXRect fr; int k; float x; struct textDef { @defs(Text) } *td; /* standard trick to break protection */ td = (struct textDef *) t; la = ((NXLayInfo *)(td->_info))->lays; k = la->chunk.used / sizeof(NXLay); if (k > 1) k -= 1; /* just in case only 1 lay (shouldn't happen) */ [t getLocation: &pt ofCell: self]; [t getBounds: &fr]; /* the Text docs imply this is x = pt.x - fr.origin.x; /* not necessary, but it is. */ while (k--) { lay = &(la->lays[k]); if (x >= lay->x) return lay->font; } return /* your default font here: this shouldn't happen */; } Can somebody say whether there is an easier way? I don't like having to do this sort of thing with appkit objects (i.e. breaking their protection, not believing the documentation, having to experiment with their internal datastructures, etc). In particular, it would be good to have a comment from somebody at NeXT. William Clocksin Computer Laboratory, University of Cambridge
Newsgroups: comp.sys.next.programmer From: ktrigg@freedom.torolab.ibm.com (Kevin Trigg) Subject: Re: Undefined Symbols in libposix.a(strftime.o) Sender: usenet@eclipse.torolab.ibm.com (eclipse sysadm) Message-ID: <DCDqIp.sGr@eclipse.torolab.ibm.com> Date: Thu, 27 Jul 1995 14:49:37 GMT References: <DCCHxH.6GD@eclipse.torolab.ibm.com> <RDL.95Jul27002730@world.std.com> Organization: IBM Canada, Toronto Lab In article <RDL.95Jul27002730@world.std.com> rdl@world.std.com (Robert La Ferla) writes: >Those symbols are in libsys_s.a which is in /lib. > >In article <DCCHxH.6GD@eclipse.torolab.ibm.com> ktrigg@freedom.torolab.ibm.com (Kevin Trigg) writes: > > When including libposix.a in my link step, I get the following undefined > symbols from strftime.o: > _objc_msgSend > _NXGetDefaultValue > _NXRegisterDefaults > .objc_class_name_NXStringTable > .objc_class_name_NXBundle > Robert, Thanks. Unfortunately there seems to be a problem in trying to link using both libposix.a and libsys_s.a because of duplicate symbols. We are porting code which requires the Posix libraries. Kevin ktrigg@vnet.ibm.com
From: ughtas@pencom.com (Thomas A. Stewart) Newsgroups: comp.sys.next.programmer Subject: Running app from double-click versus running binary from command line Date: 27 Jul 1995 15:39:23 GMT Organization: Pencom Software Message-ID: <3v8bvb$m72@digdug.pencom.com> Keywords: NXApp,application,Sparc,quad-fat Help!! I've stumbled across a very strange behavior on NS 3.3 Sparc. An app I'm working on runs fine on a Sparc 5; when I run it on a Sparc 20 running the same version of OS (with the same patches), it starts up but soon goes berserk. Essentially, the process loses connection with the message server for the event queue. The weird part is that if I run the binary from a terminal window (like " $ xxx.app/xxx ") instead of double-clicking the app icon (or running " $ open xxx.app ") it works fine. Can somebody enlighten me as to what might be going on within the app wrapper that doesn't happen when running the program from the command line? -- Tom Stewart (ughtas@pencom.com) -- Pencom Software And it shall come to pass that everyone who is left of all the nations which came against Jerusalem shall go up from year to year to worship the King, the LORD of hosts, and to keep the Feast of Tabernacles. -- Zechariah 14:16
From: paus@ifr.luftfahrt.uni-stuttgart.de Newsgroups: comp.sys.next.programmer Subject: Re: POSIX and Project Builder Date: 27 Jul 1995 16:27:33 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Distribution: world Message-ID: <3v8epl$1fcu@info4.rus.uni-stuttgart.de> References: <3v5hsi$7rh@aplinfo.jhuapl.edu> In article <3v5hsi$7rh@aplinfo.jhuapl.edu> Ian Feldberg <ian.feldberg@jhuapl.edu> writes: > HELP!! Has anyone out there been successful in getting POSIX compliant > C code to link and run within Project Builder? We have some C code that > needs the POSIX libraries but including them within an AppKit > application makes the link impossible. > > Anyone??? > > - Ian > Hi, as far as I know this does not work at all. It's either POSIX or AppKit. I found a hint in the release notes that you cannot use POSIX and the AppKit at the same time and that is probably what you would need. This is what the developer release notes for NS 3.2 say: Building POSIX applications is now supported. To compile POSIX 1003.1 conforming source, specify the -posix flag to cc. Note that POSIX kernel interfaces are not supported for NEXTSTEP applications. Hope that helps (although this is probably not what you wanted to hear :-) Michael -- ------------------------------------------------------------------------ --Dipl.-Ing. Michael Paus (Member: Team Ada) --University of Stuttgart, Inst. of Flight Mechanics and Flight Control --Forststrasse 86, 70176 Stuttgart, Germany --Phone: (+49) 711-121-1434 FAX: (+49) 711-634856 --Email: Michael.Paus@ifr.luftfahrt.uni-stuttgart.de (NeXT-Mail welcome)
From: lin@lorien.umd.edu (Shyang-Wen Lin) Newsgroups: comp.sys.next.programmer Subject: memory leak detectation Date: 27 Jul 1995 17:29:56 GMT Organization: University of Maryland, College Park Message-ID: <3v8iek$jj@hecate.umd.edu> We are running a program on a NeXTBox with NeXTStep 3.2. From time to time it will crash and display bad heap pointer or free space trashed message. I think it is time to figure out what's really wrong. Since this is an interactive program, we can't really repeat the error since we are not sure what sequence of events have to occurs to trigger the error. We are now trying to find a memory watcher program that will write to a log more information when a memory access violation occurs or an environment that can tell us, at compiling or link time, there's unsafe usage of dynamic allocated memory in the program and where. That Mallocate... program didn't help much. I read about some program just for watching these dynamic allocated memory usage in UNIX Review but I don't remember which issue and what was it called. Also, I am concern it might not work right on NeXTStep. Any suggestion ?
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-NY-NeXTSTEP Developers-Trading Systems-Big$$$$$ Date: 27 Jul 1995 14:32:38 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <3v8m46$63a@newsbf02.news.aol.com> If you have a strong Nextstep development background utilizing AppKit, EOF, or Sybase we currently have full-time and high paying per diem positions with our New York clients. WE WILL SPONSOR. Projects include, new trading systems development on the trading floor, NeXTSTEP to Openstep conversions, and major financial systems development with joint NeXTSTEP and SUN/OS environments. Contract: Brian Mitchell Datacom Technology Group Inc 212-629-5720 212-629-3374(FAX) E-Mail - briman101@aol.com
From: robertn@seahawk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Fat compile from command line? Date: 27 Jul 1995 10:18:47 -0700 Organization: McCaw Cellular Communications, Inc. Message-ID: <h2ybxk3zig.fsf@seahawk> References: <3v0t0q$5au@nntp.stanford.edu> <DCDA6J.5ry@sounds.wa.com> In-reply-to: brianw@sounds.wa.com's message of Thu, 27 Jul 1995 08:56:42 GMT In article <DCDA6J.5ry@sounds.wa.com> brianw@sounds.wa.com (Brian Willoughby) writes: From: brianw@sounds.wa.com (Brian Willoughby) Newsgroups: comp.sys.next.programmer Date: Thu, 27 Jul 1995 08:56:42 GMT Organization: Sound Consulting, Bellevue, WA, USA Path: nwestnews!nwfocus.wa.com!sounds!brianw References: <3v0t0q$5au@nntp.stanford.edu> Lines: 15 Stan Jirman <stanj@cs.stanford.edu> wrote: >is there a way of compiling a PB project from commandline fat? I need this >when telnetting into a machine and compiling remotely. The correct way to do this (for a ProjectBuilder Makefile) is: make "TARGET_ARCHS=m68k i386 hppa sparc" You can list any number of target architectures, you don't necessarily need to list them all... -- Brian Willoughby Software Design Engineer, BSEE from NCSU NeXTmail welcome Sound Consulting: Software Design and Development BrianW@SoundS.WA.com Bellevue, WA <http://nwlink.com/cyberartists/brianw/brianw.html> Is this true for 3.2? Can we clarify what releases work with what because I know at one point you had to define two "macros" instead of just one.
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: stephens@il.us.swissbank.com (Kurt Stephens) Subject: HELP: compiling IRC 2.8.2 on NeXTSTEP, -posix bug? Message-ID: <1995Jul27.185138.14482@il.us.swissbank.com> Keywords: posix., irc, compiling Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division Date: Thu, 27 Jul 1995 18:51:38 GMT Has any one tried to build IRC II v2.8.2 (Internet Relay Chat client) on NeXTSTEP using autoconfig? The link line in the Makefile does this: cc -arch i386 -arch m68k -g -O -posix -DHAVE_CONFIG_H -o irc alias.o crypt.o ctcp.o dcc.o debug.o edit.o exec.o flood.o funny.o help.o history.o hold.o hook.o if.o ignore.o input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o menu.o names.o newio.o notice.o notify.o numbers.o output.o parse.o queue.o reg.o scandir.o screen.o server.o stack.o status.o term.o translat.o vars.o whois.o window.o -ltermcap -lsys_s -lposix ld: for architecture i386 ld: Undefined symbols: __NXArgc __NXArgv __environ Why whould these be undefined? Any ideas? Kurt A. Stephens Development Environment Engineering Swiss Bank Corp. Chicago
Newsgroups: comp.sys.next.programmer From: copper.pdh.com!kim (Kim Ortiz) Subject: JOB:CA, SAN Jose: Software and Database Design Engineer Message-ID: <DCE1DL.38E@pdh.com> Keywords: comp. databases, comp. object, NeXT, object oriented, Sybase, Oracle Sender: kim@pdh.com (Kim Ortiz) Organization: PDH, Inc. Date: Thu, 27 Jul 1995 18:44:10 GMT Company: PDH, Inc. Position: Software and Database Design Engineer Location: San Jose, California (near the San Jose Airport) Qualifications: Design Engineer: preferably at least 4+ years software/database development experience Required: **** US CITIZENSHIP **** BS in Computer Science or related field Database design experience (2+ years, Sybase 10/Oracle 7) Willingness to travel within USA UNIX Desired: Familiarity with EOF, DBKit, AccessKit Experience in the following: Independent design and development Database design and development (SQL, Sybase or Oracle) Distributed databases GUI design and development Object Oriented Methodology, OOD and OOP UNIX NEXTSTEP Objective-C, C++ Duties: Design engineer/architect participates in all stages of the product life-cycle: proposal, design, implementation, testing, and documentation. Environment: PDH, Inc. is a small software development company specializing in systems solutions using NEXTSTEP and OpenStep development environments. These environments permit a 10 to 1 improvement in developer productivity on the first project and up to 25 to 1 on subsequent through the use of the tools, OOD, and the robust libraries (classes, palettes, kits). NEXTSTEP and OpenStep are available on Motorola, Intel, Sun, HP and DEC workstations now, and will soon be running in Windows/NT and SUN DOE. You will develop custom mission critical applications for customers. Current projects include: system engineering for a 3000+ workstation enterprise environment, a document management system, a reservation system, a property management system, and a requirements tracking system. This is an excellent opportunity to be immediately challenged, where the quality of the company is matched by the quality of the staff. PDH provides excellent vacation, health, 401K and disability benefits. The work attire is casual, hours are flexible, and sponsored refreshments. PDH, Inc. is an Equal Opportunity Employer. If you are an experienced OO or NEXTSTEP developer, or if you aspire to be one, and you would like to be part of a fast-paced, high growth, engineering-focused NEXTSTEP development team, send your resume to: Personnel Department Vox: (408) 428-9596 Fax: (408) 428-9599 E-mail: personnel@pdh.com (NeXT Mail welcome)
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Time events without DPS Date: 27 Jul 1995 16:46:31 GMT Organization: University of Heidelberg, Germany Message-ID: <3v8ft7$8km@sun0.urz.uni-heidelberg.de> Hi unix lovers, I'm writing a non Appkit daemon and have the following problem: There is a function void foo(){..} and I want to call this function say every 5 seconds. I know how to do it using DPS, but have trouble to implement it for plane unix. I tried the following ... main () { signal(SIGALRM,foocaller); alarm(5); pause(); } void foocaller (int data) { foo(the right arguments for foo); signal(SIGALRM,foocaller); alarm(5); } .. but foocaller gets executed only once and then the process stops?!?! Is it something wrong with signal() and/or alarm() implementation or I'm missing something important here? Thanks -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: dreely@cyberstore.com Newsgroups: comp.sys.next.programmer Subject: Re: POSIX and Project Builder Date: 28 Jul 1995 08:45:39 GMT Organization: Cyberstore Systems, Inc. Message-ID: <3va83j$onh@sulla.cyberstore.ca> References: <3v5hsi$7rh@aplinfo.jhuapl.edu> <3v8epl$1fcu@info4.rus.uni-stuttgart.de> paus@ifr.luftfahrt.uni-stuttgart.de wrote: > This is what the developer release notes for NS 3.2 say: > Building POSIX applications is now supported. To compile POSIX 1003.1 conforming > source, specify the -posix flag to cc. Note that POSIX kernel interfaces are not > supported for NEXTSTEP applications. I read in the PPP documentation a comment saying some of the POSIX is broken in NS 3.2. To be more specific, the new chat program can only be compiled properly using NS 3.3 which has fixed the POSIX problems that chat notices during compiling. Darren - dreely@cyberstore.com
From: hannes@ping.at Newsgroups: comp.sys.next.programmer Subject: Re: 3DKit for business graphichs? Date: Fri, 28 Jul 1995 10:47:37 GMT Organization: TELECOM Network Provider, Austria Message-ID: <950728124737.249AAAAE.hannes@s156.ping.at> References: <DC9xzw.1vy@rat.se> Mime-Version: 1.0 (Created by Mstar) Content-Type: text/plain; charset=US-ASCII Keywords: 3DKit, graphs Originator: hannes@s156.ping.at >From: martin@rat.se >Subject: 3DKit for business graphichs? >Date: Tue, 25 Jul 1995 13:40:43 GMT >Message-Id: <DC9xzw.1vy@rat.se> > > >Hi, > >I'm trying to use the 3D kit interactive mode for drawing some graphs for >analysis of financial data. I run into some limitations though. > >Is there a simple way to get text eg. numbers on value axes? Simple? - NO! The RenderMan interface provides no functions to insert text into graphics. That's why all programms doing so have to implement a conversion between some font format (e.g. PostScript) to RenderMan commands. For this use I've converted 2 fonts (Helvetica and Times) from PostScript to RenderMan format. What you get by this is a RenderMan definition of the extruded characters as CSGs consisting of bilinear patch-meshes with polygons in the front and back embedded in two subclasses of N3DShape - CharacterShape and TextShape. If you're interested - mail me. -- ____________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred)
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: current font for embedded cell in Text object Date: Fri, 28 Jul 95 08:47:58 GMT Organization: Cedar Systems Message-ID: <806921278snz@cedar.demon.co.uk> References: <3v8b1m$46n@lyra.csx.cam.ac.uk> William, We have invested considerable effort into understanding the Text's inner workings in order to use the Text object to display fully justified text, kerning, right, centre and decimal tabs, etc. Hence, I can reveal that the point that your code is missing is that the NXLayArray contains the id of the embedded cell. This saves messing around with cell locations. I have included an alternative to your solution, but bear in mind that this simple approach only works in the same case as your solution; when the current LayInfo represents the line containing the embedded cell. @interface Text(CedarSystemsCellFont) - (Font *)fontForEmbeddedCellInCurrentLayArray:eCell; @end @implementation Text(CedarSystemsCellFont) - (Font *)fontForEmbeddedCellInCurrentLayArray:eCell { NXLayArray *la; NXLay *currLay, *lastLay; la = ((NXLayInfo *)_info)->lays; lastLay = la->lays + ((la->chunk.used / sizeof(NXLay)) - 1); for (currLay = la->lays; currLay <= lastLay; currLay++) if (currLay->run->info == eCell) return currLay->font; return nil; } @end Personally, I prefer to add a category like the above to the Text object rather than use @defs in other object's code. Good luck, Paul Heffernan, Product Development Manager. ----------------------------------------------- Cedar Systems email: Cedar@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.programmer Subject: Re: pgplot/fortran for NEXTSTEP Date: 28 Jul 1995 12:52:41 GMT Organization: University of Heidelberg, Germany Message-ID: <3vamip$kgi@sun0.urz.uni-heidelberg.de> References: <9507261651.AA00135@smile.apdg.com> Bill Bumgarner (bbum@smile.apdg.com) wrote: : I'm in the process of building pgplot quad-fat for NeXTSTEP. : Unfortunately, in order to do so, I need a working fortran environment. : Looking at the archive site, there is an f2c from late 1991-- has anyone : compiled a more recent version (IS there a more recent version?)? Have a look at ftp.NMR.EMBL-Heidelberg.DE:/pub/next/Developer/Languages/ There's a quad-FAT f2c distribution, f2c.sb.NIHS.gnutar.gz, compiled from a rather up-to-date source tree. [Hmm. Shouldn't this be /pub/next/Obsolete/Languages/ ??? ;-)] Gregor -- | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: Robert Worne <rworne@primenet.com> Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: Re: HELP: compiling IRC 2.8.2 on NeXTSTEP, -posix bug? Date: 28 Jul 1995 15:21:13 GMT Organization: A Big, Black Box. Message-ID: <3vav99$qs@nnrp3.primenet.com> References: <1995Jul27.185138.14482@il.us.swissbank.com> stephens@il.us.swissbank.com (Kurt Stephens) wrote: > Has any one tried to build IRC II v2.8.2 (Internet Relay Chat client) on NeXTSTEP using autoconfig? > The link line in the Makefile does this: > cc -arch i386 -arch m68k -g -O -posix -DHAVE_CONFIG_H -o irc alias.o crypt.o ctcp.o dcc.o debug.o edit.o exec.o flood.o funny.o help.o history.o hold.o hook.o if.o ignore.o input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o menu.o names.o newio.o notice.o notify.o numbers.o output.o parse.o queue.o reg.o scandir.o screen.o server.o stack.o status.o term.o translat.o vars.o whois.o window.o > -ltermcap -lsys_s -lposix > ld: for architecture i386 > ld: Undefined symbols: > __NXArgc > __NXArgv > __environ > Why whould these be undefined? Any ideas? I get a very similar error compiling GNU Pascal... nothing I could do would get rid of it. Especially when the very things it claims are undefined actually *are* defined... -- //--------------------------------------------------------------------- // Robert Worne rworne@primenet.com OS/2-NeXT -=Starving CS Undergrad=- //--------------------------------------------------------------------- // Microsoft Network is prohibited from redistributing this work in // any form, in whole or in part. Copyright, Robert Worne, 1995. // License to distribute this post is available to Microsoft for $1000. // Posting without permission constitutes an agreement to these terms. // Please send notices of violation to rworne@primenet.com and // postmaster@microsoft.com
Newsgroups: comp.sys.next.programmer From: martin@rat.se Subject: Re: OpenStep Journal - Well done NeXT! Message-ID: <DC9IE1.Ay@rat.se> Sender: martin@rat.se (Martin Wennerberg) Organization: Research & Trade, AB. References: <3v0rsa$20b@agate.berkeley.edu> Date: Tue, 25 Jul 1995 08:03:36 GMT The typing has no effect on the compiled code. It's just to get clearer source codes both for the compiler and the programmers. The old untyped declarations works just as before if you prefer that. >Classes C1, C2, ... C47 are subclasses of Class B14 >Classes B1, B2, .... B106 are subclasses of class A2 >Classes A1,A2,A3 are subclasses of some primordial class. > >Now, all these are (to some extent) polymorphed. But the B and C classes >add in a few more protocols (which the calling code can check using >conformsTo if necessary). This might be typed as - (void) method:(id <myProtocol>) arg; Martin
From: tiggr@es.ele.tue.nl (Pieter Schoenmakers) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: Re: HELP: compiling IRC 2.8.2 on NeXTSTEP, -posix bug? Date: 28 Jul 1995 16:13:10 GMT Organization: Eindhoven University of Technology, The Netherlands Message-ID: <TIGGR.95Jul28181310@cobra.es.ele.tue.nl> References: <1995Jul27.185138.14482@il.us.swissbank.com> <3vav99$qs@nnrp3.primenet.com> In-reply-to: Robert Worne's message of 28 Jul 1995 15:21:13 GMT In article <3vav99$qs@nnrp3.primenet.com> Robert Worne <rworne@primenet.com> writes: > Why whould these be undefined? Any ideas? > ld: for architecture i386 > ld: Undefined symbols: > __NXArgc > __NXArgv > __environ These are exactly those symbols defined globally in the data segement of /lib/crt0.o. Strange. What does `cc -v' tell you about the arguments passed to ld? --Tiggr
From: dominik@blackmagic (Dominik Westner) Newsgroups: comp.sys.next.programmer Subject: sigsetjmp problem Date: 20 Jul 1995 09:24:47 GMT Organization: TeDoc, Munich, Germany Message-ID: <3ul7cv$1at@blackmagic.ppp.informatik.uni-muenchen.de> Hi, I have the following problem: I use the POSIX sigsetjmp function. When I try to compile I get the error: cc -g -pipe -O -DDEBUG -DNEXT -I/home/Dominik/Unix/include -I. -I../modules -c tester.c -o tester.o tester.c: In function `main': tester.c:215: too many arguments to function `setjmp' This is sigsetjmp is obviously just a wrapper for setjmp, but it does not discard the 2nd argument. Ok, it's posix, therefore I tried: cc -g -pipe -O -posix -DDEBUG -DNEXT -I/home/Dominik/Unix/include -I. -I../modules -c tester.c -o tester.o tester.c: In function `main': tester.c:215: too many arguments to function `setjmp' Is this due to NeXT's incomplete POSIX Implementation or am I just too stupid to solve this ???? (No answers needed for the second case :-) Any help is welcome. thanks Dominik --- --- Dominik Westner "Everything is possible in an infinite universe" __________________________________________________Willi, the painter Munich, Germany (+49) +89 12392322 [Fax & Phone] UNI: westner@informatik.uni-muenchen.de [NeXTMail, Mime] HOME: dominik@gowest.ppp.informatik.uni-muenchen.de [NeXTMail, Mime] -- --- Dominik Westner "Everything is possible in an infinite universe" __________________________________________________Willi, the painter Munich, Germany (+49) +89 12392322 [Fax & Phone] UNI: westner@informatik.uni-muenchen.de [NeXTMail, Mime] HOME: dominik@gowest.ppp.informatik.uni-muenchen.de [NeXTMail, Mime]
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de(Juergen Sell) Subject: How to use IB with its limiting Unparse command? Message-ID: <DCFFt8.HG@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown Date: Fri, 28 Jul 1995 12:53:31 GMT A couple of days ago I asked for any experienced advantages using IB+ObjC vs. any more traditional GUIbuilders+C/C++. While the tenor was clearly biased towards IB+ObjC with its dynamic features there was also a strong emphasis on the non-usability of IB for any 'real-world' large application development. The mentioned reason is IB's inability to cope with existing classes .[hm] files and correctly patch such files when it comes to a later 'Unparse'. Instead people may use IB for a first approach but later switch to their editor to alter outlets and action methods, which they succesfully 'Parse' in IB. Hey, this is stone age technology. Again and again NeXTstep is quoted to have a -if not the - sophisticated development environment. But it seems in reality it is merely useless! Ib does have the outlet/action manipulation facilities. It just screws existing source files. I cannot truly believe this yet - and surely I do not want to. So, has not someone come up with some diff/patch combination to circumvent this hassle? Or do you professional users really forsake IB when it comes to true work? If I remember correcly I saw Delphi handle this very well during a demo at Cebit. Is NeXTstep loosing another race? Juergen --- Fon ++49 511 4406-88 NeXTMail welcome Fax ++49 511 4406-17 == What time do we live in when a wine's class matters more than its taste, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names?
Newsgroups: comp.sys.next.programmer From: gerald@willi.in-berlin.de (Gerald Erdmann) Subject: How to get the ethernet address of a host Message-ID: <1995Jul28.165415.2238@kurt.in-berlin.de> Sender: news@kurt.in-berlin.de Date: Fri, 28 Jul 1995 16:54:15 GMT Hi! How can I get an ethernet address of a host in my network? Okay, somebody told me "use gethostbyname and look at arp" but I with "arp" I have some problems. Can someone help me how to do this into a program? Thanx Gerald -- --------------------------------------------------------------------- | GERALD ERDMANN | email: gerald @ kurt.in-berlin.de (NeXTmail welcome) | voice: +49 30 372 43 10 (Germany - Berlin) | crypt: pgp2 public key available |
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Fat compile from command line? Date: 28 Jul 1995 15:18:17 GMT Organization: Information Technology Solutions, Inc. Message-ID: <3vav3q$jvb@www.its.com> References: <3v0t0q$5au@nntp.Stanford.EDU> <3v5o6m$njq@www.its.com> <h2pwix6mdc.fsf@seahawk> robertn@seahawk (Robert Nicholson) wrote: >> stanj@cs.stanford.edu (Stan Jirman) wrote: >>> is there a way of compiling a PB project from commandline fat? >>> I need this when telnetting into a machine and compiling remotely. > >> make debug 'OTHER_CFLAGS=-arch i386 -arch m68k' [ ... ] > Hmm. That's likely not gonna work under 3.2.. > See Spring NXApp issue for more information on 3.2 OTHER_CFLAGS seems to work on the command line since at least NEXTSTEP 3.0. At least I've been using it to control the build environment from automated scripts to do several builds (with different flags during each build) for the products I work on. But YMMV. > What about OTHER_LDFLAGS? No good. It wouldn't build the .o files FAT. It's good that NeXT makes the "OTHER_XXX" Makefile flag hooks available for developer use. It's too bad that they didn't use CFLAGS and LDFLAGS instead of the OTHER_XXX versions, though. No one except PB-based projects knows what that is, or knows what TARGET_ARCHES is either, for that matter. If one builds projects which use source off the net, being able to simply specify CFLAGS on the command line and control all compiler flags for all of the source would be easier to deal with. --------------------- Opinion: NeXT should've read the FSF programming standards document and the Makefile info pages more carefully; these give good advice on how and why to set up different levels of command-line flag specifications for Makefiles. NeXT should've also started with GNU make, rather than using their own incompatible version. -Chuck -- Charles Swiger -- chuck@its.com | Information Techology Solutions, Inc. --------------------------------+-------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Fat compile from command line? Date: 28 Jul 1995 16:38:58 GMT Organization: Information Technology Solutions, Inc. Message-ID: <3vb3r2$jvb@www.its.com> References: <3v0t0q$5au@nntp.Stanford.EDU> <3v13bn$ne4@panix.com> <h268kp7wvk.fsf@seahawk> Robert Nicholson writes: > Can you let use know exactly which OS release you are using? We are using NEXTSTEP 3.3 on all four architectures here at ITS. We also have some 3.2 systems around. > The Makefiles have changed with each release. Tell me about it! :-( I've had to modify Makefiles and use the unsupported library.make and a modified ProjectBuilder.app which understands library projects under pre-3.3 NEXTSTEP releases. I suppose this means that I can't be considered to have a stock configuration. I'd encourage the curious to experiment with "make -n" (which does not execute the commands, it just shows you what would happen) and see for yourself what happens when you specify various flags on the command line. If you understand Makefiles well, then you can make your world happier by doing such things as adding "-pipe" or "-Wno-precomp" (essential for doing a -posix build!) to /NextDeveloper/Makefiles/app/common.make. Changing the optimize flags to "-O3 -fno-omit-frame-pointer -ffast-math" may be appropriate for many purposes. Switch to "-fomit-frame-pointer" for non-debuggable but better performing production release builds. -Chuck -- Charles Swiger -- chuck@its.com | Information Techology Solutions, Inc. --------------------------------+-------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: "John W. Szuhay" <szuhay@dmccorp.com> Newsgroups: comp.sys.next.programmer Subject: Install Graphics Filter Service Date: 28 Jul 1995 14:18:09 GMT Organization: DMC Corporation Message-ID: <3varj1$82p@tattoo.sccsi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello: I am trying to install the OmniImage graphics filter as a service so that my internet browser (Omniweb, I think) can properly display graphics. I am running NeXTSTEP v3.3 on a Pentium system. Documentation from OmniImage refers to the NeXTSTEP Developer Library for the procedure for installing the graphics filter as a service, but this approach looks too daunting for a non-NeXTSTEP programmer like me. Isn't there an easier way to add services? Even if I use the method described in the Developer Library, don't I need to know alot of technical details about the filter before I can install it as a service? Where can I get all the required information? Do I have to go back to the publisher for this data? Any help is greatly appreciated. Thanks in advance, John
From: willo@youcon.Central.Sun.COM (Doug Willoughby - Area Systems Engineer) Newsgroups: comp.sys.next.programmer Subject: NX Memory mamagement policy Date: 28 Jul 1995 19:23:04 GMT Organization: Sun Microsystems - Southfield, Michigan Distribution: world Message-ID: <WILLO.95Jul28152304@youcon.Central.Sun.COM> My specific question is: the Text object's method "defaultParaStyle" returns a pointer to a NXTextStyle structure. I'm guessing that that structure is being dynamically allocated. If it is, am I responsible for freeing it when I'm done with the structure? The more general question is: when the appkit returns a pointer to some structure, is that structure dynamically allocated and if so, who's responsible for freeing it. Doug
From: msb@plexare.com (Michael Barthelemy) Newsgroups: comp.sys.next.programmer Subject: Re: Man pages from headers? Date: 28 Jul 1995 19:46:33 GMT Organization: US West !nterprise Networking Systems Distribution: world Message-ID: <3vbeqp$89v@acsnews.uswc.uswest.com> References: <3vbc47$p1t@cerberus.wsc.com> writes > In article <3v425e$a83@engnews2.Eng.Sun.COM> stanj@cs.stanford.edu (Stan > Jirman) writes: > > Hi, > > > > there used to be an app that created man pages from headers, rtf NeXT > > style. With the last disk crash it got lost and now I don't seem to find > > it anymore anywhere. Anyone an idea where to look for it? > > There's Class Maker, a nifty little shareware that produces > NeXT style .rtf documents from your header files. > > Here are the coordinates of the author: > > Michael S. Barthelemy (msb@plexare.com) > Plexare Development > 1450 Washington Boulevard #N404 > Stamford, CT 06902 I've moved (yet again) currently my address is: Plexare Development 1150 Hennepin Avenue Suite 2301 Minneapolis, MN 55403 email is still msb@plexare.com The latest version is at ftp.cs.orst.edu. (I dont have the directory on me.) This fall I hope to release version 2.0 which will add a large number of requested features. If you need it quad-fat send me some email as I believe the one on the archives is only dual-fat. Mike Barthelemy Plexare Development msb@plexare.com
From: pascal@wsc.com () Newsgroups: comp.sys.next.programmer Subject: Re: Man pages from headers? Date: 28 Jul 1995 19:00:23 GMT Organization: WSC Investment Services, Inc. Distribution: world Message-ID: <3vbc47$p1t@cerberus.wsc.com> References: <3v425e$a83@engnews2.Eng.Sun.COM> In article <3v425e$a83@engnews2.Eng.Sun.COM> stanj@cs.stanford.edu (Stan Jirman) writes: > Hi, > > there used to be an app that created man pages from headers, rtf NeXT > style. With the last disk crash it got lost and now I don't seem to find > it anymore anywhere. Anyone an idea where to look for it? There's Class Maker, a nifty little shareware that produces NeXT style .rtf documents from your header files. Here are the coordinates of the author: Michael S. Barthelemy (msb@plexare.com) Plexare Development 1450 Washington Boulevard #N404 Stamford, CT 06902 If you can't reach the author, send me email and I'll send it to you (please specify NeXTMail or UUencoded) Cheers, - Pascal
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: How to use IB with its limiting Unparse command? Date: 29 Jul 1995 02:15:37 GMT Organization: Sense Networking Seattle (http://www.oz.net) Distribution: world Message-ID: <3vc5ka$ks7@emerald.oz.net> References: <DCFFt8.HG@euler.hnv.icem.de> In article <DCFFt8.HG@euler.hnv.icem.de> js@euler.hnv.icem.de(Juergen Sell) writes: > A couple of days ago I asked for any experienced advantages using IB+ObjC > vs. any more traditional GUIbuilders+C/C++. While the tenor was clearly biased > towards IB+ObjC with its dynamic features there was also a strong emphasis > on the non-usability of IB for any 'real-world' large application development. > Nonsense!! Our "real-world" shipping app has over 500 IB-built nibs. > The mentioned reason is IB's inability to cope with existing classes [hm] > files and correctly patch such files when it comes to a later 'Unparse'. > Instead people may use IB for a first approach but later switch to their > editor to alter outlets and action methods, which they succesfully 'Parse' > in IB. Hey, this is stone age technology. > Since you have to switch to your stone-age editor to make your new actions actually do anything, why bother using unparse even if it didn't overwrite what is already there? How do you propose unparse should work? I want to place my outlets and actions in certain places in my source files, so I don't want some GUI app placing them in some arbitrary location. Unparse is just a cute demo feature. Real [wo]men don't use unparse :-) You're mired in the code-generator paradigm so common with UI builders. IB isn't a code generator; it's an object editor and archiver. This is a much more powerful than the code-generator paradigm. If you'd quit trying to mold IB into a code generator and use it as an object editor and archiver, you'd get a lot of useful work done. > Again and again NeXTstep is quoted to have a -if not the - sophisticated > development environment. But it seems in reality it is merely useless! Well, it's certainly useless for those who merely whine about it. For the rest of us, it's been an incredible development tool. Our domain experts used to have to write UI specs for programmers to implement. After several cycles of implementation, review, reimplementation, etc., the UI was done. With IB, these non-programmer domain experts now write the UI specification using IB and then programmers add their nibs to the project. Not only does this save a tremendous amount of time, but it results in a much nicer UI because the domain experts are very close to the end-users and know what they need and like in a UI. Our programmers have created custom palettes that allow our non-programmer domain experts to "graphically program" by making connections in IB to and from our custom palette objects, so their nibs "just work" once done. They're not merely screen paintings, but they unarchive fully functional windows at run-time. If you consider this to be "stone-age", then I'm a happy caveman, I guess :-) Ib does > have the outlet/action manipulation facilities. It just screws existing source > files. > Not for people who use IB as it was intended. > I cannot truly believe this yet - and surely I do not want to. So, has not > someone come up with some diff/patch combination to circumvent this hassle? The fix for your problem is easy: Just Say No to Unparse! Or > do you professional users really forsake IB when it comes to true work? > Nope. Use it daily. But actually, I don't use it as much as I might because non-programmers do most of our window-building with IB. > If I remember correcly I saw Delphi handle this very well during a demo at > Cebit. > Delphi is supposed to be a pretty nice Pascal code generator, I guess. > Is NeXTstep loosing another race? > Possibly, but I see no evidence that it's in the object editor and archiver area. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Suppress warnings? Date: 28 Jul 1995 21:36:26 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199507290231.EAA26918@ns.ms.mff.cuni.cz> Hi all, probably I miss something obvious - but, can anybody tell me how to suppress warnings? Eg I have plenty of multi character constants in my last source; I know well what I am doing and I'd want to have _clean_ warning list (while the rest of source is checked with -Wall) I suppose there has to be some pragma for this, or not? -- Ondra Cada ocs@earn.cvut.cz NeXTmail and MIME OK afraid I've tried all other possibilities, with no luck... somebody know how to do this? -- Ondra Cada ocs@earn.cvut.cz NeXTmail and MIME OK
From: robertn@seahawk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Cell and - controlView Date: 28 Jul 1995 21:24:15 -0700 Organization: McCaw Cellular Communications, Inc. Message-ID: <h2d9euuryo.fsf@seahawk> Can somebody tell me why Cell has never retained the controlView it's drawing in? Why did they abstract that? I've seen the documentation and I know that it doesn't retain the view but I want to know what was behind the decision to make it that way? Folks, remember that NXBrowserCell subclasses don't retain their cView's.
From: John Kheit <jkheit@cnj.digex.net> Newsgroups: comp.sys.next.programmer Subject: Re: How to use IB with its limiting Unparse command? Date: 29 Jul 1995 05:50:27 GMT Organization: Express Access Online Communications, USA Message-ID: <3vci73$aks@news4.digex.net> References: <DCFFt8.HG@euler.hnv.icem.de> <3vc5ka$ks7@emerald.oz.net> art@cubicsol.com (Art Isbell) wrote: > Ib does > > have the outlet/action manipulation facilities. It just screws > > existing source files. > > > Not for people who use IB as it was intended. > > I cannot truly believe this yet - and surely I do not want to. > > So, has not someone come up with some diff/patch combination > > to circumvent this hassle? > The fix for your problem is easy: Just Say No to Unparse! I haven't used UnParse on any of my projects (except for, of course, the initial .hm creation) since I first wiped out some work in the 2.0 days :( But, I think, if my memory isn't playing trix on me, that in 3.3, after you have started work and after the initial unparse, unparse becomes disabled in IB, so you have no choice but to say no :) They should probably rename the unparse function to something like, initial .hm files creation. The [un]parse paradigm implies that unparse should be used frequently (when it really makes no sense to do so). DragnDrop of the .hm files over the IB .nib windows is what you really want...actually you want PB to do that update for you automatically...maybe in 4.0? Gosh, I feel so un-lucid after way too much programming and tea %-) -- Thanks, Later, John monoChrome, Inc. | New York Law School | NEXTSTEP Developer John Kheit )^> %^) | Opinions expressed | MIME & NeXTmail OK--3P jkheit@cnj.digex.net | represent me only... | Telepathy...It's coming...
Newsgroups: comp.sys.next.programmer References: <3u42ol$dg1@hang.primenet.com> From: "David Wetzel" <Dave@turbocat.snafu.de> Date: Sat, 29 Jul 95 18:19:42 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: GNU Pascal Message-ID: <37730459@turbocat.snafu.de> Organization: Turbocat's Development, Germany Robert Worne wrote in article <3u42ol$dg1@hang.primenet.com> about GNU Pascal: > Has anyone ever gotten this to compile (version 2.6.3) I have the gcc installed > and > working properly, but the pascal (same version #) fails when it attempts to make > gpc1. > > 1. Has anyone successfully compiled this? > 2. Can you tell me how? Please tell me too. > > rworne@primenet.com _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Phone +49 33056 82151, Fax +49 33056 82152 (______) dave@turbocat.snafu.de
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: autorelease && background application? Date: 30 Jul 1995 06:44:23 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199507301139.NAA14409@ns.ms.mff.cuni.cz> Hi all of you, I use heavily the FK with the autorelease mechanism. As I don't use EOF, I use the PoolApplication application class (from some NextAnswer, I cannot just now remember the number), which releases the autorelease pool in the sendEvent: method. The problem is here: when the application runs on background, driven either by DO or 'internally' using the perform:with:afterDelay:cancelPrevious:, the sendEvent: method is not used, thus all autoreleased objects are kept in memory. I can imagine some solutions, but all of them are dirty. I'd like to change the PoolApplication class such way that the _releasePool method gets called not only in the sendEvent: method, but after any DO event and perform:with:afterDelay:... event as well. Is it possible? How? (Or would it be a bad solution? Why?) Thanx, -- Ondra Cada ocs@earn.cvut.cz NeXTmail and MIME OK
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: GNU make in 4.0 developer? Message-ID: <RDL.95Jul30142051@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA Date: Sun, 30 Jul 1995 18:20:51 GMT Will NEXTSTEP 4.0 Developer finally use GNU make? Robert La Ferla Registered NEXTSTEP / OPENSTEP Consultant Boston, MA + 1 (617) 252-0088
From: hcole@rt66.com Newsgroups: comp.sys.next.programmer Subject: What *are* these classes?? Date: 30 Jul 1995 19:29:12 GMT Organization: Tripod Engineering Message-ID: <3vgmi8$k6a@mack.rt66.com> More and more, I'm seeing two very cool UI classes. One of them looks like a set of folder tabs across the top of a view. Clicking on a tab brings the "folder" to the front displaying a group of icons which can be selected. The other is a group of "floating" text fields. That is, it is a set of text fields which can be re-arranged by dragging the title bars at the top of the column. Does anyone know if these classes are available for general use? Are they new NEXT appkit supplied classes, or are they PD classes (eg from MiscKit or something?), or are they proprietary. I'd really like someone to comment on the availability of these very useful objects. - HRC -
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: What *are* these classes?? Date: 30 Jul 1995 22:01:33 GMT Organization: Sense Networking Seattle (http://www.oz.net) Distribution: world Message-ID: <3vgvfu$asi@emerald.oz.net> References: <3vgmi8$k6a@mack.rt66.com> In article <3vgmi8$k6a@mack.rt66.com> hcole@rt66.com writes: > More and more, I'm seeing two very cool UI > classes. One of them looks like a set of folder > tabs across the top of a view. Clicking on a > tab brings the "folder" to the front displaying > a group of icons which can be selected. > This is the free TabMatrixPalette that should be at ftp.cs.orst.edu. It's modeled after the control NeXT uses in the new IB, but doesn't include a swappable view. There are several of these available including UHSelectView. It would be nice if a swappable view were integrated into the TabMatrixPalette, and the source for all of these is available, so wouldn't this make a nice little programming project for someone ?-) The > other is a group of "floating" text fields. That > is, it is a set of text fields which can be re-arranged > by dragging the title bars at the top of the column. > This sounds like the {DB,NX}TableView that NeXT includes in the DBKit and EOF palettes. These can be used without a database. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: tm8025a@localhost.wisc.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: Undefined Symbols Date: 31 Jul 1995 01:14:32 GMT Organization: University of Wisconsin, Madison Message-ID: <3vhapo$1abs@news.doit.wisc.edu> I am having trouble linking an app into one piece. After getting everything to compile I get... ld: Undefined symbols: .objc_class_name_MiscSubprocess Now as you may have guessed I am using the MiscKit and have included the -L/LocalDeveloper/Libraries in the MakeFile preamble and the -ObjC to the C flags. I also put #include <misckit/misckit.h> in the .m file that calls on the kit. I have tried looking this up in the Docs but couldn't find it. Any help out there? Torrey McMahon
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 31 Jul 1995 04:15:36 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <3vhld8$nae@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: cwolf@best.com Newsgroups: comp.sys.next.programmer Subject: Re: Savepanel for directiories Date: 31 Jul 1995 04:35:21 GMT Organization: Cornell University Sender: caw5@cornell.edu (Verified) Message-ID: <3vhmi9$jq4@newsstand.cit.cornell.edu> In article <199507290231.EAA26923@ns.ms.mff.cuni.cz> Ondra Cada wrote: Hi, > >sorry if my question is stupid, but ... I would need savepanel for >directories, ie >- I can select any existing directory and press the OK button, or >- I can write any path to the text field; the panel then presents >well known 'The XXXX directory doesnot exist - create it?' and >creates the directory id said so. > >I did not try to subclass the savepanel; I am afraid I've tried all >other possibilities, with no luck... somebody know how to do this? > Check out the source code for the MiscKit MiscSavePanel class... it demonstrates how to overide the hidden _validateNames:checkBrowser: method of the save panel class. This may not be very clean or legal but it should allow you to obtain the behavior you want. -- Christopher Wolf / WolfWare cwolf@best.com (NeXTmail & MIME accepted, finger for PGP key) For information about the NewsFlash newsreader for NeXTSTEP check out WolfWare's home page: http://www.best.com/~cwolf
From: stefanos@Vir.com (Stefanos Kiakis) Newsgroups: comp.sys.next.programmer Subject: Has anyone managed to get rayshade 4 to compile. Date: 31 Jul 1995 01:12:48 -0400 Organization: Communications Vir, Internet Access Montreal. Message-ID: <3vhoog$sno@mysite.mydomain> Hello, Has anyone managed to get rayshade 4.0 to compile using NS 3.2 (Intel)? If you have, can you please let me know what options you selected for the configure script. Thanx in advance, stef
Newsgroups: comp.sys.next.programmer From: nkawai@postman.riken.go.jp (Nobuyuki Kawai) Subject: Re: pgplot/fortran for NEXTSTEP Message-ID: <DCKKAo.Ez7@postman.riken.go.jp> Sender: news@postman.riken.go.jp (News Administrator) Organization: Institute of Physical & Chemical Research (RIKEN) Saitama,Japan References: <9507261651.AA00135@smile.apdg.com> Date: Mon, 31 Jul 1995 07:18:23 GMT In comp.sys.next.programmer article <9507261651.AA00135@smile.apdg.com> Bill Bumgarner <bbum@smile.apdg.com> writes > I'm in the process of building pgplot quad-fat for NeXTSTEP. Are you building a version of pgplot for NeXTSTEP DPS window (not X)? If so, I am quite interested in seeing the results. I use pgplot (not on NeXT) to produce a PS file, but it produces upside-down images if viewed with Preview.app on the screen. (It's of course not a problem if printed on paper) It would be nice if you add NeXTSTEP driver for that. -- Nobuyuki Kawai RIKEN
From: bresink@infko.uni-koblenz.de (Marcel Bresink) Newsgroups: comp.sys.next.programmer Subject: Re: Whereis conio.h? Date: 31 Jul 1995 08:36:00 GMT Organization: University Koblenz / Germany Message-ID: <3vi4lg$ltn@newshost.uni-koblenz.de> References: <Pine.SOL.3.90.950724183655.9856A-100000@eesun2.tamu.edu> Viveca Noble <vnoble@eesun2.tamu.edu> wrote: > Everything was fine until I tried to use <conio.h> or > "conio.h". I received a message that stated this file could > not be found. What do I have to do to correct this problem? "conio" is a library used on MS-DOS computers to do "console input / output" on a PC's text screen. UNIX computers are terminal-oriented and have no text screen in that sense. You can look for the UNIX library "curses" which has some of the functionality of "conio" but you have to rewrite your program to use it. Search for "curses" in the man pages to get more information. Marcel --- Marcel Bresink, University of Koblenz, Computer Graphics Lab, Institute for Computer Science Rheinau 1, D-56075 Koblenz, Germany
From: tbm@tci002.uibk.ac.at (Martin Michlmayr) Newsgroups: comp.sys.next.programmer Subject: Re: GNU make in 4.0 developer? Date: 31 Jul 1995 09:35:11 GMT Organization: Dept. of Computer Science, University of Salzburg Distribution: world Message-ID: <3vi84f$j7h@esel.cosy.sbg.ac.at> References: <RDL.95Jul30142051@world.std.com> Robert La Ferla (rdl@world.std.com) wrote: / Will NEXTSTEP 4.0 Developer finally use GNU make? A report about NEXTSTEP 4.0 in NIL #3 said it would. -- Martin Michlmayr | tbm@tci002.uibk.ac.at | tbm@gnu.ai.mit.edu GNUStep Volunteer Coordinator, http://fvkma.tu-graz.ac.at/gnustep/index.html
Newsgroups: comp.sys.next.programmer From: root@flute.music.gla.ac.uk Subject: How do I remote message my application? Message-ID: <DCC11q.65y@udcf.gla.ac.uk> Sender: news@udcf.gla.ac.uk (News) Organization: Glasgow University Computing Service Date: Wed, 26 Jul 1995 16:41:49 GMT Distribution: world I'm a bit confused by the listener class. Tried reading the ducumentation but I'm not much better off. I want to access ALL the methods in an application via command-line calls, so decided that a speaker/listener combination would work well. I'm trying to get the system working first on the demo app "Lines". A simple task should be to toggle the on/off state of the display with the toggleRun method. I have created the appDidInit:sender method in MyApp.m, and entered the following code (pretty much as in the documentation): =====================start code================================= - appWillInit:sender { myListener = [[Listener alloc] init]; [myListener setDelegate:self]; //send incoming messages to self [myListener checkInAs:"myPort"]; //name the new port [myListener addPort]; //register it [NXApp setAppListener: myListener]; //set it as the default port // for application? return self; } - toggleMe:sender { NXRunAlertPanel (NULL, "This will toggle me!", "goodbye", NULL, NULL); return self; } =======================end code=============================== I access this through a wee spot of code in Eval3.3 (gleaned from Message.app), with which I send a "toggleMe" message to "myPort". Nothing happens. If I send a "unhide" message this makes it through. How do I go about making it respond to other messages? How does this all relate to msgwrap which I don't understand at all? At a guess, do I have to subclass Listener using code produced by msgwrap (how do I do this?) then use this as my listener? TIA (this is probably very simple but I've wasted too much time on it already) Stephen Brandon _____________________________________________________ SysAdmin Department of Music, e-mail: sbrandon@music.gla.ac.uk 14 University Gardens, (NeXT mail welcomed) University of Glasgow, Tel: +44 (0)141 330 6065 Glasgow. Fax: +44 (0)141 307 8018
Newsgroups: comp.sys.next.programmer From: martin@rat.se Subject: Summary: 3DKit for business graphichs? Message-ID: <DCKp31.8Bn@rat.se> Keywords: 3DKit, business graphics Sender: martin@rat.se (Martin Wennerberg) Organization: Research & Trade, AB. References: <950728124737.249AAAAE.hannes@s156.ping.at> Date: Mon, 31 Jul 1995 09:01:49 GMT I got several email answers on my post and they said (as I already found out) that text is hard to do and that Renderman and the 3DKit is poorly suited for business graphics. The NX3dPlot app (on the archives) does a pretty good job at it though using some neet tricks and I recommend having a look at it. Thanks to all who helped! Martin Wennerberg ____________________________________________________ Research & Trade AB Phone: + 46 - 8 - 21 17 50 Email: martin@rat.se Snailmail: Box 7742, S-103 95 Stockholm, SWEDEN Visiting: Kungsgatan 33
From: bresink@infko.uni-koblenz.de (Marcel Bresink) Newsgroups: comp.sys.next.programmer Subject: Re: GNU Pascal Date: 31 Jul 1995 11:08:01 GMT Organization: University Koblenz / Germany Message-ID: <3vidih$mqn@newshost.uni-koblenz.de> References: <3u42ol$dg1@hang.primenet.com> <37730459@turbocat.snafu.de> "David Wetzel" <Dave@turbocat.snafu.de> wrote: > Robert Worne wrote: > > 1. Has anyone successfully compiled this? Yes, I did :-), but I had also some problems... > > 2. Can you tell me how? 1. Be sure to have the complete sources of gcc 2.6.3 and gpc 1.1 and the two gpc 1.1 patches available so far. 2. Compile gcc. Use something like ./configure --build=next --prefix=/foo (/foo is an example for the installation directory in which gcc and gpc will be placed.) WARNING: You cannot move the compilers to another directory later. 3. Make stages 1 and 2 and install the C compiler as described in the install documentation. Leave all the .o-files in place! 4. Mske a backup copy of the configure shell script of gcc. 5. Now copy the gpc files JUST OVER the files of gcc in the gcc source directory. This seems to be the easiest way to avoid some of the problems one might have when compiling gpc. (If you want to keep an "untainted" version of the gcc sources, you should make a backup copy of the whole source directory). 6. There seems to be an error in the gpc makefile. Edit "Makefile.in" and change the line RTS_GCC=../$(gccdir)/xgcc -B../$(gccdir)/ $(RTS_WARN) to RTS_GCC=$(gccdir)/xgcc -B$(gccdir)/ $(RTS_WARN) 7. Make a subdirectory gpcbin in the gcc source directory. 8. cd to this directory and configure gpc as described in the gpc install documentation. As arguments for "gccsrc" AND "gccdir" specify the gcc source directory. 9. VERY IMPORTANT: erase the files dbxout.o expr.o and function.o in the gcc source directory. 10. Set a search path to your newly created gcc compiler. In my example this would be setenv PATH $PATH\:/foo/bin 11. Now compile and install gpc as described in the documentation. Well, this worked in my case, I hope it'll do in your case, too. Good luck! Marcel --- Marcel Bresink, University of Koblenz, Computer Graphics Lab, Institute for Computer Science Rheinau 1, D-56075 Koblenz, Germany, Tel.: +49-261-9119-421 Fax: +49-261-9119-497 Mail: bresink@informatik.uni-koblenz.de (NeXT/MIME accepted)
From: gerry@wright.iba.ox.ac.uk (G. Brush) Newsgroups: comp.sys.next.programmer Subject: C++ instance values inexplicably changing Date: 31 Jul 1995 11:23:17 GMT Organization: Oxford University Message-ID: <3vief5$pj5@news.ox.ac.uk> I have a subview which when I mouseDown on it gets some of its drawing information from a C++ object (code that is convenient for me to leave as C++ for the moment) . Everything works fine until I click in any window foreign to my App and then click back into my App's window. If I now moseDown on my subview I get a memory exception. Further inspection in gdb reveals that the contents of the C++ instance used in the first mouseDown have changed to meaningless values, hence the memory exception as these values are pointers. Why should clicking out and back into my App do this? What have I done wrong? Many thanks, Gerry --- Gerry Brush Institute of Biological Anthropology University of Oxford, UK gerry.brush@bioanth.ox.ac.uk
From: otto@tukki.jyu.fi (Otto J. Makela) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.bugs,comp.sys.next.software,comp.sys.next.misc Subject: Re: Can NEXTSTEP disks be repaired? (need help desparately) Date: 31 Jul 1995 15:53:02 +0300 Organization: University of Jyvaskyla, Finland Sender: otto@tukki.cc.jyu.fi Message-ID: <OTTO.95Jul31155259@tukki.jyu.fi> References: <3vasik$o5l@server.cs.vt.edu> In-reply-to: esterbro@vt.edu's message of 28 Jul 1995 14:35:00 GMT In article <3vasik$o5l@server.cs.vt.edu> esterbro@vt.edu writes: > Introduction: A rude installation package formatted the first 3% of a SCSI > NEXTSTEP disk for DOS. Of course, the disk had important files. Of course > it was not completely backed up because I wasn't expecting this. Typically, what you need to do is run fsck (first without making changes, so to see that how much it can recover). Because the master block of the file system has with 99.9% probablility been overwritten, you would have to specify the -b option to specify an alternate master block (you were given a list of alternate master blocks when you first newfs'd the disk, you of course printed those out, didn't you?). On NeXTstep, block 16 is always an alternate master block, but I'd think it highly likely it was also overwritten (one way to find out the alternate master blocks would be to take an identical hard disk and partition/newfs it identically). Refer to "man fsck" for further details. If all else fails and the disk is really of great value, local hard disk dealers can probably direct you to data recovery companies who deal with this kind of stuff almost daily. PS. Which installer package was this, so I can avoid it? -- /* * * Otto J. Makela <otto@jyu.fi> * * * * * * * * * * * * * * * * * * */ /* Phone: +358 41 613 847, BBS: +358 41 211 562 (V.32bis/USR-HST,24h/d) */ /* Mail: Cygn.k.7 E 46/FIN-40100 Jyvaskyla/Finland, ICBM: 62.14N 25.44E */ /* * * Computers Rule 01001111 01001011 * * * * * * * * * * * * * * * * */
Newsgroups: comp.sys.next.programmer From: Norman Kabir <kabir> Subject: NEXTStep on PowerPC??? Content-Type: text/plain; charset=us-ascii Message-ID: <DCL0C2.H61@deshaw.com> Sender: usenet@deshaw.com Content-Transfer-Encoding: 7bit Organization: D. E. Shaw & Co. Mime-Version: 1.0 Date: Mon, 31 Jul 1995 13:04:49 GMT Any news if Nextstep will show up on PowerPC??? Thanks.
From: Bernhard Scholz <scholz@informatik.tu-muenchen.de> Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.bugs,comp.sys.next.software,comp.sys.next.misc Subject: Re: Can NEXTSTEP disks be repaired? (need help desparately) Date: Mon, 31 Jul 1995 15:12:53 +0200 Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <Pine.HPP.3.91.950731151011.16349B-100000@hphalle9g.informatik.tu-muenchen.de> References: <3vasik$o5l@server.cs.vt.edu> <OTTO.95Jul31155259@tukki.jyu.fi> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <OTTO.95Jul31155259@tukki.jyu.fi> On 31 Jul 1995, Otto J. Makela wrote: > > PS. Which installer package was this, so I can avoid it? I'll bet it was Devil's DOS! (BTW ever search for DOS in Documentation? Especially about fsck? Some nice thins about the 'programming company of the north' are told there ;) ) Regards, Boerny. -- Bernhard Scholz (IRC: Boerny) scholz@informatik.tu-muenchen.de http://peanuts.leo.org/peanuts/ scholz@c86501.rm.op.dlr.de http://www.leo.org/~scholz/
From: tbm@tci002.uibk.ac.at (Martin Michlmayr) Newsgroups: comp.sys.next.programmer Subject: Re: NEXTStep on PowerPC??? Date: 31 Jul 1995 13:15:59 GMT Organization: Dept. of Computer Science, University of Salzburg Distribution: world Message-ID: <3vil2f$kbr@esel.cosy.sbg.ac.at> References: <DCL0C2.H61@deshaw.com> Norman Kabir (kabir) wrote: / Any news if Nextstep will show up on PowerPC??? No. There hasn`t been an announcement yet. OpenStep will be available on PowerPC by SunSoft on Solaris for PowerPC. -- Martin Michlmayr | tbm@tci002.uibk.ac.at | tbm@gnu.ai.mit.edu GNUStep Volunteer Coordinator, http://fvkma.tu-graz.ac.at/gnustep/index.html
From: pascal@wsc.com () Newsgroups: comp.sys.next.programmer Subject: Re: How to get the ethernet address of a host Date: 31 Jul 1995 14:36:37 GMT Organization: WSC Investment Services, Inc. Distribution: world Message-ID: <3vippl$59i@cerberus.wsc.com> References: <1995Jul28.165415.2238@kurt.in-berlin.de> > How can I get an ethernet address of a host in my network? Try: "nidump hosts / | grep hostname" Example: /Users/pascal> nidump hosts / | grep hypnos 198.4.126.11 hypnos /Users/pascal> Using execve(), you can run nidump from your program and read its output by creating a pipe() and reading it. Send me email if you'd like an example program. - Pascal <pascal@wsc.com>
From: rsmallwo@islandnet.com Newsgroups: comp.sys.next.programmer Subject: Missing Mach Exception Codes for Motorola Architecture Date: Mon, 31 Jul 1995 14:50:06 GMT Organization: Island Net in Victoria, B.C. Canada Message-ID: <950731075006.240AAD6E.rsmallwo@canada> Mime-Version: 1.0 (Generated by Eloquent) Content-Type: text/plain; charset=US-ASCII I am involved with a software project that needs to act on exception codes (relating to debugging and breakpoints) returned by Mach. The problem is these codes are available for all architectures except for Motorola ('m68k). More specifically the codes are available in: 'NextDeveloper/Headers/mach/'aaaa'/exception.h where 'aaaa' is one of 'i386', 'hppa', 'sparc' or 'm68k' for the various architectures supported by Next. The problem is the 'exception.h' file for the 'm68k' architecture contains the simple comment '/* fixme */' while the others contain a complete list of codes. A call to NEXT technical support confirmed that this is a problem, yet at this point, I do not want to pay $150 US (cost per support hour) or more they want to charge for this. Does anyone have any suggestions as to how to find these 'm68k' (a reference, etc.) mach exception codes? If so, please email me at 'rsmallwo@islandnet.com' Thanks in advance. Rhys Smallwood
From: msb@plexare.com (Michael Barthelemy) Newsgroups: comp.sys.next.programmer Subject: Re: How to get the ethernet address of a host Date: 31 Jul 1995 15:16:11 GMT Organization: US West !nterprise Networking Systems Distribution: world Message-ID: <3vis3r$noe@acsnews.uswc.uswest.com> References: <3vippl$59i@cerberus.wsc.com> writes > > How can I get an ethernet address of a host in my network? > > Try: "nidump hosts / | grep hostname" > > Example: > > /Users/pascal> nidump hosts / | grep hypnos > 198.4.126.11 hypnos > /Users/pascal> > > Using execve(), you can run nidump from your program and > read its output by creating a pipe() and reading it. > > Send me email if you'd like an example program. Ack! Why not use gethostbyname()? It's a tad bit simpler. Mike Barthelemy Plexare Development msb@plexare.com
From: asteindl@mch2ws2.tuwien.ac.at (Alois Steindl) Newsgroups: comp.sys.next.programmer,gnu.gcc Subject: How do (could) gcc.2.6.3 and NS3.2 fit together? Date: 31 Jul 1995 15:24:30 GMT Organization: Inst. f. Mechanics II, TU Vienna Distribution: world Message-ID: <ASTEINDL.95Jul31172430@mch2ws2.tuwien.ac.at> Hello, This spring I installed the 2.6.3 version of gcc on my Station (NS3.2), since the original one produced some coredumps on a file generated by NAG's F90 compiler. NAG F90 and gcc are cooperating well now, but: the new compiler is unable to compile Objective-C programs. I get a long listing of compiler errors (Parse error before ... ). All these errors occur in the new appkit- (and objc, dpsclient, ...) header files. Does anyone know how to cure the problems (I guess it should be quite simple, just maybe some wrong entry in some header). I can manage to compile the NextStep-related programs with the old version, but it's nasty; and I need the new version to compile my Fortran programs. Thanks for any inputs. Alois -- ___________________________________________________________________________ Alois Steindl, Tel.: +43 (1) 58801 / 5529 Inst. for Mechanics II, Fax.: +43 (1) 5875863 TU Vienna, A-1040 Wiedner Hauptstr. 8-10 Email: Alois.Steindl@mch2ws2.tuwien.ac.at ___________________________________________________________________________
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Perl for NS 3.3 Intel? Message-ID: <jpanicoDCL6x5.ILM@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Mon, 31 Jul 1995 15:27:05 GMT Sender: jpanico@netcom.netcom.com Does it exist? If so, where can I get it? Thanks. -- Joe Panico jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: Scioscia <scioscia@sodalia.it> Newsgroups: comp.sys.next.programmer Subject: HELP ME: HTML Viewer Date: 31 Jul 1995 07:44:12 GMT Message-ID: <3vi1kc$hkl@sgi.iunet.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Where i can find an HTML Viewer (with source if possible) ?
From: Bernhard Scholz <scholz@informatik.tu-muenchen.de> Newsgroups: comp.sys.next.programmer Subject: Re: Perl for NS 3.3 Intel? Date: Mon, 31 Jul 1995 19:30:13 +0200 Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <Pine.HPP.3.91.950731192730.21500O-100000@hphalle9g.informatik.tu-muenchen.de> References: <jpanicoDCL6x5.ILM@netcom.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <jpanicoDCL6x5.ILM@netcom.com> On Mon, 31 Jul 1995, Joe Panico wrote: > Does it exist? If so, where can I get it? ftp.leo.org:pub/comp/platforms/next/Unix/script/perl.5.001l.NIH.bs.tar.gz Cheers, Boerny. (exactly the same as ftp.informatik.uni-muenchen.de) -- Bernhard Scholz (IRC: Boerny) scholz@informatik.tu-muenchen.de http://peanuts.leo.org/peanuts/ scholz@c86501.rm.op.dlr.de http://www.leo.org/~scholz/
From: msnyder@NeXT.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: Whereis conio.h? Date: 31 Jul 1995 17:14:24 GMT Organization: NeXT Computer, Inc. Message-ID: <3vj31g$2o4@news.next.com> References: <Pine.SOL.3.90.950724183655.9856A-100000@eesun2.tamu.edu> Viveca Noble <vnoble@eesun2.tamu.edu> writes > > I'm a new NeXTStep (version 3.3 if that helps) user and I have been using > my computer to write some C code. Everything was fine until I tried to > use <conio.h> or "conio.h". I received a message that stated this file > could not be found. What do I have to do to correct this problem? Please > help me. I believe "conio.h" is a MsDOS file. There's no exact equivalent in Unix. What exactly are you trying to do, for which you think you need conio.h?
From: msnyder@NeXT.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: Fat compile from command line? Date: 31 Jul 1995 17:25:07 GMT Organization: NeXT Computer, Inc. Message-ID: <3vj3lj$2pj@news.next.com> References: <3v13bn$ne4@panix.com> David C. Lambert writes > In <3v0t0q$5au@nntp.Stanford.EDU> stanj@cs.stanford.edu (Stan Jirman) writes: > >is there a way of compiling a PB project from commandline fat? I need this > >when telnetting into a machine and compiling remotely. > > unix> cc -o foobar -arch i386 -arch hppa -arch m68k -arch sparc ... Or: unix> make "OTHER_FLAGS = -arch i386 -arch hppa -arch m68k -arch sparc ..."
From: bwarsaw@cnri.reston.va.us (Barry A. Warsaw) Newsgroups: comp.sys.next.programmer Subject: Re: NEXTStep on PowerPC??? Date: 31 Jul 1995 17:47:25 GMT Organization: Corporation for National Research Initiatives Distribution: world Message-ID: <3vj56t$3m0@news.CNRI.Reston.Va.US> References: <DCL0C2.H61@deshaw.com> <3vil2f$kbr@esel.cosy.sbg.ac.at> To: tbm@tci002.uibk.ac.at (Martin Michlmayr) In-reply-to: tbm@tci002.uibk.ac.at's message of 31 Jul 1995 13:15:59 GMT >>>>> "MM" == Martin Michlmayr <tbm@tci002.uibk.ac.at> writes: MM> No. There hasn`t been an announcement yet. OpenStep will be MM> available on PowerPC by SunSoft on Solaris for PowerPC. Pardon my ignorance, but this mean that I could (at some point in the future) purchase a PowerMac, and then run Solaris and OpenStep on it? Any idea when this mythical point-in-the-future might actually occur? Thanks, -Barry
From: msnyder@NeXT.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: Memory error on NextCompiler Date: 31 Jul 1995 17:35:15 GMT Organization: NeXT Computer, Inc. Message-ID: <3vj48j$2rh@news.next.com> References: <3v3jns$er0@masala.cc.uh.edu> This is all that I can tell you from the information you've provided: sh (the bourne shell) or a subprogram invoked by sh has run into a problem, and the PID (process id) for the program that died was 2819. That's why the number changes every time: it's a new process every time. You need to narrow down on where in your build your problem is occurring. Project Builder will invoke make many times; and each time, make will invoke cc and other programs many times; and each time, cc will invoke sh many times, and... you get the picture. I believe that both make and cc have command-line options that will cause them to emit verbose logs of what they are doing. I don't know what they are, but you can look them up. Capture that log info into a file. Then, after the crash, you can tell exactly (or approximately, at least) what file was being compiled (or linked, or whatever) when the problem occurred. Then you can try compiling that by hand, or in other ways try and further narrow down on the problem. Prakash Jayaram writes > > Can anyone provide me with a hint, a clue, > as to why the following may be happening.?? > > I have tried over and over, and am utterly clueless. > > This error message is produced while compiling a fairly large application. > 5 MB executable with approx 15 subprojects. > We use WilTel makefiles (If that means anything to anyone). > > The system is NS3.2 on an Intel 486 (Compaq Desk 66M) with 32 MB RAM, an > and more than enough swap space [100 + MB]. > > The following is the error message I get. The number 2819 is not fixed. > Totally randomly generated ... > > sh: 2819 Memory fault > *** Exit 139 > Stop. > *** Exit 1 > Stop. > > Thanks for any help, > Prakash. > > > -- > -------------------------------------------------------------------------- > Prakash Jayaram || > Electrical Engineering || 9301 N Beechnut #2114 > University of Houston || Houston TX 77036 > jayaram@tree.egr.uh.edu || (713) 771-9638 > > I hv nt lst my mnd. It's bckd up on tp smwhere. > ---------------------------------------------------------------------------
From: woo@ornl.gov (John W. Wooten) Newsgroups: comp.sys.next.programmer Subject: Zooming in the Draw App Date: 31 Jul 1995 18:06:36 GMT Organization: Oak Ridge National Lab, Oak Ridge, TN Distribution: world Message-ID: <3vj63c$j1a@stc06.ctd.ornl.gov> For some time I've been messing with adding a zoom ability to Draw. I have gotten the ScrollViewDeluxe object from the archives and found it does just about everything I needed by setting up a very simple app based on the Demo "little.m" and extending it a bit so I could be sure I understood the ScrollViewDeluxe class before I tried it in the Draw app. I can get my simple app to zoom in and out fine, but when I try the same thing in the Draw app, it either doesn't do anything OR it gives a "broken up" image when scrolling. I have found that part of the problem is related to the caching of images and off-screen drawing done in the Draw app. 1) Is there a way to use ScrollViewDeluxe with the Draw app and retain the caching? 2) How do I scale a TIFF image? Suggestions and/or examples of ways to zoom in the Draw app would be appreciated. Thanks, - - - - - - - - - J. W. Wooten
From: tschv@info.isbiel.ch (Valery Tschopp) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,comp.os.mach Subject: Finding tasks (processes) name, disks name ... Date: 31 Jul 1995 13:37:32 GMT Organization: Biel School of Engineering, Switzerland Distribution: world Message-ID: <3vimas$1fu@vega.info.isbiel.ch> Keywords: processes tasks Hi, Does anybody know how to find the list of names (not tid or pid) of processes running on a system. We are looking for the name of all tasks, like 'ps' does, but in Objectve-C or C code for NEXTSTEP 3.3 on intel computer. We know how to obtain the task id list with the function processor_set_tasks(), but this funtion just return an array of task_t and we don't know what the task's name is... So if anyone could help us or give us advisory ... Thanks in advance Valery T. & Yvan B.
From: bourl@info.isbiel.ch <Laurent Bourqui> Newsgroups: comp.sys.next.programmer Subject: Forking new threads in a driver... Date: 31 Jul 1995 16:30:26 GMT Organization: Biel School of Engineering, CH-2501 Biel, Switzerland Distribution: world Message-ID: <3vj0f2$5ov@vega.info.isbiel.ch> Hello, I'm now writing a driver for a fast communication board we are currently developping at our school. It's the first time I write a driver for NEXTSTEP (and that I have to programm something for NEXTSTEP), and I have some problems getting used with the driver kit. My problem is now the following: I would like to frok a new thread (not an I/O thread) and I used the c-treads functions declared in the file <mach/cthreads.h> (cthread_fork, cthread_fork, ...). Then I tried to compile the whole thing and I got the following messages: Making TNIDriver_reloc.tproj cc -pipe -Wno-format -nostdinc -I. -I.. -I/NextDeveloper/Headers -I/NextDeveloper/Headers/ansi -I/NextDeveloper/Headers/bsd -DKERNEL -DMACH_USER_API -DKERNEL_SERVER_INSTANCE=TNIDriver_instance -g -Wall -DDEBUG -O -I../sym -I../sym/TNIDriver_reloc.tproj -arch i386 -I. -c TNIDriverTimer.m -o ../i386_obj/TNIDriver_reloc.tproj/TNIDriverTimer.o TNIDriverTimer.m:35: warning: could not use precompiled header '/NextDeveloper/Headers/mach/cthreads.p', because: TNIDriverTimer.m:35: warning: #ifdef 'KERNEL' not defined when precompiled, but now defined: TNIDriverTimer.m:35: warning: on the command line /NextDeveloper/Headers/mach/cthreads.h:10: warning: could not use precompiled header '/NextDeveloper/Headers/mach/mach.p', because: /NextDeveloper/Headers/mach/cthreads.h:10: warning: #ifdef 'KERNEL' not defined when precompiled, but now defined: /NextDeveloper/Headers/mach/cthreads.h:10: warning: on the command line /NextDeveloper/Headers/mach/vm_param.h:78: warning: redefinition of macro round_page /NextDeveloper/Headers/mach/mach_init.h:78: warning: is the location of the previous definition .... and a lot of more!!! In my file, I included the following files: #import <sys/time.h> #import <driverkit/return.h> #import <driverkit/interruptMsg.h> #import <driverkit/generalFuncs.h> #import <mach/cthreads.h> #import <mach/mach.h> #import <kernserv/prototypes.h> I tried not to include the files <mach/cthreads.h> and <mach/mach.h> and then these errors didn't appear any more, but the types any_t and cthread_t are not known. In NEXT's documentation, I found nothing about this problem, and I don't what I should do. Do I have to use the driverKit function IOForkThread, but as I understood, this function is intended to be used to fork a new I/O thread and not something else. Does anybody already had such problems or does anybody know a solution ? Thank you in advance. Laurent
From: rmasse@cnri.reston.va.us (Roger E. Masse) Newsgroups: comp.sys.next.programmer Subject: [NXApp loadNibSection] generating a protection fault? Date: 31 Jul 1995 19:37:03 GMT Organization: Corporation for National Research Initiatives Distribution: world Message-ID: <3vjbcv$3ma@news.CNRI.Reston.Va.US> A very strange thing happened today... I've been developing an app now that's been working fine and evolving nicely... After a small round of changes, my app is now generating the following error message: Program generated(1): Memory access exception on address 0x0 (protection failure). 0x5006980 in strlen () On the following line of code in main... if ([NXApp loadNibSection:"BTreeLoader.nib" owner:NXApp withNames:NO]) I reloaded yesterday's version of the nib file with no effect... Has anyone ever seen anything like this? I know this must be something silly. Regards, Roger E. Masse, Systems Engineer Corporation for National Research Initiatives 1895 Preston White Drive, Suite 100 Reston, Virginia, USA 22091 Internet: rmasse@CNRI.Reston.VA.US (MIME/NeXTmail OK)
Newsgroups: comp.sys.next.programmer From: ehutch@hypnos.norden1.com (E. Hutchinson) Subject: NEXTSTEP/Developer/Career Position/Calif Message-ID: <1995Jul31.192733.2985@norden1.com> Sender: news@norden1.com (Net News Admin) Organization: Norden 1 Communications Date: Mon, 31 Jul 1995 19:27:33 GMT Programmer/analyst NEXTSTEP Objective C DB Kit Sybase Career position California Relocation assistance To be considered---Fax resume or mail a hard copy. -- ehutch@norden1.com (419) 893-6367 [fax] The Omni Group (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Re: How to use IB with its limiting Unparse command? Date: 31 Jul 1995 17:13:40 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199507312208.AAA18296@ns.ms.mff.cuni.cz> References: <3vc5ka$ks7@emerald.oz.net> In comp.sys.next.programmer article <3vc5ka$ks7@emerald.oz.net> you wrote: > Since you have to switch to your stone-age editor to make your new > actions actually do anything, why bother using unparse even if it didn't > overwrite what is already there? How do you propose unparse should work? Well, I personally would prefer slightly another paradigm: The IB would be project master (instead of the PB). It will store all the @interfaces in its own, encoded form (of course including the documentation :))), and it will open the editor windows to enter only method implementation for objects, prepared in the IB. Then it would be possible to do many cool tricks - eg. click to object might enter to source the name of the outlet assigned to it and so on. Moreover, multi language programming will be much easier: there should be only templates which tell IB how to export '@interfaces' for diverse languages; then you might _easily_ write each method using another language (should you really want to do such a perversion). Integrating smart make feature we will got _really_ incremental compiler. The IB's 'test' feature starts to be _really_ usable not only to test a UI, but to test whole thing... Surely there _are_ drawbacks; but, I would bet with a proper design this paradigm might be as a great step as is today's IB+ObjC compared with traditional environments. -- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK (please do not reply to hukatronic.cz)
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-NYC-NeXT Developers - 60k to 100k + Bonus Date: 31 Jul 1995 20:38:12 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <3vjt1k$6fc@newsbf02.news.aol.com> CAREERS in NeXTSTEP I currently have several excellent full time and contracting positions in the New York area. If you are looking for career advancement in Sybase, EOF, or Openstep, then I have a position for you. Contact: Brian Mitchell Executive Technical Recruiter Datacom Technology Group Inc 212-629-5720 212-629-3374(FAX) E-Mail - briman101@aol.com
Newsgroups: comp.sys.next.programmer From: rfenney@netcom.com (Robert J. Fenney) Subject: Re: NEXTStep on PowerPC??? Message-ID: <rfenney-310795163524@rfenney.slip.netcom.com> Followup-To: comp.sys.next.programmer Sender: netnews@mork.netcom.com Organization: FenTek References: <DCL0C2.H61@deshaw.com> <3vil2f$kbr@esel.cosy.sbg.ac.at> <3vj56t$3m0@news.CNRI.Reston.Va.US> Date: Mon, 31 Jul 1995 23:30:24 GMT In article <3vj56t$3m0@news.CNRI.Reston.Va.US>, bwarsaw@cnri.reston.va.us (Barry A. Warsaw) wrote: > > >>>>> "MM" == Martin Michlmayr <tbm@tci002.uibk.ac.at> writes: > > MM> No. There hasn`t been an announcement yet. OpenStep will be > MM> available on PowerPC by SunSoft on Solaris for PowerPC. > > Pardon my ignorance, but this mean that I could (at some point in the > future) purchase a PowerMac, and then run Solaris and OpenStep on it? > Any idea when this mythical point-in-the-future might actually occur? > > Thanks, > -Barry When the CHRP systems come out later in 95 or early 96. Robert
From: nextjet@ids.net Newsgroups: comp.sys.next.programmer Subject: THIS IS ONLY A TEST DON'T READ Date: Tue, 1 Aug 95 00:42:21 +500 Organization: IDS World Network Internet Access Service, (800)IDS-1680 Message-ID: <3vkbd9$7ld@paperboy.ids.net>  this is only a test thank you
From: me@wintermute.nada.kth.se (David Wallin) Newsgroups: comp.sys.next.programmer Subject: Re: NEXTStep on PowerPC??? Date: 1 Aug 1995 00:14:12 GMT Message-ID: <3vjrkl$hup@news.kth.se> References: <DCL0C2.H61@deshaw.com> <3vil2f$kbr@esel.cosy.sbg.ac.at> <3vj56t$3m0@news.CNRI.Reston.Va.US> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit bwarsaw@cnri.reston.va.us (Barry A. Warsaw) wrote: > >>>>> "MM" == Martin Michlmayr <tbm@tci002.uibk.ac.at> writes: > MM> No. There hasn`t been an announcement yet. OpenStep will be > MM> available on PowerPC by SunSoft on Solaris for PowerPC. > Pardon my ignorance, but this mean that I could (at some point in the > future) purchase a PowerMac, and then run Solaris and OpenStep on it? > Any idea when this mythical point-in-the-future might actually occur? > Thanks, > -Barry Well, You probably want to wait until the PowerMac follow the PowerPC standard (PReP?). --david. -- -- "most people are fools, most authority is malignant, God does not exist, and everything is wrong." - Ted Nelson's four maxims. Name : david wallin :) e-Mail : d94dwa@student.csd.uu.se (:
From: objskill@objskill.demon.co.uk Newsgroups: comp.sys.next.programmer Subject: Re: How to get the ethernet address of a host Date: Tue, 01 Aug 1995 11:20:09 GMT Message-ID: <807276009.28346@objskill.demon.co.uk> References: <1995Jul28.165415.2238@kurt.in-berlin.de> <3vippl$59i@cerberus.wsc.com> In <3vippl$59i@cerberus.wsc.com>, pascal@wsc.com () writes: >> How can I get an ethernet address of a host in my network? >/Users/pascal> nidump hosts / | grep hypnos >198.4.126.11 hypnos That is the internet address, the ethernet address is particular to a given card. Pedantically, Guy Roberts.
Newsgroups: comp.sys.next.programmer From: kjb@uts.amdahl.com (Kevin Barth) Subject: Re: How to get the ethernet address of a host Message-ID: <1995Aug1.134310.21331@ccc.amdahl.com> Sender: netnews@ccc.amdahl.com (UTS Tech Support) Organization: Amdahl Corporation, Sunnyvale CA References: <807276009.28346@objskill.demon.co.uk> Date: Tue, 1 Aug 1995 13:43:10 GMT In article <807276009.28346@objskill.demon.co.uk> objskill@objskill.demon.co.uk writes: > In <3vippl$59i@cerberus.wsc.com>, pascal@wsc.com () writes: > >> How can I get an ethernet address of a host in my network? > >/Users/pascal> nidump hosts / | grep hypnos > >198.4.126.11 hypnos > > That is the internet address, the ethernet address is particular to a given card. > > Pedantically, > Guy Roberts. Correct, but the answer is to run "/usr/etc/arp -a" and it will show you some hosts and ethernet addresses, along with the IP addresses. Cheers, Kevin
From: brlepel@america (Brian Richard Lepel) Newsgroups: comp.sys.next.programmer Subject: C++ & NeXT 3.3??? Date: 1 Aug 1995 15:00:59 GMT Organization: Minnesota Regional Network (MRNet) Message-ID: <3vlfjb$fvk@news.mr.net> I would like to know if anyone out there is aware of the C++ potentialities concerning NeXTStep 3.3. For example, would ProjectBuilder.app be able to work with C++ code, or can it already? As far as I have discovered, it cannot. Please respond if you have any info concerning this matter. It is vital to the scheduling of our upcoming fall semester classes. Thank you very much.
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de(Juergen Sell) Subject: Re: How to use IB with its limiting Unparse command? Message-ID: <DCn2zs.y5@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <3vc5ka$ks7@emerald.oz.net> Date: Tue, 1 Aug 1995 15:57:27 GMT In article <3vc5ka$ks7@emerald.oz.net> art@cubicsol.com (Art Isbell) writes: [...] I never said IB was useless in general. But I still find it less useful than it could be and for a reason I consider a justified developer's wish. I want the tool with the gui which obviously was intended to support my development approach to do so to the fullest extent. IB has the add outlet/ add action functionality. Now I do not want to refrain from using it on second and later code iterations. Is this unjustified cause? It is somewhat inconsistent to use IB to create classes and their .[hm] files but offer no support for modifying these files. Do you not use IB to create .[hm] files? > Since you have to switch to your stone-age editor to make your new > actions actually do anything, why bother using unparse even if it didn't > overwrite what is already there? How do you propose unparse should work? > I want to place my outlets and actions in certain places in my source > files, so I don't want some GUI app placing them in some arbitrary > location. Unparse is just a cute demo feature. Real [wo]men don't use > unparse :-) well, seems they cannot use 'Unparse' due to its limited abilities. > You're mired in the code-generator paradigm so common with UI > builders. IB isn't a code generator; it's an object editor and archiver. > This is a much more powerful than the code-generator paradigm. If you'd > quit trying to mold IB into a code generator and use it as an object > editor and archiver, you'd get a lot of useful work done. This is exactly what I would like to do. > > Again and again NeXTstep is quoted to have a -if not the - sophisticated > > development environment. But it seems in reality it is merely useless! > > Well, it's certainly useless for those who merely whine about it. For > the rest of us, it's been an incredible development tool. > [ example of IB use deleted] > > If you consider this to be "stone-age", then I'm a happy caveman, I > guess :-) > > Ib does > > have the outlet/action manipulation facilities. It just screws existing > source > > files. > > > Not for people who use IB as it was intended. I can see you have adapted to the state as it is. Using strong words does not better IB's functionality. I as a user want more functionality and rightly so. You at least have solely given me a mere 'real {wo}women don't do it'. If you are glad the way IB works now, I say lucky you. Your example of IB usage is not a counter example to what I proposed. Therfore it does not make my proposal invalid or leave it irrational. It might be you found my words too harsh. They were meant that way. Criticizing does not mean to condemn. I am far from that. But NeXtstep as well as any other development environment I know does lack some functionality for my taste. Juergen
From: henry@trilithon.com (Henry McGilton) Newsgroups: comp.sys.next.programmer Subject: Re: Zooming in the Draw App Date: Tue, 01 Aug 1995 11:37:50 -0700 Organization: Trilithon Software Distribution: world Message-ID: <henry-0108951137500001@trilithon.com> References: <3vj63c$j1a@stc06.ctd.ornl.gov> In article <3vj63c$j1a@stc06.ctd.ornl.gov>, woo@ornl.gov wrote: * For some time I've been messing with adding a zoom ability to Draw. I * have gotten the ScrollViewDeluxe object from the archives and found it * does just about everything I needed by setting up a very simple app * based on the Demo "little.m" and extending it a bit so I could be sure * I understood the ScrollViewDeluxe class before I tried it in the Draw * app. I can get my simple app to zoom in and out fine, but when I try * the same thing in the Draw app, it either doesn't do anything OR it * gives a "broken up" image when scrolling. * * I have found that part of the problem is related to the caching of * images and off-screen drawing done in the Draw app. * * 1) Is there a way to use ScrollViewDeluxe with the Draw app and retain * the caching? * * 2) How do I scale a TIFF image? You need to zoom the cache as well. When you get a zoom message, you need to adjust the size of the cache for the stated zoom factor, and scale the cache. When you composite either from the cache or an image, you also need to temporarily do a PSscale by the zoom factor, since compositing doesn't take view transforms into account. So, to sum up: o resize the cache window o scale the cache window o scale when compositing Cheers, ........ Henry
From: shess@subzero.winternet.com (Scott Hess) Newsgroups: comp.sys.next.programmer Subject: Re: How to use IB with its limiting Unparse command? Date: 01 Aug 1995 19:49:53 GMT Organization: Is a sign of weakness Message-ID: <SHESS.95Aug1144953@subzero.winternet.com> References: <DCFFt8.HG@euler.hnv.icem.de> In-reply-to: js@euler.hnv.icem.de's message of Fri, 28 Jul 1995 12:53:31 GMT GIn article <DCFFt8.HG@euler.hnv.icem.de>, js@euler.hnv.icem.de(Juergen Sell) writes: >A couple of days ago I asked for any experienced advantages using >IB+ObjC vs. any more traditional GUIbuilders+C/C++. While the >tenor was clearly biased towards IB+ObjC with its dynamic features >there was also a strong emphasis on the non-usability of IB for >any 'real-world' large application development. > >The mentioned reason is IB's inability to cope with existing >classes .[hm] files and correctly patch such files when it comes >to a later 'Unparse'. Instead people may use IB for a first >approach but later switch to their editor to alter outlets and >action methods, which they succesfully 'Parse' in IB. Hey, this >is stone age technology. You're picking and choosing the articles you wish to consider in your decision. I've followed the thread, and have seen no real bias for or against IB in terms of large projects. Personally, I've used IB for a number of large projects, and had no particular problems with it. The Parse/Unparse "problem" is quite simply a straw-man, and is trivially easy to work around. It's pointless to condemn IB for costing you ten minutes on a four month project due to the Parse/Unparse "problem", especially when it probably saved you another four months in the bargain. This is not to say that I don't think this minor annoyance shouldn't be fixed. It should. I'm just annoyed by the extreme you're taking it to (note the subject line). Later, -- scott hess <shess@winternet.com> (WWW to "http://www.winternet.com/~shess/") Home: 12550 Portland Avenue South, #121 Burnsville, MN 55337 (612) 895-1208 Office: 101 W. Burnsville Pkwy, Suite 108F, Burnsville, MN 55337 890-1332 <?If you haven't the time to design, where will you find the time to debug?>
From: mmalcolm Crawford <m.crawford@dcs.shef.ac.uk> Newsgroups: comp.sys.next.programmer Subject: Re: How to use IB with its limiting Unparse command? Date: Tue, 1 Aug 1995 20:02:14 GMT Organization: Institute for Language Speech and Hearing, Sheffield University Message-ID: <950801210214.1606AACUQ.malc@daneel> References: <3vc5ka$ks7@emerald.oz.net> <199507312208.AAA18296@ns.ms.mff.cuni.cz> Mime-Version: 1.0 (Generated by Eloquent) Content-Type: text/plain; charset=US-ASCII How about just something simple like adding a "reparse" option? It would look at the existing .h file and at the edited version in IB, and make suitable amendments in the .h. Should please most people with little effort? Have fun, mmalc.
From: mwatts@interramp.com (Michael Watts) Newsgroups: comp.sys.next.programmer Subject: HELP: Information on Testing Tools Date: Tue, 01 Aug 95 21:09:27 GMT Organization: PSI Public Usenet Link Message-ID: <3vm5b7$rf4@usenet1.interramp.com> I've inherited a NeXTstep development group. They don't use any form of automated testing tools or quality assurance tools. There are numerous testing, profiling, and QA tools available in non-NeXTstep environments, but I'm not familiar with any for NeXTstep. I would appreciate any suggestions regarding what you have found available and/or works in the NeXTstep environment for these kind of tools. Thanks.
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Undefined Symbols Date: 1 Aug 1995 21:57:53 GMT Organization: Information Technology Solutions, Inc. Message-ID: <3vm811$404@www.its.com> References: <3vhapo$1abs@news.doit.wisc.edu> tm8025a@localhost.wisc.edu (Torrey McMahon) wrote: > I am having trouble linking an app into one piece. After getting everything > to compile I get... > > ld: Undefined symbols: > .objc_class_name_MiscSubprocess Try adding -lMiscKit and possibly -all_load to the linker flags (either LDFLAGS or OTHER_LDFLAGS, depending on whether you're doing your own Makefiles or using NeXT's). -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: lloyd@goldhost.lscf.ucsb.edu (Lloyd Goldwasser) Newsgroups: comp.sys.next.programmer Subject: Resizing a textfield, rewrapping its text Date: 1 Aug 1995 22:00:31 GMT Organization: University of California, Santa Barbara Message-ID: <3vm85v$442@ucsbuxb.ucsb.edu> I have a textfield that resizes when the user resizes its window, no sweat. However, the text in this field doesn't re-wrap when the field is resized. Is there something I can do that will induce the expected sort of rewrapping? Thanks, Lloyd Goldwasser goldwass@lifesci.lscf.ucsb.ed
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-NY-NeXT Project Leader - to 160k + Bonus Date: 1 Aug 1995 22:20:14 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <3vmncu$121@newsbf02.news.aol.com> Senior NeXT/Sybase developer needed for new systems development at one of New Yorks top companies. For more information call: Brian Mitchell Executive Technical Recruiter Datacom Technology Group 212-629-5720 212-629-3374(FAX) E-Mail - briman101@aol.com
From: gclem@dannug.dk Newsgroups: comp.sys.next.programmer Subject: NXTableView column header question Date: 2 Aug 1995 08:07:43 GMT Organization: Danish NeXT User Group Distribution: world Message-ID: <3vnbof$hhp@snaps.dannug.dk> I have an NXTableView where I want to be able to toggle the column header on and off. This is acutally quite easy, but with a small hickup: If the table view is scrolled to the far right and the column header is toggled on, it is drawn as if the table view is scrolled to the far left. As soon as the horiz. scroller is moved, the column header is drawn correctly. Anyone that knows how to do programmatically? I have tried with setFloatValue to the horiz. scroller object, but it does not work. Thx. Geert
From: m.crawford@dcs.shef.ac.uk (mmalcolm crawford) Newsgroups: comp.sys.next.programmer Subject: Re: How do I remote message my application? Date: 2 Aug 1995 04:23:13 -0500 Organization: UTexas Mail-to-News Gateway Sender: nobody@cs.utexas.edu Message-ID: <950802102237.1606AACUc.malc@daneel> References: <DCC11q.65y@udcf.gla.ac.uk> This is almost certainly more easily done using Distrubuted Objects; it's awhile since I did this, but... Set up an NXConnection for the app in the NXApp's delegate when it starts up: --- - appDidInit:sender { [super appDidInit:self]; if (!(ourServer = [NXConnection registerRoot: self withName:REGISTERED_NAME])) { NXRunAlertPanel("Error in startup; could not register root", REGISTERED_NAME, "OK", NULL, NULL); return nil; } [ourServer registerForInvalidationNotification:self]; [ourServer runFromAppKit]; return self; } --- then in the commandline programme you can make a connection to the app in the following way: --- if (![[Application workspace] launchApplication:APP_NAME]) { fprintf(stderr, "Could not find or launch %s\n", APP_NAME); fprintf(stderr, "Sorry, exiting\n"); exit(1); } /* Get the connection for the app on host machine */ n = 0; while (!(rApp = [NXConnection connectToName:REGISTERED_NAME])) { if (n > 5) { fprintf(stderr, "no response after %d seconds - exiting\n", n); exit(1); } sleep(1); n++; } if (!(ourServer = [rApp connectionForProxy])) { fprintf(stderr, "no connectionForProxy\n"); exit(1); } /* not strictly necessary */ [rApp setProtocolForProxy:@protocol(NeXTSpectMethods)]; [ourServer runFromAppKit]; /* now you can send commands to the app like this: */ [rApp newFromData:theNXData withTitle:windowTitle]; --- There may well be more elegant ways of doing this, however, in which case I'd be pleased to hear of them! Have fun, mmalc.
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-Eastern USA - NeXT Development Projects Date: 2 Aug 1995 07:33:25 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <3vnnq5$948@newsbf02.news.aol.com> Several of my clients now need NeXT development talent for various large full-time or contract projects. These positions are located up and down the East Coast. You must have a history of succesful NeXT development. Call for more details. Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX) E-Mail - briman101@aol.com
From: maklh@uranus.eecs.umich.edu (Aimee Holdwick) Newsgroups: comp.sys.next.programmer Subject: How to launch an app multiple times Date: 2 Aug 1995 14:22:55 GMT Organization: University of Michigan EECS Dept. Message-ID: <3vo1nv$rf1@zip.eecs.umich.edu> I need to launch an application programmatically. I am using [[Application workspace] launchApplication:myApp] to do this. This works if I only need to have one copy of myApp running, but I need to be able to have several running at the same time. Does anyone know how this can be done? Thanks in advance, A. Holdwick
Newsgroups: comp.sys.next.programmer From: prog@cossnx (Juergen Gnoss) Subject: EOF Adaptor for Informix ? Message-ID: <1995Jul31.191450.4993@cossnx.cube.de> Sender: prog@cossnx.cube.de Organization: COSS-Systemtechnik GmbH Date: Mon, 31 Jul 1995 19:14:50 GMT looking for EOF Adaptor for a Informix Database. tia e-mail prog@cossnx.cube.de (NeXT and MIME mail welcome)
From: msnyder@NeXT.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: GNU make in 4.0 developer? Date: 3 Aug 1995 01:15:15 GMT Organization: NeXT Computer, Inc. Message-ID: <3vp7v3$c3c@news.next.com> References: <RDL.95Jul30142051@world.std.com> Robert La Ferla writes > Will NEXTSTEP 4.0 Developer finally use GNU make? > I believe so. At least, that's the direction we're heading. But don't quote me.
From: Tim Pugh <tpugh@oce.orst.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Finding tasks (processes) name, disks name ... Date: 3 Aug 1995 01:40:06 GMT Organization: University Computing Services - Oregon State University Distribution: world Message-ID: <3vp9dm$5qt@news.orst.edu> References: <3vimas$1fu@vega.info.isbiel.ch> I'm putting the source code for a program named "top" onto the ftp.cs.orst.edu archive site in /pub/next/submissions . "Top" is like "ps" command, except it continuously displays the process info. In the source code, you can see how the process name is extracted from the utask structure in routine getu() of the file machine/m_next32.c . To install while logged in as yourself: - untar the package in an empty directory called top or some other name. - run the Configure program. At the question for cc flags, use "-O -DSHOW_UTT" - run "make" - and to install, run "make install" as root. To allow any user to run top without being root, use setuid. "chmod u+s /usr/local/bin/top" I only have a NS3.2 m68k, so let me know if "top" works or not on other NEXTSTEP machines. - Tim - In article <3vimas$1fu@vega.info.isbiel.ch> tschv@info.isbiel.ch (Valery Tschopp) writes: > Hi, > > Does anybody know how to find the list of names (not tid or pid) > of processes running on a system. > > We are looking for the name of all tasks, like 'ps' does, but in > Objectve-C or C code for NEXTSTEP 3.3 on intel computer. > > We know how to obtain the task id list with the function > processor_set_tasks(), but this funtion just return an array of task_t > and we don't know what the task's name is... > > So if anyone could help us or give us advisory ... > > Thanks in advance > > Valery T. & Yvan B. > -------------------------------------------------------------- Tim F. Pugh email: tpugh@oce.orst.edu Oceanic and Atmospheric Sciences voice: 503-737-2270 Oregon State University fax: 503-737-2064 NeXTmail ok!
From: tappd@neosoft.com (Dan Tapp) Newsgroups: comp.sys.next.programmer Subject: DO and callbacks Date: Wed, 2 Aug 1995 22:38:17 -400 Organization: Neosoft Message-ID: <3vpgao$3in@uuneo.neosoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, all. I'm trying to ferret my way through the world of Distributed Objects. I thought to build myself a nifty little CHAT facility, consisting of a client app which would (a) show a list of currently logged individuals, (b) display the conversational thread so far, and (c) take input to be posted; and a server app which would (a) track login/logout events and (b) broadcast text received from any one client to all clients on its list (including the sender). It seemed straightforward to me that, when a client sends the server a new message to post, the server walks a list of known clients and hands the message back to them. However, in browsing through the release notes (I'm using 3.2 on Intel), I hit this statement: After the client call completes, the server may wish to call the client back (send a message to an object on the client). In general, this won't work, unless the client is in the middle of sending another message to the server. This is because there has to be a thread of execution waiting to serve incoming requests. As I read this, by default there is no way for a server to arouse the interest of a dormant client. My first and most important troll for information is, what's the workaround? If I grab the NXConnection and do a runFromAppKit on BOTH the server and client sides, does that allow the server to tap sleepyhead clients on the shoulder? I guess my second question is more one of strategy (by now, you've no-doubt figured out that I'm just past beginner stage with this stuff). When it comes time for a client to send the contents of a scrollable textview to the server for broadcast, it seems necessary to prep for the transfer by writing the view contents onto an instance of NXStream. Should the stream be passed to the server by a standard NXProxy arrangement, or is it somehow better to convince the stream to pass itself over the wire? Finally (assuming the problem of getting server messages to dormant clients is solvable), I'm not sure how to completely close the window of vulnerability for a client death in the middle of a server broadcast. Whether the server sends its client list an iterator or does the ct = [ clientList count ]; for ( i = 0; i < ct; i++ ) [[ clientList objectAt: i ] postMessageFromStream: aStream ]; bit, what happens if a client dies in mid-loop right before its turn comes up? I don't see how the invalidation mechanism can help in such a worst-possible- case scenario, and I don't know how to code for that tiny little bit of potential bad luck. Any comments on any or all of these questions would be greatly appreciated. Pls. note I'm posting from my home (non-NEXT) account...if you choose to reply by NEXTmail, it should be sent to: tappd@copernicus.sccsi.com Otherwise, I'll check for comments here. Thanks! - Dan
From: radvand@gate.sbc.co.uk (Don Radvan) Newsgroups: comp.sys.next.programmer Subject: Re: How to get the ethernet address of a host Date: 2 Aug 1995 14:30:47 GMT Organization: Swiss Bank Corporation, High Timber St, London, UK Message-ID: <3vo26n$6pt@gpo.gb.swissbank.com> References: <807276009.28346@objskill.demon.co.uk> In article <807276009.28346@objskill.demon.co.uk> objskill@objskill.demon.co.uk writes: > In <3vippl$59i@cerberus.wsc.com>, pascal@wsc.com () writes: > >> How can I get an ethernet address of a host in my network? If you have yellow pages, > ypcat ethers | grep $hostname -- Don Radvan NeXT Sybase Mac ObjC++ Spouse Dad radvand@gb.swissbank.com Opinions are not those of SBC.
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: Resizing a textfield, rewrapping its text Message-ID: <DCq7nr.FEv@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <3vm85v$442@ucsbuxb.ucsb.edu> Date: Thu, 3 Aug 1995 08:31:03 GMT Lloyd Goldwasser writes > I have a textfield that resizes when the user resizes its window, no > sweat. However, the text in this field doesn't re-wrap when the > field is resized. Is there something I can do that will induce the > expected sort of rewrapping? -- When I set the desired "autosizing" behavior of a TextField in Interface Builder (with the "Size" inspector), the text in the TextField is re-wrapped correctly when I resize the window. Perhaps you did a "setWrap:NO" or so ? You also have to be careful with setting alignment. If I recall correctly, some combinations of *right* alignment and setEditable:/setSelectable: cause the text not to rewrap. - david stes@icgned.nl
From: scottc@nacs.net (Scott Christley) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: US-OH-Cleveland Distributed Computing Date: 2 Aug 1995 15:39:32 GMT Organization: New Age Consulting Service (216)-524-8388 Message-ID: <3vo67k$bqm@bab5.nacs.net> Job Opening ---------------- Multimedia company is looking to immediately hire a programmer knowledgable in the area of distributed computing/networks. The positions offer a high level of responsibility and personal freedom; you will be working together in a small group to design and implement the next generation of multimedia authoring tools. If you have been looking to get into multimedia then this is your chance! We offer a highly attractive compensation package. The positions will be located in Cleveland, Ohio; and relocation assistance is available. If you are interested, please email me and I will send you the complete announcement for the position. Scott Christley scottc@linus.ocbi.com Ohio Carbon Blank, Inc. 38403 Pelton Road Willoughby, OH 44094
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de(Juergen Sell) Subject: Re: How to use IB with its limiting Unparse command? Message-ID: <DCqBM2.KD@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <SHESS.95Aug1144953@subzero.winternet.com> Date: Thu, 3 Aug 1995 09:56:25 GMT In article <SHESS.95Aug1144953@subzero.winternet.com> shess@subzero.winternet.com (Scott Hess) writes: [...] > You're picking and choosing the articles you wish to consider in your > decision. I've followed the thread, and have seen no real bias for or > against IB in terms of large projects. Personally, I've used IB for a > number of large projects, and had no particular problems with it. The > Parse/Unparse "problem" is quite simply a straw-man, and is trivially > easy to work around. It's pointless to condemn IB for costing you ten > minutes on a four month project due to the Parse/Unparse "problem", > especially when it probably saved you another four months in the > bargain. > > This is not to say that I don't think this minor annoyance shouldn't > be fixed. It should. I'm just annoyed by the extreme you're taking > it to (note the subject line). Thanks for telling me how you took my post. I thought I had made clear what I was criticizing but the responses seem to correct me. As stated in the subject line I have found that particular misfunction of IB an annoyance. I truly wanted to know how others live with that, how you work around or if you have found ways to fix this youself, unbeknownst to me. I consider this particular misfunction not neccessary to exist as it could be fixed. I am quite sure as I did just that for a code generating button pusher. But I still feel it is a small but inconvenient inconsistency in the object world of development tools. In no way have I ever intended to say for IB to be useless in general. I do not think so, having used IB+ObjC to some extent myself. But we can certainly do without another praise of NeXTstep here. Sorry, if you feel I was not precise enough. I thought I was but I will keep this in mind. Juergen --- Fon ++49 511 4406-88 NeXTMail welcome Fax ++49 511 4406-17 == What time do we live in when a wine's class matters more than its taste, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names?
From: skwong@se.cuhk.hk (Wong Sai Kee (Graduate Assistant)) Newsgroups: comp.sys.next.programmer Subject: Learn and use IX Kit ? Date: 3 Aug 1995 09:34:28 GMT Organization: Engineering Faculty CUHK Message-ID: <3vq574$720@eng_ser1.erg.cuhk.hk> I am new to NS programming. I want to write a program to keep some records. Since it is for personal use, I guess I don't need the expensive DB server (I found that its impossible to learn DBKit programming without those server(s)). So I tried the IX Kit. But I found that the supplied documentation from NeXT assume an expert knowing details of DataBase concept and the philosophy behind the IX Kit. I read though the /NextDeveloper/Examples/IndexingKit/Ledger and found it hard to learn for a novice. Learning NS programming with the documentation from NeXT, is something like try to learn digital computer hardware by reading through a TTL data book + some sample circuits (the Ledger). I had nearly finished reading the 2 NS books from Garf + Maho & Alex. The books have never touched any about IX (or other Kits). Is there any better tutorial on the net ? Further, is there free/shareware that can be used to browse through IX objects; because there is no way to verify whether the structure of an created XXX.store is what I intended to or not. Better yet, since I am new, I need to keep on modify the structure, everytime I changed the structure, I must either purge the already input data or write another program to port the old data to new format; is there tools that can help to move (merge) old IX.store to new one. Thank you in advance. Best Wishes Mr.Sai-Kee Wong
From: mark@nextstep.dorm6.nctu.edu.tw (Lin Yi-chih) Newsgroups: comp.sys.next.programmer Subject: Does OmniWeb has CCI or API? Date: 2 Aug 1995 18:50:26 GMT Organization: Dep. Computer Sci. & Information Eng., Chiao Tung Univ., Taiwan, R.O.C Distribution: World Message-ID: <3vohdi$bsn@news.csie.nctu.edu.tw> Hi, there Is there any way to communication with OmniWeb.app ? Mark - - - - - - - - - - - - - - - - - - - - - - - - - - NCSA Mosaic Common Client Interface (CCI) version 1.1 March 31, 1995 NOTE: The Common Client Interface is a new, experimental feature. The CCI specification and Application Programmer's Interface (API) will very likely change in the near future. The Common Client Interface (CCI) allows external applications to communicate with running sessions of NCSA Mosaic via TCP/IP. The CCI Application Programmer's Interface (API) supplies programmers with a library of routines to communicate with Mosaic. Applications can use Mosaic to fetch URLs or ask Mosaic to report the URLs selected by the user. Applications can also pull in data from the web to the local program space, essentially turning the client program into a potential browser itself. Currently, only NCSA Mosaic for X supports the CCI. With version 2.5, use the CCI option under the File menu to instruct Mosaic to listen for CCI communication on a specified port number. A port number may be any number 1024 through 65535. All client programs that communicate with Mosaic via the CCI should have their own mechanism for specifying a communication port number.
From: Remo Valerioti <rvalerio> Newsgroups: comp.sys.next.programmer Subject: Problem with MiniSQLAdaptor : rvalerio@cscs.ch Date: 3 Aug 1995 16:12:30 GMT Organization: Centro Svizzero di Calcolo Scientifico Message-ID: <3vqshe$aig@pobox.cscs.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I installed the mSQL with its MiniSQLAdaptor for EOF, but using it with the EOModeler and IB I always get two errors. The errors are: Aug 3 00:29:27 [205] MiniSQLAdaptorChannel does not respond to selector dictionaryWithObjects:forAttributes:zone:. Aug 3 00:29:56 Workspace: New dragCompleted protocol not recognized, using old one Can anyone shed some light on this?? Thanks Remo Valerioti The views, opinions, and information contained in this personal page do not necessarily reflect the opinions or policies of CSCS-ETHZ nor does publication of this information imply an endorsement by CSCS.
From: waiming@cs.ust.hk (Chan Wai Ming) Newsgroups: comp.sys.next.programmer Subject: about automount in NS ??? Date: 3 Aug 1995 18:07:04 GMT Organization: The Hong Kong University of Science and Technology Message-ID: <3vr388$e3h@news.ust.hk> Hello, I have an question about the working mechanism of automount in NS. When I insert a CD in cdrom. There are messages displayed in the console probing for DOS probing for CDROM ... .. I just want to know whether the probing is done by Workspace manager or somthing else. When I insert an audio CD in the CD-ROM drive, the CD Player will be automatically executed. Just curious to know whether it is possible to launch another program if I insert the audio CD. If it is possible, how can I make the changes? Thanks waiming -- "Stupid people do stupid things" Forrest Gump So... please forgive me if I do stupid things :) waiming@cs.ust.hk
From: mitroo@magnus.acs.ohio-state.edu (Varun Mitroo) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.bugs,comp.sys.next.software,comp.sys.next.misc Subject: Re: Can NEXTSTEP disks be repaired? (need help desparately) Date: 3 Aug 1995 19:40:50 GMT Organization: The Ohio State University Message-ID: <3vr8o2$de7@charm.magnus.acs.ohio-state.edu> References: <3vasik$o5l@server.cs.vt.edu> In article <3vasik$o5l@server.cs.vt.edu>, <esterbro@vt.edu> wrote: >Introduction: A rude installation package formatted the first 3% of a SCSI >NEXTSTEP disk for DOS. Of course, the disk had important files. Of course >it was not completely backed up because I wasn't expecting this. > >Can I patch the disk somehow? > >Here is the detailed account for those of you who are interested: > >I have a Pentium machine with 1 GB EIDE drive and 1 GB SCSI drive. > >The EIDE has a 150 MB partition with a minimal installation of NEXTSTEP >3.3. The other 874 MB was unallocated. The SCSI had a 1 GB partition with a >complete installation of NEXTSTEP 3.3 and my important files. > >My goal was to install DOS 6.2 to the EIDE 874 MB partition. > >In my computer's setup I set the EIDE to be enabled. When I do this the >EIDE becomes the C: drive and the SCSI becomes D: (as the SCSI ROM BIOS >reports at start up). I inserted the DOS setup disk in drive A: which >successfully booted. It kindly asked me if I wanted to use the unallocated >portion of the disk for DOS. I said "YES" afterwhich it formatted it. No >problem there. > >>>> Then without any prompt or even a warning it immediately <<< >>>> began formatting drive D: for DOS! I stopped it after <<< >>>> three percent. <<< > >Now when I boot the NEXTSTEP on EIDE it tries to mount the SCSI drive. I >get the panel, "Disk is unreadable - [Ignore] [Initialize]" I choose ignore >and the disk is mounted as a DOS disk containing no files. > >I know my data is still there on the disk. I need it. > >Can I repair the SCSI by copying the first 30 MB of my NEXTSTEP-EIDE over >the SCSI disk and set the partition ID? At work I have a 512 MB SCSI disk, >if this might make a better source image. > >How do i-nodes factor into this? > >I'm a programmer with NEXTSTEP and some PC-ROM experience. But I am a disk >repair novice. > >Any and all help is greatly appreciated. Please reply directly to >esterbro@vt.edu. > >-Chuck Esterbrook > Orca Computer, Inc. ---------------------------- I have had exactly the same experience as this! I was building a DOS partition on my boot drive about one month ago. I created the DOS partition and then rebooted the computer with the DOS floppy disk. The setup program started and offered to format my disk and install dos. MS-DOS 6.22 formatted my 100 meg dos partition, and then begain immediately formatting my 1 gig NEXTSTEP partition. I saw this and stopped it after about 2-3%. I was livid, and made some phone calls to Microsoft demanding that they pay to recover my lost data. I finally got connected to someone at tech support at Microsoft who made the brilliant suggestion "can't you just run unformat on the partition?". I had to pay $25.00 to hear this and other similar calibre suggestions. It turns out that Microsoft says that my dos 6.22 disks were an OEM product with the company that I bought my computer from (Packard Bell), and Microsoft said that Packard Bell had modified the boot floppy for dos. They also said that THEIR dos disk would not automatically format a second hard drive. I didn't believe it, and when I talked to Packard Bell, their tech support said that they really don't make any big changes to dos setup - just change some parameters. They said it must be a problem with Microsoft. At that point, their only suggestion was to write a letter to Packard Bell explaining what happened. Packard Bell said that for most people, this would not be a problem since they only have one drive, and they use the entire drive for DOS. I tried many things to recover my data. I tried building another disk with NEXTSTEP, and then manually mounting my damaged disk. It could not mount the disk. I then deleted the DOS partition and remade the NEXTSTEP partition using fdisk. I still could not mount the disk. I tried running the "disk" utility with the raw SCSI device and searching for backup boot blocks and running fsck with the alternate boot blocks. Nothing worked, and eventually I had to reformat the disk. I did lose some important data from the drive, and I'm being much more careful since then with my data. I now have my main NEXTSTEP files on a disk with 1024 byte sectors, so it isn't even recognised by DOS! The setup program is a very poorly handled install program by Microsoft, with total ignorance of any other operating system. It's disgraceful that a company with such an inferior product has become such a dominating position in the computer world. Varun
From: scottc@nacs.net (Scott Christley) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: GCC 2.7.0 and Next 3.2? Date: 3 Aug 1995 17:41:33 GMT Organization: New Age Consulting Service (216)-524-8388 Message-ID: <3vr1od$vt@bab5.nacs.net> Has anybody succesfully compiled the new version of GCC for Next 3.2 on Intel? The configure appears to run properly but the initial make dies because a header file (insn-codes.h) is missing from within the GCC dir. thanks Scott
From: mcgredo@crl.com (Donald R. McGregor) Newsgroups: comp.sys.next.programmer Subject: 3.2->3.3 Text Object bug fixes? Date: 3 Aug 1995 12:53:20 -0700 Organization: YoyoDyne Propulsion Systems /|\ Message-ID: <3vr9fg$6jb@crl14.crl.com> I'm tracking down a strange bug that seems to be related to word wrap when printing. The customer at the remote site seems to think it works under 3.3, but not under 3.2. Is there a list of any bug fixes that went into the Text Object in 3.3, if any? It seems to display on the screen OK, but not when generating ps for preview or printing. -- Don McGregor | This isn't the posting you're looking for. mcgredo@crl.com | Move along.
From: tm8025a@localhost.wisc.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: Termianl/Shell view Date: 3 Aug 1995 19:57:44 GMT Organization: University of Wisconsin, Madison Message-ID: <3vr9no$i5e@news.doit.wisc.edu> I am trying to get a telnet.app to work and am stuck on the shell output. Has anyone written a view that translates vt100 codes and bascially acts like a terminal window when it comes to stty settings and the like? Torrey McMahon
From: shess@parka.winternet.com (Scott Hess) Newsgroups: comp.sys.next.programmer Subject: Question about Dr.Dobb's, Computer Language CDROMs. Date: 03 Aug 1995 20:25:39 GMT Organization: Is a sign of weakness Distribution: world Message-ID: <SHESS.95Aug3152540@parka.winternet.com> I moved earlier this month, and found out at least one good reason to get rid of back-issues of magazines (they are _heavy_). But, before throwing everything out, or at least going through them with a razorblade to save the good articles, I decided to look into the CD-ROM archives that Miller Freeman offers. I'm interested in the Dr. Dobb's, Computer Language/Software Development, and BYTE CD-ROMS. Question #1: Anyone have feedback on the CD-ROMS? Good, bad, neutral. Question #2: Are these things usable on anything other than a Windows system? Obviously I'd rather run this from NeXTSTEP, but so far as I can tell from talking to the vendor's phone reps, "You have to have Windows". Of course, I don't expect phone reps to have a holistic knowledge of the field, either, which is why I ask here. Thanks, -- scott hess <shess@winternet.com> (WWW to "http://www.winternet.com/~shess/") Home: 12550 Portland Avenue South, #121 Burnsville, MN 55337 (612) 895-1208 Office: 101 W. Burnsville Pkwy, Suite 108F, Burnsville, MN 55337 890-1332 <?If you haven't the time to design, where will you find the time to debug?>
From: nurban@csugrad.cs.vt.edu (Nathan Urban) Newsgroups: comp.sys.next.programmer Subject: Re: Does OmniWeb has CCI or API? Date: 3 Aug 1995 11:43:44 -0400 Organization: Virginia Polytechnic Institute and State University Distribution: World Message-ID: <3vqqrg$sg1@csugrad.cs.vt.edu> References: <3vohdi$bsn@news.csie.nctu.edu.tw> <DCq88B.FG3@icgned.nl> In article <DCq88B.FG3@icgned.nl>, stes@icgned.nl wrote: > I'd prefer a collection of true Objective C objects for building new, > customized WorldWideWeb apps from scratch. With an inter-application API, > you can only control an existing app, with all of the limitations. You mean, something like WebStep? See: http://xent.w3.org/~khare/WebStep.htmld/ -- ----------------------------------------------------------------------------- Nathan Urban | e-mail: nurban@mail.vt.edu Undergraduate {CS,Physics}, Virginia Tech | -----------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: fred@improve.fdn.org (Frederic STARK) Subject: Re: Why is Obj-C + IB better than trad C/C++ +GUI-builder? Message-ID: <1995Jul25.095652.28096@improve.fdn.org> Sender: news@improve.fdn.org Organization: improve SA - La Defense, Paris, France. References: <950720092253.221AAAAE.bertl@black13> Date: Tue, 25 Jul 1995 09:56:52 GMT In article <950720092253.221AAAAE.bertl@black13> Norbert Heger <norbert.heger@telecom.at> writes: > alex@genoa.com (Alex Blakemore) wrote: > > The __STDC__ macro def is useful for allowing you to assign types > > to outlet ivars for the compiler, and let them be typeless for IB. > > Is there any need to use __STDC__? Using any undefined macro definition > works fine for this purpose. Parsing the header-files Interface Builder > ignores any preprocessor directives anyway. So you can write interface > definitions like this: > > #undef __INTERFACE_BUILDER__ // usually this macro is undef'ed > > @interface MyObject:Object > { > #ifdef __INTERFACE_BUILDER__ > id textField; > #else > TextField * textField; > #endif > } > > @end > There is a trully efficient: #define ID id @interface MyObject:Object { TextField * textField; ID anIdNotForIB; #if 0 /* I HATE IB PARSER */ id textField; #endif } @end Note that the comment is not neccessary :-) Anyway, I now found useful to separate the IB defintion from the normal definition by adding a project-ib.h in projects This is mainly because if you have a hierarchy of classes to parse, you have to parse each of the headers in the good order (Dragging multiple files from the workspace give a random order) In this file I give the IB vision of the classes, in the good order. Cheers, ----------------------------------------------------------------- frederic stark -- fred@improve.fdn.org -----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: chris@aptime.fdn.org Subject: Re: Archiving Objects Message-ID: <DC83A4.r5@aptime.fdn.org> Sender: usenet@aptime.fdn.org (News Operator) Organization: C3iS - APTIME // Paris, France References: <3trv4i$r7p@zip.eecs.umich.edu> Date: Mon, 24 Jul 1995 13:39:40 GMT In article <3trv4i$r7p@zip.eecs.umich.edu> hyongsop@dip.eecs.umich.edu (Hyong Sop Shim) writes: > Hi, > > While building a custom palette, I've come up with a following question. > When an object is archived to a palette file, does the init... method > of the object is invoked? I know that the write: method of the object > is invoked while being archived but I'm not sure from the documentation > that whether the init... method of the object is invoked. > > Any help on this would be greatly appreciated. > > Thanks, > > --Hyong > (hyongsop@eecs.umich.edu) Archived objects - wether they are read from a nib file or another archive - don t receive any init messages. They receive instead read:, awake, and finishUnarchiving. -- Christophe Dore (chris@aptime.fdn.org NEXTMAIL & MIME OK)
Newsgroups: comp.sys.next.programmer From: chris@aptime.fdn.org Subject: Re: doesNotRecognizeSelector: +_canAlloc Message-ID: <DC88qs.1JA@aptime.fdn.org> Sender: usenet@aptime.fdn.org (News Operator) Organization: C3iS - APTIME // Paris, France References: <3ttic4$a5l@sun0.urz.uni-heidelberg.de> Date: Mon, 24 Jul 1995 15:37:40 GMT In article <3ttic4$a5l@sun0.urz.uni-heidelberg.de> Jukka Tainio writes: > A quick followup: > > I added > ProjPlay.h: > + _canAlloc; > ProjPlay.m: > + _canAlloc > { return [super _canAlloc]; } > ...and it worked! > > + (BOOL)_canAlloc {return YES}; > works too, with no warnings... > > that still doesn't *explain* _anything_, though...... > > Dave I ve been told that it was a bug in IB that was temporarily fixed in a file named NSObject-IBFixes.m. You can find it in the examples. -- Christophe Dore (chris@aptime.fdn.org NEXTMAIL & MIME OK)
Newsgroups: comp.sys.next.programmer From: chris@aptime.fdn.org Subject: Q: add a file in project builder Message-ID: <DCDyGr.J1v@aptime.fdn.org> Sender: usenet@aptime.fdn.org (News Operator) Organization: C3iS - APTIME // Paris, France Date: Thu, 27 Jul 1995 17:41:15 GMT Hi gurus, I ve made a little program that generates some class templates (just like eomodeler does) and I d like to know how I can have Project Builder add these files in the project (just like eomodeler or Interface Builder do). Thanks in advance, -- Christophe Dore (chris@aptime.fdn.org NEXTMAIL & MIME OK)
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: Does OmniWeb has CCI or API? Message-ID: <DCq88B.FG3@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <3vohdi$bsn@news.csie.nctu.edu.tw> Distribution: World Date: Thu, 3 Aug 1995 08:43:23 GMT Lin Yi-chih writes > Hi, there > > Is there any way to communication with OmniWeb.app ? > -- I'd prefer a collection of true Objective C objects for building new, customized WorldWideWeb apps from scratch. With an inter-application API, you can only control an existing app, with all of the limitations. I recall ZippyTech (?) had (has?) Telnet and Ftp objects, I'd like to see something along those lines... And perhaps a HyperText view ? (I wonder why all browsers seem to implement their HyperText view as a subclass of Text. I think this will not make it any easier to implement features such as tables etc.) - david stes@icgned.nl
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <mt1!stwo@netcom.com> From: Dennis Warn <mt1!stwo@netcom.com> Message-ID: <9508031855.AA00710@mt1.mantech.com> Date: Thu, 3 Aug 95 11:56:46 -0700 Subject: Help with Archiving I need some help with "archiving". My objects already use the typed stream archive mechanism to save to the disk the necessary data so as to read it in with a subsequent execution of the app. This includes the NXWriteObject, write method, NXReadObject, read method. It works great!! Now I need to create a time-tagged archive of changing objects for replay at a later time. I found that only on the first NXWriteObject for any object did a write method call is generated. But on replay, for every NXWriteObject, there was a corresponding time-tagged object that could be read by a NXReadObject except the data did not change; it was the same as the one write method data. Can I save the same object with different data over time with typed stream data or do I have to setup my own data cruncher method using a stream? Tell me NeXT is not that way! Dennis L. Warn
From: lamdong@cory.Berkeley.EDU (LD) Newsgroups: comp.sys.next.programmer Subject: How to launch a NeXt app from rc.local ? Date: 3 Aug 1995 21:53:32 GMT Organization: University of California, at Berkeley Message-ID: <3vrggs$7de@agate.berkeley.edu> Hi, How to make connection to WorkSpace manager from rc.local file ? I can run my NeXT app in my workspace (either click on the icon, or run from a terminal, but when I put my program in rc.local file, it can't run and there's error "DPS client library error: Could not form connection, host local host " I appreciate your help. - Lam
From: kumiko@bu.edu (Kumiko Terakado) Newsgroups: comp.sys.next.programmer Subject: [Q] Turning off the cursor in bsh Date: 3 Aug 1995 22:32:26 GMT Organization: Ueberhaupt keine! Message-ID: <3vripq$pln@news.bu.edu> Hi, I have a simple question. I want to turn off the cursor when I am running a shell script. I looked in the termcap file and there is no definition for this. Usually it is set to vi:some escape sequence, at least according to the Next man pages for termcap. I can edit the termcap file and put in an entry, but what would the escape sequence be? I'm running NeXTStep 3.2 and the script through terminal on a Intel. Is there an easier way to do this? -- ---------------------------------------------------------- Jeffrey T. Hazelwood 580 Commonwealth Avenue, Apt. 34 Boston, MA 02215 (617) 262-2346 ----------------------------------------------------------
From: "Charles C. Hocker" <american@aztec.asu.edu> Newsgroups: comp.sys.next.programmer Subject: Sybase Demo Question in NSFIP 3.1 Date: 4 Aug 1995 00:18:23 GMT Organization: InternetMCI Message-ID: <3vrp0f$j89@news.internetmci.com> Hello, I am trying to get the Sybase demo in NSFIP 3.1 working and am having some problems. I am trying to setup the demo to run the PRACTICE server. (1) The README file located in the directory /usr/sybase/sample/dblibrary talks of making changes to the file /usr/sybase/interfaces. I have been unable to locate any information to make the changes to this file to setup the server. (2) The Documentation also calls for a program *startserver*. I did a search of the file system using find and I could not located a this file. If anyone has setup this demo I would appreciate any help. I search both the Sybase WWW and NeXT WWW site and could not locate any information. Thanks Charles C. Hocker email: american@aztec.asu.edu
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: NEXTStep on PowerPC??? In-Reply-To: Norman Kabir's message of Mon, 31 Jul 1995 13:04:49 GMT Message-ID: <RDL.95Aug3214036@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <DCL0C2.H61@deshaw.com> Date: Fri, 4 Aug 1995 01:40:36 GMT You will see OpenStep on Windows NT and SOLARIS for PowerPC. Robert La Ferla Registered NEXTSTEP / OPENSTEP Consultant Boston, MA + 1 (617) 252-0088 In article <DCL0C2.H61@deshaw.com> Norman Kabir <kabir> writes: Any news if Nextstep will show up on PowerPC??? Thanks.
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: a Message-ID: <jpanicoDCrB4t.Lzr@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Thu, 3 Aug 1995 22:43:41 GMT Sender: jpanico@netcom16.netcom.com -- Joe Panico jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: Hui-Ching Weng <weng@sage.cc.purdue.edu> Newsgroups: comp.sys.next.programmer Subject: need advice: NSFIT 3.3, NSFIP 4.0 or OpenStep for Window ? Date: 4 Aug 1995 05:55:07 GMT Organization: Purdue University Message-ID: <3vscnr$aa3@mozo.cc.purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I am currently a student and thinking about playing with the NeXTStep developing environment. I currently can buy a NSFIP 3.3 for us$ 300. That sounds a good deal. However, I just wonder whether I should wait for the OpenStep for window or the NSFIP 4.0 ? I would very appreciate your advice. Please send your recommendation to: weng@sage.cc.purdue.edu Thanks in advance, Amy Weng
From: psanders@srd.bt.co.uk (Paul Sanders) Newsgroups: comp.sys.next.programmer Subject: Low-level access to the kb Date: 4 Aug 1995 08:43:06 GMT Organization: BT Labs, Martlesham Heath, Ipswich, UK Message-ID: <3vsmiq$16h@pheidippides.axion.bt.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, I have a Windows application that works by taking keyboard input before it gets to the keyboard buffer (apparently there is an interrupt/hook in Windows that lets you do this). I want to port this to NS - can anyone tell me if it is possible to trap keyboard presses before they reach the keyboard buffer - would NXResponder be the chappie for the job ? Thanks, Paul.
From: jq@phcs.phcs.com (James E. Quick) Newsgroups: comp.sys.next.programmer Subject: Re: Time events without DPS Date: 4 Aug 1995 07:49:46 -0400 Organization: PHCS Message-ID: <3vt1gq$9t8@papoose.quick.com> References: <3v8ft7$8km@sun0.urz.uni-heidelberg.de> In article <3v8ft7$8km@sun0.urz.uni-heidelberg.de>, Georg Tuparev <tuparev@EMBL-Heidelberg.DE> wrote: (munch) > void foocaller (int data) { > foo(the right arguments for foo); > signal(SIGALRM,foocaller); > alarm(5); > } > >.. but foocaller gets executed only once and then the process stops?!?! > >Is it something wrong with signal() and/or alarm() implementation or I'm >missing something important here? First, the alarm() and pause() combination is doing what you told it to do. pause() blocks until the *first* signal is received. After the signal handler has been called, pause returns. So you would need a loop around what you have now in order to get it to work but your timing will be more accurate since the time it takes to doo actual work will not perturb the 5 second frequency of signal delivery. A better approach is to use setitimer(). This causes a SIGALRM signal to be delivered periodically (e.g. every 5 seconds). You still need some sort of event loop around a pause or other { signal (); setitimer(); while(1) { do stuff; if (need_to_quit_now) break, return, or exit; pause(), select() or something that will block periodically; } } -- ___ ___ | James E. Quick jq@phcs.com / / / | Private HealthCare Systems NeXTMail O.K. \_/ (_\/ | Systems Integration Group (617) 895-3343 ) | - My other car has a mouse.
From: miz@jsg.co.jp (Ryuichi Mizuno) Newsgroups: comp.sys.next.programmer Subject: Re: Is This Group Archived? Date: 4 Aug 1995 12:02:34 GMT Organization: Internet Initiative Japan, Inc. Message-ID: <3vt28q$m7g@news3.iij.ad.jp> References: <andylee-2806950257190001@idtech.com> Hi, this is Ryuichi Mizuno,Tokyo,Japan. In article <andylee-2806950257190001@idtech.com> andylee@netcom.com (Andy A. Lee) writes: > I'd like to know if this group is archived somewhere. I already checked > cs.orst.edu and StepWise web sites. I've only found archive of > comp.sys.next.announce... what about the other groups? > > Andy Lee > andyl ee@netcom.com > andylee@cs.ucla.edu See: http://www.stellar.co.jp/NEXTSTEP/newssearch.html Configure your WWW browser's news server field to refer to news.stellar.co.jp . Ex. OmniWeb, News Host: news.stellar.co.jp This page is written in Japanese, but articles themselves are as original. You can find your article and some followups from this page. Bye, Ryuichi --- Ryuichi Mizuno (NeXus,Tokyo,Japan) Email: miz@jsg.co.jp (MIME & NeXTmail OK) $B6z(J$B_$(J
From: wfc@cl.cam.ac.uk (W F Clocksin) Newsgroups: comp.sys.next.programmer Subject: Re: Archiving Objects Date: 4 Aug 1995 12:51:37 GMT Organization: University of Cambridge, England Message-ID: <3vt54p$igm@lyra.csx.cam.ac.uk> References: <DC83A4.r5@aptime.fdn.org> In article <DC83A4.r5@aptime.fdn.org> chris@aptime.fdn.org writes: > In article <3trv4i$r7p@zip.eecs.umich.edu> hyongsop@dip.eecs.umich.edu > (Hyong Sop Shim) writes: > > Hi, > > > > While building a custom palette, I've come up with a following question. > > When an object is archived to a palette file, does the init... method > > of the object is invoked? I know that the write: method of the object > > is invoked while being archived but I'm not sure from the documentation > > that whether the init... method of the object is invoked. > > > > Any help on this would be greatly appreciated. > > > > Thanks, > > > > --Hyong > > (hyongsop@eecs.umich.edu) > > Archived objects - wether they are read from a nib file or another > archive - don t receive any init messages. They receive instead read:, > awake, and finishUnarchiving. > > > -- > Christophe Dore (chris@aptime.fdn.org NEXTMAIL & MIME OK) > Archived objects also receive awakeFromNib messages, which are useful for similar purposes as init.
From: wfc@cl.cam.ac.uk (W F Clocksin) Newsgroups: comp.sys.next.programmer Subject: Re: Archiving Objects Date: 4 Aug 1995 12:53:03 GMT Organization: University of Cambridge, England Message-ID: <3vt57f$ili@lyra.csx.cam.ac.uk> References: <DC83A4.r5@aptime.fdn.org> In article <DC83A4.r5@aptime.fdn.org> chris@aptime.fdn.org writes: > In article <3trv4i$r7p@zip.eecs.umich.edu> hyongsop@dip.eecs.umich.edu > (Hyong Sop Shim) writes: > > Hi, > > > > While building a custom palette, I've come up with a following question. > > When an object is archived to a palette file, does the init... method > > of the object is invoked? I know that the write: method of the object > > is invoked while being archived but I'm not sure from the documentation > > that whether the init... method of the object is invoked. > > > > Any help on this would be greatly appreciated. > > > > Thanks, > > > > --Hyong > > (hyongsop@eecs.umich.edu) > > Archived objects - wether they are read from a nib file or another > archive - don t receive any init messages. They receive instead read:, > awake, and finishUnarchiving. > > > -- > Christophe Dore (chris@aptime.fdn.org NEXTMAIL & MIME OK) > Sorry, ignore my previous message about awakeFromNib. As I clicked 'Post' I realised I was wrong.
From: Bernhard Scholz <scholz@informatik.tu-muenchen.de> Newsgroups: comp.sys.next.programmer Subject: Re: Is This Group Archived? Date: Fri, 4 Aug 1995 15:37:44 +0200 Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <Pine.HPP.3.91.950804153526.17088B-100000@hphalle0.informatik.tu-muenchen.de> References: <andylee-2806950257190001@idtech.com> <3vt28q$m7g@news3.iij.ad.jp> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <3vt28q$m7g@news3.iij.ad.jp> On 4 Aug 1995, Ryuichi Mizuno wrote: > Hi, this is Ryuichi Mizuno,Tokyo,Japan. > > In article <andylee-2806950257190001@idtech.com> andylee@netcom.com (Andy A. Lee) writes: > > I'd like to know if this group is archived somewhere. I already checked > > cs.orst.edu and StepWise web sites. I've only found archive of > > comp.sys.next.announce... what about the other groups? > > See: http://www.stellar.co.jp/NEXTSTEP/newssearch.html > Or you might check out: ftp.leo.org:/pub/comp/platforms/next/Usenet There you'll find _all_ articles since these newsgroups were established. (It's really a lot!) Cheers, Boerny. -- Bernhard Scholz (IRC: Boerny) scholz@informatik.tu-muenchen.de http://peanuts.leo.org/peanuts/ scholz@c86501.rm.op.dlr.de http://www.leo.org/~scholz/
From: scottc@nacs.net (Scott Christley) Newsgroups: comp.sys.next.programmer Subject: GCC 2.7.0 and Next 3.2? Date: 4 Aug 1995 12:46:54 GMT Organization: New Age Consulting Service (216)-524-8388 Message-ID: <3vt4ru$ufi@bab5.nacs.net> I figured it out; actually there is a minor problem with the configure program. It correctly determines that I have an i386-next-nextstep3, but it does not place this correctly in one portion of the Makefile, specifically there is a line: target= ... `configure' will replace with actual target This line needs to be manually changed to target=i386-next-nextstep3 Then everything is kosher. I would patch the configure program if I had an inkling about how it works :( Scott
From: joransen@hq.af.mil (Timothy W. Joransen) Newsgroups: comp.sys.next.programmer Subject: Multicast development with Dev 3.2 Date: 4 Aug 1995 13:41:07 GMT Organization: Air Force Pentagon Communications Agency, Wash D.C. Message-ID: <3vt81j$8pj@hq.hq.af.mil> Keywords: multicast header As most know, NS User 3.3 came out before NS Dev 3.3. So there was a time when IP multicast support was in the OS, but you couldn't write any apps because the developer package didn't know about multicasting. In the interim, NeXT posted a header file (mcast.h? multicast.h?) on NeXTAnswers which appeared to allow one to write IP multicast apps with Dev 3.2. Now that Dev 3.3 is out, this header file is no where to be found. I know that NS Dev 3.3 has multicast support scattered throughout various header files, but since I don't have access to Dev 3.3, I am looking for this multicast header file (designed for Dev 3.2/User 3.3). I want play around a bit. Has anyone seen it lately, or have a copy lying around on their machine? Thanks, - tim - -- Capt Timothy W. Joransen, USAF Single Agency Manager, Architecture and Engineering joransen@hq.af.mil 703.614.6121 Opinions expressed are not necessarily those of the Air Force...
From: gwu@dip.eecs.umich.edu (Gwobaw A. Wu) Newsgroups: comp.sys.next.programmer Subject: Functions as Instance Variables in Obj-C Date: 4 Aug 1995 14:59:40 GMT Organization: University of Michigan EECS Dept. Message-ID: <3vtcks$onc@zip.eecs.umich.edu> Hi, New to the Objective-C language, I've come across the following problem as I'm converting a C++ class to a corresponding Objective-C class. The C++ class has as one of its instance variables a function of type char *foo(int). I couldn't figure out how to declare this as a Objective- C instace variable. Does anyone know how to do this? Thanks very much. -- Gwo Baw (gwu@eecs.umich.edu)
From: msb2@doc.ic.ac.uk (M S Bennett) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: -posix bug in crt0 (was: Compiling ircII) Date: 4 Aug 1995 11:36:52 +0100 Organization: Department of Computing, Imperial College, University of London, UK. Message-ID: <3vst84$n1r@fuji.doc.ic.ac.uk> References: <1995Jul27.185138.14482@il.us.swissbank.com> <3vav99$qs@nnrp3.primenet.com> <TIGGR.95Jul28181310@cobra.es.ele.tue.nl> Ok I have built ssh (secure shell) fine - but when I try and run it - I get 'Floating Exception' and gdb says that the program is dying in 'NXCreateZone' in crt0 - called from malloc_init - from malloc etc.. I'm using gcc 2.6.3 and NS 3.3 and Developer 3.2 Any ideas? Sean Bennett PS - E-mail with a response as well - I should get this News feed, but I might be distracted ;-) -- Sean Bennett |sean@world.std.com/msb2@doc.ic.ac.uk Earth Resources|+44(0)181 959 2702 <- Parents Engineering |+44(0)181 789 8102 <-Flat +44(0)171 594 7404 <- Work
From: Jacob C Freifeld <jf4u+@andrew.cmu.edu> Newsgroups: comp.lang.objective-c,comp.sys.next.programmer,comp.lang.smalltalk Subject: OO Developer Position Date: Fri, 4 Aug 1995 14:49:45 -0400 Organization: Sophomore, Social & Decision Sciences, Carnegie Mellon, Pittsburgh, PA Message-ID: <ok8aj9200YUp0GBkQ7@andrew.cmu.edu> Wanted: Object-Oriented Systems Designers, Developers and Consultants Marble Associates, Inc., a leading technology consulting firm, has immediate openings in the Boston area for computer scientists with interest and experience in building Object-Oriented software systems. Marble designs and constructs large-scale, internetworked software systems for global businesses. We are looking for high-energy people with skills in: - NeXTSTEP software development - Objective-C modeling and design - Smalltalk, C++, Objective-C, C programming languages - Unix, MS Windows NT, MS-DOS, Macintosh operating systems - Oracle,Sybase and Object-Oriented database management systems - TCP/IP-based internetworking and distributed computing - Windows programming Candidates for our available positions must be self-motivated to apply their software developments and client management skills at our Fortune-500 client sites. Candidates must have excellent communication skills and be willing to travel. Salaries are commensurate with experience and ability. Marble is a medium-sized consulting firm with a unique corporate culture and offers its employees a range of non-exclusive opportunities to work at all levels of the mission- critical software industry from strategy and design to implementation. If you have experience with some or all of the technologies listed above and would enjoy working in a fast-paced, dynamic (and extremely fun) organization, please send a cover letter and resume to: Marble Associates, Inc. Attn: Human Resources 950 Winter Street, Suite 1700 Waltham, Massachusetts 02154 fax: 617-487-7044 e-mail: recruiting@marble.com
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: Stepwise and the announce newsgroup down Date: 4 Aug 1995 20:55:31 GMT Organization: Information Technology Solutions, Inc. Message-ID: <3vu1g3$ifo@www.its.com> Scott Anguish asked me to post this for him: A recent electrical storm took down the leased data lines for Scott's machines. This means that stepwise.com and the Stepwise WWW server, comp.sys.next.announce, and digifix.digifix.com are temporarily no longer connected the Internet. It would probably be a good idea to stop posting messages to c.s.n.announce until Scott lets us know that his machines are back up (post anything that can't wait to misc). Thanks, -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: hsr@Xenon.Stanford.EDU (H. Scott Roy) Newsgroups: comp.sys.next.programmer Subject: Anyone have an msync() for NEXTSTEP? Date: 5 Aug 1995 00:09:00 GMT Organization: Computer Science Department, Stanford University. Message-ID: <3vucqs$d0@Radon.Stanford.EDU> Mach seems to provide mmap() functionality with map_fd(), but has anyone figured out how to do the equivalent of msync()? Any ideas are welcome. Thanks, Scott Roy
From: paus@ifr.luftfahrt.uni-stuttgart.de Newsgroups: comp.sys.next.programmer Subject: Re: GCC 2.7.0 and Next 3.2? Date: 5 Aug 1995 09:14:50 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Distribution: world Message-ID: <3vvcqa$a7n8@info4.rus.uni-stuttgart.de> References: <3vt4ru$ufi@bab5.nacs.net> In article <3vt4ru$ufi@bab5.nacs.net> scottc@nacs.net (Scott Christley) writes: > I figured it out; actually there is a minor problem with the configure > program. It correctly determines that I have an i386-next-nextstep3, but > it does not place this correctly in one portion of the Makefile, > specifically there is a line: > > target= ... `configure' will replace with actual target > > This line needs to be manually changed to > > target=i386-next-nextstep3 > > Then everything is kosher. I would patch the configure program if I had > an inkling about how it works :( > > Scott Hi, the fix is relatively simple. Just have a look at the fragment of the configure script below. You just have to swap the two first echo lines and exchange the > and >> directives. [...] # Remove all formfeeds, since some Makes get confused by them. # Also arrange to give the variables `target', `host_xmake_file', # `tmake_file', `prefix', `local_prefix', `exec_prefix', `FIXINCLUDES' # `out_file', `out_object', `md_file', `lang_specs_files', # `lang_options_files', and `INSTALL_HEADERS_DIR' values in the # Makefile from the values they have in this script. rm -f Makefile.xx rm -f aux-output.c aux-output.o md echo "s|^target=.*$|target=${target}|" > Makefile.sed echo 's| ||' >> Makefile.sed [...] This fix was suggested by someone else. (Sorry, can't remember the name.) I have no idea why it is necessary nor why it works. Just use it. Michael -- ------------------------------------------------------------------------ --Dipl.-Ing. Michael Paus (Member: Team Ada) --University of Stuttgart, Inst. of Flight Mechanics and Flight Control --Forststrasse 86, 70176 Stuttgart, Germany --Phone: (+49) 711-121-1434 FAX: (+49) 711-634856 --Email: Michael.Paus@ifr.luftfahrt.uni-stuttgart.de (NeXT-Mail welcome)
Newsgroups: comp.sys.next.programmer From: david@zion.com Subject: Re: Termianl/Shell view Message-ID: <DCu5sp.1o1@zion.com> Keywords: terminal Sender: usenet@zion.com Organization: Zion Software & Consulting References: <3vr9no$i5e@news.doit.wisc.edu> Date: Sat, 5 Aug 1995 11:41:13 GMT Take a look on ftp.cs.orst.edu under /software/NeXT/demos/programming/ZionDECViewPalette.README /software/NeXT/demos/programming/ZionDECViewPalette.tar.gz We sell an objectware product called ZionDECView which is a VT100/VT102/ANSI and soon to be VT220 palette & library with example application. For more information, write palette@zion.com Regards, David Ferrero david.ferrero@zion.com In article <3vr9no$i5e@news.doit.wisc.edu> tm8025a@localhost.wisc.edu (Torrey McMahon) writes: > I am trying to get a telnet.app to work and am stuck on the shell output. > Has anyone written a view that translates vt100 codes and bascially acts > like a terminal window when it comes to stty settings and the like? > > Torrey McMahon
Newsgroups: comp.sys.next.programmer From: csaldanh@mae.carleton.ca (Chris Saldanha) Subject: Re: How to launch a NeXt app from rc.local ? Message-ID: <DCuLvy.Jtw@cunews.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: computerActive Inc References: <3vrggs$7de@agate.berkeley.edu> Date: Sat, 5 Aug 1995 17:28:45 GMT Why do you want a graphical NeXT app to run at boot-time? The WorkSpace manager does not run until someone logs into the console of the machine. You cannot speak to DPS, since the Window Manager is also not running when rc.local is executed; it also runs at login-time. --Chris Chris Saldanha, Software Analyst -------------------------------------- computerActive, Inc |"The telephone was not invented by | chris@computerActive.on.ca (NeXTMail) | Alexander Graham Unitel" -Bell Ad | http://www.mae.carleton.ca/~csaldanh -------------------------------------- LD (lamdong@cory.Berkeley.EDU) wrote: : How to make connection to WorkSpace manager from rc.local file ? : I can run my NeXT app in my workspace (either click on the icon, or run from a terminal, but when I put my program in rc.local file, it can't run and there's error : "DPS client library error: Could not form connection, host local host"
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: csaldanh@mae.carleton.ca (Chris Saldanha) Subject: Re: -posix bug in crt0 (was: Compiling ircII) Message-ID: <DCuMDo.L26@cunews.carleton.ca> Followup-To: comp.sys.next.bugs,comp.sys.next.programmer Sender: news@cunews.carleton.ca (News Administrator) Organization: computerActive Inc References: <1995Jul27.185138.14482@il.us.swissbank.com> <3vav99$qs@nnrp3.primenet.com> <TIGGR.95Jul28181310@cobra.es.ele.tue.nl> <3vst84$n1r@fuji.doc.ic.ac.uk> Date: Sat, 5 Aug 1995 17:39:24 GMT M S Bennett (msb2@doc.ic.ac.uk) wrote: : Ok I have built ssh (secure shell) fine - but when I try and run it - I get : 'Floating Exception' and gdb says that the program is dying in : 'NXCreateZone' in crt0 - called from malloc_init - from malloc etc.. : I'm using gcc 2.6.3 and NS 3.3 and Developer 3.2 What flags did you give to the compiler (or did the Makefile give) when building? If it's POSIX source-code, then you want to give -posix always, and -lposix when linking. We just went through all this stupidity of POSIX when building SLiRP. My first builds of SLiRP, which used -lposix, but NOT -posix gave EXACTLY the same errors that you cite. The intuitive "Floating Exception", and this NXCreateZone stuff when debugged. The autoconf-generated "./configure" script in SLiRP ran POSIX source through cc without -posix, so it couldn't get proper values for sizeof(), couldn't tell if certain header files were POSIX-compliant, didn't know if the machine was big-endian or not, etc, etc, etc... I don't know anything about ssh, but if it uses a GNU autoconf-generated configure script, it's probably filled the configure output with lies. --Chris Chris Saldanha, Software Analyst -------------------------------------- computerActive, Inc |"The telephone was not invented by | chris@computerActive.on.ca (NeXTMail) | Alexander Graham Unitel" -Bell Ad | http://www.mae.carleton.ca/~csaldanh --------------------------------------
From: acoustic@infinity.c2.org (dan hitt) Newsgroups: comp.sys.next.programmer Subject: source code for mkfs or any related program Date: 05 Aug 1995 22:24:50 GMT Organization: Community ConneXion: http://www.c2.org 510-658-6376 Message-ID: <ACOUSTIC.95Aug5152450@infinity.c2.org> Can anyone point me to where i can find source code for the program mkfs (make file system), or any related program which works on a raw device? (On black hardware.) Thanks for any information anyone can provide. dan acoustic@c2.org
From: gottlieb@umbc.edu (Robert Gottlieb) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with MiniSQLAdaptor : rvalerio@cscs.ch Date: 6 Aug 1995 03:31:40 GMT Organization: University of Maryland, Baltimore County Message-ID: <401d2s$up8@news.umbc.edu> References: <3vqshe$aig@pobox.cscs.ch> NNTP-Posting-User: gottlieb Remo Valerioti (rvalerio) wrote: : Hi, : I installed the mSQL with its MiniSQLAdaptor for EOF, but : using it with the EOModeler and IB I always get two errors. : The errors are: : Aug 3 00:29:27 [205] MiniSQLAdaptorChannel does not respond to selector : dictionaryWithObjects:forAttributes:zone:. : Aug 3 00:29:56 Workspace: New dragCompleted protocol not recognized, using old one : Can anyone shed some light on this?? : Thanks : Remo Valerioti : The views, opinions, and information contained in this personal page : do not necessarily reflect the opinions or policies of CSCS-ETHZ nor : does publication of this information imply an endorsement by CSCS. Yep, it probably means you are using the latest version of the MiniSQLAdaptor and EOF 1.0. You will need EOF 1.1 to use the latest adaptor. Otherwise you will need to find an older adaptor,good luck, and compile and older version of the msql database. Hope this helps. Robert gottlieb@umbc.edu "The above opinion(s) or statement(s) are not that of UMBC"
From: hannes@ping.at Newsgroups: comp.sys.next.programmer Subject: Re: Functions as Instance Variables in Obj-C Date: Sun, 6 Aug 1995 12:39:30 GMT Organization: TELECOM Network Provider, Austria Message-ID: <950806143930.328AAAAE.hannes@s156.ping.at> References: <3vtcks$onc@zip.eecs.umich.edu> Mime-Version: 1.0 (Created by Mstar) Content-Type: text/plain; charset=US-ASCII Keywords: function pointer method C++ ObjectiveC instance variable Originator: hannes@s156.ping.at >From: gwu@dip.eecs.umich.edu (Gwobaw A. Wu) >Subject: Functions as Instance Variables in Obj-C >Date: 4 Aug 1995 14:59:40 GMT >Message-Id: <3vtcks$onc@zip.eecs.umich.edu> > >Hi, > >New to the Objective-C language, I've come across the following problem >as I'm converting a C++ class to a corresponding Objective-C class. > >The C++ class has as one of its instance variables a function of type >char *foo(int). I couldn't figure out how to declare this as a Objective- >C instace variable. > 'one of its instance variables is a function'? It's not quite clear, what you mean by this. In C++ methods of a class are declared like it's IVars: class Bar { int a, b; double f; public: char* foo(int a); }; char* Bar::foo(int a) { // do something } But methods and IVars are two different things in ObjectiveC. To get a corresponding class in ObjectiveC, you would use: @interface Bar:Object { int a, b; double f; } - (char*)foo(int a); @end @implementation Bar - (char*)foo(int a) { // do something } @end If what you mean is, that one of the IVars of your class is a function_pointer_, then you would use something like this: @interface Bar:Object { int a, b; double f; char* (*theFunction)(int a); } - (void)setTheFunction:(char*(*)(int a))f; - (void)useTheFunction; @end @implementation Bar - (void)setTheFunction:(char*(*)(int a))f { theFunction = f; } - (void)useTheFunction { printf("%s\n", theFunction(100)); } @end --------- Hope it helps
From: gmecchia@cc.colorado.edu Newsgroups: comp.sys.next.programmer Subject: [Q] Is const like ANSI C or like C++? Date: 7 Aug 1995 02:57:42 GMT Organization: The Colorado College, Colorado Springs, CO Message-ID: <403vf6$b9e@lace.Colorado.EDU> In Objective-C, a const object is treated as an ANSI C const or as a C++ const? The former defaults to external linkage and its name is available to the global scope, and the latter defaults to internal linkage and its name is available only to file scope. Is there freedom to chose one of the two, or is the compiler strictly following only one of the two? - Alexis
From: Stephen Moignard <76711.1243@CompuServe.COM> Newsgroups: comp.sys.next.programmer Subject: Free 70pp Developer’s Mag [next+] Date: 7 Aug 1995 04:43:16 GMT Organization: PC Developer Magazine Message-ID: <4045l4$stn$39@mhadg.production.compuserve.com> PC Developer magazine has a limited number of free copies to give away to programmers who may be interested in subscribing - No Obligation. If you want to know more, the information file PCDEV.ZIP is available by annonymous ftp from ftp.wugnet.com in the \Pub directory. The archive contains a Windows help file showing all aspects of the magazine including some articles. If you want a copy call 1-800-223-4064 in the US or email me on 76711.1243@compuserve.com with your +SNAIL MAIL+ address and I will arrange your copy of the mag. This offer is international - but only for a little while longer (until stocks run out). I hope you like what you see. Stephen Moignard Publisher. -- PC Developer Magazine Covers VB, Access, Delphi, C/C++, Client/Server, Pdox, xBASE... Some sample copies available - Email 76711.1243@compuserve.com
Newsgroups: comp.sys.next.programmer From: martin@rat.se Subject: Re: Learn and use IX Kit ? Message-ID: <DCxKIJ.502@rat.se> Sender: martin@rat.se (Martin Wennerberg) Organization: Research & Trade, AB. References: <3vq574$720@eng_ser1.erg.cuhk.hk> Date: Mon, 7 Aug 1995 07:51:54 GMT In article <3vq574$720@eng_ser1.erg.cuhk.hk> skwong@se.cuhk.hk (Wong Sai Kee (Graduate Assistant)) writes: > I am new to NS programming. I want to write a program to keep some > records. Since it is for personal use, I guess I don't need the expensive > DB server. I suggest you look at alternative solutions. The IX kit in it's current form will be discontinued and replaced by some foundation classes. If you have EOF I suggest using it and a free SQL DB such as MiniSQL (on the archives). For small quantities of data the simple NSDictionary should be sufficient. >Learning NS programming with the documentation from NeXT, is something >like try to learn digital computer hardware by reading through a TTL >data book + some sample circuits (the Ledger). But much more fun 8~) Martin Wennerberg ____________________________________________________ Research & Trade AB Phone: + 46 - 8 - 21 17 50 Email: martin@rat.se Snailmail: Box 7742, S-103 95 Stockholm, SWEDEN Visiting: Kungsgatan 33
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: Help with Archiving Message-ID: <DCxK8y.MBH@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <9508031855.AA00710@mt1.mantech.com> Date: Mon, 7 Aug 1995 07:46:09 GMT Dennis Warn <mt1!stwo@netcom.com> writes > Can I save the same object with different data over time with typed stream data or do I > have to setup my own data cruncher method using a stream? Tell me NeXT is not that > way! > > Dennis L. Warn -- I have the impression that you are trying to archive a single object to the typed stream, while changing its "value" during the process of archiving. This will not work, as the archiver needs access to all objects being written to the stream, to find back-pointers and so. You can not, for example, free an object just after it has received a -write: message. You can only free or change the object after the entire operation of passivation has ended. If this is an option for you, you might want to use a List of *distinct* instances of objects of your class, each object with its own particular value, then archive the list towards the stream. Or you could archive just one object with "min","max" and "step" values, so that the activated object is able to "replay" the situation as it was before archiving. - david stes@icgned.nl
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: Low-level access to the kb Message-ID: <DCxLK5.MEy@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <3vsmiq$16h@pheidippides.axion.bt.co.uk> Date: Mon, 7 Aug 1995 08:14:29 GMT Paul Sanders writes > Hi, > > I have a Windows application that works by taking keyboard input before > it gets to the keyboard buffer (apparently there is an interrupt/hook > in Windows that lets you do this). I want to port this to NS - can anyone > tell me if it is possible to trap keyboard presses before they reach the > keyboard buffer - would NXResponder be the chappie for the job ? > > Thanks, > > Paul. -- Perhaps you don't need so much low-level access. Perhaps you could override some method of a View or Window that handles keyboard input, then incorporating a call to *super*. The NextStep "Calculator" example (MinusPanel object) does so for the method -(BOOL)commandKey:(NXEvent *)theEvent. - david stes@icgned.nl
From: rog@talisker.ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer Subject: Re: Functions as Instance Variables in Obj-C Date: 7 Aug 1995 13:32:31 GMT Organization: The University of York, UK Distribution: world Message-ID: <4054lf$1ip@mailer.york.ac.uk> References: <3vtcks$onc@zip.eecs.umich.edu> Gwobaw A. Wu (gwu@dip.eecs.umich.edu) wrote: > The C++ class has as one of its instance variables a function of type > char *foo(int). I couldn't figure out how to declare this as a Objective- > C instace variable. > Does anyone know how to do this? as an instance variable : @interface Foo : Bar { char *(*foopt)(int); /* same as in C++ */ } as a return type from a method : - (char *(*)(int))getFoo { return foopt; } as an argument to a method : - setFoo:(char *(*)(int))newfoo { foopt = newfoo; return self; } read a good C ref. manual - it's all just the vanilla C type system really. cheers, rog.
From: ptok@cave.usc.edu (Phillip Tokumaru) Newsgroups: comp.sys.next.programmer Subject: HPPA/HPUX code calling from HPPA/NS? Date: 7 Aug 1995 17:21:14 GMT Organization: University of Southern California, Los Angeles, CA Sender: ptok@cave.usc.edu Distribution: world Message-ID: <405i2a$noq@usc.edu> If possible, how can HPPA/HPUX libraries be linked and called from HPPA/NS? In particular, I am interested in linking optimized BLAS/LAPACK routines to an application I'm building under nextstep. --- Phillip Tokumaru Research Associate/Engineer Department of Aerospace Engineering University of Southern California ptok@cave.usc.edu
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: Learn and use IX Kit ? Message-ID: <DCyAxF.vC@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <DCxKIJ.502@rat.se> Date: Mon, 7 Aug 1995 17:22:26 GMT martin@rat.se writes > > skwong@se.cuhk.hk (Wong Sai Kee) writes > > I am new to NS programming. I want to write a program to keep some > > records. Since it is for personal use, I guess I don't need the > > expensive DB server. > > I suggest you look at alternative solutions. The IX kit in it's current > form will be discontinued and replaced by some foundation classes. If > you have EOF I suggest using it and a free SQL DB such as MiniSQL (on > the archives). For small quantities of data the simple NSDictionary > should be sufficient. -- I agree that it's not a wise idea to build applications on top of the Indexing Kit, but I disagree with the NSDictionary alternative that you are suggesting. It seems to me that the "maturity index" of NextStep objects is measured by their prefix : objects without a prefix (View, Application, Window) are very well thought out, brilliant stuff, can be relied upon. Objects with the NX prefix (NXBrowser for example) kind of work, but can sometimes be difficult to master. Foundation Kit objects (the ones with the NS prefix) are not compatible with standard Objective C objects... If you consider using an NSMutableDictionaryClassCluster (argh!), don't forget to take a look at HashTable too. - david stes@icgned.nl
Newsgroups: comp.sys.next.programmer From: gerald@kurt.in-berlin.de Subject: Re: How to get the ethernet address of a host Message-ID: <1995Aug7.145745.937@kurt.in-berlin.de> Sender: news@kurt.in-berlin.de References: <807276009.28346@objskill.demon.co.uk> <1995Aug1.134310.21331@ccc.amdahl.com> Date: Mon, 7 Aug 1995 14:57:45 GMT kjb@uts.amdahl.com (Kevin Barth) wrote: > In article <807276009.28346@objskill.demon.co.uk> objskill@objskill.demon.co.uk writes: > > In <3vippl$59i@cerberus.wsc.com>, pascal@wsc.com () writes: > > >> How can I get an ethernet address of a host in my network? > > >/Users/pascal> nidump hosts / | grep hypnos > > >198.4.126.11 hypnos > > > > That is the internet address, the ethernet address is particular to a given card. > > > > Pedantically, > > Guy Roberts. > Correct, but the answer is to run "/usr/etc/arp -a" and it will show you some hosts and ethernet addresses, along with the IP addresses. YES, but HOW to do this INTO a program WITHOUT using system() .... I try to follow arp.4 but it doesn't work. That's my problem. Gerald -- --------------------------------------------------------------------- | GERALD ERDMANN | email: gerald @ kurt.in-berlin.de (NeXTmail welcome) | voice: +49 30 372 43 10 (Germany - Berlin) | crypt: pgp2 public key available |
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-Nationwide -NeXT Development Positions Date: 7 Aug 1995 22:58:12 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <406js4$4re@newsbf02.news.aol.com> I currently have several top clients across the country, who need NeXT developers on a full-time or contract basis. NeXTSTEP/ObjectiveC/EOF - New York - to 110k + Bonus NeXTSTEP/Appkit/EOF/Sybase - New York - to 95k + Bonus NeXTSTEP/Sybase/EOF - Chicago - to 90k + Bonus NeXTSTEP/Sybase - Chicago - to 75k NeXTSTEP/Sybase/EOF- Texas - to 80k NeXTSTEP/Sybase - Washington DC/Virginia - to 80k or per diem NeXTSTEP/OO/Sybase/Appkit - Florida - to 80k or per diem NeXTSTEP/Objective-C - California - to 80k or per diem Brian Mitchell Executive Technical Recruiter Datacom Technology Group 212-629-5720 212-629-3374(FAX) E-Mail - briman101@aol.com
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: Re: Stepwise and the announce newsgroup down Date: 7 Aug 1995 21:51:12 GMT Organization: Information Technology Solutions, Inc. Message-ID: <4061sg$680@www.its.com> References: <3vu1g3$ifo@www.its.com> Hello, all: Stepwise and comp.sys.next.announce are still down as of 20:30 GMT, 7-August-1995. Scott Anguish asked me to post an update for him: "The problem is with the Bell Canada circuit. There is a remote possibility that [Scott's] CSU/DSU also got zapped, but [he] won't know for sure until things are tested at the Bell Canada end. It's going to be difficult to get Bell out Monday, since it's a state holiday." "Everything possible is being done to fix the problem." Thanks, -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: HPPA/HPUX code calling from HPPA/NS? Message-ID: <DCzF9o.1tC@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <405i2a$noq@usc.edu> Date: Tue, 8 Aug 1995 07:53:48 GMT Phillip Tokumaru writes > If possible, how can HPPA/HPUX libraries be linked and called from > HPPA/NS? In particular, I am interested in linking optimized BLAS/LAPACK > routines to an application I'm building under nextstep. > -- For this kind of thing, it would be nice to have an Objective C preprocessor at hand, in addition to NeXT's compiler (that is easier to use during development). The NextStep program, once debugged, could be translated to regular C, and then be compiled, together with your library and the Objective C runtime, by an optimizing PA-RISC compiler. There is no such preprocessor. Stepstone's is available for HP-UX but it cannot compile non-portable constructs like: @class NXImage, View; @protocol NXWorkspaceRequestProtocol (taken from appkit/workspaceRequest.h) - david stes@icgned.nl
From: pascal@galileo (Pascal Thibaudeau) Newsgroups: comp.sys.next.programmer Subject: Mesa on a NeXT Date: 8 Aug 1995 08:16:06 GMT Organization: Ecole des Mines de Nantes Message-ID: <4076g6$6m0@wfn.emn.fr> Hello, Who was already ported the Mesa 3D library for the NeXT workstation ? Thanks. -Pascal
From: jd@cs.strath.ac.uk (John W Daly) Newsgroups: comp.lang.smalltalk,comp.lang.eiffel,comp.lang.c++,comp.object,comp.lang.clos,comp.databases,comp.lang.objective-c,comp.software-eng,comp.sys.next.programmer Subject: Object-Oriented Questionnaire Survey Findings Date: 8 Aug 1995 11:19:33 +0100 Organization: Comp. Sci. Dept., Strathclyde Univ., Glasgow, Scotland. Message-ID: <407dnl$qr7@lyall-04.cs.strath.ac.uk> Early last year I posted an object-oriented questionnaire whose main aim was to investigate programming practices and differences of opinion amongst experts. The analysis of the responses to this survey has been completed and the report written. For those of you who responded to it I promised access to the results: this is now available via anonymous ftp ftp://reports-ftp.cs.strath.ac.uk/research-reports The file required is EFoCS-8-95.ps.Z and the document is entitled: Issues on the Object-Oriented Paradigm: A Questionnaire Survey Email me if you have any difficulties obtaining a copy of the report. Please don't hesitate to forward any comments you have. I apologise for the delay in making these results available. Regards, John Daly. ------------------------------------------------------------------------ John Daly Email: jd@cs.strath.ac.uk EFoCS Research Group, Phone: +44 (0)141 552 4400, x3256 Dept. of Computer Science, Fax: +44 (0)141 552 5330 University of Strathclyde, Glasgow, Scotland.
From: Karsten.Heinze@informatik.tu-chemnitz.de (Karsten Heinze) Newsgroups: comp.sys.next.programmer Subject: strdup ? Date: 8 Aug 1995 15:11:40 GMT Organization: University of Technology Chemnitz, FRG Message-ID: <407urc$bqc@pyrrhus-f.hrz.tu-chemnitz.de> I need strdup, but on NeXTSTEP there isn't. What can I do ? Thanks, Karsten --- ***************************************************************** Karsten Heinze Tel.: +49/172/3763092 Fax: +49/37296/15056 e-mail: Karsten.Heinze@informatik.tu-chemnitz.de (NeXT-Mail/MIME) *****************************************************************
Date: 8 Aug 1995 15:38:39 GMT From: Stephen Moignard <76711.1243@CompuServe.COM> Newsgroups: comp.sys.next.programmer Message-ID: <cancel.4045l4$stn$39@mhadg.production.compuserve.com> Control: cancel <4045l4$stn$39@mhadg.production.compuserve.com> Subject: cmsg cancel <4045l4$stn$39@mhadg.production.compuserve.com> EMP/ECP (aka SPAM) cancelled by clewis@ferret.ocunix.on.ca. See news.admin.net-abuse.announce, report 19950808.15 for further details
From: nextjet@ids.net Newsgroups: comp.sys.next.programmer Subject: Reg Nitro Board Date: Tue, 8 Aug 95 12:33:03 +500 Organization: IDS World Network Internet Access Service, (800)IDS-1680 Message-ID: <4083m3$4e7@paperboy.ids.net> Anyone out there interested in selling their nitro I'm a taker.
From: juergen@eskimo.bb.bawue.de Newsgroups: comp.sys.next.programmer Subject: browser Date: 8 Aug 1995 15:26:17 GMT Organization: "private site" Message-ID: <407vmp$98@eskimo.eskimo.bb.bawue.de> Hi, I have a very urgent problem. I have text stored in a variable data[256][100] and I have a browser (the simple one from the IB). How do I manage to display the single rows from data[][] in the browser and get a selected (only one needed) row back. Please be as detailed as possible because I don't have very much knowledge of c++. Thank you very much in advance! --- Juergen _______________________________________________________________________ Juergen Grieb juergen@eskimo.bb.bawue.de NeXTMail welcome Picard: Well, five-card stud, nothing wild - and the sky's the limit...
From: fflak@aurora.alaska.edu (KELLY ALONZO H) Newsgroups: comp.sys.next.programmer Subject: How to write fax driver? Date: 8 Aug 1995 18:40:09 GMT Organization: University of Alaska Computer Network Message-ID: <408b29$43m@news.alaska.edu> Keywords: fax modem driver mgetty NXFax How does NeXTStep faxing work? NeXTStep appears to support sending and receiving faxes. There is a FaxReader application, and the Print panel has a fax button. PrintManager allows you to create entries for fax modems. However, NextAnswers say that, in order to send and receive faxes, you need a special driver for your particular fax modem. They give a couple of commercial vendors for such a driver. One of these, Black and White Software (NXFax), has a demo on the archives that supports sending single pages, but not receiving--you need a license key to find out if your modem/system combo will receive. Anyhow, I prefer not to have third-party software watching my modem port if I don't have the source code. There are several freely available examples of fax software, notably am (NeXT answering machine for ZyXEL fax/voice modems which receives, but does not send, faxes), mgetty and sendfax (generic UNIX). These seem to provide a solid foundation for a freely available "driver" to work with the NeXTStep software. But, I cannot find any documentation describing how such a driver should be organized and linked, how it is called by the Print panel, how (or if) it monitors the serial port, and how it should format faxes for FaxReader. If anyone could point me to the relevant documentation or how to get it from NeXT, I would appreciate it. Thanks Lon Kelly fflak@aurora.alaska.edu
From: rragner@stingray.vm.iastate.edu (Rod Ragner) Newsgroups: comp.sys.next.programmer Subject: Re: strdup ? Date: 8 Aug 1995 19:15:07 GMT Organization: Iowa State University, Ames, Iowa Message-ID: <408d3r$b9f@news.iastate.edu> References: <407urc$bqc@pyrrhus-f.hrz.tu-chemnitz.de> In article <407urc$bqc@pyrrhus-f.hrz.tu-chemnitz.de> Karsten.Heinze@informatik.tu-chemnitz.de (Karsten Heinze) writes: > I need strdup, but on NeXTSTEP there isn't. > What can I do ? > > Thanks, > Karsten > > --- > ***************************************************************** > Karsten Heinze > Tel.: +49/172/3763092 > Fax: +49/37296/15056 > e-mail: Karsten.Heinze@informatik.tu-chemnitz.de (NeXT-Mail/MIME) > ***************************************************************** Karsten, You could write your own... char *strdup(const char *str) { char *dup; dup = malloc(strlen(str) + 1); strcpy(dup, str); return dup; } -- Rod Ragner, UNIX Systems Administrator/NEXTSTEP Application Developer Veterinary Diagnostic Laboratory, College of Veterinary Medicine, Iowa State University, 2630 Vet. Med. Bldg., Ames, Iowa 50011 Voice: (515) 294-4751, FAX: (515) 294-6961 or 3564, (NeXT Mail accepted) Email: rragner@stallion.vm.iastate.edu or stryder@iastate.edu
From: steel456@aol.com (Steel456) Newsgroups: comp.sys.next.programmer Subject: NEXT-NYC and CT Date: 8 Aug 1995 15:25:24 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <408dn4$gj4@newsbf02.news.aol.com> Hi, I am not sure if this is the right place for this posting, hope I dont offend anyone. My best client has asked us to search for Next Programmers through Project Managers. Candidates who have strong Object Oriented experience but no Next will be considered. We also are recruiting for similar positions in southern Connecticut. Please call us at 800-662-9797. Candidates must have at least a green card. Thanks for your time. Bruce at CRA
Newsgroups: comp.graphics.api.misc,comp.groupware,comp.msdos.programmer,comp.org.acm,comp.os.linux.development,comp.os.ms-windows.programmer.tools,comp.os.msdos.programmer,comp.os.os2.programmer.tools,comp.programming,comp.soft-sys.app-builder.uniface,comp.software-eng,comp.sys.mac.programmer.tools,comp.sys.next.programmer,comp.windows.misc,comp.windows.ms.programmer,comp.windows.open-look,comp.windows.ui-builders.teleuse,comp.windows.ui-builders.uimx,mn.general From: Breece@dicomed.com (Silverlock) Subject: ``In-Search-Of'' comparison of Cross Plat. GUI Builders. Message-ID: <Breece-0808951030070001@dimple.dicomed.com> Sender: usenet@cdsmn.mn.org (usenet) Organization: Dicomed, Inc Date: Tue, 8 Aug 1995 14:28:39 GMT *** E-MAIL RESPONCES ONLY, PLEASE, THANK YOU *** I'm looking for a comprehensive, in-depth (truthful?) comparison of various cross-platform GUI builder environments. Such as Galaxy, Zinc's FrameWork, Zapp, etc... If there is an FTP site that happens to compile such info., that would be even better. Thank you for your time, trouble, and system space
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: browser Message-ID: <zazulaDD0DJv.Eoy@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <407vmp$98@eskimo.eskimo.bb.bawue.de> Date: Tue, 8 Aug 1995 20:14:19 GMT Sender: zazula@netcom.netcom.com In article <407vmp$98@eskimo.eskimo.bb.bawue.de> juergen@eskimo.bb.bawue.de writes: >Hi, > >I have a very urgent problem. I have text stored in a variable >data[256][100] and I have a browser (the simple one from the IB). How do I >manage to display the single rows from data[][] in the browser > Hi - You should download a copy of the "NormalBrowser" MiniExample (available from ftp.next.com). It shows how to display rows of data using the NXBrowser. The key elements are to become the NXBrowser's delegate (a connection in IB) and implement the method -browser:fillMatrix:inColumn: > and get a selected (only one needed) row back. > There are a few ways to do this, depending on when you need to know about the selectioin. You can find out right when the user clicks on an entry by making your object the "target" of the browser (settable in IB) and implementing an "action" method to respond to the single-click. >Please be as detailed as possible >because I don't have very much knowledge of c++. Well, you're in luck (I suppose...). The NeXT programming environment is based on ObjectiveC, not C++... Ralph --- Ralph Zazula zazula@netcom.com
Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.infosystems.www.browsers.misc From: mfradkin@next.mrco.carleton.ca (Mikhail Fradkin) Subject: How to change font in OmniWeb? Message-ID: <DD0BKu.21M@cunews.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: Carleton University Date: Tue, 8 Aug 1995 19:31:41 GMT Hi, I'd like to browse some HTML documents in different languages, so I need to change the font in OmniWeb. There is no Format/Font panel in OmniWeb menu and usual Cmnd-t does not work. Any advice? Is there any other browsers for `black' NeXT 3.0 which are able to change the font in the HTML document window? Thanks, Michael
From: juhani.polvinen@fmi.fi (Juhani Polvinen) Newsgroups: comp.graphics.api.misc,comp.groupware,comp.msdos.programmer,comp.org.acm,comp.os.linux.development,comp.os.ms-windows.programmer.tools,comp.os.msdos.programmer,comp.os.os2.programmer.tools,comp.programming,comp.soft-sys.app-builder.uniface,comp.software-eng,comp.sys.mac.programmer.tools,comp.sys.next.programmer,comp.windows.misc,comp.windows.ms.programmer,comp.windows.open-look,comp.windows.ui-builders.teleuse,comp.windows.ui-builders.uimx,mn.general Subject: Re: ``In-Search-Of'' comparison of Cross Plat. GUI Builders. Date: Wed, 09 Aug 1995 06:40:42 GMT Organization: Finnish Meteorological Institute Message-ID: <408ii4$77n@kronos.fmi.fi> References: <Breece-0808951030070001@dimple.dicomed.com> Breece@dicomed.com (Silverlock) wrote: >*** E-MAIL RESPONCES ONLY, PLEASE, THANK YOU *** >I'm looking for a comprehensive, in-depth (truthful?) comparison of >various cross-platform GUI builder environments. Such as Galaxy, Zinc's >FrameWork, Zapp, etc... >If there is an FTP site that happens to compile such info., that would be >even better. >Thank you for your time, trouble, and system space Please do no E-mail only. Our institute is "desperately seeking" the best cross-platform builder. XVT seems great , Galaxy looks better yet but expensive, Wind/U is good but has not MOTIF look and feel. Yes, I have PIGUI faq but what we need is real world experiences. Good and bad. Thank you Juhani Finnish Meteorological Intitute
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 7 Aug 1995 04:15:13 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <40440h$480@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: uli@zoodle.robin.de (Ulrich Grepel) Newsgroups: comp.sys.next.programmer Subject: Re: How to use IB with its limiting Unparse command? Date: 5 Aug 1995 19:34:43 GMT Organization: meow!!! (private site) Distribution: world Message-ID: <400h4j$j3@zoodle.RoBIN.de> References: <199507312208.AAA18296@ns.ms.mff.cuni.cz> Hi! Ondra Cada writes > Well, I personally would prefer slightly another paradigm: > > The IB would be project master (instead of the PB). It will store > all the @interfaces in its own, encoded form (of course including > the documentation :))), and it will open the editor windows to enter > only method implementation for objects, prepared in the IB. This sounds like VisualBasic or Delphi to me. Whenever I have to do some work with VB, I hate it that there's no easy way to look at *all* your code. I always wonder "where's this?" and "where's that?", so I somehow don't like the paradigm that each and every function/method/whatever is located in a different 'file' (quotes here, because on low-level all those functions are still in a single text file, only the editor doesn't display them as such). Bye, Uli
Newsgroups: comp.sys.next.programmer From: gerald@instep.bc.ca (Gerald Guterrez) Subject: DBKit examples ? Message-ID: <1995Aug8.232432.1681@instep.bc.ca> Sender: usenet@instep.bc.ca (usenet) Organization: InStep Mobile Communications Inc. Date: Tue, 8 Aug 1995 23:24:32 GMT Hi everyone. I've recently been getting into DBKit and have played with the functionality that can be achieved within the Interface Builder. However, I'd like some functional examples of programs which use the other DB objects as well such as the DBQualifier and DBRecordList and so on so that I can get an idea as to how they're supposed to be used. That said, would anyone know of a site where I might be able to get some sample code, or some information that would help me get started ? The online document provides me of a good overview, but I'd really like a functional program to look at. Thanks for any help.
From: root@rtcc_server.globalx.net (RADium Technology Centre (Canada)) Newsgroups: comp.sys.next.programmer Subject: Re: strdup ? Date: 9 Aug 1995 00:47:11 GMT Organization: Global-X-Change Message-ID: <4090if$sa@news.globalx.net> References: <407urc$bqc@pyrrhus-f.hrz.tu-chemnitz.de> <408d3r$b9f@news.iastate.edu> rragner@stingray.vm.iastate.edu (Rod Ragner) wrote: > In article <407urc$bqc@pyrrhus-f.hrz.tu-chemnitz.de> > Karsten.Heinze@informatik.tu-chemnitz.de (Karsten Heinze) writes: > > I need strdup, but on NeXTSTEP there isn't. > > What can I do ? > > > > Thanks, > > Karsten > > > > --- > > ***************************************************************** > > Karsten Heinze > > Tel.: +49/172/3763092 > > Fax: +49/37296/15056 > > e-mail: Karsten.Heinze@informatik.tu-chemnitz.de (NeXT-Mail/MIME) > > ***************************************************************** > Karsten, > You could write your own... > char *strdup(const char *str) { > char *dup; > dup = malloc(strlen(str) + 1); > strcpy(dup, str); > return dup; > } > -- > Rod Ragner, UNIX Systems Administrator/NEXTSTEP Application Developer > Veterinary Diagnostic Laboratory, College of Veterinary Medicine, > Iowa State University, 2630 Vet. Med. Bldg., Ames, Iowa 50011 > Voice: (515) 294-4751, FAX: (515) 294-6961 or 3564, (NeXT Mail accepted) > Email: rragner@stallion.vm.iastate.edu or stryder@iastate.edu Or, you could link using the -ansi flag, which allows access to the ANSI-C standard functions. Hope this helps!! Stephen MacDougall -- ============================================================================ | | | | RADium Technology Centre (Canada) | #include <std_disclaimer.h> | | radium@globalx.net | | | | (NeXTMail and MIME capable) | ============================================================================
From: tfs@gravity.science.gmu.edu ( Tim) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.bugs,comp.sys.next.software,comp.sys.next.misc Subject: Re: Can NEXTSTEP disks be repaired? (need help desparately) Followup-To: comp.sys.next.bugs Date: 6 Aug 1995 10:13:37 GMT Organization: George Mason University, Fairfax Va. Sender: tfs@gravity.science.gmu.edu Message-ID: <4024kh$654@portal.gmu.edu> References: <3vasik$o5l@server.cs.vt.edu> <OTTO.95Jul31155259@tukki.jyu.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Summary: use disk (eww) The "disk" program has a non-destructive option to search for backup, or alternate blocks. It's the best option to start the recovery process... I will refrain from ranting about "disk"'s other grevious faults, NeXT hasn't fixed them, even thoug they've known for years what they are and I doubt they ever will... (and if you're at NeXT going "I donut know, no one told me" mail me and I'll elaborate in a nice way.) Tim -- ________________________________________________________________ tfs@vampire.science.gmu.edu (NeXTmail) Tim Scanlon George mason University Public Affairs I speak for myself, but often claim demonic posession
From: root@rtcc_server.globalx.net (RADium Technology Centre (Canada)) Newsgroups: comp.sys.next.programmer Subject: Re: strdup ? Date: 9 Aug 1995 07:11:25 GMT Organization: Global-X-Change Message-ID: <409n2t$2vq@news.globalx.net> References: <407urc$bqc@pyrrhus-f.hrz.tu-chemnitz.de> <408d3r$b9f@news.iastate.edu> <4090if$sa@news.globalx.net> root@rtcc_server.globalx.net (RADium Technology Centre (Canada)) wrote: > rragner@stingray.vm.iastate.edu (Rod Ragner) wrote: > > In article <407urc$bqc@pyrrhus-f.hrz.tu-chemnitz.de> > > Karsten.Heinze@informatik.tu-chemnitz.de (Karsten Heinze) writes: > > > I need strdup, but on NeXTSTEP there isn't. > > > What can I do ? > > > > > > Thanks, > > > Karsten > > > > > > --- > > > ***************************************************************** > > > Karsten Heinze > > > Tel.: +49/172/3763092 > > > Fax: +49/37296/15056 > > > e-mail: Karsten.Heinze@informatik.tu-chemnitz.de (NeXT-Mail/MIME) > > > ***************************************************************** > > Karsten, > > You could write your own... > > char *strdup(const char *str) { > > char *dup; > > dup = malloc(strlen(str) + 1); > > strcpy(dup, str); > > return dup; > > } > > -- > > Rod Ragner, UNIX Systems Administrator/NEXTSTEP Application Developer > > Veterinary Diagnostic Laboratory, College of Veterinary Medicine, > > Iowa State University, 2630 Vet. Med. Bldg., Ames, Iowa 50011 > > Voice: (515) 294-4751, FAX: (515) 294-6961 or 3564, (NeXT Mail accepted) > > Email: rragner@stallion.vm.iastate.edu or stryder@iastate.edu > Or, you could link using the -ansi flag, which allows access to the ANSI-C > standard functions. > Hope this helps!! > Stephen MacDougall My answer, stated above, is totally out to lunch!! What must I have been thinging?? I thought that strdup was included with NeXTStep, but alas, it isn't. I thought that I had better correct myself, before someone else did!! ]-) Here's an example of another way to duplicate a string: #include <stdio.h> main() { char *string1, *string2; string1="This is a test"; string2=string1; printf ("String1 is: '%s'\n",string1); printf ("String2 is: '%s'\n",string2); } As this shows, strings can be simply assigned to create the desired result. Stephen MacDougall -- ============================================================================ | | | | RADium Technology Centre (Canada) | #include <std_disclaimer.h> | | radium@globalx.net | | | | (NeXTMail and MIME capable) | ============================================================================
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: browser Message-ID: <DD1904.46A@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <407vmp$98@eskimo.eskimo.bb.bawue.de> Date: Wed, 9 Aug 1995 07:33:39 GMT juergen@eskimo.bb.bawue.de writes > How do I manage to display the single rows from data[][] in the browser > and get a selected (only one needed) row back. -- You can use the NXBrowser object. You have to implement a delegate object to fill the browser with data. I find the "lazy" delegates to be easier to implement than the "normal" one. This is also mentioned in the documentation, but I still had the reflex to choose for the "normal" delegate first (thinking that the default choice would be the easiest to implement). Suppose you have an outlet (set in IB) to "aBrowser" with the delegate set to an object of your own fabrication, with the "target" set to the same object and action set to a method, called for example, "-browserClick:". From initialization, e.g. -appDidInit, I call -setUpBrowser - setUpBrowser { assert([aBrowser delegate] == self && [aBrowser target] == self); [aBrowser getTitleFromPreviousColumn:NO]; [aBrowser setMinColumnWidth:1]; [aBrowser setMaxVisibleColumns:3]; [aBrowser setMinColumnWidth:50]; [aBrowser loadColumnZero]; return self; } If you call -getTitleFromPreviousColumn: then you will receive -browser:titleOfColumn: messages. - (const char *)browser:sender titleOfColumn:(int)column { assert(sender == aBrowser); switch(column) { case 0 : return "Chapter"; case 1 : return "Category"; case 2 : return "Section"; default : return ""; } } Sometimes "column" seems to be set to -1, so I implement a default value in the switch. Then you also implement the method, - (int)browser:sender getNumRowsInColumn:(int)column { assert(sender == aBrowser); switch(column) { ... } } to return the number of rows in a given column. You probably want to find out what row was selected in the *previous* column, you can use [[aBrowser matrixInColumn:column - 1] selectedRow] for that. Finally, you implement - browser:sender loadCell:aCell atRow:(int)row inColumn:(int)column { } to set the attributes of "aCell". If your "data" array contains string values you can use [aCell setStringValue:] or [aCell setStringValueNoCopy:]. You also use -setLoaded: and -setLeaf: and perhaps -setEnabled:. If you want some other "action" to be performed when the user is clicking in the browser, then implement - browserClick:sender { } to do whatever is needed. You find the selected row and column again by [aBrowser selectedColumn] and [[aBrowser matrixInColumn:aColumn] selectedRow]. The column might be -1. - david stes@icgned.nl
From: NXImage & Distributed Objects (Kamal Bennani) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <409udd$g78@midgard.calvacom.fr> Control: cancel <409udd$g78@midgard.calvacom.fr> Date: 9 Aug 1995 09:17:30 GMT Organization: CalvaNet Message-ID: <409ufa$g78@midgard.calvacom.fr> cancel
From: ³º Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <409uje$g78@midgard.calvacom.fr> Control: cancel <409uje$g78@midgard.calvacom.fr> Date: 9 Aug 1995 09:20:05 GMT Organization: CalvaNet Message-ID: <409uk5$g78@midgard.calvacom.fr> cancel
From: 35 Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <409ul2$g78@midgard.calvacom.fr> Control: cancel <409ul2$g78@midgard.calvacom.fr> Date: 9 Aug 1995 09:21:08 GMT Organization: CalvaNet Message-ID: <409um4$g78@midgard.calvacom.fr> cancel
From: € Newsgroups: comp.sys.next.programmer Subject: NXImage & Distributed Objects Date: 9 Aug 1995 09:22:25 GMT Organization: CalvaNet Message-ID: <409uoh$g78@midgard.calvacom.fr> Reply: kb10@calvanet.calvacom.fr Hi there. I have a problem with NXImage and Distributed Objects. Well, my goal is to display the same NXImage in two views: the server's one and the client's one. I tried to access NXImages via proxies but even though the client's view was "lockFocused" , the image appears in the server's view. I tried something else by using NXBitmapImageRep. I tried to make a copy of the NXBitmapImageRep on the client side. The NXBitmapImageRep was encapsulated in an NXData object and then send to the client through the method: - (oneway void) useABitmapImage:(bycopy in id)aBitmapImageData. The image is indeed copied but it seems like I have no access to the bitmap data. Did I forget to do something? Can someone help? It would be great. Best regards, Kamal Bennani MVCD (Medical Science & Communication) 11, rue Ferdinand Duval 75004 Paris FRANCE Tel. : +33 (1) 44 78 82 67 Fax : +33 (1) 44 78 82 61 kb10@calvanet.calvacom.fr (NeXTMAIL, MIME OK)
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Re: Functions as Instance Variables in Obj-C Date: 9 Aug 1995 04:40:09 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508090934.LAA17022@ns.ms.mff.cuni.cz> References: <3vtcks$onc@zip.eecs.umich.edu> In comp.sys.next.programmer article <3vtcks$onc@zip.eecs.umich.edu> gwu@dip.eecs.umich.edu (Gwobaw A. Wu) wrote: > New to the Objective-C language, I've come across the following problem > as I'm converting a C++ class to a corresponding Objective-C class. > > The C++ class has as one of its instance variables a function of type > char *foo(int). I couldn't figure out how to declare this as a Objective- > C instace variable. > > Does anyone know how to do this? 1) The NeXT compiler is able to translate C++ programs. I have never used C++, so I cannot be more precise; but you should be able to port your sources directly using C++, with no or only minor changes. 2) Should you want to really transfer the source to 'pure' Objective C, I would recommend to replace such functions by objects. If not appropriate, you have to use plain C feature - the function pointer. For example: #import <stdio.h> #import <stdlib.h> #import <objc/Object.h> static char *fnc(int i) { static char test[]="0123456789"; return test+i; } @interface Foo:Object { char *(*foo)(int); // type (*id)() is function ptr } -(char*)foo:(int)i; @end @implementation Foo -init // set the function ptr { [super init]; foo=fnc; // <---- return self; } -(char*)foo:(int)i // use the function { return foo(i); // <---- } @end void main(int argc,char **argv) { id foo=[[Foo alloc] init]; printf("%d => %s\n",atoi(argv[1]),[foo foo:atoi(argv[1])]); } -- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK
From: Sven Rieke <sr@frej.teknikum.uu.se> Newsgroups: comp.sys.next.programmer Subject: Problem with findText:... Date: 9 Aug 1995 10:12:56 GMT Organization: University of Uppsala, Sweden Message-ID: <40a1n8$pns@columba.udac.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have trouble with the following piece of code I use in a delegate instance of the Text class. - textDidEnd:sender endChar:(unsigned short)whyEnd { ... if ( ![sender findText:&aText[1] ignoreCase:NO backwards:YES wrap:NO ] ) { ... } ... } aText is a zero terminated string. It works fine if the aText string is found, but if the string is not found I got a: Program generated(1): Memory access exception on address 0x0 (protection failure). What am I doing wrong?
From: nurban@csugrad.cs.vt.edu (Nathan Urban) Newsgroups: comp.sys.next.programmer Subject: Re: strdup ? Date: 9 Aug 1995 09:46:50 -0400 Organization: Virginia Polytechnic Institute and State University Message-ID: <40ae8a$89n@csugrad.cs.vt.edu> References: <407urc$bqc@pyrrhus-f.hrz.tu-chemnitz.de> <408d3r$b9f@news.iastate.edu> <4090if$sa@news.globalx.net> <409n2t$2vq@news.globalx.net> In article <409n2t$2vq@news.globalx.net>, root@rtcc_server.globalx.net (RADium Technology Centre (Canada)) wrote: > Here's an example of another way to duplicate a string: > #include <stdio.h> > > main() > { > char *string1, *string2; > > string1="This is a test"; > string2=string1; > printf ("String1 is: '%s'\n",string1); > printf ("String2 is: '%s'\n",string2); > } > As this shows, strings can be simply assigned to create the desired result. You have to be very, very careful of the circumstances under which you do this. I spent hours and hours on a programming assignment tracking down the weirdest bug, which was due to doing string assignment instead of strdup(). The problem with this technique is that since string2 just points to string1, changing the contents of one string will change the contents of the other. Very frequently this is _not_ a desired effect. -- ----------------------------------------------------------------------------- Nathan Urban | e-mail: nurban@mail.vt.edu Undergraduate {CS,Physics}, Virginia Tech | -----------------------------------------------------------------------------
From: peter@bert.psyc.upei.ca Newsgroups: comp.sys.next.programmer Subject: Re: strdup ? Date: 9 Aug 1995 13:58:25 GMT Organization: University of Prince Edward Island, Charlottetown, PEI Canada Message-ID: <40aeu1$m48@atlas.cs.upei.ca> References: <407urc$bqc@pyrrhus-f.hrz.tu-chemnitz.de> Karsten.Heinze@informatik.tu-chemnitz.de (Karsten Heinze) wrote: > I need strdup, but on NeXTSTEP there isn't. > What can I do ? > Thanks, > Karsten You could use strcpy. Peter -- Peter 'Beaker' Burka / GCS d--- h---- s+ g+ p? au a- w+ v++ C++ UL++++/X+++/ Prince Edward Island \ O++ P+ L+>++ 3 N++ K++ W++/--- M- V-\ po-- Y+ t+ 5- pburka@upei.ca / v b+++ D++ b- e+(*) u--- h* f- r- n- y-@ j++ r-- "If only we were weiner dogs our problems would be all solved"
From: deh@atype.com (David E. Hollingsworth) Newsgroups: comp.sys.next.programmer Subject: POSIX strftime() requires appkit? Date: 09 Aug 1995 13:43:20 -0400 Organization: Archetype, Inc. Message-ID: <dehznaexx7fdow8@titan.atype.com> I've had a bit of trouble compiling a C program with -posix on my NS3.2 box, both when using cc and gcc 2.7.0. I'm not doing anything extraordinary; here is a test program that illustrates the problem: #include <stdio.h> #include <time.h> int main() { char foo[512]; strftime(foo, sizeof(foo), "%m/%d/%y", localtime(NULL)); printf("%s\n", foo); return 0; } The commandline essentially looks like this: gcc -g -Wall -D__USE_FIXED_PROTOTYPES__ -posix -o myprog myprog.c At link time: ld: Undefined symbols: _objc_msgSend _NXGetDefaultValue _NXRegisterDefaults .objc_class_name_NXStringTable .objc_class_name_NXBundle Since my program contains no Objective C code, the problem must be with a library. It is easy to verify (via nm) that the offending function is strftime() in libposix.a. I can grab an implementation of strftime() from somewhere else, but--urk--I'd rather like to be able to compile POSIX programs on my NeXT without modification. David E. Hollingsworth deh@atype.com
From: charlie@snowflake.az.stratus.com Newsgroups: comp.sys.next.programmer Subject: Re: How to change font in OmniWeb? Date: 9 Aug 1995 19:18:21 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <40b1lt$4gs@transfer.stratus.com> References: <DD0BKu.21M@cunews.carleton.ca> In article <DD0BKu.21M@cunews.carleton.ca> mfradkin@next.mrco.carleton.ca (Mikhail Fradkin) writes: > Hi, > > I'd like to browse some HTML documents in different languages, so > I need to change the font in OmniWeb. There is no Format/Font panel > in OmniWeb menu and usual Cmnd-t does not work. > > Any advice? > > Is there any other browsers for `black' NeXT 3.0 which are able to > change the font in the HTML document window? > > Thanks, > > Michael The dwrites are: dwrite OmniWeb FixedPitchRTFFont <name> dwrite OmniWeb NormalRTFFont <name> dwrite OmniWeb TitleRTFFont <name> dwrite OmniWeb FixedPitchRTFFontSize <number> dwrite OmniWeb NormalRTFFontSize <number> dwrite OmniWeb TitleRTFFontSize <number> They promised that there would be a font panel in the next version, rsn. -- Charles Spitzer charlie@snowflake.az.stratus.com Customer Assistance Center Stratus Computer, Inc. Phoenix, AZ 85018
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Wed, 9 Aug 95 19:34:14 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9508091734.AA03501@flexus> Subject: Re: strdup ? Stephen MacDougall writes: > Or, you could link using the -ansi flag, which allows > access to the ANSI-C standard functions. strdup is not an ANSI-C standard function, only an example (according to my Kernighan&Richie 2nd. ed.). And even if it were ANSI, it would be available without the -ansi flag as well. Pick up your K&R manual and copy the example (p. 143, I think). Rod Ragner's solution lacks a test for the value returned by malloc, although that would only fail if virtual memory (of which there is only a few GB) is exhausted. Stephen MacDougall's second advice (simple assignment) has limited applicability: the original string must be guaranteed to continue to exist, and any changes to it also affect the ``copy'', which is really an alias. Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: robertn@seahawk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <h2ybx225pq.fsf@seahawk> Control: cancel <h2ybx225pq.fsf@seahawk> Date: 09 Aug 1995 13:32:06 -0700 Organization: McCaw Cellular Communications, Inc. Sender: robertn@seahawk Message-ID: <h2wxcm24zd.fsf@seahawk> This is a cancel message from robertn@seahawk (Robert Nicholson). -- The views and opinions expressed in this article are those of the poster and not his employer.
From: pascal@galileo (Pascal Thibaudeau) Newsgroups: comp.sys.next.programmer Subject: Mesa 3D Library Date: 2 Aug 1995 18:27:29 GMT Organization: CRIBX1 , Universite de Bordeaux I , France Message-ID: <3vog2h$lek@serveur.cribx1.u-bordeaux.fr> Hello everybody, Who has already ported the Mesa 3D Library on a NeXT Workstation ? Thanks.
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: strdup ? Message-ID: <DD2K7x.C9w@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <40aeu1$m48@atlas.cs.upei.ca> Date: Thu, 10 Aug 1995 00:33:33 GMT Karsten.Heinze@informatik.tu-chemnitz.de (Karsten Heinze) wrote: >> I need strdup, but on NeXTSTEP there isn't. peter@bert.psyc.upei.ca wrote > You could use strcpy. strcpy() != strdup() // strdup() malloc's the correct amount of space first my mail suggestion to Karsten (who wanted "portable" code) was #ifdef NeXT #define strdup(s) NXCopyStringBuffer(s) #endif -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
Newsgroups: comp.sys.next.programmer From: pemmerik@solair1.inter.NL.net (P.J.L. van Emmerik) Subject: PDO experince on HP-UX Message-ID: <DD31K7.M2p@inter.NL.net> Sender: news@inter.NL.net (News at news) Organization: Holec Projects Date: Thu, 10 Aug 1995 06:48:06 GMT I think of using PDO on HP-UX. Has anyone experince using PDO on HP-UX? Does it work well? How stable is the product? Any difficulties with PDO i should know of? Please replay by E-Mail: pemmerik@solair1.inter.NL.net
Newsgroups: comp.sys.next.programmer From: saty@next2.togliatti.su (S.A. TsYbanov) Subject: Re: How to get the ethernet address of a host Message-ID: <DD3EpH.BEJ@ladem.tlt.ru> Sender: usenet@ladem.tlt.ru (Mr. Usenet) Organization: JV Ladem References: <1995Aug7.145745.937@kurt.in-berlin.de> Date: Thu, 10 Aug 1995 11:32:05 GMT In article <1995Aug7.145745.937@kurt.in-berlin.de> gerald@kurt.in-berlin.de writes: > kjb@uts.amdahl.com (Kevin Barth) wrote: > > In article <807276009.28346@objskill.demon.co.uk> > objskill@objskill.demon.co.uk writes: > > > In <3vippl$59i@cerberus.wsc.com>, pascal@wsc.com () writes: > > > >> How can I get an ethernet address of a host in my network? > > > >/Users/pascal> nidump hosts / | grep hypnos > > > >198.4.126.11 hypnos > > > > > > That is the internet address, the ethernet address is particular to a > given card. > > > > > > Pedantically, > > > Guy Roberts. > > > Correct, but the answer is to run "/usr/etc/arp -a" and it will show you > some hosts and ethernet addresses, along with the IP addresses. > > YES, but HOW to do this INTO a program WITHOUT using system() .... I try to > follow arp.4 but it doesn't work. That's my problem. > > Gerald > -- > > --------------------------------------------------------------------- > | GERALD ERDMANN > | email: gerald @ kurt.in-berlin.de (NeXTmail welcome) > | voice: +49 30 372 43 10 (Germany - Berlin) > | crypt: pgp2 public key available > | If you are a SUPER USER or you have read permission for /dev/kmem then try: #include<nlist.h> main(){ int s; static char kernel[]="/mach"; static char kmem[]="/dev/kmem"; char puh[6]; static struct nlist n[]= { {"_etheraddr"}, {(char *) 0} }; if( nlist(kernel, n) != 0) perror("Tell me WHY ?????"), exit(1); printf("OK 0x%x\n", n->n_value); s= open(kmem, 0); if(s < 0) perror("Kmem"), exit(1); if( lseek( s, n->n_value, 0) < 0) perror("seek"), exit(1); if( read(s, puh, sizeof puh) < sizeof puh) perror("read"); close(s); for(s=0;s<6;s++) printf("%x%c", puh[s]&0xff, s==5?'\n':':'); }
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Problem with findText:... Date: Thu, 10 Aug 95 07:58:57 GMT Organization: Cedar Systems Message-ID: <808041537snz@cedar.demon.co.uk> References: <40a1n8$pns@columba.udac.uu.se> Sven, We had a similar problem some time ago when we were putting together a find panel. We could not find the source of the problem and assumed it must be a Text bug. We did, however, get a work around - and it was connected with ensuring a selection had been made in a Text object prior to invoking the method. Sorry I don't have the source to hand to give you exact details of the workaround. Paul.
Newsgroups: comp.sys.next.programmer From: saty@next2.togliatti.su (S.A. TsYbanov) Subject: Re: How to get the ethernet address of a host Message-ID: <DD3KCp.Dtt@ladem.tlt.ru> Sender: usenet@ladem.tlt.ru (Mr. Usenet) Organization: JV Ladem References: <DD3EpH.BEJ@ladem.tlt.ru> Date: Thu, 10 Aug 1995 13:34:01 GMT In article <DD3EpH.BEJ@ladem.tlt.ru> saty@next2.togliatti.su (S.A. TsYbanov) writes: > In article <1995Aug7.145745.937@kurt.in-berlin.de> > gerald@kurt.in-berlin.de writes: > > kjb@uts.amdahl.com (Kevin Barth) wrote: > > > In article <807276009.28346@objskill.demon.co.uk> > > objskill@objskill.demon.co.uk writes: > > > > In <3vippl$59i@cerberus.wsc.com>, pascal@wsc.com () writes: > > > > >> How can I get an ethernet address of a host in my network? > > > > >/Users/pascal> nidump hosts / | grep hypnos > > > > >198.4.126.11 hypnos > > > > > > > > That is the internet address, the ethernet address is > particular to a > > given card. > > > > > > > > Pedantically, > > > > Guy Roberts. > > > > > Correct, but the answer is to run "/usr/etc/arp -a" and it will > show you > > some hosts and ethernet addresses, along with the IP addresses. > > > > YES, but HOW to do this INTO a program WITHOUT using system() ... > I try to > > follow arp.4 but it doesn't work. That's my problem. > > > > Gerald > > -- > > > > > --------------------------------------------------------------------- > > | GERALD ERDMANN > > | email: gerald @ kurt.in-berlin.de (NeXTmail welcome) > > | voice: +49 30 372 43 10 (Germany - Berlin) > > | crypt: pgp2 public key available > > | > > If you are a SUPER USER or you have read permission for /dev/kmem > then try: > > #include<nlist.h> > main(){ > int s; > static char kernel[]="/mach"; > static char kmem[]="/dev/kmem"; > char puh[6]; > static struct nlist n[]= { > {"_etheraddr"}, > {(char *) 0} > }; > > if( nlist(kernel, n) != 0) perror("Tell me WHY ?????"), exit(1); > printf("OK 0x%x\n", n->n_value); > s= open(kmem, 0); > if(s < 0) perror("Kmem"), exit(1); > if( lseek( s, n->n_value, 0) < 0) > perror("seek"), exit(1); > if( read(s, puh, sizeof puh) < sizeof puh) > perror("read"); > close(s); > for(s=0;s<6;s++) > printf("%x%c", puh[s]&0xff, s==5?'\n':':'); > } Big pardon B-)!!! The previos program to determine address of local host only. The following program reads the arp table of your local host and seek a wanted address: #include<sys/types.h> #include<sys/socket.h> #include<netinet/in.h> #include<sys/ioctl.h> #include<net/if.h> #include<errno.h> #include<netdb.h> static void print_ether(addr) char addr[6]; { int s; if( addr==( char *)0) puts("0:0:0:0:0:0"); else for( s=0; s< 6;s++) printf("%x%c", addr[s]&0xff, (s==5?'\n':':')); } static char * ether_addr( name) char *name; { static char ret[6]; struct arpreq a; struct hostent *h; struct sockaddr_in *p; int s; h= gethostbyname(name); if( h== ( struct hostent *)0) return (char *)0; s= socket( AF_INET, SOCK_DGRAM, 0); if( 0 > s) return (char *)0; p= ( struct sockaddr_in *) &(a.arp_pa); bzero( p, sizeof *p); p->sin_family= AF_INET; bcopy(h->h_addr, &(p->sin_addr.s_addr), h->h_length); if( ioctl(s, SIOCGARP, &a) < 0) return close(s), (char *)0; close(s); bcopy( a.arp_ha.sa_data, ret, sizeof ret); return ret; } void main(argc, argv) char **argv; { if( argc==1) puts("AAAAAARRRRGGGGHHHhh......."), exit(14); print_ether(ether_addr(argv[1])); }
From: nurban@csugrad.cs.vt.edu (Nathan Urban) Newsgroups: comp.sys.next.programmer Subject: Re: strdup ? Date: 10 Aug 1995 10:51:36 -0400 Organization: Virginia Polytechnic Institute and State University Message-ID: <40d6do$u21@csugrad.cs.vt.edu> References: <40aeu1$m48@atlas.cs.upei.ca> <DD2K7x.C9w@genoa.com> In article <DD2K7x.C9w@genoa.com>, alex@genoa.com wrote: > my mail suggestion to Karsten (who wanted "portable" code) was > > #ifdef NeXT > #define strdup(s) NXCopyStringBuffer(s) > #endif Of course, there are other systems that are missing strdup(), such as Ultrix, so you might just want to include your own implementation. I remember that when I wrote one under Ultrix, I had to hack it so it would always malloc() at least 4 bytes (I was working w/ really short strings), because of word alignment issues with the RISC processor. A truly robust and portable implementation would have do the same. -- ----------------------------------------------------------------------------- Nathan Urban | e-mail: nurban@mail.vt.edu Undergraduate {CS,Physics}, Virginia Tech | -----------------------------------------------------------------------------
From: woo@ornl.gov (John W. Wooten) Newsgroups: comp.sys.next.programmer Subject: Converting Postscript to EPS Date: 10 Aug 1995 19:46:57 GMT Organization: Oak Ridge National Lab, Oak Ridge, TN Distribution: world Message-ID: <40dnnh$84e@stc06.ctd.ornl.gov> I have a PostScript File of our Purchase Requisition Form that I would like to be able to include as palette item in Diagram. Then I could drag it to a page, overlay it with text fields to type into and have a page I could fill out and print or fax easily. It appears that to drag the file to a new palette in Diagram it has to be eps format. How do I change ps to eps? If that isn't the problem, how do I get the postscript item to appear on the diagram page? I can't cut and paste it for some reason. BTW, it displays and prints just fine! - - - - - - - - - J. W. Wooten
From: spagiola@worldbank.org (Stefano Pagiola) Newsgroups: comp.sys.next.programmer Subject: Re: Converting Postscript to EPS Date: 10 Aug 1995 20:29:20 GMT Organization: World Bank Message-ID: <40dq70$6hq@minerva.worldbank.org> References: <40dnnh$84e@stc06.ctd.ornl.gov> In article <40dnnh$84e@stc06.ctd.ornl.gov>, woo@ornl.gov (John W. Wooten) says: >I have a PostScript File of our Purchase Requisition Form that I would >like to be able to include as palette item in Diagram. Then I could >drag it to a page, overlay it with text fields to type into and have a >page I could fill out and print or fax easily. > >It appears that to drag the file to a new palette in Diagram it has to >be eps format. How do I change ps to eps? Load your file into any drawing program that lets you export a graphic to eps, and then do so. Stefano Pagiola spagiola@worldbank.org Tel. 202-458-2997 Fax 202-477-0565 World Bank Environment Dept, 1818 H Str NW, Washington DC 20433 All opinions expressed are my own and do not necessarily reflect World Bank Group opinions.
From: Annard Brouwer <annard@thi.nl> Newsgroups: comp.sys.next.programmer Subject: (EOF) problem with out of bounds index in EOExpressionArray Date: 10 Aug 1995 17:17:46 GMT Organization: TeleHolding International, Amsterdam, the Netherlands Distribution: world Message-ID: <40devq$cdr@exit.thi.nl> Hello, I have set up in IB 3 chained (through EOQualifiedAssociation) EOControllers which display data in an NXTableView. Each controller displays data in one column of that table view. The first controller has a relationship to the second one and the second one to the third one. Now when I fetch the data from the database the first column is filled up properly but the second column only shows one item and then an AlertPanel comes up telling me that -[EOExpressionArray objectAtIndex:] tries to get an item of an array that is out of bounds. This happens deeply into EOF code and INMHO is not my repsonsibility. Has anybody experienced this before and solved it? I tried to find it in the ReleaseNotes but couldn't find any mention of it. Thanks for your help, Annard -- Annard Brouwer Software Engineer NeXT|MIME mail appreciated! TeleHolding International BV Amsterdam, the Netherlands
From: tm8025a@localhost.wisc.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: arch or no arch Date: 10 Aug 1995 21:36:42 GMT Organization: University of Wisconsin, Madison Message-ID: <40du5a$smu@news.doit.wisc.edu> Why does specifying "-arch mk68" increases the size of executable when building on a NeXT computer. I am building only for Motorala and not specifying the arch type brings the size down and the program still works. Torrey McMahon
From: katherin@scali.midcom.com (Katherine Rudolph) Newsgroups: comp.sys.next.programmer Subject: Objective C programmer needed (recruiter) Date: 11 Aug 1995 00:17:16 GMT Organization: MIDCOM Corporation Message-ID: <40e7ic$kbc@liberty.liberty.com> Summary: 4 month contract in Anaheim Keywords: Objective C, C++, OOP and NextStep Position available for Objective C or C++ programmer. Software project is large (1 million lines), multi-platform (VMS and Unix), and the majority of the code is written in Objective C. Qualified applicants must have OOP experience in programming using either Objective C or C++ and experience in programming mission critical applications. Experience with Unix and NextStep is preferred. -- MIDCOM Corporation | MIDCOM specializes in contract programming, 4175 E. La Palma Ave., Ste. 200 | engineering and technical services. (Agency) Anaheim, CA 92807 | DISCLAIMER: Any opinion expressed is my own (714)579-3000 (714)961-1767 Fax | and is not necessarily that of MIDCOM Corp.
From: chauvin@pencom.com (Chris Chauvin) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: Journaling Date: 11 Aug 1995 01:40:43 GMT Organization: Pencom Software Message-ID: <40ecer$n7l@digdug.pencom.com> Does anyone remember back in the 2.0 days when there was a demo or source that recorded mouse and keyboard events and played them back in real time? Is the source to anything like that available? Chris Chauvin Pencom Software chauvin@pencom.com
Newsgroups: comp.sys.next.programmer Subject: Re: Converting Postscript to EPS Message-ID: <1995Aug11.102600.45277@yogi.urz.unibas.ch> From: frank@ifi.unibas.ch Date: 11 Aug 95 10:26:00 MET References: <40dnnh$84e@stc06.ctd.ornl.gov> woo@ornl.gov (John W. Wooten) wrote: > I have a PostScript File of our Purchase Requisition Form that I would like to be able to include as palette item in Diagram. Then I could drag it to a page, overlay it with text fields to type into and have a page I could fill out and print or fax easily. > It appears that to drag the file to a new palette in Diagram it has to be eps format. How do I change ps to eps? > If that isn't the problem, how do I get the postscript item to appear on the diagram page? I can't cut and paste it for some reason. BTW, it displays and prints just fine! > - - - - - - - - - > J. W. Wooten The form was most probably not written in postscritp - so check the original and see if the application used to create it (it is listed at the beginning of the postcript file as "%%Creator ....", or, if generated from the print command, you will find some other hint) can generate an eps. If not, you can try hacking the ps file with a text editor. An EPS file will need a bounding box around the whole thing. %%BoundingBox: 14 74 813 563 where the figures are: the x and y position of the lower left corner, the delta x and delta y sizes of the clipping frame around the item. Furthermore, the header must be changed to %!PS_adobe-2.0 EPSF-1.2 or something similar. -Robert --- Institut fuer Informatik tel +41 (0)61 321 99 67 Universitaet Basel fax. +41 (0)61 321 99 15 Robert Frank Mittlere Strasse 142 rfc822: frank@ifi.unibas.ch (NeXT,MIME mail ok) CH-4056 Basel X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch Switzerland -- Institut fuer Informatik tel +41 (0)61 321 99 67 Universitaet Basel fax. +41 (0)61 321 99 15 Robert Frank Mittlere Strasse 142 rfc822: frank@ifi.unibas.ch (NeXT,MIME mail ok) CH-4056 Basel X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch Switzerland
From: Gerald Wildgruber Newsgroups: comp.sys.next.programmer Subject: Stubborn Assignement of Icons to Document Types ?? Date: 11 Aug 1995 14:18:27 GMT Organization: Leibniz-Rechenzentrum, Muenchen (Germany) Distribution: world Message-ID: <40forj$b5e@sparcserver.lrz-muenchen.de> Hello everybody, running NeXTStep 3.3 on Intel Architecture I met the following problem: what is it for an obscure instance to decide which Application Icon is assigned to a particular document type in the Workspace Manager ? All my html Documents appear under the Icon of an appication that left my computer already long ago; the html documents are opened correctly by OmniWeb, but they always appear with the Icon of eText, I installed some month before. The problem is not to link document types and applications, but only the stubborness of some former icons in the WM. Does anyone know how to fix this ? Help would be greatly appreciated. Gerald.
Newsgroups: comp.sys.next.programmer From: mfriedel@interpc.de Subject: [NXConnection run] - tossing received reply msg Message-ID: <DD59Gn.3zs@interpc.de> Sender: usenet@interpc.de Organization: interpersonal-computing GmbH Date: Fri, 11 Aug 1995 11:33:59 GMT Does anybody have an idea why this happens ? I have a simple DO app, and my client prints out this message and receives a timeout exception shortly after. Now the client isn't a appkit app but a deamon running in the background, and I started the connection with a [con runInNewThread]. The server did the same. All they are trynig to do is to exchange a couple of integers in the moment. -- Michael M. Friedel NEXTIME Interpersonal Computing NeXT-Developer Screen/Movie/Video Machine Oettingen Strasse 2 mfriedel@interpc.de Imagination made in 8000 München 22, Germany Tel: 49 89 222863 Europe Fax: 49 89 223376
From: dcell@satie (Daniel C. Ellison) Newsgroups: comp.sys.next.programmer Subject: Miniwindow Hell! Date: 11 Aug 1995 16:36:44 GMT Organization: HookUp Communication Corporation, Oakville, Ontario, CANADA Message-ID: <40g0ut$a75@noc.tor.hookup.net> There may be a simple solution/explanation to the problem I will describe below. If so, could some kind soul please enlighten me? The problem is this: I want to be able to continuously update a miniwindowImage to display the passage of time. In other words, I want to be able to start a timer in a window, miniaturize that window, and see the elapsed time in the miniwindow. I know this is frowned upon in NeXT documentation, but it's an extremely useful ability to be able to provide. In my Timer class, I composite the elapsed time on top of a template image, then assign that image to the appropriate button in the window, at the same time assigning the image as the miniwindowImage of the window. Now, according to the documentation, if the miniwindow is on the screen, it should update. Well, it does - the first time. From that point on it stays frozen showing the elapsed time when it was minimized. The time passes properly in the window's button. The timer _is_ updating the miniwindowImage (I did a variety of tests), but the miniwindow somehow doesn't believe that the image has changed, and continues to display the original image. I was able to get around the problem by creating TWO images, toggling between them on alternate seconds. This convinces the miniwindow to change its image. But I shouldn't have to resort to this messy solution. Does anyone know of a reason for this behaviour? The NeXT documentation for miniwindows is extremely sparse. An interesting aside: as the miniwindow is updating, it sometimes "flashes" - probably about half the time. Though not life-threatening, it _is_ aesthetically annoying. If anyone can suggest a solution to this annoyance (somehow synching with the vertical refresh? heh...) I'd appreciate it. Please respond here, as my email address is not functioning at the moment. Thanks in advance! Dan Ellison
From: tholland@pars.skidmore.edu (Anthony Holland) Newsgroups: comp.sys.next.programmer Subject: NeXTSTEP on INTEL using Monsterscope and AD64X DSP input ? Date: 11 Aug 1995 16:45:03 GMT Organization: Skidmore College, Saratoga Springs NY 12866 Message-ID: <40g1ef$a45@saims.skidmore.edu> Keywords: monsterscope Anybody using Intel Nextstep: can you run monsterscope ? Has anybody successfully run Monsterscope on Intel hardware using a DSP input device like the AD64X ?? Anybody doing any development work with the MusicKit on Intel using the DSP (motorola 56001) of some sound card ??? Thanks for any response A. Holland Skidmore College
From: Annard Brouwer <annard@thi.nl> Newsgroups: comp.sys.next.programmer Subject: Re: (EOF) problem with out of bounds index in EOExpressionArray Date: 11 Aug 1995 16:55:03 GMT Organization: TeleHolding International, Amsterdam, the Netherlands Distribution: world Message-ID: <40g217$2c5@exit.thi.nl> References: <40devq$cdr@exit.thi.nl> In article <40devq$cdr@exit.thi.nl> Annard Brouwer <annard@thi.nl> writes: > I have set up in IB 3 chained (through EOQualifiedAssociation) EOControllers > which display data in an NXTableView. Each controller displays data in one > column of that table view. I hate to reply to my own postings (std disclaimer) but after a long day of hacking it turned out that all I wanted was flattened derived attributes. *SIGH* Annard -- Annard Brouwer Software Engineer NeXT|MIME mail appreciated! TeleHolding International BV Amsterdam, the Netherlands
From: rmasse@cnri.reston.va.us (Roger E. Masse) Newsgroups: comp.sys.next.programmer Subject: arithmetic exception in NXCreateZone? Date: 11 Aug 1995 19:13:06 GMT Organization: Corporation for National Research Initiatives Distribution: world Message-ID: <40ga42$d18@news.CNRI.Reston.Va.US> Hello, I've just compiled Tcl7.4 both using cc and then gcc on my NS3.3 Pentium and am generating an arithmetic exception in NXCreateZone when I execute tclsh that happens before a break on the first statement. Here's the stack trace from gdb... Similar things happen with the wish program from tk4.0. Am I going to have to find a different malloc library or is there a fix for this? thanks in advance... % gdb tclsh GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.7 (NeXT 3.1), Copyright 1992 Free Software Foundation, Inc... Reading symbols from /depot/sundry/src/tcl7.4/tclsh...done. (gdb) run Starting program: /depot/sundry/src/tcl7.4/tclsh Program generated(3): Arithmetic exception. 0x1918b in NXCreateZone () (gdb) where Reading in symbols for crt0.c...done. #0 0x1918b in NXCreateZone () #1 0x18cbf in NXDefaultMallocZone () #2 0x1b321 in malloc () #3 0x273b3 in sigsetmask () #4 0x2745d in cproc_init () #5 0x26cf2 in cthread_init () #6 0x36bf in start () at crt0.c:106 (gdb) Regards, Roger E. Masse, Systems Engineer Corporation for National Research Initiatives 1895 Preston White Drive, Suite 100 Reston, Virginia, USA 22091 Internet: rmasse@CNRI.Reston.VA.US (MIME/NeXTmail OK)
From: charlie@snowflake.az.stratus.com Newsgroups: comp.sys.next.programmer Subject: NXBrowser with multiple cells enabled Date: 11 Aug 1995 20:26:34 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <40gedq$iai@transfer.stratus.com> There doesn't seem to be any apparent way to initialize an NXBrowser with multiple cells highlit. If you setMultipleSelectionEnabled to YES, a selectAll will work, however, multiple calls to setPath are ignored and the only one highlit will be the cell for the last call to setPath. There doesn't seem to be any way to turn off selected ones, and the doc states "Your code should never try to set a path or select items by sending Cell selection messages to the Matrices in the NXBrowser's columns." This doesn't work anyway, since a Matrix selectCell will also only highlight the last cell referenced. Can this be done any other way, or is it impossible to initialize a NXBrowser with multiple entries selected? -- Charles Spitzer charlie@snowflake.az.stratus.com Customer Assistance Center Stratus Computer, Inc. Phoenix, AZ 85018
From: steel456@aol.com (Steel456) Newsgroups: comp.sys.next.programmer Subject: Objective-C Developers and Project Manager Date: 11 Aug 1995 17:21:33 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <40ghkt$t0@newsbf02.news.aol.com> I am helping my best client search for a number of Next developers. These are very exciting positions with a growing company.These positions are located in the New York Tri-state area. Full project life cycle experience is helpful. My client is looking to fill these positions as soon as possible. If you are interested, please call me at 800-662-9797. Bruce Rennert CRA
Newsgroups: comp.sys.next.programmer From: csaldanh@mae.carleton.ca (Chris Saldanha) Subject: Re: arch or no arch Message-ID: <DD6075.LC5@cunews.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: computerActive Inc References: <40du5a$smu@news.doit.wisc.edu> Date: Fri, 11 Aug 1995 21:11:29 GMT Torrey McMahon (tm8025a@localhost.wisc.edu) wrote: : Why does specifying "-arch mk68" increases the size of executable when : building on a NeXT computer. I am building only for Motorala and not : specifying the arch type brings the size down and the program still works. I think that when you don't specify _any_ architechture with -arch, it compiles a truly "thin" binary for the compiling platform. If you give it "-arch m68k", it probably creates a FAT binary with only one architecture in it. The overhead of the MAB structure probably accounts for the extra size. --Chris Chris Saldanha, Software Analyst -------------------------------------- computerActive, Inc |"The telephone was not invented by | chris@computerActive.on.ca (NeXTMail) | Alexander Graham Unitel" -Bell Ad | http://www.mae.carleton.ca/~csaldanh --------------------------------------
From: bungi@gaea.titan.org (Timothy J. Wood) Newsgroups: comp.sys.next.programmer Subject: Re: HPPA/HPUX code calling from HPPA/NS? Date: 11 Aug 1995 16:21:24 -0700 Organization: Omni Development, Inc. Message-ID: <40golk$ia@gaea.titan.org> References: <405i2a$noq@usc.edu> <DCzF9o.1tC@icgned.nl> Actually, I thought that the calling conventions between the two compilers are different especially with respect to small structs. I know at least, that this was true for the first beta release of PDO3.0/HPUX and is probably true for NS3.3. Also, I thought that the stack grew the opposite direction in NS/HP than it did in HPUX. Perhaps I'm thinking of Sparc? -tim stes@icgned.nl (David Stes) writes: >Phillip Tokumaru writes >> If possible, how can HPPA/HPUX libraries be linked and called from >> HPPA/NS? In particular, I am interested in linking optimized BLAS/LAPACK >> routines to an application I'm building under nextstep. >> >-- >For this kind of thing, it would be nice to have an Objective C >preprocessor at hand, in addition to NeXT's compiler (that is easier to >use during development). The NextStep program, once debugged, could be >translated to regular C, and then be compiled, together with your library >and the Objective C runtime, by an optimizing PA-RISC compiler. >There is no such preprocessor. Stepstone's is available for HP-UX but it >cannot compile non-portable constructs like: > @class NXImage, View; > @protocol NXWorkspaceRequestProtocol >(taken from appkit/workspaceRequest.h) >- david >stes@icgned.nl
Newsgroups: comp.sys.next.programmer From: rm@califhistsoc.org (Robert MacKimmie) Subject: OPENSTEP DAY FINALE -- nugiFEST party celebrates the day!!!! Message-ID: <DD6ABL.3o6@califhistsoc.org> Keywords: fun, celebration, community... Sender: rm@califhistsoc.org (Robert MacKimmie) Organization: California Historical Society, San Francisco 415-567-1848 Date: Sat, 12 Aug 1995 00:50:09 GMT Following the precedent of the legendary Stone Design Rave (but not attempting to imitate it), the nugiFEST gathering will offer the opportunity for corporate/end users to gather and experience a sense of community along with vendors and corporate sponsors of the event. nugi is hosting the event with the special sponsorship of BaNG! and additional user group sponsorship from SCaN. Vendors helping to sponsor the event include: Stone Design Netsurfer Berkeley Productivity Group The party will be held at ANNIE's, which is located at 20 Annie Street, just behind the Palace Hotel near the Moscone Center, site of OpenStep Day and Object World. The exact location is easily located between Market and Mission Streets, between Third Street and New Montgomery Street.There will be a no-host bar, food and music by the Swing Allstars from 7:30 - 11 PM. We expect to see you all between 7 pm and midnight this coming Monday!!! Be there or be QUAD-Square!!! Robert MacKimmie nugiFEST partymeister RM@califhistsoc.org 415-346-6398 for info.
From: hadar@amazon (Hadar Pedhazur) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: *** ObjTcl is a MUST TRY! *** Date: 12 Aug 1995 16:48:00 GMT Organization: Union Bank of Switzerland, New York site Message-ID: <40im00$p0n@ns2.ny.ubs.com> It's been a very long time since I have posted anything to csn.*. There are a number of reasons for that, but that might be the subject for another post ... Anyway, for the past year I have been Beta Testing Objective-Tcl (ObjTcl) from TipTop Software, in its various incarnations. Due to my complete belief in the honor code of non-disclosure, I was not able to share my thoughts on this product with *anybody* for the entire year :-(. Now that it has been officially released, I would like to make some very strong statements about this product. I am *not* affiliated with TipTop Software in *any* way, and in fact, have never even spoken to Pedja Bogdonavich other than via 100's (if not 1000's) of emails. I am also an extremely happy customer of their TipTop (modem and terminal) product. To my mind, this is the single most important advancement to the development process on NEXTSTEP (NS) since the MiscKit (MK). The MK was (and is) fantastic on many levels, possibly the most important one being the standardization of many very common tasks, e.g. multi-windowed doc management (actually thanks to Mike Ferris and MOKit for this abstraction). As wonderful as MK is, it is really mostly a major (really major!) time saver, rather than a new paradigm for developing software on NS. ObjTcl is (or certainly can be if we use it creatively!) a new paradigm for creating software on NS. For those who missed the announcement, most briefly, ObjTcl is both a full blown Objective-C (ObjC) style interpreter, and, an embeddable interpreter (within ObjC programs) which allows 100% transparency between ObjC and ObjTcl via the ObjC runtime. In other words, one can not tell whether classes, methods, etc., are written in ObjC or ObjTcl. I believe that it is a paradigm shift for NS developers, and as such, a very few will see it and instantly think "Unbelievable, I can think of 100's of things I can use this for ...", while most will think "Cute, an interpreter ... now let's get back to work!". I mean no disrespect to the second group of folks in making that statement. I think that most of us are busy trying to get our jobs done, and if a new "tool" does not strike us as immediately useful in our current assignment, we tend to dismiss it. This is natural. This is why I am taking the time to expound upon some of the virtues of ObjTcl, so that some of you (hopefully more than just some :-)) will stop and take a little more time to look at it than you might have otherwise. First, let's start out with the licensing. The package (unlicensed) will allow you to do everything you could do with a licensed version, though it might get annoying (with prompts and reminders, etc.) after a while. This, therefore, leaves no one with an excuse for not trying it out (except for the other excuses that is :-)). OK, Hadar, enough *background*, what's so special about it? Well, I mentioned two strong points above (there are more, like IB integration, etc., but let's ignore them for this post!!!), and I will deal with them each in turn. 1) An ObjC style interpreter. What I mean by "ObjC style" is that it is not 100% the same syntax as ObjC, though there are tremendous similarities. It would have been nice to have the syntax be identical, but the fact that the interpreter is TCL, actually gives it enough advantages over normal ObjC stuff, that net net, I really think that the advantages outweigh the disadvantage of having a slightly different syntax. First, a trivial example, then a slightly more interesting one: a) Here's a simple session from the objtclsh (command line ObjTcl shell). It is a little long, and I don't want to interrupt the flow with commentary, so I will make a few comments *now* and you can follow along below. First, I create a new instance of Object. I then ask that instance if it is a kind of Object (and it responds TRUE). I ask it if it is a kind of Window, and it responds FALSE. I then ask it if it is a kind of Hadar, and the debugger intercepts, telling me that there is no class with the name Hadar defined, and it gives me a chance to CORRECT that problem right now. I choose not to, so I continue, and the error is returned to me. (You can enable or disable debugging.) I then CREATE the definition of a class Hadar interactively, with one instance variable, and two methods. I then ask again if the instance of Object is a kind of Hadar, and this time, instead of being an error, the answer is simply FALSE. Lastly, I instantiate a new Hadar object, and send it the name method (and it behaves as expected). Pretty simple, and yet powerful. Here it is: hudson 3 ~: objtclsh ObjTcl Shell 2.0. Copyright 1994, 1995 TipTop Software URL: http://www.tiptop.com/ Email: <info@tiptop.com> ## This is a 30-day evaluation / educational copy of Objective-Tcl. ## The license terms are specified in: ## /LocalDeveloper/Documentation/ObjTcl/License/01_Evaluation.rtf, and ## /LocalDeveloper/Documentation/ObjTcl/License/05_Educational.rtf ## respectively. If you don't agree with the terms you must stop using ObjTcl. ## To order a license and register, contact TipTop Software at +1-301-656-3837 ## email: info@tiptop.com, URL: http://www.tiptop.com, or simply type: ## objtcl_register % set obj [Object new] @Object@000a2bb0 % $obj isKindOf: Object 1 % $obj isKindOf: Window 0 % $obj isKindOf: Hadar ?: unhandled_error: No class Hadar. Type 'h' for the list of debugger commands. Type 'c' to continue. Dbg% c No class Hadar. % class Hadar Object { > {STR lastName} > } { > method -initName: {STR name} { > set lastName $name > return $self > } > > method {STR} -name { > return $lastName > } > } Hadar % $obj isKindOf: Hadar 0 % set h [[Hadar alloc] initName: Pedhazur] @Hadar@00099828 % $h name Pedhazur % OK. You say this is cool, but how do I get anything *real* done like this? Two quick answers, a) obviously anything you can type interactively, you can also put in a file so that you can build up complex programs rather easily while testing them along the way, and b) you can include complete libraries in the interpreter as well, so you can test (and or develop) significantly more *real* things than the above trivial example. There are two ways (other than adding your own custom classes as we just saw) to extend the interpreter. You can create a *custom interpreter* by simply linking the 5 line example main program with *any* libs you want to be automatically included in your interpreter, *or*, you can *dynamically load* any libs that you would like. I will give a complete example of the latter, which can be used, for example, to test out the functionality of a Kit! In this example, I will show you everything you need to do to interactively test the MiscKit! I will leave the commentary out as it should be self-explanatory: hudson 6 /tmp: cd /LocalDeveloper/Libraries hudson 7 /LocalDeveloper/Libraries: cc -r -nostdlib -all_load -o misckit.O libMiscKit.a hudson 8 /LocalDeveloper/Libraries: l misckit.O -rw-r--r-- 1 hadar wheel 865224 Aug 12 12:04 misckit.O hudson 9 /LocalDeveloper/Libraries: cd /tmp hudson 10 /tmp: objtclsh ObjTcl Shell 2.0. Copyright 1994, 1995 TipTop Software URL: http://www.tiptop.com/ Email: <info@tiptop.com> ## This is a 30-day evaluation / educational copy of Objective-Tcl. ## The license terms are specified in: ## /LocalDeveloper/Documentation/ObjTcl/License/01_Evaluation.rtf, and ## /LocalDeveloper/Documentation/ObjTcl/License/05_Educational.rtf ## respectively. If you don't agree with the terms you must stop using ObjTcl. ## To order a license and register, contact TipTop Software at +1-301-656-3837 ## email: info@tiptop.com, URL: http://www.tiptop.com, or simply type: ## objtcl_register % objtcl_load /LocalDeveloper/Libraries/misckit.O % set s [MiscString newWithString: "Mary had a little lamb ..."] @MiscString@00099ff0 % set b [TextFieldCell new] Couldn't find default font for default NXSystemFonts Couldn't find default font for default NXBoldSystemFonts @TextFieldCell@000a24b0 % set m [TextFieldCell new] @TextFieldCell@000b1540 % set a [TextFieldCell new] @TextFieldCell@000b1648 % $s grep: "HAD" occurrenceNum: 0 caseSensitive: 0 \ > before: $b middle: $m after: $a 1 % $b stringValue Mary % $m stringValue had % $a stringValue a little lamb ... % The above example is *complete*. There is some line wrapping going on from my paste in the terminal (TipTop :-)), sorry, but that is where I actually turn the libMiscKit.a into a dynamically loadable file, misckit.O (obviously the name is arbitrary). The warning messages for Couldn't find default font are due to the fact that there is no Application Object in this interpreter (though there could have been!!!). Clearly, while this is a *very* powerful tool for learning things like the MiscKit (or any kit), it is particularly useful to us at UBS for doing things like verifying that new apps are using our analytic libraries correctly. When results don't appear to be correct in the UI of a new app, one can fire up an objtclsh (with our libs pre-linked, or simply dynamically loaded) and test the results with no UI and known parameters to see if the results are correct at the library level. Most often they are :-), and the developer can concentrate on how he/she mismatched the user's desired inputs with the actual calling syntax of our models :-) 2) The interpreter can be embedded in any ObjC program. I will not give any direct examples of this, and I will further muddy the waters by telling you that this is the conceptually harder part (though the much bigger win part as well!). This is much harder because there are too numerous ways for you to decide exactly how/when/why you will give access to ObjTcl. For example, in some of our apps, we include *one* line of source (and one header file :-)), and all we accomplish with this is that we embed an interpreter, and *ask it to publish itself as a Distributed Object Server!!!*. The remainder of the app is untouched. Now, when the app is running, we can use a different command line program, dosh, which is essentially an "objtclsh" with no interpreter in it. It merely connects (via D.O.) to an already running interpreter (across networks if desired, *of course, it's real D.O.!!!*) and can now be used to "examine" the running app (ala gdb, but the app is actually running, not frozen at the breakpoint!!!), and/or *change* the app, via Category definitions, new classes, etc. We have apps that range in ObjC-ObjTcl mixture from 20 lines of ObjC plus 1000 lines of ObjTcl, to an app which is 44,000 lines of ObjC plus 100 lines of ObjTcl. Again, the hardest problem is determining exactly what level of control you wish to give the user, whether you wish to "call" ObjTcl to perform very specific functions, or whether you wish to permit a completely open design where it is unknown and transparent whether something is written in ObjC or ObjTcl. Lastly (I promise), the seperate product Objective-Browser (OB) is so amazing (and extensible!!!) that it alone justifies purchasing ObjTcl, just to run the Browser! I can not stress enough that if you are building NS Apps, and do not take a look (a serious one at that!) at this product, then you are doing yourself a serious disservice! If this were a product that we developed in house, we would be guarding it so jealously that I wonder at times why I was busting at the seems to discuss this with people outside of UBS for the past year. However, we did *not* develop it, and we *do* use it heavily, so I would rather see it thrive, have others deliver software to *UBS* that uses it, and have it continue to evolve. Hence, the evangelism. Enjoy it! If there is enough traffic warranting further examples, etc., then I will consider putting out some more stuff. -- Hadar Pedhazur Global Equity Derivatives Union Bank of Switzerland (UBS)
From: yoda@cis.uni-muenchen.de (Marc Guenther) Newsgroups: comp.sys.next.programmer Subject: Re: NXBrowser with multiple cells enabled Date: 12 Aug 1995 17:30:54 GMT Organization: Institut fuer Informatik der Universitaet Muenchen Message-ID: <40ioge$b9c@arcadia.informatik.uni-muenchen.de> References: <40gedq$iai@transfer.stratus.com> charlie@snowflake.az.stratus.com wrote: > There doesn't seem to be any apparent way to initialize an NXBrowser with > multiple cells highlit. If you setMultipleSelectionEnabled to YES, a selectAll > will work, however, multiple calls to setPath are ignored and the only one > highlit will be the cell for the last call to setPath. There doesn't seem to > be any way to turn off selected ones, and the doc states > "Your code should never try to set a path or select items by sending Cell > selection messages to the Matrices in the NXBrowser's columns." > This doesn't work anyway, since a Matrix selectCell will also only highlight > the last cell referenced. > Can this be done any other way, or is it impossible to initialize a NXBrowser > with multiple entries selected? I had exactly the same problem. This is obviously something, that NeXT didn't think about. Unfortunatley, in OpenStep it's the same. When you read the documentation, you will find two methods (in Matrix), that deal with selecting cells. - selectCell: and friends. These select a specific cell, but deselect all previously selected cells. Well, I thought. the Matrix is probably in RADIO_MODE. But no, it's the same in LISTMODE and all the other modes :-( - selectAll: Selects all cells. Not what I wanted. After I while, I found a third method, setSelectionFrom:to:anchor:lit: and voila, when using that one, the previous cells are NOT deselected. Strange, eh ? It's definitely not in the documentation. Oh, before I forget, instead of using setSelectionFrom:to:anchor:lit: multiple times to set your cells, you could also use the MiscSelectionMatrix in MiscKit. It does exactly what you want. Did anyone Bug_NeXT about this ? If not, should we ? so long, Yoda
From: yoda@cis.uni-muenchen.de (Marc Guenther) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: *** ObjTcl is a MUST TRY! *** Date: 12 Aug 1995 17:45:15 GMT Organization: Institut fuer Informatik der Universitaet Muenchen Message-ID: <40ipbb$b9c@arcadia.informatik.uni-muenchen.de> References: <40im00$p0n@ns2.ny.ubs.com> hadar@amazon (Hadar Pedhazur) wrote: > Anyway, for the past year I have been Beta Testing Objective-Tcl > (ObjTcl) from TipTop Software, in its various incarnations. Due to my [...munch...] This all sounds amazing, but I'm wondering (forgive me of it's obvious, but I don't know much about this stuff) what is the difference between this product, and the freely available libtclobjc library ? Yoda
From: hadar@amazon (Hadar Pedhazur) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: *** ObjTcl is a MUST TRY! *** Followup-To: comp.sys.next.programmer,comp.lang.objective-c Date: 12 Aug 1995 18:30:02 GMT Organization: Union Bank of Switzerland, New York site Message-ID: <40irva$t4q@ns2.ny.ubs.com> References: <40im00$p0n@ns2.ny.ubs.com> <40ipbb$b9c@arcadia.informatik.uni-muenchen.de> Marc Guenther (yoda@cis.uni-muenchen.de) wrote: : hadar@amazon (Hadar Pedhazur) wrote: : > Anyway, for the past year I have been Beta Testing Objective-Tcl : > (ObjTcl) from TipTop Software, in its various incarnations. Due to my : [...munch...] : This all sounds amazing, but I'm wondering (forgive me of it's obvious, but : I don't know much about this stuff) what is the difference between this : product, and the freely available libtclobjc library ? : Yoda This is a good question. For one, the Objective-Browser, which requires the ObjTcl from TipTop :-), is something that really needs to be used to be appreciated. Second, and I admit that I stopped looking at the free stuff (of which there were at least two if I recall) a *long* time ago, there were things that they simply could not do that this one can. When I last looked, you could *instantiate* objects, but could not *define* them (in other words, create classes, create categories, etc.) on the fly. That may indeed have changed since I last looked. Another factor is the seemless support for Distributed Objects (something that we use heavily, but others might not find as useful). Built in "interactor" support, so that you may give your users access to ObjTcl without writing any UI for that piece (not a big deal, but every little bit helps). IB support (which I don't think is in any of the PD stuff). You can do some pretty amazing things in IB with ObjTcl, and in fact can control IB through the D.O. support, which is pretty hot stuff. It permits you to *automate* a lot of mundane IB tasks (I purposely left out the IB stuff from my last post, and maybe I shouldn't have :-). As far as IB automation is concerned, one of the examples, Examples/ObjTcl/EOF-IB came from UBS directly. It shows how easy it is to automatically connect an EOController to an NXTableView with *no* ctrl-dragging for each association! I could probably go on, but your question is a valid one, and if the only thing that ObjTcl does is excite people to the possibilities, and then the PD versions get better, then so be it (sorry Pedja :-). I for one, would rather use them *now*, have them from a vendor who has demonstrated high quality software for a number of years, coupled with high quality support, and at the prices he's offering the product at, I consider the investment as close to PD as commercially possible :-). -- Hadar Pedhazur Global Equity Derivatives Union Bank of Switzerland (UBS)
From: paulrs@lgs-systems.buf.servtech.com (Paul R. Summermatter) Newsgroups: comp.sys.next.programmer Subject: HELP!!! Date: 12 Aug 1995 20:08:48 GMT Organization: LGS Systems Message-ID: <paulrs-1208951606270001@lgs-systems.buf.servtech.com> Hello everyone, I have just had the unfortunate pleasure of crashing my hard drive beyond, or seemingly beyond, repair. First of all, I am running NeXTStep 3.3 on a Pentium 90. I crashed after ejecting a Macintosh disk from my machine. Some idiot marketer at NeXT decided not to CLEARLY notify users of this problem. The worst is that I bombed the machine once, called tech support to tell them exactly what happened (ejected Macintosh disk), and asked if this was a known problem because I had it happen once before. I was told that there were no known problems. I was able to restart the machine after this crash and proceeded to try this again, ejecting a Mac disk, on the advice of the tech support department. This time, the machine crashed so hard it could not recover. Now I call tech support and get someone else who tells me that this IS a known problem. Too fuckin' late folks. Now, I can't even reinstall NeXTStep because it appears that the boot blocks and labels have been wiped from the drive. However, I'm not entirely certain if my problem is only software related. The drive and the machine are only a couple of weeks old, so my initial assumption is that I have a software problem. I am able to boot up in a single user mode from a floppy and CD-ROM and get to the '#' sign. From here, I can execute all commands with root priviledges. I am definitely not familiar with most of the disk utility commands built into unix. All of my information has come from the man pages. My first reading of the man pages led me to attempt a 'scan' of the disk using the interactive mode of the 'disk' command. I executed the following command 'disk -l mydisk /dev/rsd0a. The hard drive failed to respond on 7 or 8 successive tries to access it. Finally, the process aborted itself with 'FATAL ERROR'. This left me at the 'disk>' prompt from which I attempted a 'scan'. This returned 'get label: Invalid Argument'. I've attempted to use 'fsck', again without luck, and a few other commands which are not worthy of note. At this point, as I have mentioned, I cannot even reinstall my software. I have a full days worth of work and some other important files which were not backed up and would really like to recover anything that is still available. If anyone has any suggestions, I would greatly appreciate your help. Thanks, Paul paulrs@lgs-systems.com (MIME mail preferred)
From:  Newsgroups: comp.sys.next.programmer Subject: Passing control of a terminal to a new process Date: 12 Aug 1995 19:55:58 GMT Organization: Entrenet Systems Message-ID: <40j10e$b7l@entrenet.entrenet.com> I'm replacing my getty program with my own version. The problem is that when I replace the getty process with the login process (via execv) the login program screws up. More precisely, when the login program runs it prompts the terminal user with 'password: ' (the users name has already been passed to the login program as a parameter when the getty called login). If the user types in their password here the password is echoed to them. What is more is that all of there input is being ignored and echoed back to them. Further investigation showed that login was not taking input for the password from the terminal user, but rather, it was taking it from the terminal in which getty was originally run. Essentially, when login prepares to receive the password it should simply receive the characters from the terminal user and not echo them. But, what is happening is that the login program switches from receiving input from the users terminal to receiving input locally from the terminal in which getty was originally executed. ThanX in advance guys (non-gender specific here) !
From: robertn@poseidon (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: NXBrowser with multiple cells enabled Date: 12 Aug 1995 14:04:29 -0700 Organization: McCaw Cellular Communications, Inc. Sender: robertn@poseidon Message-ID: <h2n3devnoi.fsf@poseidon> References: <40gedq$iai@transfer.stratus.com> <40ioge$b9c@arcadia.informatik.uni-muenchen.de> In-reply-to: yoda@cis.uni-muenchen.de's message of 12 Aug 1995 17:30:54 GMT >charlie@snowflake.az.stratus.com wrote: >>There doesn't seem to be any apparent way to initialize an NXBrowser with >>multiple cells highlit. If you setMultipleSelectionEnabled to YES, a selectAll >>will work, however, multiple calls to setPath are ignored and the only one >>highlit will be the cell for the last call to setPath. There doesn't seem to >>be any way to turn off selected ones, and the doc states >>"Your code should never try to set a path or select items by sending Cell >>selection messages to the Matrices in the NXBrowser's columns." >>This doesn't work anyway, since a Matrix selectCell will also only highlight >>the last cell referenced. >>Can this be done any other way, or is it impossible to initialize a NXBrowser >>with multiple entries selected? >I had exactly the same problem. This is obviously something, that NeXT didn't think about. >Unfortunatley, in OpenStep it's the same. >When you read the documentation, you will find two methods (in Matrix), that deal with selecting >cells. >- selectCell: and friends. These select a specific cell, but deselect all previously selected cells. >Well, I thought. the Matrix is probably in RADIO_MODE. But no, it's the same in LISTMODE and all the >other modes :-( >- selectAll: Selects all cells. Not what I wanted. >After I while, I found a third method, setSelectionFrom:to:anchor:lit: and voila, when using that one, >the previous cells are NOT deselected. Strange, eh ? It's definitely not in the documentation. >Oh, before I forget, instead of using setSelectionFrom:to:anchor:lit: multiple times to set your >cells, you could also use the MiscSelectionMatrix in MiscKit. It does exactly what you want. >Did anyone Bug_NeXT about this ? If not, should we ? Why can't you just setState; the cells when you load them. The above method assumes you have a continuous selection in mind. -- The views and opinions expressed in this article are those of the poster and not his employer.
From: paul@washburn.Princeton.EDU () Newsgroups: comp.sys.next.programmer Subject: rsh problem Date: 12 Aug 1995 21:40:49 GMT Organization: Princeton University Distribution: world Message-ID: <40j751$8tm@cnn.Princeton.EDU> Originator: paul@washburn I have my cube networked locally to a sparc 5 running NeXTStep. Everything seems to be working fine, nfs mounts are clean etc. But I can't rsh to the cube from the sparc, but I can from the cube to the sparc. I think the problem is internal to the cube since I can't rsh from the cube to itself either. Permission denied is the reply. I've scoured /etc/ and netinfo, but can't seem to find the answer. I also have slip running on the cube. thanks in advance paul lansky paul@silvertone.princeton.edu ~
From: tappd@neosoft.com (Dan Tapp) Newsgroups: comp.sys.next.programmer Subject: MiscKit et. al. Date: Sat, 12 Aug 1995 18:57:07 -400 Organization: NeoSoft Internet Services +1 713 968 5800 Message-ID: <40jf6t$de4@uuneo.neosoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, all. As a budding NS'er, I got some much-needed help from this group a week or so ago on a DO problem I was having. I thought I'd troll again for some comments/opinions: I've seen the "MiscKit" mentioned here a couple of times. How can I find out more about it? Also, are there any more must-haves (or just nice-to-haves) for someone who's trying to build a good NS generalist's toolbox? Classes, , neat IB controls, etc...shareware would be great, but decently-priced stuff counts, too. I appreciate everyone's thoughts (and, as a beginner, their patience :-)) If this is beating a dead horse for public posting, pls. feel free to reply to the address above (ASCII/MIME), or to <tappd@copernicus.sccsi.com> (NEXTmail). Regards all, - Dan
From: jeremy@talin.colostate.edu (Jeremy Slade) Newsgroups: comp.sys.next.programmer Subject: getting screen size w/out Application class Date: 13 Aug 1995 00:38:14 GMT Organization: Colorado State University, Fort Collins, CO 80523 Message-ID: <40jhhm$1eng@yuma.ACNS.ColoState.EDU> In a small utility I'm writing, I need to be able to get the dimensions of the screen. Were it based on the AppKit, this would be no problem using Application's getScreenSize: method. I am not using the AppKit, but am creating a DPS context -- is there perhaps a DPS operator that will give me this info? Or another workaround? Respond to me directly or post here, I'll probably post results event. Thanks, Jeremy
From: george@nice.ethz.ch (George Fankhauser) Newsgroups: comp.sys.next.programmer Subject: Re: getting screen size w/out Application class Date: 13 Aug 1995 11:07:38 GMT Organization: NiCE - NeXT User Group, Zurich, Switzerland Message-ID: <40kmdq$lr9@elna.ethz.ch> References: <40jhhm$1eng@yuma.acns.colostate.edu> In article <40jhhm$1eng@yuma.acns.colostate.edu> jeremy@talin.uucp.colostate.edu writes: > > >In a small utility I'm writing, I need to be able to get the dimensions of >the screen. Were it based on the AppKit, this would be no problem using >Application's getScreenSize: method. I am not using the AppKit, but am >creating a DPS context -- is there perhaps a DPS operator that will give >me this info? Or another workaround? > easiest is the following: index string framebuffer name slot unit romid x y width height maxdepth ^^^^^^^^^^^ index is obtained by countframebuffers. another one gives you the screenlist (i.e. array of windows) where the backmost is the workspace window (?): currentcontext countscreenlist % find out how many windows array % create array to hold them currentcontext screenlist % fill it in or as a shortcut: workspaceWindow currentwindowbounds (but this is very Next specific) hope this helps, George -- George Fankhauser Swiss Federal Institute of Technology Phone +41 1 632 4019 Institute for Operations Research Fax +41 1 632 1025 CH-8092 Zurich E-Mail <fankhauser@ifor.math.ethz.ch> "Happyness is a journey, Homepage http://www.ifor.math.ethz.ch/staff/gfa not a destination"
From: yoda@cis.uni-muenchen.de (Marc Guenther) Newsgroups: comp.sys.next.programmer Subject: Re: NXBrowser with multiple cells enabled Date: 13 Aug 1995 11:54:50 GMT Organization: Institut fuer Informatik der Universitaet Muenchen Message-ID: <40kp6a$doq@arcadia.informatik.uni-muenchen.de> References: <40gedq$iai@transfer.stratus.com> <40ioge$b9c@arcadia.informatik.uni-muenchen.de> <h2n3devnoi.fsf@poseidon> robertn@poseidon (Robert Nicholson) wrote: > >Oh, before I forget, instead of using setSelectionFrom:to:anchor:lit: multiple times to set your > >cells, you could also use the MiscSelectionMatrix in MiscKit. It does exactly what you want. > Why can't you just setState; the cells when you load them. The above > method assumes you have a continuous selection in mind. Because Matrix doesn't know about it. Try it, and then ask Matrix getSelectedCells: and it will return nothing. (If I remember correctly, it's been more than a year already) Y.
From: yoda@cis.uni-muenchen.de (Marc Guenther) Newsgroups: comp.sys.next.programmer Subject: [EOF] Q: creating/updating/accessing objects Date: 13 Aug 1995 16:52:53 GMT Organization: Institut fuer Informatik der Universitaet Muenchen Message-ID: <40lal5$jvv@arcadia.informatik.uni-muenchen.de> Hi everybody, here are some things about EOF, that I don't understand. First, how do you correctly create a new object ? Well, I tell my dataSource to createObject, set the primary ID of the new object, and insert it into the dataSource. But when I change the data of the object, and want to update it later, I get all kind of errors. I figured out, that all attributes are set to NULL by [dataSource createObject]. Now when the object is saved, and reloaded, all these NULL's change to [EONull null]'s. But the low level EOF routines, that unique objects don't consider NULL and [EONull null] the same, so they don't recognize the object they just fetched from the database as the one, they still have in memory. So I made a category of DataSource (I just LOVE categories, have dozens of them :) called smartCreate, which set's all properties of the new object to [EONull null]. Problem is, that it only knows the class of the new object, but it needs the model, where this class is used, in order to find out which properties this object has. Next problem. How get relations and flattened attributes updated ? I have an object A: { int ID, // my primary key int B_ID, // id of some object B id to_B // 1-1 relation to B, using "A:B_ID = B:ID" } and object B { int ID } When I access to_B for the first time, it is still a EOFault, so it uses B_ID to fetch the real object from the database. After that, to_B is simply a object of class B. Now I change B_ID. But how do I tell the system, that to_B is now obsolete, and needs to be refetched ?? I couldn't figure out how to do this in general. I tried updateObject, saveObjects, saveToDataSource, refetchObject, forgetAllObjects, etc..... At sometime, I got it to work in a specific routine, using the right combination of the above calls. It didn't work at other places in my progem :) I simply decided to never touch it again :))) Little bit more difficult problem. Assume I have a 1-n relation instead of the 1-1. Now to_B is an NSArray, and instead of B_ID in class A I have A_ID in class B. easy. Now I fetch to_B and get an array of 5 B's. Then I change the A_ID of a sixth B to match my A object. This new object now should show up in the Array. - How do I do this at all ? which of the various controllers and datasources do I have to update/save ? - How do I know that I need to do the above ? I mean, somebody is changing this A_ID behind me back (let's assume this somebody is me. Bu it could be another user). How do I know that I need to trigger that refetch ? It seems to me, that the only way to achieve the second, is to use delegates of EOControllers all over the place, which control all update/fetch/delete/insert operations, and update all the other controllers according to what their own controller just did. This doesn't sound very easy to do. And it soehow seems to be in the wrong place. All the information, that is needed to do this is already there, in the model. Putting it again in the controller delegates doubles the work. Third: Accessing data using EOGenericValue or using objects. When using GenericValue's, you use setObject:forKey and objectForKey: to access the data. When using objects, you can't use these anymore, you have to use the accessor methods. Why isn't this already there ? @implementation NSObject (EOKeyValueCoding_singleProperty) - objectForKey:(NSString *)aKey; { return [[self valuesForKeys:[NSArray arrayWithObject:aKey]] objectForKey:aKey]; } - (void)setObject:anObject forKey:(NSString *)aKey; { [self takeValuesFromDictionary:[NSDictionary dictionaryWithObjects: &anObject forKeys:&aKey count:1]]; return; } @end Well, I think I have written enough, I should get back to regular programming.... Thanks for any ideas on this. Marc
From: seanl@carmi.cs.umd.edu (Sean Luke) Newsgroups: comp.sys.next.programmer Subject: Re: MiscKit et. al. Date: 13 Aug 1995 16:32:08 GMT Organization: University of Maryland, College Park Message-ID: <40l9e8$nas@hecate.umd.edu> References: <40jf6t$de4@uuneo.neosoft.com> Dan Tapp (tappd@neosoft.com) wrote: >I've seen the "MiscKit" mentioned here a couple of times. How can I find out >more about it? Also, are there any more must-haves (or just nice-to-haves) >for someone who's trying to build a good NS generalist's toolbox? Classes, , >neat IB controls, etc...shareware would be great, but decently-priced stuff >counts, too. Check out Tiggr's FAQ for comp.lang.objc. As to the MiscKit, well, it's the biggest piece of junk ever created. [Ha ha! Just a little joke, everyone, so I could see Don's eyes pop out of his head] No, actually the MiscKit is a must-have for the budding NeXTSTEP developer. It's got a lot of great objects and tools [especially sound objects--hint, hint], but most important, it provides access to a community which can give you a lot of relief from the frustration of developing, even in as nice an environment as NeXTSTEP. Point your www browser to ftp://ftp.et.byu.edu/next/misckit and have fun! Sean Luke U Maryland at College Park seanl@cs.umd.edu http://www.cs.umd.edu/users/seanl/
From: dazevedo@telepac.pt (DAzevedo) Newsgroups: comp.sys.next.programmer Subject: Dutch NeXT Company Date: 13 Aug 1995 18:04:12 GMT Organization: Your Organization Message-ID: <40leqs$4rn@vivaldi.telepac.pt> Mime-Version: 1.0 Does any one know the name and fax number of the Dutch Company, that are saling Next equipment and components?
From: dazevedo@telepac.pt (DAzevedo) Newsgroups: comp.sys.next.programmer Subject: Dutch NeXT Company Date: 13 Aug 1995 18:08:14 GMT Organization: Your Organization Message-ID: <40lf2e$4rn@vivaldi.telepac.pt> Mime-Version: 1.0 Does any one know the name and fax number of the Dutch company, that is commercialising NeXT stuff??
From: dazevedo@telepac.pt (DAzevedo) Newsgroups: comp.sys.next.programmer Subject: Dutch NeXT Company Date: 13 Aug 1995 18:15:02 GMT Organization: Your Organization Message-ID: <40lff6$4rn@vivaldi.telepac.pt> Mime-Version: 1.0 Does any one know the name amd fax of the Dutch company that are seling Next Equipment?
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Re: How to use IB with its limiting Unparse command? Date: 13 Aug 1995 17:47:34 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508132242.AAA02958@ns.ms.mff.cuni.cz> References: <400h4j$j3@zoodle.RoBIN.de> In comp.sys.next.programmer article <400h4j$j3@zoodle.RoBIN.de> you wrote: > > Well, I personally would prefer slightly another paradigm: > > > > The IB would be project master (instead of the PB). It will store > > all the @interfaces in its own, encoded form (of course including > > the documentation :))), and it will open the editor windows to enter > > only method implementation for objects, prepared in the IB. > This sounds like VisualBasic or Delphi to me. Whenever I have to > do some work with VB, I hate it that there's no easy way to look > at *all* your code. I always wonder "where's this?" and "where's > that?", so I somehow don't like the paradigm that each and every _Surely_ such thing _must_ have a search feature, at least comparable with the 'Find' in PB (and I can imagine some cool improvements). > function/method/whatever is located in a different 'file' (quotes > here, because on low-level all those functions are still in a > single text file, only the editor doesn't display them as such). Well - what about the outline paradigm? Project Class Method and so on? Imagine you can 'close' and 'open' outlines like, say, in Concurrence... -- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK (please do not reply to hukatronic.cz)
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 14 Aug 1995 04:15:12 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <40mikg$ecj@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: rsh problem Message-ID: <DDAIu6.ECG@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <40j751$8tm@cnn.Princeton.EDU> Date: Mon, 14 Aug 1995 07:44:29 GMT writes > > I have my cube networked locally to a sparc 5 running NeXTStep. > Everything seems to be working fine, nfs mounts are clean etc. > But I can't rsh to the cube from the sparc, but I can from the > cube to the sparc. I think the problem is internal to the > cube since I can't rsh from the cube to itself either. > Permission denied is the reply. I've scoured /etc/ and netinfo, > but can't seem to find the answer. I also have slip running on > the cube. > > thanks in advance > > paul lansky > paul@silvertone.princeton.edu > ~ -- I experienced this problem with SGI's and NEXTSTEP Intel. I think it went away when making .rhosts readable/writable by owner only, which NEXTSTEP seemed to require, for security reasons. Please correct me if I'm wrong, as I only *think* the problem was solved after this change... It might very well be something else because at the same time, there was an upgrade from NEXTSTEP 3.2 to 3.3 at that site. - david stes@icgned.nl
From: Rene Strauss <strar@info.isbiel.ch> Newsgroups: comp.sys.next.programmer Subject: Using AttributeParser in IXKit Date: 14 Aug 1995 11:02:56 GMT Organization: Biel School of Engineering Distribution: world Message-ID: <40nah0$ltc@vega.info.isbiel.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I'm using the IndexingKit in our current NS-project. I initialized a store-file using setParser:IX_NoWeighting forAttributeNamed:"anAttribute" The examples for parser are very rare (I found no examples at all).... Now I'm hanging :-( [cursor setKey:myKey andLength:strlen(myKey)] will find no key in a StringAttribute... What do I have to initialize before the query? Are there any examples around? -- So long and thanks for all the fish... (D.Adams) ////////////////////////////////////////////////////////////////////// / / /## / René Strauss (SLANG) / A4000/40/25 /## / / 10Megs RAM, 700Megs HD /## / http://www.isbiel.ch/~strar/first.html / CD32, A500 /## / strar@info.isbiel.ch / /## /_________________________________________/__________________________/## ######################################################################
Newsgroups: comp.sys.next.programmer From: G.C.Th.Wierda@AWT.NL (Gerben Wierda) Subject: MiscKit vs. Foundation Kit? Message-ID: <DDAyEq.K4x@AWT.NL> Sender: news@AWT.NL Organization: Adviesraad voor het Wetenschaps- en Technologiebeleid Mime-Version: 1.0 Date: Mon, 14 Aug 1995 13:20:50 GMT Would some kind soul with experience on MiscKit (and Foundation Kit) comment on the pro and cons on the parts where they overlap? Is going with MiscKit a good decision? Just interested in your opinions. Thanks,
From: tbm@tci002.uibk.ac.at (Martin Michlmayr) Newsgroups: comp.sys.next.programmer Subject: Re: MiscKit vs. Foundation Kit? Date: 14 Aug 1995 14:35:27 GMT Organization: Dept. of Computer Science, University of Salzburg Distribution: world Message-ID: <40nmvf$fo0@esel.cosy.sbg.ac.at> References: <DDAyEq.K4x@AWT.NL> Gerben Wierda (G.C.Th.Wierda@AWT.NL) wrote: / Would some kind soul with experience on MiscKit (and Foundation Kit) / comment on the pro and cons on the parts where they overlap? The new versions of the MiscKit will use the Foundation Kit, and not duplicate the effort anymore. All MiscKit classes that are Foundation Kit like will probably be used for GNUStep. / Is going with MiscKit a good decision? Yes, there are many useful classes. -- Martin Michlmayr | tbm@tci002.uibk.ac.at | tbm@gnu.ai.mit.edu GNUStep Volunteer Coordinator, http://fvkma.tu-graz.ac.at/gnustep/index.html
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: POSIX strftime() requires appkit? Date: 14 Aug 1995 15:35:31 GMT Organization: Information Technology Solutions, Inc. Message-ID: <40nqg3$u2@www.its.com> References: <dehznaexx7fdow8@titan.atype.com> deh@atype.com (David E. Hollingsworth) wrote: > I've had a bit of trouble compiling a C program with -posix on my NS3.2 box, > both when using cc and gcc 2.7.0. I'm not doing anything extraordinary; here > is a test program that illustrates the problem: [ ... ] > The commandline essentially looks like this: > gcc -g -Wall -D__USE_FIXED_PROTOTYPES__ -posix -o myprog myprog.c The only way you will correctly build POSIX compliant programs under NEXTSTEP is to use: cc -posix -g -Wall -o myprog myprog.c You cannot build gcc and use it for POSIX builds unless you understand the difference between /lib/crt0.o and /lib/posixcrt0.o, and you are familiar with the different link environments which result. BTW, you cannot combine "-posix" with any AppKit stuff anyway, since the AppKit makes assumptions about its environment which conflict with POSIX.... -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: Greg_Anderson@afs.com (Gregory H. Anderson) Newsgroups: comp.sys.next.programmer Subject: Employment opportunities at AFS Date: 14 Aug 1995 15:28:53 GMT Organization: Anderson Financial Systems Inc. Message-ID: <40nq3l$pk0@shelob.afs.com> Pay no attention to those awful people in c.s.n.advocacy who say the NEXTSTEP market is history. AFS has two immediate openings for project extensions at existing customer sites. Both are portfolio management companies; one primarily equities, the other equities and arbitrage. Experience in these areas is a plus, but not a requirement. We expect to do some training, so "smarts" is just as important as knowledge. These are not senior positions -- we already have project leaders -- so the main requirement is an enthusiasm for NEXTSTEP programming and at least a year of broad exposure to the environment. Also, you must be willing to relocate to suburban Philadelphia as a permanent full-time employee. Consultants will NOT be considered for these positions. Recent graduates looking for their first big break WILL be. For consideration, please send a resume with a brief summary of your relevant experience and salary requirements to <greg@afs.com>. These projects are ready to roll, so don't delay! ABOUT ANDERSON FINANCIAL SYSTEMS Anderson Financial Systems Inc. is a privately held software development company based in Springhouse, Pennsylvania (suburban Philadelphia). Founded in 1982, the company's primary business has been designing customized trading software for more than 60 Wall Street firms on MSDOS and NEXTSTEP platforms. Representative clients include First National Bank of Chicago, PaineWebber, Dean Witter, Soros Fund Management, Delaware Management Company, Oppenheimer Management Corp. and Texas Commerce Bank. Since adding NeXT to its roster in 1991, AFS has made a substantial commitment to building applications that leverage the unique capabilities of the NEXTSTEP operating environment. In addition to trading systems, AFS also produces WriteUp(tm) and PasteUp(tm) -- the leading word processing and page layout applications for NEXTSTEP -- and distributes TIFFany, the leading image manipulation program. -- Gregory H. Anderson | "Honey, there're few programming Gaffer/Best Boy/Key Grip | problems that can't be solved Anderson Financial Systems | with duct tape." -- 'Father' Duke greg@afs.com (NeXTmail OK) | (paraphrased), Doonesbury, 2/17/95
Newsgroups: comp.sys.next.programmer From: Gerben_Wierda@RnA.NL Subject: Nice formatted prints of C-code under NEXTSTEP. How? Message-ID: <DDB7C9.1qH@RnA.NL> Sender: gerben@RnA.NL (Gerben Wierda) Organization: G.R.O.S.S. Date: Mon, 14 Aug 1995 16:33:44 GMT I have been looking at vgrind, but it seems it doesn't do line numbers and besides, it has a different idea about the page size than is in my printer (A4). I seem to be unable to locate the point where I can change the behaviour to work correctly at a4 format. Does anybody know how: a) I can tell vgrind/troff to use a4 paper size b) A better way to produce good looking code on paper? Thanks, -- Gerben_Wierda@RnA.nl (Gerben Wierda) NEXTSTEP RD242 "If you don't know where you're going, any road will take you there" Paraphrased in Alice in Wonderland, originally from the Talmud.
From: jon@racer-x.com (Jon M. Kutemeier) Newsgroups: comp.sys.next.programmer Subject: Re: NXBrowser with multiple cells enabled Date: 14 Aug 1995 17:39:36 GMT Organization: VNP Software Message-ID: <JON.95Aug14123936@spridle.racer-x.com> References: <40gedq$iai@transfer.stratus.com> <40ioge$b9c@arcadia.informatik.uni-muenchen.de> In-reply-to: yoda@cis.uni-muenchen.de's message of 12 Aug 1995 17:30:54 GMT yoda@cis.uni-muenchen.de (Marc Guenther) wrote: [snip snip snip] > After I while, I found a third method, > setSelectionFrom:to:anchor:lit: and voila, when using that > one, the previous cells are NOT deselected. Strange, eh ? > It's definitely not in the documentation. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ actually, it *is* in the Matrix documentation... setSelectionFrom:to:anchor:lit: -- begin quote -- - setSelectionFrom:(int)startPos to:(int)endPos anchor:(int)anchorPos lit:(BOOL)flag Programmatically selects a range of Cells. startPos, endPos, and anchorPos are Cell positions, counting from 0 at the upper left Cell of the Matrix, rows before columns. For example, the third Cell in the top row would be number 2. startPos and endPos are used to mark where the user would have pressed the mouse button and released it, respectively. anchorPos locates the ªlast selected Cellº with regard to extending the selection by Shift- or Alternate-clicking. Finally, lit determines whether Cells selected by this method are highlighted. See also: - isSelectionByRect, - getSelectedCells:, - cellList -- end quote -- -jon jon@vnp.com
Newsgroups: comp.sys.next.programmer From: klett002@maroon.tc.umn.edu (James P. Klett) Subject: MiscKit Beginner Question Message-ID: <DDBB7u.GDE@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: UofM Alumni Date: Mon, 14 Aug 1995 17:57:44 GMT Hi, I just started using the MiscKit. I used IB to put together a simple app with no code just some of the MK pallette objects in a window to see how they worked. Anyway, When I try to build the app with PB I get errors, and I'm not sure what I am doing wrong. Here is the error. ld: can't locate file for -lMiscArrowButton ***Exit 1 Stop ***Exit 1 Stop Now, I have placed the libMisc...a files in the project and made the headers available but maybe I did it worng?? Thanks in advance JIM ___ ___....-----'---'-----....___ ========================================= ___'---..._______...---'___ (___) _|_|_|_ (___) \\____.-'_.---._'-.____// klett002@maroon.tc.umn.edu
From: Allen Hopkins <allenh> Newsgroups: comp.sys.next.programmer Subject: interfacing w/ server on Sun w/s Date: 14 Aug 1995 19:21:29 GMT Organization: University of California, Berkeley Message-ID: <40o7np$4l6@agate.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit We (forrestg@cea.berkeley.edu and allenh@cea.berkeley.edu) are writing a server to run on a Sun workstation and serve a client on a PC running NeXTSTEP, about which we know very little and have no documentation. Our burning question is how to communicate requests for data and replies. If we were doing it on a Unix-only environment, we'd use SunRPC or BSD sockets. What do you have to do on a NeXTSTEP system to communicate with a Unix system via RPC or (second choice but perhaps more generic,) sockets? The human clients we're doing this for are on the other coast (Boston University) and have the PC and some documentation. If anyone could give us advice on how to proceed or what documentation to ask BU for, we'd be much obliged.
From: Allen Hopkins <allenh> Newsgroups: comp.sys.next.programmer Subject: interfacing w/ server on Sun w/s Date: 14 Aug 1995 19:21:56 GMT Organization: University of California, Berkeley Message-ID: <40o7ok$5o1@agate.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit We (forrestg@cea.berkeley.edu and allenh@cea.berkeley.edu) are writing a server to run on a Sun workstation and serve a client on a PC running NeXTSTEP, about which we know very little and have no documentation. Our burning question is how to communicate requests for data and replies. If we were doing it on a Unix-only environment, we'd use SunRPC or BSD sockets. What do you have to do on a NeXTSTEP system to communicate with a Unix system via RPC or (second choice but perhaps more generic,) sockets? The human clients we're doing this for are on the other coast (Boston University) and have the PC and some documentation. If anyone could give us advice on how to proceed or what documentation to ask BU for, we'd be much obliged.
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Re: HELP!!! Message-ID: <DDBCxA.1s2@hurka.UUCP> Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <paulrs-1208951606270001@lgs-systems.buf.servtech.com> Date: Mon, 14 Aug 1995 18:34:21 GMT In article <paulrs-1208951606270001@lgs-systems.buf.servtech.com> paulrs@lgs-systems.buf.servtech.com (Paul R. Summermatter) writes: [stuff deleted] > I am able to boot up in a single user mode from a floppy and > CD-ROM and get to the '#' sign. From here, I can execute all > commands with root priviledges. I am definitely not familiar > with most of the disk utility commands built into unix. All of > my information has come from the man pages. My first reading of > the man pages led me to attempt a 'scan' of the disk using the > interactive mode of the 'disk' command. I executed the following > command 'disk -l mydisk /dev/rsd0a. The hard drive failed to > respond on 7 or 8 successive tries to access it. Finally, the > process aborted itself with 'FATAL ERROR'. This left me at the > 'disk>' prompt from which I attempted a 'scan'. This returned > 'get label: Invalid Argument'. I guess, you have only NS partition on the disk. I that case use 'disk /dev/rsd0h' instead of 'disk -l mydisk /dev/rsd0a' and than try 'scan'. If scan finds the backed-up boot block, use it with -b option to fsck. If you need more help, please, let me know. Best regards, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: gwu@delhi.eecs.umich.edu (Gwobaw A. Wu) Newsgroups: comp.sys.next.programmer Subject: forward declaration of a class in objective-c Date: 14 Aug 1995 20:42:23 GMT Organization: University of Michigan EECS Dept. Message-ID: <40ocff$7kf@zip.eecs.umich.edu> hi, does anyone know how to forward-declare classes in objective-c? I know I can use 'id,' but am looking for a better solution. Your help would be greatly appreciated. thanks, --Gwo Baw (gwu@eecs.umich.edu)
From: Mark A. Doucet Newsgroups: comp.sys.next.programmer Subject: Experienced NEXTSTEP Programmer Needed! Date: 15 Aug 1995 04:44:50 GMT Organization: DigiPhone Corp., College Station, TX. 409.693.8885 Message-ID: <40p8o2$2l7@news.myriad.net> Dominion Technologies, Ltd. is looking for an experienced but hungry NEXTSTEP programmer who has the time to take a risk in developing a much needed business utility app. We say risk because compensation is dependent upon how the app does in the marketplace. The programmer will need to sign a legal disclosure agreement before commensing work. All intereseted persons please send resumes of NEXTSTEP experience to: markdo@mail.myriad.net Mark Doucet President Dominion Technologies, Ltd. P.O. Box 3897 College Station, TX 77844 409.778.3615 --
From: bresink@infko.uni-koblenz.de (Marcel Bresink) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 15 Aug 1995 07:10:05 GMT Organization: University Koblenz / Germany Message-ID: <40ph8d$bk0@newshost.uni-koblenz.de> References: <40ocff$7kf@zip.eecs.umich.edu> gwu@delhi.eecs.umich.edu (Gwobaw A. Wu) wrote: > does anyone know how to forward-declare classes in objective-c? Simply use the @class directive, e.g.: @class someClass; Marcel --- Marcel Bresink, University of Koblenz, Computer Graphics Lab, Institute for Computer Science Rheinau 1, D-56075 Koblenz, Germany
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: forward declaration of a class in objective-c Message-ID: <DDCCnE.H37@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <40ocff$7kf@zip.eecs.umich.edu> Date: Tue, 15 Aug 1995 07:26:02 GMT Gwobaw A. Wu writes > hi, > > does anyone know how to forward-declare classes in objective-c? > I know I can use 'id,' but am looking for a better solution. > Your help would be greatly appreciated. > > thanks, > > --Gwo Baw > (gwu@eecs.umich.edu) -- Systematically using "id" *is* the better solution. If you know in advance "what type a certain object is", you can express that using an "assert" statement (together with more important assertions). Using "id" makes your Objective C code elegant and concise. You will not have to worry about the portability of @class and other directives. In my Computer Algebra Kit software (http://www.can.nl), I'm using "id" only (after a few years of struggling with static typing, categories and protocols). - david stes@icgned.nl
Newsgroups: comp.sys.next.programmer From: saty@next2.togliatti.su (S.A. TsYbanov) Subject: Namei () BSD kernel function in NeXTSTEP. Message-ID: <DDCIFr.DtA@ladem.tlt.ru> Sender: usenet@ladem.tlt.ru (Mr. Usenet) Organization: JV Ladem Date: Tue, 15 Aug 1995 09:31:02 GMT Hi ! What function should I use instead BSD namei() kernel function ? Help please !!!!! -- ******************* Is There Anybody Out There ? ********************** * SATY ( Sergey A. TsYbanov ). * * E-mail, NeXT-mail, talk utility: saty@next2.togliatti.su * ****************************************************************** ***** -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FYI;"!.6$-O=7)I97([7&8Q7&9M M;V1E<FX@0V]U<FEE<CM]"EQM87)G;#$R,`I<;6%R9W(Q,C`*7'!A<F1<='@Q M,34R7'1X,C,P-%QT>#,T-39<='@T-C`X7'1X-3<V,%QT>#8Y,3)<='@X,#8T M7'1X.3(Q-EQT>#$P,S8X7'1X,3$U,C!<9C!<8C!<:3!<=6QN;VYE7&9S,C1< M9F,P7&-F,"!(:2`A7`I7:&%T(&9U;F-T:6]N('-H;W5L9"!)('5S92!I;G-T M96%D($)31"!N86UE:2@I(&ME<FYE;"!F=6YC=&EO;B`_7`I(96QP('!L96%S M92`A(2$A(5P*7`HM+5P*"EQP87)D7'1X,3$T,%QT>#(S,#!<='@S-#0P7'1X M-#8P,%QT>#4W-C!<='@V.3`P7'1X.#`V,%QT>#DR,#!<='@Q,#,V,%QT>#$Q M-3(P7&8Q7&)<9F,P7&-F,"`@*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*B!)<R!4:&5R M92!!;GEB;V1Y($]U="!4:&5R92`_("HJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BI< M"B`J("`@("`@("`@("`@("`@("`@(%-!5%D@*"!397)G97D@02X@5'-98F%N M;W8@*2X@("`@("`@("`@("`@("`@("`@("`@*EP*("H@12UM86EL+"!.95A4 M+6UA:6PL('1A;&L@=71I;&ET>3H@("`@("`@<V%T>4!N97AT,BYT;V=L:6%T M=&DN<W4@("`@("`J7`H@*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BI<"@I] !"BHJ `
From: bresink@infko.uni-koblenz.de (Marcel Bresink) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 15 Aug 1995 14:18:45 GMT Organization: University Koblenz / Germany Message-ID: <40qac5$cpq@newshost.uni-koblenz.de> References: <40ocff$7kf@zip.eecs.umich.edu> <DDCCnE.H37@icgned.nl> stes@icgned.nl (David Stes) wrote: > Systematically using "id" *is* the better solution. [...] > Using "id" makes your Objective C code elegant and concise. [...] > In my Computer Algebra Kit software (http://www.can.nl), I'm > using "id" only But be careful: There might be a paradigm change in the near future. If you are using "id" only, it will be more difficult to upgrade your application to OpenStep or NEXTSTEP 4.0. Static typing is one of the "new" concepts of the OpenStep API. Marcel --- Marcel Bresink, University of Koblenz, Computer Graphics Lab, Institute for Computer Science Rheinau 1, D-56075 Koblenz, Germany
From: mauriti@blasuarr.cs.tu-berlin.de (Frank Hartlep) Newsgroups: comp.sys.next.programmer Subject: SWI-Prolog Date: 15 Aug 1995 14:50:46 GMT Organization: Technical University of Berlin, Germany Message-ID: <40qc86$22l@news.cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Keywords: brk, saved state Did anybody manage to get SWI-Prolog's saved-state feature to work under NeXTstep. It needs brk and sbrk, but these system calls aren't supported due to Mach's own way to handle memory. Can brk be simulated without too much programming effort? Or even better, has somebody already done anything similar? Thanks, Frank
From: pisul_cj@cowley.uwlax.edu (Charles Pisula S92) Newsgroups: comp.sys.next.programmer Subject: NXImage in a scroll view Date: 15 Aug 1995 15:28:00 GMT Organization: University of Wisconsin - La Crosse Message-ID: <40qee0$1uo@alfred.acs.uwlax.edu> Hi, I can't seem to get the following situation to work and could use some help. Inside my ScrollView, I have a View that contains an NXImage. The Image stored by the NXImage will change through out time. Since the size of the image may change, I want the ScrollView to reflect size changes in the Image. The following does not work for me. What am I doing wrong. @implementation SomeView - initFrame:(const NXRect *) framerect { [super initFrame:framerect]; TheImage = [[NXImage alloc] init]; return self; } - loadImageFromFile:(const char *)filename { NXSize imagesize; [TheImage loadFromFile:Filename]; [TheImage getSize:&imagesize]; [self sizeTo:imagesize.width:imagesize.height]; return self; } - drawSelf:(const NXRect *)rect :(int) count { PSsetgray(NX_LTGRAY); NXRectFill(rect); [[TheImage bestRepresentation] draw]; return self; } @end Thanks in advance, -- Chuck Pisula ------------------------------------------------- Steve Jobs quote From UnixWorld, April 1993 "If we give people an alternative to Microsoft... it will have been a greater good." ------------------------------------------------- ***
From: frank@miranda.tue.schwaben.de (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 15 Aug 1995 16:15:52 GMT Organization: Seicom GmbH, Reutlingen, Germany, Europe Message-ID: <40qh7o$87c@gate.seicom.net> References: <40ocff$7kf@zip.eecs.umich.edu> <DDCCnE.H37@icgned.nl> <40qac5$cpq@newshost.uni-koblenz.de> Marcel Bresink wrote: >But be careful: There might be a paradigm change in the near future. If you >are using "id" only, it will be more difficult to upgrade your application >to OpenStep or NEXTSTEP 4.0. Static typing is one of the "new" concepts of >the OpenStep API. And the NeXT-step is using C++ as the language of choice.... *no thanks*. Part of the power of obj-c comes from the fact that it is no static typed language. Of course the API will change. Does that mean we all must change our way we think about programming...? Just my 0.2 pfennig... - Frank --- Frank M. Siegert [frank@miranda.tue.schwaben.de] NeXTSTEP & PostScript Guy
From: deh@atype.com (David E. Hollingsworth) Newsgroups: comp.sys.next.programmer Subject: Re: POSIX strftime() requires appkit? Date: 15 Aug 1995 15:43:11 -0400 Organization: Archetype, Inc. Sender: deh@titan.atype.com Message-ID: <x2virz9cmn.fsf@titan.atype.com> References: <dehznaexx7fdow8@titan.atype.com> <40nqg3$u2@www.its.com> In-reply-to: chuck@its.com's message of 14 Aug 1995 15:35:31 GMT Chuck, Thanks for your reply. In article <40nqg3$u2@www.its.com> chuck@its.com (Chuck Swiger) writes: > The only way you will correctly build POSIX compliant programs under > NEXTSTEP is to use: > > cc -posix -g -Wall -o myprog myprog.c Did you actually try this on my sample program? For me, at least, it choked in the same way gcc 2.7.0 did: titan: ~/tmp% cat myprog.c #include <stdio.h> #include <time.h> int main() { char foo[512]; strftime(foo, sizeof(foo), "%m/%d/%y", localtime(NULL)); printf("%s\n", foo); return 0; } titan: ~/tmp% which cc /bin/cc titan: ~/tmp% cc -posix -g -Wall -o myprog myprog.c ld: Undefined symbols: _objc_msgSend _NXGetDefaultValue _NXRegisterDefaults .objc_class_name_NXStringTable .objc_class_name_NXBundle > You cannot build gcc and use it for POSIX builds unless you understand the > difference between /lib/crt0.o and /lib/posixcrt0.o, and you are familiar > with the different link environments which result. I must admit that I've paid no attention to such issues. Other than strftime(), things seem to work properly. Trying: titan: cc -posix -g -Wall -o myprog myprog.c -nostdlib -lposix resulted in _environ (as well as the items mentioned previously) being listed as undefined. Is is sufficient just to link with /lib/posixcrt0.o, and not link with any system libraries other than libposix.a? > BTW, you cannot combine "-posix" with any AppKit stuff anyway, since the > AppKit makes assumptions about its environment which conflict with POSIX.... That makes sense; but why would NeXT's POSIX strftime() implementation rely on NXBundle and NXStringTable? David Hollingsworth deh@atype.com
From: peter@bert.psyc.upei.ca Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 15 Aug 1995 23:34:58 GMT Organization: University of Prince Edward Island, Charlottetown, PEI Canada Message-ID: <40rav2$7sg@atlas.cs.upei.ca> References: <40ocff$7kf@zip.eecs.umich.edu> gwu@delhi.eecs.umich.edu (Gwobaw A. Wu) wrote: > hi, > does anyone know how to forward-declare classes in objective-c? > I know I can use 'id,' but am looking for a better solution. > Your help would be greatly appreciated. > thanks, @class MyClass; declares a class which is (presumably) declared elsewhere. Peter -- Peter 'Beaker' Burka / GCS d--- h---- s+ g+ p? au a- w+ v++ C++ UL++++/X+++/ Prince Edward Island \ O++ P+ L+>++ 3 N++ K++ W++/--- M- V-\ po-- Y+ t+ 5- pburka@upei.ca / v b+++ D++ b- e+(*) u--- h* f- r- n- y-@ j++ r-- "If only we were weiner dogs our problems would be all solved"
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP/Developers/DC Area Date: 15 Aug 1995 23:52:32 GMT Organization: Norden 1 Communications Message-ID: <40rc00$g78@tofu.alt.net> Programmer/analyst/developers NEXTSTEP Objective C Sybase DB Kit or EOF Contract Long term DC Area To be considered---Fax resume or mail a hard copy. -- ehutch@norden1.com (419) 893-6367 [fax] The Omni Group (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: willers@butp.unibe.ch (Moritz Willers) Newsgroups: comp.sys.next.programmer Subject: Memory access exception in objc_msgSend Date: 15 Aug 1995 23:34:42 GMT Message-ID: <40raui$c5d@aragorn.unibe.ch> We're lost. Program generated(1): Memory access exception on address 0xcb0c6ea6 (invalid address). 0x5006a4c in objc_msgSend () (gdb) bt #0 0x5006a4c in objc_msgSend () #1 0x3d2d4 in ?? () #2 0x5006c4c in objc_msgSendv () #3 0x5071e50 in +[NXConnection handleRequestOnPortal:] () #4 0x5072b7a in -[NXConnection runWithTimeout:] () #5 0x5072bf6 in -[NXConnection run] () #6 0x4180 in main (argc=1, argv=0xcb0c6e86) at pavlovEngine.m:48 (gdb) tl There are 4 threads. Thread State Suspend Port PC Name Function 0 S 0 0x1807 0x5006a4c Main Thread objc_msgSend 1 S 0 0x1717 0x5008816 _t1 msg_receive_trap 2 S 0 0x1309 0x5008816 Sub Thread msg_receive_trap 3 S 0 0x1c01 0x5008816 Notifier Thread msg_receive_trap The current thread is thread 0. or even better: Program generated(1): Memory access exception on address 0x3fe3cc3c (invalid address). 0x5008b98 in nxzonefreenolock () (gdb) bt Reading in symbols for pavlovEngine.m...done. #0 0x5008b98 in nxzonefreenolock () #1 0x500d0c6 in nxzonefree () #2 0x500ab8a in _cache_expand () #3 0x500968a in _cache_fill () #4 0x5011758 in _class_lookupMethodAndLoadCache () #5 0x5006bb8 in objc_msgSendSuper () #6 0x507437e in -[NXPortPortal finishDecoding] () #7 0x5072b90 in -[NXConnection runWithTimeout:] () #8 0x5072bf6 in -[NXConnection run] () #9 0x43f4 in main (argc=1, argv=0x0) at pavlovEngine.m:48 (gdb) tl There are 4 threads. Thread State Suspend Port PC Name Function 0 S 0 0x1505 0x5008b98 Main Thread nxzonefreenolock 1 S 0 0x1605 0x5008816 _t1 msg_receive_trap 2 S 0 0x1701 0x5008922 Sub Thread swtch_pri 3 S 0 0x1801 0x5008922 Notifier Thread swtch_pri The current thread is thread 0. Can anyone tell us on which occasions such errors might come up. We haven't got a clue. The program is using a lot of DO stuff. We can get a great variety of such errors out of it but not much sense. Thanks, -- Moritz Willers Institute of Theoretical Physics Sidlerstrasse 5 3012 Bern, Switzerland willers@butp.unibe.ch (NeXTMail, MIME)
From: frank@miranda.tue.schwaben.de (Frank M. Siegert) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: *** ObjTcl is a MUST TRY! *** - Why TCL? Date: 15 Aug 1995 22:07:18 GMT Organization: Seicom GmbH, Reutlingen, Germany, Europe Message-ID: <40r5qm$47c@gate.seicom.net> References: <40im00$p0n@ns2.ny.ubs.com> Now ObjTCL seems to be a very good product it still raises the question what language an integrated interpreter (embedded in IB) should use. There was a discussion on gnu.misc.discussion in 1994 about the choice of the gnu extension language and they choose a different kind of language (Scheme, IMHO a good choice). See http://minsky.med.virginia.edu/sdm7g/LangCrit/Tcl/ for more information about the 1994 language war. Please try to understand my point, I really don't want to bash on ObjTCL, as Pedja has undoubtedly made it a good product. I just want to raise the question "Why using TCL for this?" Why not using an objective-c interpreter (or ... )? - Frank --- Frank M. Siegert [frank@miranda.tue.schwaben.de] NeXTSTEP & PostScript Guy
From: nelson@grasshopper.santafe.edu (Nelson Minar) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: *** ObjTcl is a MUST TRY! *** - Why TCL? Date: 16 Aug 1995 04:24:00 GMT Organization: self Message-ID: <40rrt0$p00@tierra.santafe.edu> References: <40im00$p0n@ns2.ny.ubs.com> <40r5qm$47c@gate.seicom.net> In article <40r5qm$47c@gate.seicom.net>, Frank M. Siegert <frank@miranda.tue.schwaben.de> wrote: >Please try to understand my point, I really don't want to bash on >ObjTCL, as Pedja has undoubtedly made it a good product. I just >want to raise the question "Why using TCL for this?" This is an ideal introduction for a major flamewar, one I'll dodge. I will say, though, why I'm using Tcl as a scripting language for a non-NeXTstep Objective C system I'm developing. Tcl works. It's a mature, functional product. Given the current lack of alternatives, this makes sense. Now, when Guile comes out I'll be all for shifting to it. But the real reason I'm posting is to see if anyone out there is using libtclobjc. If so, could you drop me a note? I'm in the process of producing a minor revision of libtclobjc, and want to hear from other users of the library. Changes I've made are a new configure script, minor change for Tcl 7.4, and a couple of extra methods to Tk.m to get access to Tk data structures. -- __ nelson@santafe.edu \/ http://www.santafe.edu/~nelson/
From: pascal@galileo (Pascal Thibaudeau) Newsgroups: comp.sys.next.programmer Subject: ext2 and minix fs on a NeXT Date: 13 Aug 1995 11:52:43 GMT Organization: CRIBX1 , Universite de Bordeaux I , France Message-ID: <40kp2b$mjm@serveur> hello, Who has already installed the ext2 and minix filesystems on a NeXT running NEXTSTEP 3.3 ? Thanks. -Pascal pascal@galileo.slip.u-bordeaux.fr ( NEXTMAIL OK ) pthibaud@frbdx11.cribx1.u-bordeaux.fr ( NO NEXTMAIL )
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Tue, 15 Aug 95 21:14:55 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9508151914.AA04351@flexus> Subject: Re: NXBrowser with multiple cells enabled Maybe someone who is more interested than I am at the moment might check that Comment? >>>>> KBNS.33.1.009_o3.2o How to programmatically select multiple cells, or a cell which is not the first with that name in its column? Description: See title. The only methods which allows one to set a selection are -setPath:, which does not allow for the cases specified in the title, and -selectAll:, which does just that. How to verify: Read the documentation, especially for -setPath:. Urgency: Does no damage, is rather obvious (the problem is!), easy workaround. Confirmed: Raf_Schietekat (o3.2o, reported) Workaround: Use -[Matrix setSelectionFrom:to:anchor:lit:] on the matrix obtained for the desired column (using -matrixInColumn:). Cure (for NeXT): Document this in a prominent location in the NXBrowser documentation, including why it works (reassuring the programmer that NXBrowser indeed relies on Matrix to remember this---if that is the case). Report history: Discussion on c.s.n.p in 1995-08. Comment: Is the selectedCell ivar actually a List of them (not tested)? If not, where is the information stored? And what about delegate methods, or are they only invoked for GUI-initiated selection setting (and -selectAll:, setPath:?)? <<<<< (BTW, KBNS.33.0 is now available as ftp://ftp.cs.orst.edu/software/NeXT/documents/KBNS.33.0.rtf (it's bbiggg). Check out the accompanying KBNS.33.0.README.rtf, and/or my announcement on c.s.n.b, or c.s.n.a when it comes through.) Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Re: POSIX strftime() requires appkit? Message-ID: <DDE7yv.DK@hurka.UUCP> Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <x2virz9cmn.fsf@titan.atype.com> Date: Wed, 16 Aug 1995 07:40:06 GMT In article <x2virz9cmn.fsf@titan.atype.com> deh@atype.com (David E. Hollingsworth) writes: [stuff deleted] > titan: ~/tmp% cat myprog.c > #include <stdio.h> > #include <time.h> > > int main() > { > char foo[512]; > > strftime(foo, sizeof(foo), "%m/%d/%y", localtime(NULL)); > printf("%s\n", foo); > return 0; > } > titan: ~/tmp% which cc > /bin/cc > titan: ~/tmp% cc -posix -g -Wall -o myprog myprog.c > ld: Undefined symbols: > _objc_msgSend > _NXGetDefaultValue > _NXRegisterDefaults > .objc_class_name_NXStringTable > .objc_class_name_NXBundle Try it this way: /Users/tom/test> cat xxx.c #include <stdio.h> #include <time.h> int main() { char foo[512]; time_t t=time(NULL); strftime(foo, sizeof(foo), "%m/%d/%y", localtime(&t)); printf("%s\n", foo); return 0; } /Users/tom/test> cc -posix -Wall -lposix -g xxx.c /Users/tom/test> a.out 08/16/95 /Users/tom/test> I hope it helps you. Best regards, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: hadar@amazon (Hadar Pedhazur) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: *** ObjTcl is a MUST TRY! *** - Why TCL? Followup-To: comp.sys.next.programmer,comp.lang.objective-c Date: 16 Aug 1995 11:51:59 GMT Organization: Union Bank of Switzerland, New York site Message-ID: <40sm4v$qm3@ns2.ny.ubs.com> References: <40im00$p0n@ns2.ny.ubs.com> <40r5qm$47c@gate.seicom.net> <40rrt0$p00@tierra.santafe.edu> Nelson Minar (nelson@grasshopper.santafe.edu) wrote: : In article <40r5qm$47c@gate.seicom.net>, : Frank M. Siegert <frank@miranda.tue.schwaben.de> wrote: : >Please try to understand my point, I really don't want to bash on : >ObjTCL, as Pedja has undoubtedly made it a good product. I just : >want to raise the question "Why using TCL for this?" : This is an ideal introduction for a major flamewar, one I'll dodge. : I will say, though, why I'm using Tcl as a scripting language for a : non-NeXTstep Objective C system I'm developing. Tcl works. It's a : mature, functional product. Given the current lack of alternatives, : this makes sense. Now, when Guile comes out I'll be all for shifting : to it. : But the real reason I'm posting is to see if anyone out there is using : libtclobjc. If so, could you drop me a note? I'm in the process of : producing a minor revision of libtclobjc, and want to hear from other : users of the library. Changes I've made are a new configure script, : minor change for Tcl 7.4, and a couple of extra methods to Tk.m to get : access to Tk data structures. : -- : __ : nelson@santafe.edu \/ http://www.santafe.edu/~nelson/ Also not to get into a flame war, even if GUILE were mature, stable, well received, etc., do you have a version that *is* integrated with the runtime?, that *is* integrated with IB? Again, I do *not* want to flame, but I *do* want to get *work* done *today*! ObjTcl let's me do that better *today* than I could *yesterday* without it (OK, that's a lie, I have been using ObjTcl for quite a while, and therefore it has been helping me for longer than just yesterday :-)). Oh oh, and I *really* do mean it when I say that I don't want to start a flame war here ... but: While I understand the religious ferver that people ascribe to Perl vs Tcl wars, Scheme vs Tcl, etc., I will point out that ObjTcl does not suffer from *all* of the normal "one language vs another language" problems. We must keep in mind that ObjTcl has full ObjC standing behind it, and Tcl is merely *glue*. In other words, you do not have to write 10000 line ObjTcl programs that are pure Tcl! You might have 10000 lines of ObjTcl (possibly with zero Objective-C behind it!), but you have the richness of *types*, a *runtime*, with *instances*, etc., so it isn't exactly Tcl either ... Please forgive me, and don't explain to me why GUILE is better anyway, unless you also show me how to leverage my current ObjC libraries with it :-). -- Hadar Pedhazur Global Equity Derivatives Union Bank of Switzerland (UBS)
From: Rene Strauss <strar@info.isbiel.ch> Newsgroups: comp.sys.next.programmer Subject: HELP! Return returns to the wrong class Date: 16 Aug 1995 07:32:43 GMT Organization: Biel School of Engineering Distribution: world Message-ID: <40s6ur$mfn@vega.info.isbiel.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I delegated a method and performed it. But the return in the delegated method jumps to an other class... Need help (sorry, poor beginner..;-() -- ////////////////////////////////////////////////////////////////////// / / /## / René Strauss (SLANG) / A4000/40/25 /## / / 10Megs RAM, 700Megs HD /## / http://www.isbiel.ch/~strar/first.html / CD32, A500 /## / strar@info.isbiel.ch / /## /_________________________________________/__________________________/## ######################################################################
From: leeden@cezanne.pst.informatik.uni-muenchen.de (Christian Leeden van der) Newsgroups: comp.sys.next.programmer Subject: EOF Q: How to format Numbers in NXTableView Date: 16 Aug 1995 15:33:49 GMT Organization: Institut fuer Informatik der Universitaet Muenchen Distribution: world Message-ID: <40t34t$mar@arcadia.informatik.uni-muenchen.de> Hi all! I am trying to display floats in a NXTableView. They display all right, but I want to format them so they are exact in two digits. So when I have a float value of 3.3333333 I want the NXTableView to display it as 3.33 and if I have a float value of 3 I want it to be displayed as 3.00. How Do I go about it? I don't have any idea how to do it so I would appreciate very much any help. Thanx Chris "Erst wenn die letzte Shelltankstelle geschlossen, die letzte Bohrinsel versenkt, werdet ihr merken, dass Greenpeace nachts kein Bier verkaufen kann." ------------------------------------------------------------ Christian van der Leeden leeden@informatik.uni-muenchen.de LMU Muenchen chris@hpmcha.gsr.hp.com
From: pisul_cj@cowley.uwlax.edu (Charles Pisula S92) Newsgroups: comp.sys.next.programmer Subject: DPSAddPort Examples...... Date: 16 Aug 1995 17:19:13 GMT Organization: University of Wisconsin - La Crosse Message-ID: <40t9ah$cat@alfred.acs.uwlax.edu> Hello, Does anyone know of any good examples out there using DPSAddPort / msg_receive(). I am writing some client code that wants to receive data from an image processing server when the data is available, and be free to do other things while waiting for data. I am assuming that DPSAddPort() is the proper way to do such a thing, but can be persuaded to accept better methods. Thanks. -- Chuck ------------------------------------------------- Steve Jobs quote From UnixWorld, April 1993 "If we give people an alternative to Microsoft... it will have been a greater good." ------------------------------------------------- ***
Newsgroups: comp.sys.next.programmer,comp.lang.objective-c From: mccallum@cs.rochester.edu (Andrew McCallum) Subject: Re: *** ObjTcl is a MUST TRY! *** - Why TCL? In-Reply-To: hadar@amazon's message of 16 Aug 1995 11:51:59 GMT Message-ID: <MCCALLUM.95Aug16134343@zebra.cs.rochester.edu> Followup-To: comp.sys.next.programmer,comp.lang.objective-c Sender: mccallum@cs.rochester.edu (Andrew McCallum) Organization: Dept. of Computer Science, University of Rochester References: <40im00$p0n@ns2.ny.ubs.com> <40r5qm$47c@gate.seicom.net> <40rrt0$p00@tierra.santafe.edu> <40sm4v$qm3@ns2.ny.ubs.com> Date: 16 Aug 1995 17:43:43 GMT In article <40sm4v$qm3@ns2.ny.ubs.com> hadar@amazon (Hadar Pedhazur) writes: Please forgive me, and don't explain to me why GUILE is better anyway, unless you also show me how to leverage my current ObjC libraries with it What is libguileobjc? ===================== I have implemented glue that lets you send messages to Objective-C objects from GUILE. It can pass and return long, int, short, char, float, double, and Objective-C objects. This is an early release---far from polished or complete. It adds the following new primitives to GUILE: (objc-lookup-class class-string) ; returns class object (objc-id? any) (objc-classnames) ; returns a list of class names (objc-msg-send receiver method [args]...) and a macro the handles the quoting of method names: (objc-send receiver method [args]...) It uses the functions in libobjects' mframe.m to construct method calls on the fly (the same mechanism as used by distributed objects). For example, you can do things like: (define foo (objc-send List new)) (objc-send foo addObject: (objc-send Object new)) (objc-send foo addObject: (objc-send Object new)) (objc-send foo addObject: (objc-send Object new)) (define bar (objc-send foo objectAt: 1)) (define count (objc-send foo count)) (objc-send foo replaceObjectAt:with: 1 (objc-send Object new)) What's new? =========== Libguileobjc version 0.2 compiles with guile-ii. Version 0.1 was based on guile-i. Where can you get it? ===================== ftp://ftp.cs.rochester.edu/pub/u/mccallum/guileobjc-0.2.tar.gz Happy hacking, Andrew Andrew Kachites McCallum EBOX: mccallum@cs.rochester.edu Computer Science Dept VOX: (716) 275-2527, (716) 275-1372 (lab) University of Rochester FAX: (716) 461-2018 Rochester, NY 14627-0226 http://www.cs.rochester.edu/u/mccallum -- Andrew Kachites McCallum EBOX: mccallum@cs.rochester.edu Computer Science Dept VOX: (716) 275-2527, (716) 275-1372 (lab) University of Rochester FAX: (716) 461-2018 Rochester, NY 14627-0226 http://www.cs.rochester.edu/u/mccallum
From: deh@atype.com (David E. Hollingsworth) Newsgroups: comp.sys.next.programmer Subject: Re: POSIX strftime() requires appkit? Date: 16 Aug 1995 15:23:12 -0400 Organization: Archetype, Inc. Sender: deh@titan.atype.com Message-ID: <x2ybwtps9r.fsf@titan.atype.com> References: <x2virz9cmn.fsf@titan.atype.com> <DDE7yv.DK@hurka.UUCP> In-reply-to: tom@hukatronic.cz's message of Wed, 16 Aug 1995 07:40:06 GMT Essentially, what Tomas has done here is fix up my code a bit. In my haste to write an example, I used the incorrect line: + strftime(foo, sizeof(foo), "%m/%d/%y", localtime(NULL)); Nonetheless, the error that I'm having is not a runtime error involving localtime(), it's a link error involving strftime(). In article <DDE7yv.DK@hurka.UUCP> tom@hukatronic.cz (Tomas Hurka) writes: >Try it this way: >/Users/tom/test> cat xxx.c >#include <stdio.h> >#include <time.h> > >int main() >{ > char foo[512]; > time_t t=time(NULL); > > strftime(foo, sizeof(foo), "%m/%d/%y", localtime(&t)); > printf("%s\n", foo); > return 0; >} >/Users/tom/test> cc -posix -Wall -lposix -g xxx.c >/Users/tom/test> a.out >08/16/95 >/Users/tom/test> I'm gracious for the assistance, of course, but the result (for me) is still the same: titan: ~/tmp% cc -posix -Wall -lposix -g xxx.c ld: Undefined symbols: _objc_msgSend _NXGetDefaultValue _NXRegisterDefaults .objc_class_name_NXStringTable .objc_class_name_NXBundle Tomas, could you nm your libposix.a and see if strftime() uses these symbols? Here's what mine looks like: libposix.a(strftime.o): U .objc_class_name_NXBundle U .objc_class_name_NXStringTable 000004ac s _DateTimeDefaults 0000014a t _LookupString U _NXGetDefaultValue U _NXRegisterDefaults 0000095c d _RegisteredDefaults 00000948 d __AmPm 00000954 d __Date 00000950 d __DateAndTime 000008cc d __LongDays 00000918 d __LongMonths U __NXGetAppName 00000000 T __NXGetLocalizedDefault 000008b0 d __ShortDays 000008e8 d __ShortMonths 00000958 d __Time 000000ce T __strftime_clear_cache 00000960 d _defaultTable.4 U _memset U _objc_msgSend U _setlocale U _sprintf 00000220 T _strftime --deh! David Hollingsworth
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 16 Aug 1995 15:38:49 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508162033.WAA18820@ns.ms.mff.cuni.cz> References: <40qh7o$87c@gate.seicom.net> In comp.sys.next.programmer article <40qh7o$87c@gate.seicom.net> frank@miranda.tue.schwaben.de (Frank M. Siegert) wrote: > Marcel Bresink wrote: >>But be careful: There might be a paradigm change in the near future. >>If you are using "id" only, it will be more difficult to upgrade >>your application to OpenStep or NEXTSTEP 4.0. Static typing is one >>of the "new" concepts of the OpenStep API. > > And the NeXT-step is using C++ as the language of choice.... *no > thanks*. Part of the power of obj-c comes from the fact that it > is no static typed language. Jesus... is it _so_ difficult to understand the Objective C static typing is _utterly_ different from the C++ one? - in ObjC, you have late binding everywhere, even with static typed expressions; - the only consequence of static typing is improved _compile time_ warning list; - so, should you replace _any_ 'SomeClass*' by 'id', the compiled program will remain _unchanged_; only there might be less warnings when you compile it. An example for clarity: give a declarations id v=[View new]; View *vv=[View new]; ScrollView *sv=[ScrollView new]; id h=[HashTable new]; HashTable *hash=[HashTable new]; [v display]; // this is compiled _EXACTLY_ same way... [vv display]; // ... as this! So, in the next sample... [sv display]; // ... will be used ScrollView's implementation! // here's the _ONLY_ difference: [h display]; // NO warning, runtime error [hash display]; // _COMPILE TIME WARNING_ (if ignored, runtime error) And once more: if you know the variable should be, say, _some_ Control, declare it as such: Control *foo! It might be Control instance, Button instance, Slider instance, Form instance - all right, _NO_ C++ static typing occur, polymorphism and late binding works as usual. Actually, the variable _CAN_ contain even non-Control object, but the compiler gives you a warning (if possible) to remind you this probably was not intended. On the other hand, should you use a variable for really unknown object, use an id; this will work perfectly even with statically typed methods (eg in OpenStep). Give a declarations -aMethod:(SomeClass*)p; id o; [x aMethod:o]; // is _PERFECTLY_ valid... Sorry to all - probably it is absolutely clear and I am only repeating something anybody understand... But the quoted article was not the first one which messed up the Objective C static typing with the C++. -- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK
From: premise@umich.edu (Sean Michael Willson) Newsgroups: comp.sys.next.programmer Subject: NXWrite & UpdateDefaults trouble Date: 16 Aug 1995 21:48:21 GMT Organization: University of Michigan Message-ID: <40tp35$58t@lastactionhero.rs.itd.umich.edu> I am having trouble with the following code: - revert: sender { const char *enableState; const char *appName = [NXApp appName]; [remoteHostName setStringValue: NXGetDefaultValue(appName, "RemoteHost")]; enableState = NXGetDefaultValue(appName, "Enable"); if (enableState) { if (!strcmp(enableState, "YES")) [self setRemoteOperation: YES]; else [self setRemoteOperation: NO]; } return self; } - setPreferences: sender { const char *appName = [NXApp appName]; const char *machineName = [remoteHostName stringValue]; if ([enableRemoteOperation state]) NXWriteDefault([NXApp appName], "Enable", "YES"); else NXWriteDefault([NXApp appName], "Enable", "NO"); NXWriteDefault([NXApp appName], "RemoteHost", machineName); NXUpdateDefault([NXApp appName], "Enable"); NXUpdateDefault([NXApp appName], "RemoteHost"); return self; } The trouble I am having is that the enable is being set fine in the database, but the remotehost variable is not being set properly. I have tried placing the [remoteHostName stringValue] in the NXWrite statement but that still doesn't work right. This code is in a preference nib with dynamic view loading. I extracted this code from the Developing NeXTStep Applications book by Gene Backlin. I have checked the remoteHostName link in the nib quite a few times. I am totally stumped on this because it is so basic and yet half of it works and the other doesn't. Any help would be greatly appreciated. Sean Willson premise@umich.edu or willson@laa.com -- _________________________________________________________________________ | Sean M. Willson "Chance favors a prepared mind..." | | University of Michigan College of Engineering | | ASCII: premise@umich.edu NeXTMail: premise@engin.umich.edu | | http://www.engin.umich.edu/~premise/ WWW Page (NeXT Stuff) | | NeXT Programmer for Lynn-Arthur Associates | |_______________________________________________________________________|
From: apandit@acs.uswest.com (Ajay Pandit) Newsgroups: comp.sys.next.programmer Subject: Looking for NEXTSTEP development job Date: 16 Aug 1995 21:57:50 GMT Organization: US West !nterprise Networking Systems Message-ID: <40tpkv$rbr@acsnews.uswc.uswest.com> I am posting the following Resume for my wife, who is looking for NEXTSTEP development job preferably in Denver or San Francisco bay area If you have any openings, please send an e-mail at apandit@acs.uswest.com or call at 303-770-5384 Thanks, - Ajay Pandit Here is the Resume: Rashmi Pandit 4982 South Ulster Street, # 105 Denver, CO 80237 303-770-5384 apandit@acs.uswest.com Objective To seek a challenging position involving Object Oriented Software development, concentrating on NEXTSTEP and Objective C. Summary - Electrical Engineering background - NEXTSTEP and Enterprise Objects Framework (EOF) development training Skills Environments : NEXTSTEP, UNIX Languages : Objective C, C Databases : ORACLE Packages : Enterprise Objects Framework (EOF) Education B.S. (Electrical Engineering) Government Engineering College, Jabalpur, India, 1993 Training in the following courses: - Introducing NEXTSTEP to Programmers Introduction to Object Oriented Programming Navigating in the NEXTSTEP environment using Workspace Manager Use of NEXTSTEP development tools like Project Builder, Interface Builder, Header Viewer, Librarian, Mail, Edit, Terminal and GDB debugger Introduction to Objective C - Programming NEXTSTEP Object Oriented Programming concepts Objective C syntax NEXTSTEP Application kit NEXTSTEP Developer tools Object Relationships Events, Delegation and Target-Action Distributed Objects and Protocols Multi Window Applications - Programming with Enterprise Objects Framework (EOF) Overview of Enterprise Objects Framework Foundation kit Enterprise Objects and Key Value Coding EOModeler and modelling objects Interface Layer - Controller, Data Sources and Associations Access Layer - Retrieval, Qualifying retrieval, Inserting, Updating, Deleting and Evaluating raw SQL expressions Experience Feb' 93 - Jan' 95 Lecturer, Department of Electrical Engineering, Government Polytechnic College, Seoni, India Responsible for teaching following courses: - Industrial Electronics - Power Systems - Power Transmission and Distribution - Measuring Instruments - Electrical Machines Status Permanent Resident
From: apandit@acs.uswest.com (Ajay Pandit) Newsgroups: comp.sys.next.programmer Subject: Looking for NEXTSTEP development job Date: 16 Aug 1995 22:43:09 GMT Organization: US West !nterprise Networking Systems Message-ID: <40ts9t$s1i@acsnews.uswc.uswest.com> I am posting the following Resume for my wife, who is looking for NEXTSTEP development job preferably in Denver or San Francisco bay area If you have any openings, please send an e-mail at apandit@acs.uswest.com or call at 303-770-5384 Thanks, - Ajay Pandit Here is the Resume: Rashmi Pandit 4982 South Ulster Street, # 105 Denver, CO 80237 303-770-5384 apandit@acs.uswest.com Objective To seek a challenging position involving Object Oriented Software development, concentrating on NEXTSTEP and Objective C. Summary - Electrical Engineering background - NEXTSTEP and Enterprise Objects Framework (EOF) development training Skills Environment : NEXTSTEP, UNIX Languages : Objective C, C Databases : ORACLE Packages : Enterprise Objects Framework (EOF) Education B.S. (Electrical Engineering) Government Engineering College, Jabalpur, India, 1993 Training in the following courses: - Introducing NEXTSTEP to Programmers Introduction to Object Oriented Programming Navigating in the NEXTSTEP environment using Workspace Manager Use of NEXTSTEP development tools like Project Builder, Interface Builder, Header Viewer, Librarian, Mail, Edit, Terminal and GDB debugger Introduction to Objective C - Programming NEXTSTEP Object Oriented Programming concepts Objective C syntax NEXTSTEP Application kit NEXTSTEP Developer tools Object Relationships Events, Delegation and Target-Action Distributed Objects and Protocols Multi Window Applications - Programming with Enterprise Objects Framework (EOF) Overview of Enterprise Objects Framework Foundation kit Enterprise Objects and Key Value Coding EOModeler and modelling objects Interface Layer - Controller, Data Sources and Associations Access Layer - Retrieval, Qualifying retrieval, Inserting, Updating, Deleting and Evaluating raw SQL expressions Experience Feb' 93 - Jan' 95 Lecturer, Department of Electrical Engineering, Government Polytechnic College, Seoni, India Responsible for teaching following courses: - Industrial Electronics - Power Systems - Power Transmission and Distribution - Measuring Instruments - Electrical Machines Status Permanent Resident
Newsgroups: comp.sys.next.programmer From: fred@improve.fdn.org (Frederic STARK) Subject: Re: strdup ? Message-ID: <1995Aug16.180216.3496@improve.fdn.org> Sender: news@improve.fdn.org Organization: improve SA - La Defense, Paris, France. References: <9508091734.AA03501@flexus> Date: Wed, 16 Aug 1995 18:02:16 GMT In article <9508091734.AA03501@flexus> Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> writes: > Stephen MacDougall writes: > > Or, you could link using the -ansi flag, which allows > > access to the ANSI-C standard functions. > > strdup is not an ANSI-C standard function, only an example (according to my > Kernighan&Richie 2nd. ed.). And even if it were ANSI, it would be available > without the -ansi flag as well. > > Pick up your K&R manual and copy the example (p. 143, I think). Rod Ragner's > solution lacks a test for the value returned by malloc, although that would > only fail if virtual memory (of which there is only a few GB) is exhausted. [crunch] Three things: First: malloc use several bytes before the pointer to do housekeeping, so if the request are less than a page-size, all the pages are going to be flagged dirty, and the malloc should fail before exausthing VM (unless, of course, you have several GB of swap avalaible) Second: the malloc test will never fail under NEXTSTEP, *with normal limits* /* This program will never stop */ #import <stdio.h> #import <stdlib.h> main() { int i=0; while (1) { if (!malloc(1000)) exit(0); // Success :-) if (!(i++%1000)) { printf( "%d\r", i-1 ); fflush( stdout ); } } } /* The machine will have to be rebooted */ Warning: Do not try that on a machine with less than 2GB of swap space... (Don't even try it on a machine with 2GB of swap space....) Third: it is a bad idea (tm) to name the replacement function strdup, first: because this is likely to cause link failure on future release of NS (unless it is a #define, but this is equally dangerous if you include system headers after your declaration (unless NeXT #undef strdup before declaration)), second: because all functions beginning with 'str' are reserved by C standard (if I remember good), so non-standard strdup could become standard with differents arguments (althought this is really unlikely). --fred ----------------------------------------------------------------- frederic stark -- fred@improve.fdn.org -----------------------------------------------------------------
From: frank@miranda.tue.schwaben.de (Frank M. Siegert) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: *** ObjTcl is a MUST TRY! *** - Why TCL? Date: 16 Aug 1995 22:36:58 GMT Organization: Seicom GmbH, Reutlingen, Germany, Europe Message-ID: <40trua$7o7@gate.seicom.net> References: <40im00$p0n@ns2.ny.ubs.com> <40r5qm$47c@gate.seicom.net> <40rrt0$p00@tierra.santafe.edu> <40sm4v$qm3@ns2.ny.ubs.com> <MCCALLUM.95Aug16134343@zebra.cs.rochester.edu> Nelson Minar wrote: >This is an ideal introduction for a major flamewar, one I'll dodge. No, the war is over. No need to reheat it, as you and everybody are free to choose whatever language seems fit for the problem at hand. I do not deny the fact that TCL is stable, mature and avaiable. All I do is deny TCL the right to be declared as the final solution for all situations and problems. I have not worked with ObjTCL yet, it is quite possible that in this context TCL is a good solution. I just liked to hear your opinions. Having now a working product based on TCL does IMHO not imply to stay with TCL for all times. Andrew McCallum wrote: >I have implemented glue that lets you send messages to Objective-C >objects from GUILE. It can pass and return long, int, short, char, >float, double, and Objective-C objects. Now that sounds interesting.... (guess the lisp programmer breaks though 8-)) - Frank --- Frank M. Siegert [frank@miranda.tue.schwaben.de] NeXTSTEP & PostScript Guy
From: frank@miranda.tue.schwaben.de (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 16 Aug 1995 23:14:59 GMT Organization: Seicom GmbH, Reutlingen, Germany, Europe Message-ID: <40tu5j$7o7@gate.seicom.net> References: <40qh7o$87c@gate.seicom.net> <199508162033.WAA18820@ns.ms.mff.cuni.cz> >Sorry to all - probably it is absolutely clear and I am only >repeating something anybody understand... But the quoted article was >not the first one which messed up the Objective C static typing >with the C++. I have to apologize, guess some hours bugsearch in someone elses C++ library had made me too sensitive to the word 'static typing'.... (Similar to the guy in the movie 'Dead man don't wear plaid' and the 'cleaning woman' word) - Frank --- Frank M. Siegert [frank@miranda.tue.schwaben.de] NeXTSTEP & PostScript Guy
From: Kevin D. Peckover (B.Sc.M.E.) Newsgroups: comp.sys.next.programmer Subject: Can you see why login screws up in this code? Date: 17 Aug 1995 01:16:31 GMT Organization: Atlantis Scientific Systems Message-ID: <40u59f$sdf@entrenet.entrenet.com> Can you see why login screws up in this code? I have here a test program of my problem. When login prompts for the password it stops receiving input from the intended terminal and reads it from the terminal in which this program was executed. Can your see why?! I'm trying to do this with NeXTStep in Intel /******************* Start ***********************/ #include <ctype.h> #include <errno.h> #include <libc.h> #include <netinfo/ni.h> #include <pwd.h> #include <sgtty.h> #include <signal.h> #include <stdio.h> #include <string.h> #include <sys/file.h> #include <sys/ioctl.h> #include <sys/param.h> #include <sys/stat.h> #include <sys/types.h> #include <termios.h> #include <time.h> #include <utmp.h> void main(int argc, char **argv) { int fileStatFlags, ttyDevice; int bits = 0, param_count = 0; char devName[] = {"/dev/ttydfb"}, program[] = {"/bin/login"}, arg1[] = {"-p"}, arg2[] = {"peckover"}, *param[10], portFlags; struct passwd *pwd; struct sgttyb ttyPort; struct tchars ttySpecialChars; // set args for login program param[param_count++] = arg1; //param[param_count++] = arg2; param[param_count] = NULL; // Initialize Port Settings ttyPort.sg_ispeed = ttyPort.sg_ospeed = ttyPort.sg_erase = ttyPort.sg_kill = ttyPort.sg_flags = 0; // Open tty port close(0); if((ttyDevice=open(devName, O_RDWR|O_NDELAY, 0660))<0) { printf("Could not open channel to %s (%s)\r\n",devName,strerror(errno)); exit(0); }; close(1); if (dup(0) != 1) printf("Could not open stdout.\r\n"); close(2); if (dup(0) != 2) printf("Could not open stderr.\r\n"); // File control fileStatFlags=fcntl(ttyDevice, F_GETFL, 0); //fileStatFlags |= O_NDELAY; fcntl(ttyDevice, F_SETFL, fileStatFlags) ; // Hang up tty on last close //fcntl(ttyDevice, TIOCHPCL, 0); // dis-allow any other opens //fcntl(ttyDevice, TIOCEXCL, 0); // Port settings ioctl(ttyDevice, TIOCGETP, &ttyPort); //ttyPort.sg_flags |= LCASE; //ttyPort.sg_flags |= CRMOD; ttyPort.sg_flags |= EVENP | ODDP; ttyPort.sg_flags |= ECHO; ioctl(ttyDevice, TIOCSETP, &ttyPort) ; // Allow 8-bit chars in cooked mode // bits = LPASS8 | LPASS8OUT; // ioctl(ttyDevice, TIOCLBIS, &bits) ; { // Show some tty info int i; ioctl(ttyDevice, TIOCGPGRP, &i); printf("current process group:%d\r\n",i); ioctl(ttyDevice, TIOCGETD, &i); printf("line disiplin:%d\r\n",i); } // Call login process execv( program, param ); } /******************* Stop ***********************/ Any help is greatly appreciated. kevin.
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: rdl@world.std.com (Robert La Ferla) Subject: Re: Journaling In-Reply-To: chauvin@pencom.com's message of 11 Aug 1995 01:40:43 GMT Message-ID: <RDL.95Aug16221142@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <40ecer$n7l@digdug.pencom.com> Date: Thu, 17 Aug 1995 02:11:42 GMT If you can find the source, please send me a copy! I think, however, you are referring to /NextDeveloper/Demos/ShowAndTell.app that shipped in 2.0. We used it at Lotus for creating demos of Improv. We even tried using it as a front-end test tool (which is probably what you are looking for.) On that note, I've contacted both Bill Tschumy (Otherwise Software) and Doug McClure (Thoughtful Software) about doing such an app. I'd really love to see one though it's unclear whether it would generate any revenue. Robert La Ferla Registered NEXTSTEP / OPENSTEP Consultant Boston, MA + 1 (617) 252-0088 In article <40ecer$n7l@digdug.pencom.com> chauvin@pencom.com (Chris Chauvin) writes: Xref: world comp.sys.next.programmer:24528 comp.sys.next.software:21819 Path: world!news.mathworks.com!usenet.eel.ufl.edu!col.hp.com!sony!nntp-sc.barrnet.net!news.fujitsu.com!amdahl.com!netcomsv!uucp3.netcom.com!digdug.pencom.com!usenet From: chauvin@pencom.com (Chris Chauvin) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Date: 11 Aug 1995 01:40:43 GMT Organization: Pencom Software Lines: 7 Reply-To: chauvin@pencom.com NNTP-Posting-Host: juno.ccsi.canon.com Does anyone remember back in the 2.0 days when there was a demo or source that recorded mouse and keyboard events and played them back in real time? Is the source to anything like that available? Chris Chauvin Pencom Software chauvin@pencom.com
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: Converting Postscript to EPS In-Reply-To: woo@ornl.gov's message of 10 Aug 1995 19:46:57 GMT Message-ID: <RDL.95Aug16221527@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <40dnnh$84e@stc06.ctd.ornl.gov> Date: Thu, 17 Aug 1995 02:15:27 GMT I do the same thing only with SEDs for international shipping. You may want to look at WriteUp as well. With WriteUp you can overlay a document over an image. Robert In article <40dnnh$84e@stc06.ctd.ornl.gov> woo@ornl.gov (John W. Wooten) writes: I have a PostScript File of our Purchase Requisition Form that I would like to be able to include as palette item in Diagram. Then I could drag it to a page, overlay it with text fields to type into and have a page I could fill out and print or fax easily. It appears that to drag the file to a new palette in Diagram it has to be eps format. How do I change ps to eps? If that isn't the problem, how do I get the postscript item to appear on the diagram page? I can't cut and paste it for some reason. BTW, it displays and prints just fine! - - - - - - - - - J. W. Wooten
From: robertn@seahawk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: EOF Q: How to format Numbers in NXTableView Date: 16 Aug 1995 18:31:06 -0700 Organization: McCaw Cellular Communications, Inc. Sender: robertn@seahawk Message-ID: <h2ybwttixx.fsf@seahawk> References: <40t34t$mar@arcadia.informatik.uni-muenchen.de> In-reply-to: leeden@cezanne.pst.informatik.uni-muenchen.de's message of 16 Aug 1995 15:33:49 GMT >Hi all! > I am trying to display floats in a NXTableView. They display >all right, but I want to format them so they are exact in two digits. >So when I have a float value of 3.3333333 I want the NXTableView to >display it as 3.33 and if I have a float value of 3 I want it to be >displayed as 3.00. How Do I go about it? I don't have any idea how to do >it so I would appreciate very much any help. >Thanx >Chris >"Erst wenn die letzte Shelltankstelle geschlossen, die letzte >Bohrinsel versenkt, werdet ihr merken, dass Greenpeace nachts kein Bier >verkaufen kann." >------------------------------------------------------------ >Christian van der Leeden leeden@informatik.uni-muenchen.de >LMU Muenchen chris@hpmcha.gsr.hp.com EOF asside you will probably have to write your own custom formatter which sprintfs the current value into a %.2f? Unless NSNumber has some funky formatting that I'm unware of. main() { float a = 3.333333; float b = 3.0; float c = 3333.3; char buffer[50]; sprintf(buffer,"%.2f %.2f %.2f",a,b,c); printf("%s\n",buffer); } robertn@seahawk% cc -o try try.c 6:26pm robertn@seahawk% ./try 6:27pm 3.33 3.00 3333.30 -- The views and opinions expressed in this article are those of the poster and not his employer.
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Wed, 16 Aug 95 21:23:34 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9508161923.AA02677@flexus> Subject: Re: forward declaration of a class in objective-c David Stes writes: > Systematically using "id" *is* the better solution. If > you know in advance "what type a certain object is", you > can express that using an "assert" statement (together > with more important assertions). What is the difference between static typing and using assertions? Obviously static typing is not required as in C++, which cannot work without it (even if only using virtual methods). So static typing is merely doing specific kinds of assertions that are visible to the compiler, which can then test them at compile time, saving cycles, and embarrassment, at run time. A very important benefit is shortcutting the turnaround time, if bugs are found at compile time rather than test time. It seems to me that the aversion to static typing is because they are not as precise as assertions, which can do any test one likes to perform, even testing for things as -respondsTo: and conformsTo:. Even that last one has no equivalent in static typing: id <theProtocol> objects conform *only* to theProtocol, and understand no other messages, as far as the compiler is concerned, you have to add a class to that (but should it be Object <theProtocol> * or NSObject <theProtocol> *, etc.). Furthermore, static typing does not easily interface with run-time assertions, causing the software to acquire the brittleness that most Objective-C programmers dislike about C++: you are invited to statically type *everything, everywhere* and spend the intellectual effort and time doing that even if you want to test only some things, and if assumptions change, you might have to do a lot of work to get the whole system going again (I'm not referring to the fragile-base-class problem here, which is about assigning slots for instance variables, and, in C++, virtual methods). The reason for that is the crude simplifications that occur. For the compiler to predict, statically, whether certain assertions will be met, data flow analysis, and in this case, assertion flow analysis as well, are required. But this is not what compilers do at debugging time, where the desired rapid turnaround precludes this costly analysis. You really have to simplify things by doing assertions at the entry and exit points, but by doing that, you might exclude several scenarios which would not violate the original assertions, and really give the desired result, just because your entry-and-exit assertions cannot be rich enough. On the other hand, such assertions might also make the code easier to understand, so they are not all bad. Other examples: - A subclass accepts more specific things than its superclass, and assigns it to the same instance variable. This is statically known, but how do you tell the compiler to allow for more methods to be sent other than by total permissiveness (id), and doing run-time assertions? - If you give an object to a List, or a Bag, and then take it out again, the compiler will have forgotten its type (C++ uses templates here). - The compiler could reverse-analyse assumptions about messages an object should respond to, to the point where that object enters the code (like a method argument), and do a check there, or even a run-time assertion. Currently, the program will fail only when the message is sent, unless the effort is spent to write a start assertion. And also, of course, doing compile-time checking (compile time/link time is more a technical distinction which I don't make here) requires coordination between all the relevant sources, with parsing and stuff, because there is at present no predigested format to make this cheap to do. It would be interesting to see future systems that do this analysis while you're writing that code. Of course, using id throughout, and assertions to detect problems as soon as possible, are a very good way of implementing DIRTNT systems (Do It Right The Next Time), which you can just stop, have cured (no sweat, let's go out for a break or do something else first), and start up again. But if I want to fly in a plane that depends very much on computers for its operation, I would prefer a DIRTFT system (Do It Right The First Time); maybe traders might not appreciate any downtime either. I realise that this is an elusive concept, but checking things before run time certainly helps. And I also think it's better to design other programs that way, following sound engineering principles of quality control (has a good ring to it, hasn't it?). And, of course, it might improve productivity by short-cutting the development cycle. There already are languages that do simple compile-time assertions. It's called programming by contract. Just a few thoughts here, which might or might not be valid. I hope they will cause an interesting discussion, where the authorities can argue their case, and from which I can learn! It will certainly be interesting to hear David Stes elaborate before a public of critical experts on what at first sight seems like a dogmatic statement (just challenging...). Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: HELP! Return returns to the wrong class Message-ID: <DDG2xL.Lzz@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <40s6ur$mfn@vega.info.isbiel.ch> Date: Thu, 17 Aug 1995 07:46:33 GMT Rene Strauss <strar@info.isbiel.ch> writes > I delegated a method and performed it. > But the return in the delegated method jumps to an other class... > Need help (sorry, poor beginner..;-() > -- -- What do you mean by "delegated a method and performed it" ? Do you mean you're sending a message to a "delegate" object ? Are you using the -perform: method ? - david stes@icgned.nl
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Re: EOF Q: How to format Numbers in NXTableView Message-ID: <jpanicoDDG5LI.GK4@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <40t34t$mar@arcadia.informatik.uni-muenchen.de> <h2ybwttixx.fsf@seahawk> Date: Thu, 17 Aug 1995 08:44:06 GMT Sender: jpanico@netcom.netcom.com Robert Nicholson (robertn@seahawk) wrote: : >Hi all! : > I am trying to display floats in a NXTableView. They display [snip] : EOF asside you will probably have to write your own custom formatter : which sprintfs the current value into a %.2f? Unless NSNumber has some : funky formatting that I'm unware of. I'm afraid that even that won't work, unless you are unconcerned about precision. Most EOF discussion takes place on the EOF mailing list, and in fact this horse has been flogged on that forum-- see the thread entitled NSNumber precision with Money. To get to the mailing list: http://www.omnigroup.com/MailArchive/eof/ In a nutshell: using floats or doubles (or NSNumber formatted for double) to represent fixed precision values (like money) leads to apparent weird rounding errors during operations. This is because floating point representations of numbers are only guaranteed to be accurate to a certain precision-- beyond that precision anything goes. So a literal of 2.40 assigned to a float variable, can be represented in the float as 2.3999999999999. When the float value is formatted for output, it is truncated at some arbitrary point, so that the final string value displayed could appear as "2.39", if you were to use %.2f for output format. To avoid this problem you must represent these fixed precision numbers internally with integers, and perform input and output conversions yourself. In EOF the proper way to do this is to write a custom class that conforms to EOCustomValues protocol. Hope this helps. -- Joe Panico jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: forward declaration of a class in objective-c Message-ID: <DDFp46.864@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <199508162033.WAA18820@ns.ms.mff.cuni.cz> Date: Thu, 17 Aug 1995 02:48:06 GMT Ondra Cada writes >... is it _so_ difficult to understand the Objective C static > typing is _utterly_ different from the C++ one? > - in ObjC, you have late binding everywhere, even with static typed > expressions; > - the only consequence of static typing is improved _compile time_ > warning list; > - so, should you replace _any_ 'SomeClass*' by 'id', the compiled > program will remain _unchanged_; only there might be less warnings > when you compile it. Excellent post! Using static typing (in Objective-C) saves all kinds of time by having the compiler catch a whole class of common errors (sending messages to objects that don't understand them). NeXT is right to use typing much more in OpenStep. That doesn't mean you shouldn't use id, when you really don't have any idea what class is involved. If you prefer finding such errors by linking, testing, hoping to execute the problem statement under the right conditions, and then poking around in the debugger - instead of getting a compiler warning right away, go ahead. But I'd rather save that effort for the more insidious bugs. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
Newsgroups: comp.sys.next.programmer,comp.lang.objective-c From: G.C.Th.Wierda@AWT.NL (Gerben Wierda) Subject: Re: *** ObjTcl is a MUST TRY! *** Message-ID: <DDGJDF.3tp@AWT.NL> Sender: news@AWT.NL Organization: Adviesraad voor het Wetenschaps- en Technologiebeleid References: <40im00$p0n@ns2.ny.ubs.com> Mime-Version: 1.0 Date: Thu, 17 Aug 1995 13:41:39 GMT Just one question: what about speed? --Gerben
Newsgroups: comp.lang.c++,gnu.g++.help,comp.sys.next.programmer Subject: private copy constructors and inheritance Message-ID: <1995Aug17.173038.1454@ittpub> From: wil@ittpub.nl (Wil Evers) Date: 17 Aug 95 17:30:38 WET Distribution: world Hello all, I want to prevent the generation of default copy constructors for a bunch of classes all derived from the same base class. I thought that by putting a declaration of a private copy constructor in the base class, I would tell the compiler not to generate copy constructors for any of the derived classes. I tried this under GNU C++ 2.5.8. (I know 2.5.8 is old, but I'm depending on the changes Next made to it to support the NextStep environment and Next doesn't seem to supply any newer versions of the compiler). Here's a small example program: class Base { private: Base(const Base&); public : Base() { } }; class Derived : public Base { public : Derived() { } }; class DDerived : public Derived { public : DDerived() { } }; main() { } When I try to make this program, the machine says: > cc tryMe.c ld: Undefined symbols: Base::Base(Base const &) In other words, somewhere in my program there's a call to the private copy constructor of my base class, presumably in a *generated* copy constructor in one of the derived classes. As generated copy constructors are public, this would be a disaster because the real-life classes I'm building may not have decent copy semantics or I may have defined the copy constructor for private use by Base's members only. Does anyone know: [1] Who's right, GNU C++ or me? [2] If I'm right, has this bug been fixed in versions of GNU C++ > 2.5.8? If so, in which version? Does anyone know of a working implementation of this version supporting NextStep? [3] Again if I'm right, does anyone know of a workaround? Thanks! - Wil
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: Converting Postscript to EPS Message-ID: <DDGnLn.8sv@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <RDL.95Aug16221527@world.std.com> Date: Thu, 17 Aug 1995 15:12:59 GMT woo@ornl.gov (John W. Wooten) writes: > How do I change ps to eps? one way is to read the PostScript Ref manual to learn how to modify the few lines necessary to make this change. An easier way is to get the free program BBFig.app from the archives. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: POSIX strftime() requires appkit? Date: 16 Aug 1995 00:50:35 GMT Organization: Information Technology Solutions, Inc. Message-ID: <40rfcr$1k7@news.its.com> References: <dehznaexx7fdow8@titan.atype.com> <40nqg3$u2@www.its.com> <x2virz9cmn.fsf@titan.atype.com> deh@atype.com (David E. Hollingsworth) wrote: > Chuck, > Thanks for your reply. Sure. > Did you actually try this on my sample program? For me, at least, it > choked in the same way gcc 2.7.0 did: [ ...problems... ] Yes, I did: 19-racine% cat b.c #include <stdio.h> #include <time.h> int main() { char foo[512]; strftime(foo, sizeof(foo), "%m/%d/%y", localtime(NULL)); printf("%s\n", foo); return 0; } 20-racine% cc -posix -g -Wall -o b b.c 21-racine% which cc /bin/cc Although this program coredumps on the localtime() call. This is with NS 3.3.... -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: robertn@seahawk (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: HTMLizing NeXT's RTF documentation? Date: 17 Aug 1995 10:06:44 -0700 Organization: McCaw Cellular Communications, Inc. Sender: robertn@seahawk Message-ID: <h2wxcctq6z.fsf@seahawk> Has anything of this nature been done already? EOAssociation Inherits From: NSObject Conforms To: EOAssociationNotification Declared In: eointerface/EOAssociation.h perhaps using links for Inherits From and Declared In: See Also? -- The views and opinions expressed in this article are those of the poster and not his employer.
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: NeXTmail programmatically Date: 17 Aug 1995 13:46:00 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508171840.UAA22694@ns.ms.mff.cuni.cz> Hi, I would need to create NeXTmail (with attached files, images, sounds) programatically. Is it possible? Does somebody know how? Looking 4ward your answers, -- Ondra Cada ocs@earn.cvut.cz NeXTmail and MIME OK
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Cooperation with Librarian Date: 17 Aug 1995 13:46:09 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508171840.UAA22699@ns.ms.mff.cuni.cz> Hi, have you ever noticed you may jot _messages_ instead of 'documents' in Librarian from Mail, and such a message is stored under name grabbed from the _message subject_? Does somebody know the API which allow Mail to cooperate with Librarian this way? I would like to add similar feature to some of my applications... -- Ondra Cada ocs@earn.cvut.cz NeXTmail and MIME OK
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: command line from PID? Date: 17 Aug 1995 13:46:13 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508171840.UAA22704@ns.ms.mff.cuni.cz> Hi, probably I'm missing something obvious, but I cannot find the answer in docs: is it possible to programatically get the command line used to start process, given the process id? It should be, as 'ps' does this somehow; I'd prefer a direct way - if there is any - to running the ps and piping and parsing its output... -- Ondra Cada ocs@earn.cvut.cz NeXTmail and MIME OK
From: osg@onramp.net Newsgroups: misc.jobs.offered,misc.jobs.contract,dc.jobs,comp.sys.next.programmer,comp.lang.smalltalk Subject: US-Virginia OO Mentors/Developers Date: Thu, 17 Aug 95 15:49:23 PDT Organization: On-Ramp; Individual Internet Connections; Dallas/Ft Worth/Houston, TX USA Message-ID: <410ajl$bla@news.onramp.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII OO MENTOR/DEVELOPERS OSG (Object Systems Group) is a technology-based consultancy that provides assistance to Global 1000 corporations in new and emerging technologies. We currently have numerous openings for September, November, and December in Virginia for the following areas: OOA/OOD Mentors Minimum 5 years information technology experience with 2 years of object oriented analysis and design in NeXT or Smalltalk environments. The project is an enterprise-wide transition to OO that will take approximately 2+ years. It is a large scale deployment of objects, and will challenge even the most talented object professionals. DEVELOPERS Minimum 3+ years total experience in object oriented technology with any NeXTSTEP, AppKit, DBKit and Objective C preferred. Please contact us for more specific information. Send resume to osg@onramp.net , US mail your resume to Object Systems Group, Inc., Attn: Glenda Maddox, 3048 Infomart, 1950 Stemmons Freeway, Dallas, Tx. 75207, or fax to 214 742-5847.
From: hadar@amazon (Hadar Pedhazur) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: *** ObjTcl is a MUST TRY! *** Followup-To: comp.sys.next.programmer,comp.lang.objective-c Date: 17 Aug 1995 23:13:13 GMT Organization: Union Bank of Switzerland, New York site Message-ID: <410ie9$39i@ns2.ny.ubs.com> References: <40im00$p0n@ns2.ny.ubs.com> <DDGJDF.3tp@AWT.NL> Gerben Wierda (G.C.Th.Wierda@AWT.NL) wrote: : Just one question: what about speed? : --Gerben It is quite acceptable. Again, depends on what you are doing. If ObjTcl is the glue, the scripting code, the interpreter, but the heavy work (whatever that means!) is in your objects (ObjC), then it is fantastic. I have entire apps that are written in 100% ObjTcl, but they are NOT analytical, just Data Gathering and dissemination, and they are fine (if they are slower, it is not enough for me to notice or care ...). -- Hadar Pedhazur Global Equity Derivatives Union Bank of Switzerland (UBS)
From: picard@silcom.com (Donald Burr) Newsgroups: comp.sys.next,comp.sys.next.bugs,comp.sys.next.misc,comp.sys.next.programmer Subject: Bug in NextStep 'scanf()' function - can it be fixed? Followup-To: comp.sys.next.misc Date: 18 Aug 1995 00:06:01 GMT Organization: Starfleet Command Message-ID: <410lh9$fml@ocean.silcom.com> The place where I work has a NeXTstation (yes, a real 680x0 NeXTstation -- but not color) running NeXTstep OS. We've found a bug in the scanf() function in the standard C library, that improperly reads and stores floating point numbers. The company writes software that's heavily-dependent on this functionality, and this bug is, to say the least, irritating. We've consulted with NeXT, and found out that: (a) their tech support, and perhaps the whole company itself, is a LOT worse than it used to be; and (b) NeXT wants an insanely huge amount of money to fix this little bugger. I had an idea last night, though. It seems that NeXTstep is based havily on GNU stuff -- the compiler reports "GNU cc version 1.something" as its version, and (though I have no way of checking) I bet the libraries are based on GNU libc as well. Would it be possible to grab the latest source for gcc, g++, and glibc off the Net, and install them? Would that fix the scanf() problem? Can this be done? Or, if I do it, will it erase some NeXT-specific customizations, custom functions, etc. that the system is dependent upon? Please respond to me at >picard@silcom.com< Thanks! -- Donald Burr [picard@silcom.com], P.O. Box 91212, Santa Barbara, CA 93190-1212 TEL: (805)564-1871 // FAX: 564-2315 // WWW: http://www.silcom.com/~picard PGP Public Key and more are available through the Auto-Responder -- send e-mail to me with the words "SEND HELP" in the Subject: line for info! ** Uphold your right to privacy - Use PGP. **
From: pericles@athena.com (Jamie O'Keefe) Newsgroups: comp.sys.next.programmer Subject: Re: Journaling Date: 18 Aug 1995 00:26:20 GMT Organization: Athena Design, Inc. Message-ID: <410mnc$i5h@hermes.athena.com> References: <RDL.95Aug16221142@world.std.com> In article <RDL.95Aug16221142@world.std.com> rdl@world.std.com (Robert La Ferla) writes: > If you can find the source, please send me a copy! I think, however, you > are referring to /NextDeveloper/Demos/ShowAndTell.app that shipped in 2.0. > We used it at Lotus for creating demos of Improv. We even tried using it > as a front-end test tool (which is probably what you are looking for.) > On that note, I've contacted both Bill Tschumy (Otherwise Software) and > Doug McClure (Thoughtful Software) about doing such an app. I'd really love > to see one though it's unclear whether it would generate any revenue. > > Robert La Ferla > Registered NEXTSTEP / OPENSTEP Consultant > Boston, MA > + 1 (617) 252-0088 > > In article <40ecer$n7l@digdug.pencom.com> chauvin@pencom.com (Chris Chauvin) writes: > > Xref: world comp.sys.next.programmer:24528 comp.sys.next.software:21819 > Path: world!news.mathworks.com!usenet.eel.ufl.edu!col.hp.com!sony!nntp-sc.barrne t.net!news.fujitsu.com!amdahl.com!netcomsv!uucp3.netcom.com!digdug.pencom. com!usenet > From: chauvin@pencom.com (Chris Chauvin) > Newsgroups: comp.sys.next.programmer,comp.sys.next.software > Date: 11 Aug 1995 01:40:43 GMT > Organization: Pencom Software > Lines: 7 > Reply-To: chauvin@pencom.com > NNTP-Posting-Host: juno.ccsi.canon.com > > Does anyone remember back in the 2.0 days when there was a demo or source > that recorded mouse and keyboard events and played them back in real time? > Is the source to anything like that available? > > Chris Chauvin > Pencom Software > chauvin@pencom.com Metrosoft has a program called MetroKeys that is a record and playback tool for NEXTSTEP. Try emailing info@metrosoft.com. In terms of test tools there is scant little that I have seen. Eastern Systems in Westboro, MA has a test tool that runs on Windows, but connects to a Intel machine running NEXTSTEP and captures all of the video events and is then able to perform as an Automated Test Tool for NEXTSTEP apps. Their number is 508.366.3223. The product is called Evaluator FT. Jamie ______________________________________________________ Jamie O'Keefe pericles@athena.com (NeXTMail/MIME ok) Quality Manager, Athena Design, Inc. 617.426.6372 Fan, Kristin Hersh and the Throwing Muses
Newsgroups: comp.sys.next.programmer From: neekibo@precipice.fdn.org (Hugues RICHARD) Subject: Re: ext2 and minix fs on a NeXT Message-ID: <1995Aug17.204024.263@precipice.fdn.fr> Sender: news@precipice.fdn.fr Organization: Individual - Dijon, France. References: <40kp2b$mjm@serveur> Date: Thu, 17 Aug 1995 20:40:24 GMT In article <40kp2b$mjm@serveur> pascal@galileo (Pascal Thibaudeau) writes: > hello, > > Who has already installed the ext2 and minix filesystems on a NeXT > running NEXTSTEP 3.3 ? When you ask NeXT to have documentation about loadable FS they say all you need is in some .h in /headers directory and in already given executable in /usr/filesystems/* (MAC, DOS, CD... just use Edit to view them or try to run them manually from a shell). Request for info about loadable fs is not new. NeXT's answer about this not too. Good luck. Hugues.
From: paul@pth.com (Paul Tognato-Haddad) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 18 Aug 1995 02:14:36 GMT Organization: FishNet Message-ID: <410t2c$r25@wanda.pond.com> References: <DDFp46.864@genoa.com> Howdy, In article <DDFp46.864@genoa.com> alex@genoa.com (Alex Blakemore) writes: > Using static typing (in Objective-C) saves all kinds of time by having the > compiler catch a whole class of common errors (sending messages to objects > that don't understand them). NeXT is right to use typing much more in > OpenStep. I think static typing is the wrong solution to these problems. One of the great things about Objective-C is that as long as your object responds to the right messages other objects don't care about what that object is. Now NeXT is trying to force us to pass specific objects around. Which means that if I want to pass in a NSViewString (a subclass of view that implements the NSString methods) to a method that takes a NSString, I'm going to be stuck with a warning, or type casting the NSViewString to a NSString, which defeats the whole purpose of static typing (since instead of type casting a NSViewString I might have accidentally typed cast some other object). This brings me to what I think would be a slightly better solution, why not use protocols to avoid sending messages to objects that don't respond to them. Basically instead of having - aMethod:(String *)aString lets have - aMethod:(@protocol(NSStringExtensionMethods))aString this would provide as much compile time error catching as static typing with the advantage that aString could be any object. Comments? -- Paul (NeXTmail preferred) # Paul R. Tognato-Haddad (paul@pth.com) (Home) 610-265-3025 (Fax) 610-265-3026
From: hamman@uxh.cso.uiuc.edu (Michael Hamman) Newsgroups: comp.lang.c++,gnu.g++.help,comp.sys.next.programmer Subject: Re: private copy constructors and inheritance Date: 18 Aug 1995 02:18:35 GMT Organization: University of Illinois at Urbana Message-ID: <410t9r$daq@vixen.cso.uiuc.edu> References: <1995Aug17.173038.1454@ittpub> wil@ittpub.nl (Wil Evers) writes: >Hello all, > >I want to prevent the generation of default copy constructors for a bunch >of classes all derived from the same base class. I thought that by putting >a declaration of a private copy constructor in the base class, I would >tell the compiler not to generate copy constructors for any of the derived >classes. >I tried this under GNU C++ 2.5.8. (I know 2.5.8 is old, but I'm depending >on the changes Next made to it to support the NextStep environment and >Next doesn't seem to supply any newer versions of the compiler). > >Here's a small example program: > > class Base { private: Base(const Base&); public : Base() { } }; TRY: class Base { private: Base(const Base&){}; public:Base(){} }; That should solve your linker problem (the copy constructor was not defined in your example). There is nothing wrong with what you are doing (I tested this example with Gnu 2.xx? and with Microsoft C++ (Visual C++ 2.0)). > > class Derived : public Base { public : Derived() { } }; > > class DDerived : public Derived { public : DDerived() { } }; > > main() { } > >When I try to make this program, the machine says: > > > cc tryMe.c > ld: Undefined symbols: > Base::Base(Base const &) > >In other words, somewhere in my program there's a call to the private copy >constructor of my base class, presumably in a *generated* copy constructor >in one of the derived classes. As generated copy constructors are public, >this would be a disaster because the real-life classes I'm building may >not have decent copy semantics or I may have defined the copy constructor >for private use by Base's members only. > >Does anyone know: > >[1] Who's right, GNU C++ or me? >[2] If I'm right, has this bug been fixed in versions of GNU C++ > 2.5.8? >If so, in which version? Does anyone know of a working implementation of >this version supporting NextStep? >[3] Again if I'm right, does anyone know of a workaround? > >Thanks! > >- Wil
From: alastair@BlackAlbatross.otago.ac.nz (Alastair Thomson) Newsgroups: comp.sys.next.programmer Subject: [Intel] Writing pointing device drivers Date: 17 Aug 1995 22:46:31 GMT Organization: University of Otago, Dunedin, NZ Distribution: World Message-ID: <410gs7$pek@celebrian.otago.ac.nz> Hi everyone, I am looking at writing a device driver for a touch screen - either ISA bus, or serial port communication. The DriverKit docs make no mention of pointing device drivers, but there are headers for event protocols. Can someone point me in the right direction for some help, source of a similar driver (e.g. Talus's Waccom driver) would be wonderful. Alastair -- Alastair Thomson, | Phone +64-3-479-8347 Manager, | Fax +64-3-479-8529 Computer Science Applied Research Centre | NZ Mobile 0-25-353-994 University of Otago, | alastair@BlackAlbatross.otago.ac.nz Dunedin 9015, | NeXTmail/MIME Welcome New Zealand. | http://www.csarc.otago.ac.nz:805/
From: ricardo@Pencom.COM (Ricardo Parada) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: Re: ObjectWorld - HOT HIGHLIGHTS Date: 18 Aug 1995 03:24:08 GMT Organization: Pencom Software Message-ID: <41114o$lg7@digdug.pencom.com> References: <40s3ql$2r7@crl9.crl.com> My favorite highlights in addition to OPENSTEP on Windows NT, D'OLE, WebObjects, etc, etc, are the following: 1. Flat Panel display with HPPA RISC workstation inside 2. Tadpole laptop with 135MHz Pentium, color 800x600 with screen panning 3. Lighthouse Design announced ObjectPlan case tool 4. Teknekron's ObjectBus -- True broadcast, publish & subscribe and guaranteed delivery 5. Objective-TCL 6. A SPARC laptop running NEXTSTEP in color at 1024x768, first laptop to do this. Unfortunately I did not get to see this one. Anyone saw it? 7. Miscellaneous: EOF 2.0, PDO 4.0, etc. __________________ * A PixelVision 3-inch deep flat panel display with an HPPA RISC computer inside. I did not realize this until I asked, okay this looks really nice, but where is the computer? It turned out that it was inside the monitor. It had a 1.? GB hard disk, 64MB of memory, etc, etc. You could even connect a second flat panel display. It was a multiheaded system. And best of all, it was running NEXTSTEP and it supports the multiheaded graphics subsystem. * They also had a Tadpole laptop with a 135MHz Pentium running NEXTSTEP in color at 800x600 but with a true screen resolution of 1024x768 with screen panning. You move the mouse beyond the edge of the screen and it scrolls using hardware screen panning. You can connect an external display to view the whole 1024x768 without having to reboot. Really nice! They also had an NEC flat panel LCD color display running 16-bit color at 1280x1024. * Lighthouse Design announced ObjectPlan but it won't be available soon. This tool complements their awesome Diagram product and it is basically a CASE tool for design and analysis that works with Objective-C and C++ and it has hooks so that you can use it with other languages. It can also be used to reverse-engineer foreign source code libraries and they have plans to integrate it with NeXT's Project Builder and SUNSOFT's DOE environment. * Teknekron Software Systems at the Sun booth was demoing a CORBA 2.0 compliant product running on NEXTSTEP/SPARC. The product runs also on Windows NT, plain Windows, UNIX and VAX/VMS operating systems. The demo consisted an implementation of the application that comes with NEXTSTEP that demonstrates distributed objects. You drag a dot in a window and all the other instances of the app update the same dot to the new location. This app used point-to-point messaging. Then for the demo, Teknekron implemented the same app using their ObjectBus product which was using a true broadcast from what I was told. He had two workstations and you could tell the difference. He said that this was scalable to a large number of workstations, e.g. 1000 workstations. It also supports publish and subscribe. In addition to all this, he said that it had guaranteed delivery for transaction support. For example, if the process where the targe object was not running when a message was sent with guaranteed delivery, then the object would eventually get the message later when the process it lives on was launched. This product is CORBA 2.0 compliant. * Objective-TCL was being demoed and I liked it. They had a palette and the most impressive one is the one that allows you to enter code and execute it without having to recompile. They executed code in Interface Builder without recompiling. It has Objective-C-like syntax, but for declaring a class, they use a slightly different syntax. Also, variables are typeless. Overall, it looked really nice. * BlackSmith announced DataSmith. The description hints that it will have a feature I've been wanting for a while, which is being able to load custom written EO's to pull data from them. For example, we should be able to ask a CustomerOrder object for the total instead of having to write a script that computes it as in other report tools. Also it seems like NEXTSTEP 4.0 will have shared library support, PPP bundled and improvements in the GUI. Too bad they did not demo it, I really wanted to see it. Also, it seems like EOF 2.0 will have some nice improvements regarding the saving of EO's and some of the subtle problems in the EOController to UI layer. From what I understood, you won't need the EOController in order to save your EO's, making it nicer for those developing PDO applications where you can't use EOController objects. OPENSTEP for Windows NT and Windows 95 will have the Windows look and feel. This should look really nice with the Windows 95 GUI. The Windows NT look is "ugly" but Windows NT will be getting the Windows 95 look soon. Steve Jobs said that they were optimizing it for the Windows 95 GUI since the current look is going away. PDO 4.0 will incorporate CORBA. I'm suspecting they will be using the Dynamic Invocation Interface (DII) part of CORBA which is similar to OLE Automation which is what they used to integrate OLE with Objective-C. Visual BASIC and the Visual-BASIC-like language in most Microsoft apps such as Excel have the ability to do OLE Automation which means, being able to message an OLE/COM object. Given, Objective-C's ability to go from a string containing a method name to a selector used to message an Objective-C object, this should be no problem for Objective-C. Do this in C++.... I guess that's why Visual BASIC is still so popular for OLE objects. Later, Ricardo #import "StandardDisclaimer.h" ||| (0 0) +--------------------------oOO----(_)----oOO------------------------+ | Ricardo J. Parada 9050 Capital of Texas Hwy #300 | | Software Engineer Austin, Texas 78759 | | Email: ricardo@pencom.com Phone: 512-343-6666 |
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Re: POSIX strftime() requires appkit? Message-ID: <DDHzz3.17w@hurka.UUCP> Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <x2ybwtps9r.fsf@titan.atype.com> Date: Fri, 18 Aug 1995 08:37:50 GMT David, In article <x2ybwtps9r.fsf@titan.atype.com> deh@atype.com (David E. Hollingsworth) writes: > > Essentially, what Tomas has done here is fix up my code a bit. In my > haste to write an example, I used the incorrect line: > + strftime(foo, sizeof(foo), "%m/%d/%y", localtime(NULL)); > Nonetheless, the error that I'm having is not a runtime error involving > localtime(), it's a link error involving strftime(). Yes, I know this. [example deleted] > I'm gracious for the assistance, of course, but the result (for me) is > still the same: > > titan: ~/tmp% cc -posix -Wall -lposix -g xxx.c > ld: Undefined symbols: > _objc_msgSend > _NXGetDefaultValue > _NXRegisterDefaults > .objc_class_name_NXStringTable > .objc_class_name_NXBundle > > Tomas, could you nm your libposix.a and see if strftime() uses > these symbols? > > Here's what mine looks like: > > libposix.a(strftime.o): > U .objc_class_name_NXBundle > U .objc_class_name_NXStringTable > 000004ac s _DateTimeDefaults > 0000014a t _LookupString > U _NXGetDefaultValue > U _NXRegisterDefaults > 0000095c d _RegisteredDefaults > 00000948 d __AmPm > 00000954 d __Date > 00000950 d __DateAndTime > 000008cc d __LongDays > 00000918 d __LongMonths > U __NXGetAppName > 00000000 T __NXGetLocalizedDefault > 000008b0 d __ShortDays > 000008e8 d __ShortMonths > 00000958 d __Time > 000000ce T __strftime_clear_cache > 00000960 d _defaultTable.4 > U _memset > U _objc_msgSend > U _setlocale > U _sprintf > 00000220 T _strftime Here's what mine looks like (output from '/usr/lib> nm -a libposix.a'): libposix.a(strftime.o): U _mktime 00000000 T _strftime This on NS 3.3 (Intel). It looks like the posix implementation of strftime in 3.2 posix library is wrong. Best regards, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
Newsgroups: comp.lang.c++,gnu.g++.help,comp.sys.next.programmer From: kanze@lts.sel.alcatel.de (James Kanze US/ESC 60/3/141 #40763) Subject: Re: private copy constructors and inheritance In-Reply-To: wil@ittpub.nl's message of 17 Aug 95 17:30:38 WET Message-ID: <KANZE.95Aug18142127@slsvhdt.lts.sel.alcatel.de> Sender: news@lts.sel.alcatel.de Organization: SEL References: <1995Aug17.173038.1454@ittpub> Date: 18 Aug 1995 12:21:27 GMT In article <1995Aug17.173038.1454@ittpub> wil@ittpub.nl (Wil Evers) writes: |> I want to prevent the generation of default copy constructors for a bunch |> of classes all derived from the same base class. I thought that by putting |> a declaration of a private copy constructor in the base class, I would |> tell the compiler not to generate copy constructors for any of the derived |> classes. |> I tried this under GNU C++ 2.5.8. (I know 2.5.8 is old, but I'm depending |> on the changes Next made to it to support the NextStep environment and |> Next doesn't seem to supply any newer versions of the compiler). |> Here's a small example program: |> class Base { private: Base(const Base&); public : Base() { } }; |> class Derived : public Base { public : Derived() { } }; |> class DDerived : public Derived { public : DDerived() { } }; |> main() { } |> When I try to make this program, the machine says: |> > cc tryMe.c |> ld: Undefined symbols: |> Base::Base(Base const &) |> In other words, somewhere in my program there's a call to the private copy |> constructor of my base class, presumably in a *generated* copy constructor |> in one of the derived classes. As generated copy constructors are public, |> this would be a disaster because the real-life classes I'm building may |> not have decent copy semantics or I may have defined the copy constructor |> for private use by Base's members only. |> Does anyone know: |> [1] Who's right, GNU C++ or me? You. Earlier versions of g++ were very lax in controlling access. I believe that this has been greatly improved in more recent versions. |> [2] If I'm right, has this bug been fixed in versions of GNU C++ > 2.5.8? |> If so, in which version? Does anyone know of a working implementation of |> this version supporting NextStep? You'll have to check with Cygnus about this. I know that g++ has improved its access control, but I can't say whether any specific problem has been fixed or not. |> [3] Again if I'm right, does anyone know of a workaround? Declare a private copy constructor in each of the derived classes? Find where the copy constructor is getting called and fix it. After all, without the compiler bug, your program wouldn't have compiled. (As a start, try using nm to find which module has the undefined.) -- James Kanze Tel.: (+33) 88 14 49 00 email: kanze@gabi-soft.fr GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France Conseils en informatique industrielle -- -- Beratung in industrieller Datenverarbeitung
From: lss@katrine.cs.stir.ac.uk (Dr L S Smith (Staff)) Newsgroups: comp.sys.next.programmer Subject: Sound files and big/small endedness Date: 18 Aug 1995 13:47:31 GMT Organization: University of Stirling Message-ID: <4125lj$oo@lorne.stir.ac.uk> Has anyone else found a problem with (16-bit or larger) sound files written on Black hardware, and played on Intel (or vice versa) ? I assume the problem is that 16-bit integers are different on these two machines...big vs small endedness... There doesn't seem to be any direct way a program can tell which form a sound is...so that I somehow seem to need to remember where I generated the sound...before I try to play or process it. Any solutions? -- Dr Leslie S. Smith Dept of Computing and Mathematics, Univ of Stirling Stirling FK9 4LA Scotland lss@cs.stir.ac.uk (NeXTmail welcome) Tel (44) 1786 467435 Fax (44) 1786 464551
Newsgroups: comp.sys.next.programmer From: fred@improve.fdn.org (Frederic STARK) Subject: Re: [NXConnection run] - tossing received reply msg Message-ID: <1995Aug18.120206.719@improve.fdn.org> Sender: news@improve.fdn.org Organization: improve SA - La Defense, Paris, France. References: <DD59Gn.3zs@interpc.de> Date: Fri, 18 Aug 1995 12:02:06 GMT In article <DD59Gn.3zs@interpc.de> mfriedel@interpc.de writes: > Does anybody have an idea why this happens ? I have a simple DO app, and my > client prints out this message and receives a timeout exception shortly > after. > > Now the client isn't a appkit app but a deamon running in the background, > and I started the connection with a [con runInNewThread]. The server did > the same. > > All they are trynig to do is to exchange a couple of integers in the > moment. I would love to have the response to, as I hitted it a week ago (and I don't even know what 'tossing' could mean in that context) Due to what I was trying, it smell like a kind of 're-entrancy' problem, but I didn't had time to track it down enough. Really interested, -- fred ----------------------------------------------------------------- frederic stark -- fred@improve.fdn.org -----------------------------------------------------------------
From: bourl@info.isbiel.ch (Laurent Bourqui) Newsgroups: comp.sys.next.programmer Subject: outputpacket method Date: 18 Aug 1995 14:04:08 GMT Organization: Biel School of Engineering, CH-2501 Biel, Switzerland Distribution: world Message-ID: <4126ko$4dg@vega.info.isbiel.ch> Hi, I'm writting a network driver derived from the class IODirectDevice. I need to implement the outputPacket method from the protocol IONetworkDeviceMethods. My question is: Does the parameter represent the IP address ? I think it is but I'm not sure. Could somebody say me if I'm right or not ? Thank you for your help. Laurent
From: droux@info.isbiel.ch (Nicolas Droux) Newsgroups: comp.sys.next.programmer Subject: Error in NXReference doc ? Date: 18 Aug 1995 16:52:42 GMT Organization: Biel School of Engineering, CH-2501 Biel, Switzerland Distribution: world Message-ID: <412ggq$aug@vega.info.isbiel.ch> In the NXReference protocol documentation (Dev 3.3), it is stated that: =========== quote begin A typical implementation for a reference counted object that is vended over a Distributed Objects connection might look like this: - free { refs--; if (refs > 0) return self; [NXConnection removeObject:self]; return [super free]; } =========== quote end I'm not a DO expert, but if the client performs a free on an object vended by some server, its proxy is freed and the method above is called. Buf if the refs counter does not reach zero, the function above returns the server object again to the client which creates a new proxy on the client and thus cause the method addReference to be called on the server. The client then thinks that it is not connected to the server any more and will not call a free again on this object. This cause the server refs counter to never reach zero. Returning nil instead of self in this case should fix this problem. Any opinion on this subject ? Nicolas. -- ---------------------------------------------------------------- Nicolas Droux Rue de la Source 21 Biel School of Engineering CH-2501 Biel-Bienne Computer Science Dpt Switzerland droux@info.isbiel.ch (MIME/NeXTMail) Tel: +41 32 266 314 http://www.isbiel.ch/~don/ Fax: +41 32 266 523 PGP public key: "finger -l droux@vega.info.isbiel.ch"
From: ovg@nusun2.jinr.dubna.su (V. Olshevsky) Newsgroups: comp.lang.c++,gnu.g++.help,comp.sys.next.programmer Subject: Re: private copy constructors and inheritance Date: 18 Aug 1995 12:32:02 GMT Organization: Joint Institute for Nuclear Research Message-ID: <OVG.95Aug18163202@nusun2.jinr.dubna.su> References: <1995Aug17.173038.1454@ittpub> <410t9r$daq@vixen.cso.uiuc.edu> In-reply-to: hamman@uxh.cso.uiuc.edu's message of 18 Aug 1995 02:18:35 GMT In article <410t9r$daq@vixen.cso.uiuc.edu> hamman@uxh.cso.uiuc.edu (Michael Hamman) writes: > wil@ittpub.nl (Wil Evers) writes: > > >Hello all, > > > >I want to prevent the generation of default copy constructors for a bunch > >of classes all derived from the same base class. > > [...] > >Here's a small example program: > > > > class Base { private: Base(const Base&); public : Base() { } }; > > TRY: class Base { private: Base(const Base&){}; public:Base(){} }; > > That should solve your linker problem (the copy constructor > was not defined in your example). There is nothing wrong > with what you are doing (I tested this example with Gnu 2.xx? > and with Microsoft C++ (Visual C++ 2.0)). > I disagree. Original problem is not in the linker error, and your advice will not solve it. Compiler for some reason (due to a bug, I think) requires copy-ctor for given example, so your advise will lead to a compile-time error instead of linker error. IMHO, private copy-ctor in base cannot help in given problem, at least not in all cases. It only can indicate, that some code calls it - usually, with a compile-time error. Vladimir
From: bil@ccrma.Stanford.EDU (Bill Schottstaedt) Newsgroups: comp.sys.next.programmer Subject: Re: Sound files and big/small endedness Date: 18 Aug 1995 16:43:17 GMT Organization: Stanford University Message-ID: <412fv5$bpa@nntp.Stanford.EDU> References: <4125lj$oo@lorne.stir.ac.uk> NeXT sound file data is supposed to be big-endian in either case.
From: tmb@concerto.best.com Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: *** ObjTcl is a MUST TRY! *** - Why TCL? Date: 18 Aug 1995 19:03:06 GMT Organization: * Message-ID: <TMB.95Aug18110306@concerto.best.com> References: <40im00$p0n@ns2.ny.ubs.com> <40r5qm$47c@gate.seicom.net> <40rrt0$p00@tierra.santafe.edu> In-reply-to: nelson@grasshopper.santafe.edu's message of 16 Aug 1995 04:24:00 GMT In article <40rrt0$p00@tierra.santafe.edu> nelson@grasshopper.santafe.edu (Nelson Minar) writes: | This is an ideal introduction for a major flamewar, one I'll dodge. | I will say, though, why I'm using Tcl as a scripting language for a | non-NeXTstep Objective C system I'm developing. Tcl works. It's a | mature, functional product. Given the current lack of alternatives, | this makes sense. Now, when Guile comes out I'll be all for shifting | to it. Note also that if you write your functions to the Tcl API, they will usually be trivial to interface with any other scripting language you might choose later, since the Tcl API is so straightforward. In fact, the GUILE announcement said that GUILE would support the Tcl API and Tcl scripts directly. Cheers, Thomas.
Newsgroups: comp.lang.tcl,comp.sys.next.programmer,comp.sys.next.software From: stephens@il.us.swissbank.com (Kurt Stephens) Subject: tk port to NeXT/DPS? Message-ID: <1995Aug18.175611.5957@il.us.swissbank.com> Keywords: tk, tcl, NeXT, DPS Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division Date: Fri, 18 Aug 1995 17:56:11 GMT Has anyone ported tk to NEXTSTEP's Display Postscript? Proprietary or not? I remember a mention of such a port somewhere in comp.lang.tcl, but I didn't find it in the FAQ. We will not use X Windows. Thanks, Kurt A. Stephens Swiss Bank Corp., Chicago
From: samurai@maggie.cs.mcgill.ca (Darcy BROCKBANK) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 18 Aug 1995 18:17:36 GMT Organization: School of Computer Science, McGill Univ. Message-ID: <SAMURAI.95Aug18141736@maggie.cs.mcgill.ca> References: <199508162033.WAA18820@ns.ms.mff.cuni.cz> <DDFp46.864@genoa.com> In-reply-to: alex@genoa.com's message of Thu, 17 Aug 1995 02:48:06 GMT <alex@genoa.com> writes: >Ondra Cada writes >>... is it _so_ difficult to understand the Objective C static >>typing is _utterly_ different from the C++ one? >>- in ObjC, you have late binding everywhere, even with static typed >>expressions; >>- the only consequence of static typing is improved _compile time_ >>warning list; >>- so, should you replace _any_ 'SomeClass*' by 'id', the compiled >>program will remain _unchanged_; only there might be less warnings >>when you compile it. >Excellent post! >Using static typing (in Objective-C) saves all kinds of time by having the >compiler catch a whole class of common errors (sending messages to objects >that don't understand them). NeXT is right to use typing much more in >OpenStep. Except for this: When you static type parameters, you blow away some of the concepts of ploymorphism. Yes, I understand protocols, and yes, they're a big hack. The problem is this: You write all kinds of code to use a particular object. Say NSMutableGarbage. Once you decide that NSMutableGarbage isn't the class for you, and you write your own MyMutableGem class to replace it, you're looking at changing a million declarations and associated methods which also static type their parameters. Do this a couple times, and you have a hellish mess on your hands. Yes, you can save some pain by static typing to protocols, but you can get similar problems, *and* most people aren't going to do that anyway. I wish that people would just stop rushing to one side or the other of the boat, because the NEXTSTEP programming boat is continually listing to one side or another. Static types are a tool. They are noting more than that. Use them judiciously, but not to the exclusion of the id type. The id type can make for an elegant clean chunk of code which is easily maintainable. Static types can give more bulletproof explicit code, but can be a pain in the ass to change. >That doesn't mean you shouldn't use id, when you really don't have any idea >what class is involved. Or, when you want your code to be dynamic, as well as the program. >If you prefer finding such errors by linking, testing, hoping to execute the >problem statement under the right conditions, and then poking around in the >debugger - instead of getting a compiler warning right away, go ahead. >But I'd rather save that effort for the more insidious bugs. The amount of time we spend trying to track down respondsTo: errors is negligable in the larger scale of things. Also, this: - takeThis:this andThis:somethingElse andMakeThis:product; Looks oh so cleaner than: - (NSMutableGarbage *)takeThis:(NSGarbage *)this andThis:(NSMutableGarbage *) somethingElse andMakeThis:(NSMutableGarbage *)product; Is it more expressive or less expressive? I dunno... too much noise for me sometimes. The oter thing that ticks me off is the reverse C was of looking at const and mutable. I wish the default way was this: NSConstGarbage NSGarbage Rather than: NSMutableGarbage NSGarbage It's reverse to the way you think using the standard C types. I'm sure they have an argument that it makes more sense in a class heirarchy way (and I think I've been told it) but that doesn't stop it from being ugly and inelegant. Anyway, it doesn't matter all that much to me since I'm doing most of my stuff in ANSI C anyway ;-). - darcy (Then I put up C++, ObjC and Eiffel wrappers around my C cores.) -- "Investing in tech stocks is a high risk." -- Bill Gates, Microsoft Chairman, after incurring a two day paper loss of 2 billion dollars on Microsoft stock.
From: robertn@seahawk.nwest.mccaw.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: *** ObjTcl is a MUST TRY! *** Date: 18 Aug 1995 11:18:35 -0700 Organization: McCaw Cellular Communications, Inc. Sender: robertn@seahawk.nwest.mccaw.com Message-ID: <h2ag97gjno.fsf@seahawk.nwest.mccaw.com> References: <40im00$p0n@ns2.ny.ubs.com> <DDGJDF.3tp@AWT.NL> <410ie9$39i@ns2.ny.ubs.com> In-reply-to: hadar@amazon's message of 17 Aug 1995 23:13:13 GMT >Gerben Wierda (G.C.Th.Wierda@AWT.NL) wrote: >: Just one question: what about speed? >: --Gerben >It is quite acceptable. Again, depends on what you are doing. If ObjTcl >is the glue, the scripting code, the interpreter, but the heavy work >(whatever that means!) is in your objects (ObjC), then it is fantastic. >I have entire apps that are written in 100% ObjTcl, but they are NOT >analytical, just Data Gathering and dissemination, and they are fine >(if they are slower, it is not enough for me to notice or care ...). Transparent auto-release semantics? Has is memory managed? -- The views and opinions expressed in this article are those of the poster and not his employer.
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: forward declaration of a class in objective-c Message-ID: <DDIKHt.A3w@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <410t2c$r25@wanda.pond.com> Date: Fri, 18 Aug 1995 16:01:05 GMT Paul Tognato-Haddad writes > I think static typing is the wrong solution to these problems > Now NeXT is trying to force us to pass specific objects around. Which > means that if I want to pass in a NSViewString (a subclass of view that > implements the NSString methods) to a method that takes a NSString, I'm > going to be stuck with a warning, or type casting the NSViewString to a > NSString, which defeats the whole purpose of static typing True, but I'd say the warning is appropriate in this case. The method may send any NSString message to your object. There's no guarantee that you implemented each and every one of those methods in your subclass. If you pass in a kind of NSString, you're guaranteed to respond to those messages. The warning reminds you of that potential danger. Your caste informs the compiler and future maintainers that you have taken care of the situation. > This brings me to what I think would be a slightly better solution, why > not use protocols to avoid sending messages to objects that don't respond > to them. Basically instead of having > - aMethod:(String *)aString > lets have > - aMethod:(@protocol(NSStringExtensionMethods))aString > this would provide as much compile time error catching as static typing > with the advantage that aString could be any object. This is a better solution in many cases, and the language already supports it. But the syntax is: - aMethod:(id <NSStringExtensionMethods>)aString -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Fri, 18 Aug 95 19:07:33 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9508181707.AA02123@flexus> Subject: Re: Bug in NextStep 'scanf()' function - can it be fixed? Cc: picard@silcom.com (Donald Burr) Donald Burr writes: > We've found a bug in the scanf() function in the standard > C library, that improperly reads and stores floating > point numbers. Read KBNS.11.2.009 and/or printed supplemental release notes [6004.00]. Don't cross-post what belongs on programmer only (too poorly documented for c.s.n.bugs). Always mention what release you are using. Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: seanl@carmi.cs.umd.edu (Sean Luke) Newsgroups: comp.sys.next.programmer Subject: Good Lisp Binary for NS? Date: 18 Aug 1995 20:57:02 GMT Organization: University of Maryland, College Park Message-ID: <412uqu$t31@hecate.umd.edu> I'm having quite a bit of trouble compiling gcl for NeXTSTEP (in particular, NeXTunixsave.c is a pain), and am wondering if anyone has a compiled common lisp that's fairly CLTL2 compatible, who could shunt me the m68K binary... Thanks! Sean Sean Luke U Maryland at College Park seanl@cs.umd.edu http://www.cs.umd.edu/users/seanl/
From: msnyder@NeXT.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: arch or no arch Date: 18 Aug 1995 20:51:36 GMT Organization: NeXT Computer, Inc. Message-ID: <412ugo$5jv@news.next.com> References: <40du5a$smu@news.doit.wisc.edu> Torrey McMahon writes > Why does specifying "-arch mk68" increases the size of executable when > building on a NeXT computer. I am building only for Motorala and not > specifying the arch type brings the size down and the program still works. By how much did it increase? If by about 10 bytes, then I would guess (depending on the compiler options you used), that it is embedding your compile command line in the binary, and that the binary's size increased because the length of the compile line string increased. By the way, trying this on an Intel machine resulted in no increase in binary size for me. BTW, this should not, by itself, result in the formation of a fat file, as another respondant suggests.
From: hadar@amazon (Hadar Pedhazur) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: *** ObjTcl is a MUST TRY! *** Followup-To: comp.sys.next.programmer,comp.lang.objective-c Date: 18 Aug 1995 22:23:23 GMT Organization: Union Bank of Switzerland, New York site Message-ID: <4133sr$9kt@ns2.ny.ubs.com> References: <40im00$p0n@ns2.ny.ubs.com> <DDGJDF.3tp@AWT.NL> <h2ag97gjno.fsf@seahawk.nwest.mccaw.com> Robert Nicholson (robertn@seahawk.nwest.mccaw.com) wrote: : >Gerben Wierda (G.C.Th.Wierda@AWT.NL) wrote: : >: Just one question: what about speed? : >: --Gerben : >It is quite acceptable. Again, depends on what you are doing. If ObjTcl : >is the glue, the scripting code, the interpreter, but the heavy work : >(whatever that means!) is in your objects (ObjC), then it is fantastic. : >I have entire apps that are written in 100% ObjTcl, but they are NOT : >analytical, just Data Gathering and dissemination, and they are fine : >(if they are slower, it is not enough for me to notice or care ...). : Transparent auto-release semantics? Has is memory managed? : -- : The views and opinions expressed in this article : are those of the poster and not his employer. Seriously, I am *not* sure what you are asking (or implying?). I think that you either had a typo or a grammatic error? Anyway, I will answer as *if* you were asking a question as to whether ObjTcl supports autorelease, etc. (hope that was what you were getting at :-)): ObjTcl is fully FoundationKit compliant (and aware). As such, there are a number of convenience procs for handling NSStrings, NSDictionaries, and NSArrays. Of course, having seen this simple yet extremely useful procs, one realizes just how easy it is to extend that to anything else (Foundation or otherwise). Anyway, there *are* autorelease semantics built in (via procs) to ObjTcl. As one example, in certain circumstances, you will use rrset rather than set (rrset = retain/release set!). Hope this helps ... (someone, if not you Robert :-)). -- Hadar Pedhazur Global Equity Derivatives Union Bank of Switzerland (UBS)
From: bashford@toad.scripps.edu (Don &) Newsgroups: comp.lang.c++,gnu.g++.help,comp.sys.next.programmer Subject: Re: private copy constructors and inheritance Date: 19 Aug 1995 00:47:26 GMT Organization: The Scripps Research Institute, La Jolla, CA, USA Message-ID: <BASHFORD.95Aug18174727@toad.scripps.edu> References: <1995Aug17.173038.1454@ittpub> <KANZE.95Aug18142127@slsvhdt.lts.sel.alcatel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit In-reply-to: kanze@lts.sel.alcatel.de's message of 18 Aug 1995 12:21:27 GMT In article <1995Aug17.173038.1454@ittpub> wil@ittpub.nl (Wil Evers) writes: |> I want to prevent the generation of default copy constructors for a bunch |> of classes all derived from the same base class. I thought that by putting |> a declaration of a private copy constructor in the base class, I would |> tell the compiler not to generate copy constructors for any of the derived |> classes. |> I tried this under GNU C++ 2.5.8. (I know 2.5.8 is old, but I'm depending |> on the changes Next made to it to support the NextStep environment and |> Next doesn't seem to supply any newer versions of the compiler). |> Here's a small example program: |> class Base { private: Base(const Base&); public : Base() { } }; |> class Derived : public Base { public : Derived() { } }; |> class DDerived : public Derived { public : DDerived() { } }; |> main() { } |> When I try to make this program, the machine says: |> > cc tryMe.c |> ld: Undefined symbols: |> Base::Base(Base const &) |> In other words, somewhere in my program there's a call to the private copy |> constructor of my base class, presumably in a *generated* copy constructor |> in one of the derived classes. As generated copy constructors are public, |> this would be a disaster because the real-life classes I'm building may |> not have decent copy semantics or I may have defined the copy constructor |> for private use by Base's members only. |> Does anyone know: |> [1] Who's right, GNU C++ or me? James Kanze responded that you are right, but I think GNU C++ is. You declared, but did not define a private ctor, Base(const Base&), so a linker error referring to the _private_ one is to be expected. Using your example on gcc-2.5.8 on an hppa, I get your same error. But if I make the change, < class Base { private: Base(const Base&); public : Base() { } }; --- > class Base { private: Base(const Base&) { } public : Base() { } }; it compiles and links without error. On the other hand, if after making the above correction, I go on to test the copy inhibiting mechanism by, main() { Base b; Derived d; DDerived dd; Base cb = b; Derived cd = d; DDerived cdd = dd; } I find that gcc-2.5.8 gives an error message for the `Base cb' line, as it should but not for the next two lines. In fact, if the `Base cb' line is commented out, the program will compile and link although it should be ill-formed according the the C++ draft standard of April 95 which says, Section 12.8 7 An implicitly-declared copy constructor is implicitly defined if it is used to copy an object of its class type, even if the implementation elided its use (_class.temporary_). A program is ill-formed if the class for which a copy constructor is implicitly defined has: --a nonstatic data member of class type (or array thereof) with an inaccessible or ambiguous copy constructor, or --a base class with an inaccessible or ambiguous copy constructor. So it looks like gcc-2.5.8 is wrong in a more extended example. |> [2] If I'm right, has this bug been fixed in versions of GNU C++ > 2.5.8? |> If so, in which version? Does anyone know of a working implementation of |> this version supporting NextStep? With gcc-2.6.0 or later (on a Sparc) I get the following error messages for the `Derived cd' and `DDerived cdd' lines: pctor.cc: In function `int main()': pctor.cc:13: too many arguments for constructor `Derived::Derived()' pctor.cc:14: too many arguments for constructor `DDerived::DDerived()' which is a rather confusing message in our context, but not an unreasonable one. Apparently the compiler has been inhibited from defining a copy ctor is complaining that the only ctor it has does not have the right arguments. Don Bashford bashford@scripps.edu
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: NXIsCntrl() and strspn() not in libNeXT_s.a Message-ID: <RDL.95Aug19115731@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA Date: Sat, 19 Aug 1995 15:57:31 GMT Can anyone give a reason why NXIsCntrl() and strspn() are in libsys_s.a but not in libNeXT_s.a? NXIsDigit(), on the other hand, is in libNeXT_s.a. Seems like a bug to me but wanted a sanity check... I'm using NS 3.3 developer. Robert La Ferla Registered NEXTSTEP / OPENSTEP Consultant Boston, MA + 1 (617) 252-0088
From: deh@atype.com (David E. Hollingsworth) Newsgroups: comp.sys.next.programmer Subject: Re: POSIX strftime() requires appkit? Date: 19 Aug 1995 16:06:14 -0400 Organization: Archetype, Inc. Sender: deh@titan.atype.com Message-ID: <x2ka89acax.fsf@titan.atype.com> References: <dehznaexx7fdow8@titan.atype.com> <40nqg3$u2@www.its.com> <x2virz9cmn.fsf@titan.atype.com> <40rfcr$1k7@news.its.com> In-reply-to: chuck@its.com's message of 16 Aug 1995 00:50:35 GMT -----BEGIN PGP SIGNED MESSAGE----- In article <40rfcr$1k7@news.its.com> chuck@its.com (Chuck Swiger) writes: > Although this program coredumps on the localtime() call. This is with NS > 3.3.... (Yeah, I didn't expect the code to run, just link. I should be more careful with my examples.) I'm suspecting at this point that it's a NS 3.2 thing. Thanks for your assistance! - --deh! -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBMDZEI0w1vyHQ1vG5AQH8VgP+MilzEkaydsz9fIlmN6zzJrHt9eheoJs1 WAe/NZhXnBfPsKVsgG0bNYuYePrnJxfTQJvwdwuvNCs/yZm1JDffMN+RHo6CjtnJ 4UYMR0Zhg+la/hayYH0WvCYx5+PKdwlvSe35hQRGb1O+pik8sgPQyEnlDHovtwb6 AfCzHsMEN8o= =EQjR -----END PGP SIGNATURE-----
From: deh@atype.com (David E. Hollingsworth) Newsgroups: comp.sys.next.programmer Subject: Re: POSIX strftime() requires appkit? Date: 19 Aug 1995 16:11:45 -0400 Organization: Archetype, Inc. Sender: deh@titan.atype.com Message-ID: <x2ivntac1q.fsf@titan.atype.com> References: <x2ybwtps9r.fsf@titan.atype.com> <DDHzz3.17w@hurka.UUCP> In-reply-to: tom@hukatronic.cz's message of Fri, 18 Aug 1995 08:37:50 GMT -----BEGIN PGP SIGNED MESSAGE----- In article <DDHzz3.17w@hurka.UUCP> tom@hukatronic.cz (Tomas Hurka) writes: > Here's what mine looks like (output from '/usr/lib> nm -a libposix.a'): > libposix.a(strftime.o): > U _mktime > 00000000 T _strftime > > This on NS 3.3 (Intel). It looks like the posix implementation of strftime > in 3.2 posix library is wrong. That would be my conclusion as well. Thanks for taking a look at that. - --deh! -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCUAwUBMDZFKEw1vyHQ1vG5AQErjQP496VxYuBgWtCzNc05zkHrmIvBgy3M/kOt +TnBBA0Br2dl9GYsdEYuVn/HTz/FcjD6cjyYOcjfkXvVuMnglYrljVWFlkRO7xJb rRBuuqK0J45kv72Cf/ir1gB95dCbTm9e/u87wSy+u73wttEHI+0O1mX6KX3I0H86 YVBsiWdITg== =J/xp -----END PGP SIGNATURE-----
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 19 Aug 1995 16:44:11 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508192139.XAA29698@ns.ms.mff.cuni.cz> > You write all kinds of code to use a particular object. Say > NSMutableGarbage. Once you decide that NSMutableGarbage isn't the > class for you, and you write your own MyMutableGem class to replace > it, you're looking at changing a million declarations and associated > methods which also static type their parameters. Do this a couple > times, and you have a hellish mess on your hands. Well, yes. But - at least in my code - it is _extremely_ improbable I'll write a source which suppose it will use (any subclass of) SomeFunnyClass, deciding later it will cooperate with some other, unrelated class. Surely there _are_ programs I am not sure I won't do such a switch in future; but then I use id instead of static typing. And - IMHO, of course - the annoyance of (most improbable) changing of SomeFunnyClass* to OtherFunnyClass* in whole project (in fact, using awk even this is _very_ easy) is absolutely unimportant compared with static typing benefits (ie more compile time checking). > Static types are a tool. They are noting more than that. Use them > judiciously, but not to the exclusion of the id type. The id type Exactly!!! If I remember well, I had *never* suggested to exclude id either from ObjC or from using... > Static types can give more bulletproof explicit code, but can be > a pain in the ass to change. Well, I have good working chair :)))) > - takeThis:this andThis:somethingElse andMakeThis:product; > > Looks oh so cleaner than: > > - (NSMutableGarbage *)takeThis:(NSGarbage *)this > andThis:(NSMutableGarbage *) somethingElse > andMakeThis:(NSMutableGarbage *)product; Surely - in my personal opinion, the NeXT's decision to use the longest possible names was not particularly smart :((( On the other hand, we might to help us using better indentation: -(NSMutableGarbage*)takeThis:(NSGarbage*)this andThis:(NSMutableGarbage*)somethingElse andMakeThis:(NSMutableGarbage*)product; seems to me only _slightly_ less readable as the original untyped stuff. > me sometimes. The oter thing that ticks me off is the reverse C > was of looking at const and mutable. I wish the default way was > this: > > NSConstGarbage > NSGarbage > > Rather than: > > NSMutableGarbage > NSGarbage > > It's reverse to the way you think using the standard C types. I'm > sure they have an argument that it makes more sense in a class > heirarchy way (and I think I've been told it) but that doesn't > stop it from being ugly and inelegant. Well, you have to find the smaller evil... It would not be particularly consistent to have a inheritance tree of @interface Xxxx:YyyyXxxx which is exactly you would get: @interface NSString:NSMutableString It is a good practice to use class names the way of 'adding text and functionality as well' - ie, if you have two class named Xxxx and YyyyXxxx, then the latter isKindOf: the former, adding the Yyyy feature. IMHO the decision to omit the plain C consistency for the sake of object consistency was good. > doing most of my stuff in ANSI C anyway ;-). > (Then I put up C++, ObjC and Eiffel wrappers around my C cores.) It has to be boring to implement your own NSArrays, NSDictionaries, NSStrings, NSDates, ........ in ANSI C :))) -- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK
From: johnbach@net (Restrict) Newsgroups: comp.sys.next.programmer Subject: Government Restricts Internet!! Date: Sat, 19 Aug 1995 21:58:13 GMT Organization: Netcom Distribution: world Message-ID: <415mmr$7a2@ixnews4.ix.netcom.com> SPEAK UP AMERICA -- MAKE YOUR VOTE COUNT Question: Should the United States Government interfere and put restrictions on the use of the Internet?? CALL: 1-900-945-5600 ext 163 and cast your vote. Cost: $1.98 per call (NOT per minute) Call Today Must be 18+/Touch Tones Only InfoService/Studio City, CA/213-993-3366 Results of this survey will be compiled and sent to members of the House and Senate. Thank you for casting your vote and for making your voice heard.
Date: 19 Aug 1995 22:08:07 GMT From: johnbach@net (Restrict) Message-ID: <cancel.415mmr$7a2@ixnews4.ix.netcom.com> Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <415mmr$7a2@ixnews4.ix.netcom.com> Control: cancel <415mmr$7a2@ixnews4.ix.netcom.com> Spam cancelled by clewis@ferret.ocunix.on.ca
Newsgroups: comp.sys.next.programmer From: gmd@hazel.north.de (Gerriet M. Denkmann) Subject: Re: ObjectWorld - HOT HIGHLIGHTS Message-ID: <DDKA6C.ps@hazel.north.de> Sender: gerriet@hazel.north.de (Gerriet M. Denkmann) Organization: Great Mathematical Developments, Inc. References: <41114o$lg7@digdug.pencom.com> Date: Sat, 19 Aug 1995 14:13:23 GMT In article <41114o$lg7@digdug.pencom.com> ricardo@Pencom.COM (Ricardo Parada) writes: [...] > 6. A SPARC laptop running NEXTSTEP in color at 1024x768, first laptop to > do this. [...] > * A PixelVision 3-inch deep flat panel display with an HPPA RISC computer > inside. I did not realize this until I asked, okay this looks really > nice, but where is the computer? It turned out that it was inside the > monitor. It had a 1.? GB hard disk, 64MB of memory, etc, etc. You could > even connect a second flat panel display. It was a multiheaded system. > And best of all, it was running NEXTSTEP and it supports the multiheaded > graphics subsystem. [...] > They also had an NEC flat panel LCD color display running 16-bit color at > 1280x1024. > [...] Does anyone have any further information about these three products? Name of product, price, name of company, e-mail address of company? Gerriet.
From: jcassidy@proton.genesoft.com. (James Cassidy) Newsgroups: comp.sys.next.programmer Subject: compositing large nximages Date: 20 Aug 1995 14:43:54 GMT Organization: (null pointer) Message-ID: <417hna$875@nic.wat.hookup.net> When compositing a large nximage into a view during a drawself, I get a very small version of what should be a 1024x1024 image. The window shows up at the proper size, but the image is a very small one down in the lower left corner. I don't get this anomaly for smaller iamges. Here is the drawself: - drawSelf:(const NXRect *) rects :(int) rectCount { NXPoint point = { 0.0, 0.0 }; [image composite:NX_SOVER toPoint:&point]; [self drawRegionSelection]; return self; } If I switch the composite: message for a drawIn: message, then the image shows up as it's proper size. However, later on I composite region selection cursors onto the view and erase them by compositing little bits of the original image. So it would be useful to get the compositing to work. Here is how the image is built from a TIFF: - loadTIFFImage:(const char *) filename { id newImage; char *filenamePtr; NXSize size; // allocate a bitmap image rep, // and have it read in the TIFF image imageRep = [NXBitmapImageRep alloc]; // initfromfile will free the bitmapimagerep // if it can't find the file if( [imageRep initFromFile:filename] != nil ) { size.width = [imageRep pixelsWide]; size.height = [imageRep pixelsHigh]; [imageRep setSize:&size]; newImage = [[NXImage alloc] init]; [newImage setDataRetained:YES]; [newImage useRepresentation:imageRep]; // setup window for new image and save // image internal to this object [self setImage:newImage]; // save file name strcpy( imageFilename, filename ); // set window title to file name filenamePtr = rindex( imageFilename, '/' ) + 1; [[self window] setTitle:filenamePtr]; return newImage; } else return nil; } Any assistance on this problem would be greatly appreciated!!! Regards, Jim.
From: mmalcolm Crawford <m.crawford@dcs.shef.ac.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Sound files and big/small endedness Date: Sun, 20 Aug 1995 15:08:36 GMT Organization: Institute for Language Speech and Hearing, Sheffield University Message-ID: <950820160836.2336AACUE.malc@daneel> References: <4125lj$oo@lorne.stir.ac.uk> Mime-Version: 1.0 (Generated by Eloquent) Content-Type: text/plain; charset=US-ASCII > Has anyone else found a problem with (16-bit or larger) sound files > written on Black hardware, and played on Intel (or vice versa) ? > In general, no. > I assume the problem is that 16-bit integers are different on these > two machines...big vs small endedness... > Shouldn't be: the sound should be big-endian in either case. If you're creating sounds on Intel, you should use the NXSwapHostToSound() (or somesuch) function before you use the data. > There doesn't seem to be any direct way a program can tell which > form a sound is...so that I somehow seem to need to remember where > I generated the sound...before I try to play or process it. > If the thing is swapped throughout, the magic number should be swapped too: there's a NS constant defined appropriately to check. Have fun, mmalc.
From: ricardo@Pencom.COM (Ricardo Parada) Newsgroups: comp.sys.next.programmer Subject: Re: ObjectWorld - HOT HIGHLIGHTS -- Contact Info Date: 21 Aug 1995 01:51:55 GMT Organization: Pencom Software Message-ID: <418orr$q94@digdug.pencom.com> References: <DDKA6C.ps@hazel.north.de> Gerriet M. Denkmann writes > In article <41114o$lg7@digdug.pencom.com> ricardo@Pencom.COM (Ricardo > Parada) writes: > > [...] > > > 6. A SPARC laptop running NEXTSTEP in color at 1024x768, first laptop to > > do this. > > [...] > > > * A PixelVision 3-inch deep flat panel display with an HPPA RISC > computer > > inside. I did not realize this until I asked, okay this looks really > > nice, but where is the computer? It turned out that it was inside the > > monitor. It had a 1.? GB hard disk, 64MB of memory, etc, etc. You > could > > even connect a second flat panel display. It was a multiheaded system. > > And best of all, it was running NEXTSTEP and it supports the multiheaded > > graphics subsystem. > > [...] > > > They also had an NEC flat panel LCD color display running 16-bit color > at > > 1280x1024. > > > [...] > > Does anyone have any further information about these three products? > Name of product, price, name of company, e-mail address of company? > > Gerriet. The company demoing was Advanced Information Solutions. Here's some more info from the brochures I picked up: Regarding the 1024x768 SPARC-compatible laptops: -------------------------------------------------------- Bifrost Workstations, Inc. Jason McNamara jmcnamar@onramp.net 10850 Richmond Ave., Suite 270 Houston, TX 77042 (713) 952-9949 (713) 952-9934 fax RDI John Bentivegna john_bentivegna@rdi.com 2300 Faraday Ave. Carlsbad, CA 92008 (800) 734-5483 toll-free (619) 929-0992 (619) 929-9702 fax Regarding Advanced Inforation Solutions and the products they domoed: -------------------------------------------------------- Advanced Information Solutions http://www.stepwise.com/ThirdParty/Services/Advanced_Information_Solutions htmld/ PixelVision 43 Nagog Park Acton, Massachusetts 01720 Tel (508)264-9443 Fax (508)264-9446 Tadpole Technology 12012 Technology Blvd. Austin, TX 78727 USA 1-800-232-6656 Tel (512)219-2200 Fax (512)219-2222 England: 44 1223 428200 France: 33 1 60 86 27 92 Germany: 49 9129 2859 70 http://www.tadpole.com Regarding ObjectBus: -------------------------------------------------------- Teknekron Software Systems 530 Lytton Avenue Palo Alto, CA 94002 Tel (415)325-1025 Fax (415)321-3176 -- ||| (0 0) +--------------------------oOO----(_)----oOO------------------------+ | Ricardo J. Parada 9050 Capital of Texas Hwy #300 | | Software Engineer Austin, Texas 78759 | | Email: ricardo@pencom.com Phone: 512-343-6666 |
From: ian_stewart@nyro.com (Ian H. Stewart) Newsgroups: comp.sys.next.programmer,comp.sys.next.marketplace Subject: WANTED: NEXTSTEP & Win95 / NT Developer Date: 21 Aug 1995 05:28:35 GMT Organization: InterNex ISDN Internet Access is our Business Distribution: usa Message-ID: <4195i3$8hg@voyager.internex.net> Wanted: Contractor to develop NEXTSTEP and Win95 / NT utilities. Experience requirements are flexible, but time is critical. Must be willing to do project as a work for hire. Payment flexible but prefer low cash & medium royalty style payment structure. If interested, please email Ian directly. Ian H. Stewart http://www.nyro.com/ian_stewart/ --- NYRO Technix, Inc. 236 W. Portal Ave Suite 341 San Francisco CA 94127 415 664-1170 voice 415 664-5530 fax NYRO Technix, Inc. markets VirtSpace(tm), ReadReceiptPlus(tm), Faxcess(tm), UUCP-EZ(tm), On-Vacation(tm) and other NEXTSTEP software. Webbing ... http://www.nyro.com/ (a Web Spy-der listing)
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 21 Aug 1995 04:15:11 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <41918f$dot@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
Newsgroups: comp.lang.c++,gnu.g++.help,comp.sys.next.programmer From: kanze@lts.sel.alcatel.de (James Kanze US/ESC 60/3/141 #40763) Subject: Re: private copy constructors and inheritance In-Reply-To: bashford@toad.scripps.edu's message of 19 Aug 1995 00:47:26 GMT Message-ID: <KANZE.95Aug21153714@slsvhdt.lts.sel.alcatel.de> Sender: news@lts.sel.alcatel.de Organization: SEL References: <1995Aug17.173038.1454@ittpub> <KANZE.95Aug18142127@slsvhdt.lts.sel.alcatel.de> <BASHFORD.95Aug18174727@toad.scripps.edu> Date: 21 Aug 1995 13:37:13 GMT In article <BASHFORD.95Aug18174727@toad.scripps.edu> bashford@toad.scripps.edu (Don &) writes: |> In article <1995Aug17.173038.1454@ittpub> wil@ittpub.nl (Wil Evers) |> writes: |> |> I want to prevent the generation of default copy constructors for a bunch |> |> of classes all derived from the same base class. I thought that by putting |> |> a declaration of a private copy constructor in the base class, I would |> |> tell the compiler not to generate copy constructors for any of the derived |> |> classes. |> |> I tried this under GNU C++ 2.5.8. (I know 2.5.8 is old, but I'm depending |> |> on the changes Next made to it to support the NextStep environment and |> |> Next doesn't seem to supply any newer versions of the compiler). |> |> Here's a small example program: |> |> class Base { private: Base(const Base&); public : Base() { } }; |> |> class Derived : public Base { public : Derived() { } }; |> |> class DDerived : public Derived { public : DDerived() { } }; |> |> main() { } |> |> When I try to make this program, the machine says: |> |> > cc tryMe.c |> |> ld: Undefined symbols: |> |> Base::Base(Base const &) |> |> In other words, somewhere in my program there's a call to the private copy |> |> constructor of my base class, presumably in a *generated* copy constructor |> |> in one of the derived classes. As generated copy constructors are public, |> |> this would be a disaster because the real-life classes I'm building may |> |> not have decent copy semantics or I may have defined the copy constructor |> |> for private use by Base's members only. |> |> Does anyone know: |> |> [1] Who's right, GNU C++ or me? |> James Kanze responded that you are right, but I think GNU C++ is. You |> declared, but did not define a private ctor, Base(const Base&), so a |> linker error referring to the _private_ one is to be expected. Only if the function is used. It is not an error to not provide a function that is not used. So: who is using the copy constructor? If it is not being used, then there should be no linker error. If it is being used, there should be a compiler error (unless the use is inside a member function). (Formally: the linker error message can be considered a diagnostic in the sense of the standard, so the compiler can be considered conforming. However, it is certainly not the ``diagnostic'' one would expect, and I think that the people at Cygnus would, in fact, consider this an error.) -- James Kanze Tel.: (+33) 88 14 49 00 email: kanze@gabi-soft.fr GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France Conseils en informatique industrielle -- -- Beratung in industrieller Datenverarbeitung
From: 2 Newsgroups: comp.sys.next.programmer Subject: Re: Sound files and big/small endedness Date: 21 Aug 1995 11:30:30 GMT Organization: The University of Western Australia, Department of Computer Science Message-ID: <419qom$a8g@bilby.cs.uwa.oz.au> References: <4125lj$oo@lorne.stir.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: Alexandra.app (Version 0.8b) lss@katrine.cs.stir.ac.uk (Dr L S Smith (Staff)) wrote: > Has anyone else found a problem with (16-bit or larger) sound files written on Black hardware, and played on Intel (or vice versa) ? From the 3.1 Release notes for Sound: New Features Š Two new ƒsound-porting functions have been added to the sound library and declared in <sound/utilsound.h>: SNDSwapSoundToHost(void *dest, void *src, int sampleCount, int channelCount, int dataFormat) SNDSwapHostToSound(void *dest, void *src, int sampleCount, int channelCount, int dataFormat) These functions read the data pointed to by src, swap the order of the bytes that comprise each sample (if necessary) and write the swapped data to dest (src and dest can be the same pointer). The other arguments describe the sound data buffer; cumulatively, they tell a function how many samples are in the buffer, and the size of each sample. The functions return error codes that report their success or failure. The ƒSound and ƒHost terms in these names have these meanings: Š To play a sound, the sound data must be in ƒSound format. Š To examine sound data, it must be in ƒHost format. When you read a soundfile or record a sound, the sound data is guaranteed to be in ƒSound format; if all you want to do is play the soundfile or write the recorded sound to a file˜in other words, if you don't want to examine the data˜then you don't need to call these functions. However, if, for example, you read a soundfile in order to look at the value at each sample, you must first call SNDSwapSoundToHost() to convert the sound data to ƒHost format. If you modify samples in a converted sound, you must re-convert to ƒSound format, through SNDSwapHostToSound(), before the sound can be played or written to a file. Note that you don't have to convert entire soundfiles (or SNDSoundStruct data buffers) at a time. These functions are built upon the general NXSwap... functions that are described in /NextLibrary/Documentation/NextDev/Concepts/PortabilityGuide. The primary difference between the sound swapping functions and the general swapping functions is that the sound functions let you convert buffers of data, whereas a single call to a general function can convert only one datum. If you wish, you can call the general functions (iteratively) rather than the sound functions. The correspondences between the functions are: Sound function Analogous general function SNDSwapSoundToHost() NXSwapBigShortToHost() SNDSwapHostToSound() NXSwapHostShortToBig() > I assume the problem is that 16-bit integers are different on these two machines...big vs small endedness... > There doesn't seem to be any direct way a program can tell which form a sound is...so that I somehow seem to need to remember where I generated the sound...before I try to play or process it. > Any solutions? Sound is always big-ended as a file, the swap routines will get it into a format suitable for processing in the program but it is written out again as big-endian. I just finished porting the sndutil routines to Intel available from CCRMA, where Julius Smith (Gosh, that's three different Smith's all in computer music... :-) is giving them a going over before inflicting them on the rest of the world. They are short examples of the approach if you wait for them to appear, or for the foolhardy, I can email some code. > Dr Leslie S. Smith > Dept of Computing and Mathematics, Univ of Stirling > Stirling FK9 4LA Scotland > lss@cs.stir.ac.uk (NeXTmail welcome) > Tel (44) 1786 467435 Fax (44) 1786 464551 Best Wishes --- Leigh Smith NeXTMail: leigh@cs.uwa.edu.au Computer Science Dept Phone: +61-9-380-1945,Fax:+61-9-380-1089 University of Home NeXTMail:leigh@psychokiller.dialix.oz.au Western Australia Home Phone: +61-9-382-3071 *--=----=----=----=----=----=---====---=----=----=----=----=----=----=--*
From: Expires: Newsgroups: comp.sys.next.programmer Subject: Now we have Tcl, anyone doing Tk? Date: 21 Aug 1995 11:34:02 GMT Organization: The University of Western Australia, Department of Computer Science Message-ID: <419qva$a8g@bilby.cs.uwa.oz.au> I'm just trying to gauge if anyone is working on a Tk widget view of NS AppKit objects so such endeavours as GCL 2.1 can pop up nice native [Window]s? Anyone doing anything already that I can help out with? Or use? :-) Best luck --- Leigh Smith NeXTMail: leigh@cs.uwa.edu.au Computer Science Dept Phone: +61-9-380-1945,Fax:+61-9-380-1089 University of Home NeXTMail:leigh@psychokiller.dialix.oz.au Western Australia Home Phone: +61-9-382-3071 *--=----=----=----=----=----=---====---=----=----=----=----=----=----=--*
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: HPPA/HPUX code calling from HPPA/NS? Date: 21 Aug 1995 16:37:55 GMT Organization: Information Technology Solutions, Inc. Message-ID: <41acp3$729@news.its.com> References: <405i2a$noq@usc.edu> <DCzF9o.1tC@icgned.nl> <40golk$ia@gaea.titan.org> bungi@gaea.titan.org (Timothy J. Wood) wrote: > Also, I thought that the stack grew the opposite direction in NS/HP than > it did in HPUX. Perhaps I'm thinking of Sparc? According to NeXT, NEXTSTEP/HP uses the same calling conventions as HP/UX, as documented in the "PA_RISC Calling Conventions Reference Manual". According to me, NeXT has (or had) some bugs in their stack layout with regard to character and short arguments. NeXT's marg_ functions also return improperly aligned values for double arguments which'll cause fatal program errors (unless you manually rewrite the marg_ functions yourself). Consult Bug_NeXT reference #60250. -Chuck PS: The stack on the PA_RISC systems does grow upwards, unlike the m68k or i386 architectures, although the argument list within a given stack frame grows downwards. -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: NeXTmail programmatically Date: 21 Aug 1995 03:33:58 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <418ur6$mrh@usenet.rpi.edu> References: <199508171840.UAA22694@ns.ms.mff.cuni.cz> ocs@ms.mff.cuni.cz (Ondra Cada) wrote: > I would need to create NeXTmail (with attached files, images, > sounds) programatically. Is it possible? Does somebody know how? > Looking 4ward your answers, If you look at a NeXTmail message, it's pretty straightforward. Take a message, uudecode it uncompress it untar it (using gnutar) (well, actually, using safetar inside of Mail.app, but I don't know if you'll be on a NeXTSTEP box when generating these files...). You'll get a directory of files. Note that the key file is an RTF file, so you'ld need to know how to generate an RTF file which points to all the other files you want to include. Take a look at some NeXTmail files sent to you to see how this works (which is to say, "Don't take my word for it..." :-) ). It's doable. Some of my friends wrote scripts of some sort to send NeXTmail to me. I'm not sure if they still have those scripts around. It's reasonably straightforward. --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Newsgroups: comp.sys.next.programmer From: zet@rupert.franken.de (Juergen Zeller) Subject: Re: Sound files and big/small endedness Message-ID: <DDn8LK.DrJ@rupert.franken.de> Sender: zet@rupert.franken.de (Juergen Zeller) Organization: private References: <4125lj$oo@lorne.stir.ac.uk> Date: Mon, 21 Aug 1995 04:32:07 GMT In article <4125lj$oo@lorne.stir.ac.uk> lss@katrine.cs.stir.ac.uk (Dr L S Smith (Staff)) writes: > > Has anyone else found a problem with (16-bit or larger) sound files > written on Black hardware, and played on Intel (or vice versa) ? > I assume the problem is that 16-bit integers are different on these two > machines...big vs small endedness... It depends: if you are using .snd or .aiff or .wav files, it is defined wether the data is big or little endian, and any Player (like Resound.app) knows how to handle it properly. If you have raw PCM 16-bit data, you can use sox or sndconvert to make a sound file with the appropiate header. Bye, Juergen -- J"urgen Zeller, zeller@rupert.franken.de, http://www.franken.de/users/rupert/zeller ------- - - - - - - - - - - - - - - - - - - - - --------
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Sun, 20 Aug 95 22:51:08 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9508202051.AA01946@flexus> Subject: Re: Error in NXReference doc ? Nicolas Droux writes: > Any opinion on this subject ? A thorough exposition is replicated in KBNS, in category Distributed Objects, from Xedoc (the NetInfo guys, if I'm not mistaken). Known Bugs in NeXT Software: ftp://ftp.cs.orst.edu/software/NeXT/documents/KBNS.33.0.README.rtf ftp://ftp.cs.orst.edu/software/NeXT/documents/KBNS.33.0.rtf Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Mon, 21 Aug 95 20:34:44 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9508211834.AA03352@flexus> Subject: Re: NXIsCntrl() and strspn() not in libNeXT_s.a Robert La Ferla writes: > Can anyone give a reason why NXIsCntrl() and strspn() > are in libsys_s.a but not in libNeXT_s.a? NXIsDigit(), > on the other hand, is in libNeXT_s.a. Seems like a bug > to me but wanted a sanity check... I'm using NS 3.3 > developer. Look closely: - every one of those three functions is included in /usr/shlib/libsys_s.B.shlib (with the leading underscore, e.g., _NXIsDigit), - NXIsDigit is *also* present in /usr/shlib/libNeXT_s.C.shlib as __libNeXT_NXIsDigit. The first item is normal: all those functions are defined for every program that links with the implicit library sys_s (I won't speak for posix stuff). The second probably merely means that the function is *referenced* by some code in the NeXT_s shlib (a shlib wizard will be able to tell you what's happening exactly); you'll still want the sys_s library to link with. This is for my NEXTSTEP_3.2 system. I haven't really checked the .a libraries, but I suppose they match their shlib counterparts. Conclusion: Not a bug. Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: deniseh@shell1.best.com (Denise Howard) Newsgroups: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Subject: Re: ObjectWorld - HOT HIGHLIGHTS Followup-To: comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer Date: 21 Aug 1995 23:00:51 GMT Organization: BEST Internet (415) 964-2378 Message-ID: <41b373$bv@news1.best.com> References: <40s3ql$2r7@crl9.crl.com> <41114o$lg7@digdug.pencom.com> On a local (bay area) TV station last night during their occasional focus on Silicon Valley happenings, they did a quick story about NeXT! They mentioned that OpenStep was highly regarded at this year's ObjectWorld, and they showed an excerpt of Steve Jobs talking about it. (Looked like it might've been from a panel session or something rather than a keynote.) I wish I could tell more details but I was actually in another room when shouts of "Come here quick and see this!" emanated from my living room. Did anyone else see this so they can report further? Of course, the next commercial break was an ad for an upcoming interview with Bill Gates regarding Windows '95. Do you think Microsquish could get any more free advertising? :-\ Denise
From: cc100aa@xray.oit.gatech.edu (Ray Spalding) Newsgroups: comp.sys.next.programmer Subject: Re: Cooperation with Librarian Date: 21 Aug 1995 20:47:52 GMT Organization: Georgia Institute of Technology Message-ID: <41ardo$57c@mordred.gatech.edu> References: <199508171840.UAA22699@ns.ms.mff.cuni.cz> In article <199508171840.UAA22699@ns.ms.mff.cuni.cz> ocs@earn.cvut.cz writes: >have you ever noticed you may jot _messages_ instead of 'documents' >in Librarian from Mail, and such a message is stored under name >grabbed from the _message subject_? >Does somebody know the API which allow Mail to cooperate with >Librarian this way? I believe it is just a "Services" definition with the following-- Send Type: NeXTmail Message pasteboard type Librarian (or other service provider) then just reads that type from the pasteboard, which consists of the complete message text. -- Ray Spalding, Office of Information Technology Georgia Institute of Technology, Atlanta Georgia, 30332-0715 Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Retaining ivars Date: 22 Aug 1995 05:07:46 GMT Organization: Sense Networking Seattle (http://www.oz.net) Distribution: world Message-ID: <41bon2$lpo@emerald.oz.net> I'm beginning to think that the new Foundation memory management scheme is just trading one problem (object ownership) with another (avoiding cylic retain references) with little net gain. Or maybe I just don't get it :-) I seem to be spending an inordinate amount of time trying to figure out how to break cyclic references. In general, I've followed NeXT's example of retaining objects passed into "setIvarName:" methods as arguments to prevent them from being released while still needed. A simple, obvious example is a delegate which, according to NeXT's docs, is documented as retained in most cases (but not EOController!). What does one assume when no mention is made of whether an object is retained in a "setIvarName:" method? Frequently, the delegate refers back to the object whose delegate it is by storing it in an ivar. This "setIvarName:" method obviously can't retain its argument or a retain cycle will result preventing either object from ever being released. But what I'm experiencing are retain cycles that include 3 or more objects. These can be difficult to detect and prevent :-( What I'm looking for are general guidelines about which ivar shouldn't be retained in order to prevent cyclic references. I've heard a distinction made between intrinsic and extrinsic objects, but this seems like a gray area to me in many cases. Anyone have any clever approach that they'd like to share? This is really bugging me. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: Mike Hostetter <Michael_Hostetter@JHUAPL.Edu> Newsgroups: comp.sys.next.programmer Subject: HELP: Startup problem ... Date: 22 Aug 1995 12:18:11 GMT Organization: JHU/Applied Physics Laboratory Message-ID: <41chu3$ak5@aplinfo.jhuapl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Michael_Hostetter@JHUAPL.Edu NeXTperts, I tried to install 'uShare' by Information Presentation Technologies, Inc. into NeXTstep 3.2 on a Dynex 486 after installing an EtherLink III ethernet card (3C509B-TP), but neglected to enter Configure.app for the EtherLinkIIIDriver.pkg (downloaded from NeXTAnswers). uShare installed fine (or so I thought) and then I restarted and got the following messages at startup: ... etedtinit: Cannot find any interfaces! Server atlk Loaded Starting IPT daemons.... unexpected kernel trap d eip 26c47db Raise RDP exception 2 code d subcode 26a0000 Waiting for RDP connection (type 'c' to continue) at which point, nothing can save the bootup (hitting 'c' gets the same last three lines). What I need ideally is a way to get the NeXT to boot so I can deinstall the uShare and the EtherLink III driver and try it all over again (correctly this time). Can I start up NeXT with "extensions off" as with a Mac? Otherwise, I assume that I'll need to reinstall NeXT ... can I install NeXT without losing other data files on the disk? Thanks for your help in advance! Mike
From: Mike Hostetter <Michael_Hostetter@JHUAPL.Edu> Newsgroups: comp.sys.next.programmer Subject: Time (object) Needed!! Date: 22 Aug 1995 12:25:21 GMT Organization: JHU/Applied Physics Laboratory Message-ID: <41cibh$ak5@aplinfo.jhuapl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Michael_Hostetter@JHUAPL.Edu Object-ive Observers, Is there a good Time object out there? I just need the standard methods -- adding, subtracting, printing (in multiple formats), comparison -- but I'd like it to handle relative and absolute (includine dates) time as well. Thanks! Mike
From: dirk@lukas.amg.de.amg.de (Dirk Mimberg) Newsgroups: comp.sys.next.programmer Subject: grabbing and printing a window without printPSCode Date: 22 Aug 1995 10:13:00 GMT Organization: AMG Industrieconsulting GmbH Message-ID: <41cajc$5u7@hagen.amg.de> Is there any example how to "Grab" the main window and print it without using printPSCode or smartPrintPSCode. Thank you in advance. Dirk Mimberg AMG Industrie Consulting mail dirk@amg.de
From: lsanchez@hopi.. ("jesus sanchez-saenz") Newsgroups: comp.sys.next.programmer Subject: Help! Can not reboot! Date: 22 Aug 1995 14:29:29 GMT Organization: Indiana University, Bloomington Message-ID: <41cpk9$1kr@usenet.ucs.indiana.edu> Keywords: reboot Equipment: stand alone NeXTstation (originally bought Jan. 91) with original 200 MB Quantum (still working) as internal HD now running NS 3.0. Problem: To upgrade to NS 3.3 I decided to first install new exterior hard disk (Quantum 530 originally formatted as a Mac HD), at first Workspace Manager did not recognize exterior HD and no icon would appear, finally by fooling around, WM recognized external HD as a Mac HD and icon appeared, while trying to launch BuildDisk from WM to attempt reformatting, machine froze. When trying to reboot, right after the "Checking for network ..." messages, Mach Operating System window with following message appeared (which is same message I get when trying to reboot directly from ROM monitor window via the internal HD): .. Checking disks INCONSISTENT FAST SYMLINK (MODE !=IFLNK) /dev/rsd0a:INODE I=44608 FLAGS=0x64207265 MODE=061165 /dev/rsd0a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Reboot failed ... help! Faking root mount entries Configuring ethernet interface to 156.56.68 Setting broadcast address to 156.56.5.255. Configuring hostname to leonardo The network is disabled or your computer isn't connected to it. .. About two years the machine was connected to the network here at my office at the University and those are the numbers for the ethernet interface that appear above, but then I took it back home, where it has been working as a stand alone with no problem until now. Does anybody know what I need to do to get the NeXTstation started again? I have tried to reboot it with and without the external HD connected, and I get same result. Is the network alluded above, the network comprised of the slab and the external HD? Any help to solve this conundrum will be greatly and truly appreciated. I truly miss working with my NeXT at home, the first and only computer I have ever owned. Thanks Leonardo p.s. I am not very familiar with the UNIX commands, everything I have done until now is based on what I have read in the printed documents that were prepared for version 2.1 of NS. Lately, here in the NeXT computer cluster at the University (where I am posting this message) part of the network is down (slabs), but cubes are still up. I can also receive mail (not NeXT) at: lsanchez@ucs.indiana.edu Thanks
From: paulrs@lgs-systems.buf.servtech.com (Paul R. Summermatter) Newsgroups: comp.sys.next.programmer Subject: Links in Text objects Date: 22 Aug 1995 15:27:46 GMT Organization: LGS Systems Message-ID: <paulrs-2208951125210001@lgs-systems.buf.servtech.com> Hello, I am creating an addresses database in which I would like to allow the user the ability to drag and drops links into a comments text area. I am aware that the text area needs to accept graphics in order for the user to be able to drag and drop items into the field. I've created my address book and the scrollable text area for comments and the user can drag and drop links without difficulty into the comments field. Further, the links are saved to the database and can be retrieved without a problem. However, when the user double-clicks on the icon for the link nothing happens. If I try the same thing in say an 'Edit' document, the link, if it's a directory, will open up a window in the Workspace Manager when double-clicked. I want the same sort of behaviour in my database. Thinking that my problem might be app specific, I created a dummy project with one window and a scrollable text area. When I compiled and ran this app, I experienced the exact same behaviour as in my database. My question then is, do I need to subclass Text in order for this to work? Or is there some delegate method which I need to handle? Or can I override some method in a category? Any help would be greatly appreciated. Thanks, Paul paulrs@lgs-systems.com (MIME mail preferred)
From: samurai@maggie.cs.mcgill.ca (Darcy BROCKBANK) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 22 Aug 1995 17:19:14 GMT Organization: School of Computer Science, McGill Univ. Message-ID: <SAMURAI.95Aug22131914@maggie.cs.mcgill.ca> References: <199508192139.XAA29698@ns.ms.mff.cuni.cz> In-reply-to: ocs@ms.mff.cuni.cz's message of 19 Aug 1995 16:44:11 -0500 <ocs@ms.mff.cuni.cz> writes: >>You write all kinds of code to use a particular object. Say >>NSMutableGarbage. Once you decide that NSMutableGarbage isn't the >>class for you, and you write your own MyMutableGem class to replace >>it, you're looking at changing a million declarations and associated >>methods which also static type their parameters. Do this a couple >>times, and you have a hellish mess on your hands. >Well, yes. But - at least in my code - it is _extremely_ improbable >I'll write a source which suppose it will use (any subclass of) >SomeFunnyClass, deciding later it will cooperate with some other, >unrelated class. Surely there _are_ programs I am not sure I won't >do such a switch in future; but then I use id instead of static >typing. The person who comes in after you, be they a programmer, consultant, or whomever, might have different ideas. Or, you might "switch kits" or NeXT might drop a kit and replace it with something else. All of these happen all the time. >And - IMHO, of course - the annoyance of (most improbable) changing >of SomeFunnyClass* to OtherFunnyClass* in whole project (in fact, >using awk even this is _very_ easy) is absolutely unimportant >compared with static typing benefits (ie more compile time >checking). When you've got a 1 million line project, upon which people's *lives* depend (this is really mission critical stuff), are you going to run awk over the source code? I think not. >>Static types are a tool. They are noting more than that. Use them >>judiciously, but not to the exclusion of the id type. The id type >Exactly!!! If I remember well, I had *never* suggested to exclude >id either from ObjC or from using... I didn't say you did. The policy of NeXT, however, now looks to be "never use id" and that's really what I'm attacking. >>- takeThis:this andThis:somethingElse andMakeThis:product; >> >>Looks oh so cleaner than: >> >>- (NSMutableGarbage *)takeThis:(NSGarbage *)this >>andThis:(NSMutableGarbage *) somethingElse >>andMakeThis:(NSMutableGarbage *)product; >Surely - in my personal opinion, the NeXT's decision to use the >longest possible names was not particularly smart :((( >On the other hand, we might to help us using better indentation: >-(NSMutableGarbage*)takeThis:(NSGarbage*)this > andThis:(NSMutableGarbage*)somethingElse > andMakeThis:(NSMutableGarbage*)product; >seems to me only _slightly_ less readable as the original untyped stuff. Well, official emacs indentation is: -(NSMutableGarbage*)takeThis:(NSGarbage*)this andThis:(NSMutableGarbage*)somethingElse andMakeThis:(NSMutableGarbage*)product; And is an improvement again, but it's still god awfully ugly and inelegant. Of course, as you've pointed out, the long names coming out of NeXT these days make some things absolutely ridiculous. >>me sometimes. The oter thing that ticks me off is the reverse C >>was of looking at const and mutable. I wish the default way was >>this: >> >>NSConstGarbage >>NSGarbage >> >>Rather than: >> >>NSMutableGarbage >>NSGarbage >> >>It's reverse to the way you think using the standard C types. I'm >>sure they have an argument that it makes more sense in a class >>heirarchy way (and I think I've been told it) but that doesn't >>stop it from being ugly and inelegant. >Well, you have to find the smaller evil... It would not be >particularly consistent to have a inheritance tree of >@interface Xxxx:YyyyXxxx >which is exactly you would get: >@interface NSString:NSMutableString >It is a good practice to use class names the way of 'adding text >and functionality as well' - ie, if you have two class named Xxxx >and YyyyXxxx, then the latter isKindOf: the former, adding the Yyyy >feature. Oh great. So, you're telling me that if I have five parent's in my class tree, then I should incorporate text from each of them. That's brain-dead. There's nothing that says that class names should abide by any set of rules. Moreover, this is one of those cases in which following the rules which commonly give you good results, gives you bad. Yes, it makes plenty of academic sense, but from a practical point of view it's a stupid decision. const int <- a constant number int <- a mutable number NSNumber <- a constant number NSMutableInteger <- a mutable number Stupid, stupid, stupid. >IMHO the decision to omit the plain C consistency for the sake of >object consistency was good. Well, you're wrong ;-). ObjC is a superset of C. They destroyed the consistency of the *ObjC* language for the sake of following a couple silly rules that don't really make much sense. You can argue that a class tree using "const" can be made just as "elegantly" as one using Mutable. So what if you don't inherit their names? Big bloody deal. >>doing most of my stuff in ANSI C anyway ;-). >>(Then I put up C++, ObjC and Eiffel wrappers around my C cores.) >It has to be boring to implement your own NSArrays, NSDictionaries, >NSStrings, NSDates, ........ in ANSI C :))) Quite to the contrary. When my data structures outperform NeXT's by factors of 5, while taking up less space, and are portable to 5 operating systems and provide the core functionality for object wrappers in three OO languages, I get *excited*. You want code reuse? *That* is code reuse. My stuff blows away NeXT's even after you put the ObjC wrapper around it. That's fun, and cool. And, you know it's going to work fine in other languages too. Check it out... these are standard array data structures. They all have the same interface in ObjC: 1) NSMutableArray: Adding 10000 items at the end. 0.08 2) NSMutableArray: Adding 10000 items in the centre. 9.97 3) NSMutableArray: Accessing first 10000 items. 0.01 4) NSMutableArray: Removing 10000 items from the beginning. 22.57 5) NSMutableArray: Removing 10000 items from the end. 0.08 Total time:32.90 1) NKQueue: Adding 10000 items to the end. 0.12 2) NKQueue: Adding 10000 items in the centre. 5.15 3) NKQueue: Accessing first 10000 items. 0.01 4) NKQueue: Removing 10000 items from the beginning. 0.11 5) NKQueue: Removing 10000 items from the end. 0.12 Total time: 5.51 1) NKList: Adding 10000 items to the end. 0.10 2) NKList: Adding 10000 items in the centre. 4.33 3) NKList: Accessing first 10000 items. 0.00 4) NKList: Removing 10000 items from the beginning. 8.42 5) NKList: Removing 10000 items from the end. 0.12 Total time: 12.97 Again, that's what I consider exciting. The NK stuff is mine. - db -- "Investing in tech stocks is a high risk." -- Bill Gates, Microsoft Chairman, after incurring a two day paper loss of 2 billion dollars on Microsoft stock.
From: gerti@is.com (Gerd Knops) Newsgroups: comp.sys.next.programmer Subject: objc_msgSend Date: 22 Aug 1995 18:42:25 GMT Organization: Integrity Solutions, Inc. Message-ID: <41d8eh$ib7@medusa.is.com> Hi, I need to send an Objective-C from a C environment. Target, selector, arguments and there types as well as the return argument are known during runtime. I tried building a marg_list from the arguments, and used objc_msgSendv, and that kind of works, if the return value has a size of four bytes. Here are my problems/questions: How do I get to a return value, that has a different size than four bytes, eg a double (8 bytes)? The brute force attempt does not work: double d; d=(double)objc_msgSendv(... results in a compiler error. This is also not exactly what I need, I would more need something that would work for any number of returned bytes. The second question: I would rather like use objc_msgSend than objc_msgSendv, especially since there is no objc_msgSendSuperv... Is it possible to do something like pushInt(i); pushDouble(d); erg=objc_msgSend(theReceiver,theSelector); Of course I need to stay portable, so please no assembler code... I hope somebody can help. Please answer via EMail, our newsfeed is usually 24 hours late. I will summarize. gerti gerti@IS.com
From: hadar@amazon (Hadar Pedhazur) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 22 Aug 1995 20:22:31 GMT Organization: Union Bank of Switzerland, New York site Message-ID: <41dea7$r8@ns2.ny.ubs.com> References: <199508192139.XAA29698@ns.ms.mff.cuni.cz> <SAMURAI.95Aug22131914@maggie.cs.mcgill.ca> Darcy BROCKBANK (samurai@maggie.cs.mcgill.ca) wrote: [MUCH stuff munged] : Quite to the contrary. When my data structures outperform NeXT's by : factors of 5, while taking up less space, and are portable to 5 : operating systems and provide the core functionality for object wrappers : in three OO languages, I get *excited*. You want code reuse? *That* is : code reuse. My stuff blows away NeXT's even after you put the ObjC : wrapper around it. That's fun, and cool. And, you know it's going to : work fine in other languages too. : Check it out... these are standard array data structures. They all have : the same interface in ObjC: : 1) NSMutableArray: Adding 10000 items at the end. 0.08 : 2) NSMutableArray: Adding 10000 items in the centre. 9.97 : 3) NSMutableArray: Accessing first 10000 items. 0.01 : 4) NSMutableArray: Removing 10000 items from the beginning. 22.57 : 5) NSMutableArray: Removing 10000 items from the end. 0.08 : Total time:32.90 : 1) NKQueue: Adding 10000 items to the end. 0.12 : 2) NKQueue: Adding 10000 items in the centre. 5.15 : 3) NKQueue: Accessing first 10000 items. 0.01 : 4) NKQueue: Removing 10000 items from the beginning. 0.11 : 5) NKQueue: Removing 10000 items from the end. 0.12 : Total time: 5.51 : 1) NKList: Adding 10000 items to the end. 0.10 : 2) NKList: Adding 10000 items in the centre. 4.33 : 3) NKList: Accessing first 10000 items. 0.00 : 4) NKList: Removing 10000 items from the beginning. 8.42 : 5) NKList: Removing 10000 items from the end. 0.12 : Total time: 12.97 : Again, that's what I consider exciting. The NK stuff is mine. : - db Agreed. These timings are impressive and important gains as well. For Foundation stuff now, and for 4.0 (OpenStep) in general, do you just cast these to NSArray (etc.) to remove the warnings, and do you convert what you get from AppKit back to *your* cannonical classes ( for example, if you had an NKString, when a TextField gave you back an NSString, would you convert it)? Also, and please no one flame me (really!), if they are truly plug and play alternatives (protocol-wise) to NeXT's, and are so much faster, did you "offer" the code back to NeXT so that we could all gain? -- Hadar Pedhazur Global Equity Derivatives Union Bank of Switzerland (UBS)
From: hannes@ping.at Newsgroups: comp.sys.next.programmer Subject: Re: compositing large nximages Date: Tue, 22 Aug 1995 20:24:34 GMT Organization: TELECOM Network Provider, Austria Message-ID: <950822222434.307AAAAF.hannes@s156.ping.at> References: <417hna$875@nic.wat.hookup.net> Mime-Version: 1.0 (Created by Mstar) Content-Type: text/plain; charset=US-ASCII Originator: hannes@s156.ping.at >From: jcassidy@proton.genesoft.com. (James Cassidy) >Subject: compositing large nximages >Date: 20 Aug 1995 14:43:54 GMT >Message-Id: <417hna$875@nic.wat.hookup.net> > >When compositing a large nximage into a view during a drawself, I get a very >small version of what should be a 1024x1024 image. The window shows >up at the proper size, but the image is a very small one down in the >lower left corner. I don't get this anomaly for smaller iamges. Maybe it's due to the images resolution! If the image is e.g. 300 DPI it will show up on screen in about a quater the size that pixelsWide/pixelsHigh would be. But unfortunately I have no idea of how you could change the images resolution settings after loading. ____________________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred, MIME ok)
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: the keyboard state? Date: 22 Aug 1995 17:55:10 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508222250.AAA16127@ns.ms.mff.cuni.cz> Hullo, is it possible somehow to obtain the current keyboard state? I'd need to know at least the current state of the Shift, Alternate, Control and Command keys (it will be nice to be able to test other keys as well, but the ability to test the modifiers is much more important). I need to get the state in regular intervals, regardless the application state (fore- or background), so I cannot use the modifier state recorded in the event. I had found the PSbuttondown etc. services which do this for the mouse, but I had found nothing for the keyboard. Can somebody help me? -- Ondra Cada ocs@earn.cvut.cz NeXTmail and MIME OK
Newsgroups: comp.sys.next.programmer From: vdemarco@whatnow.bou.shl.com (Vince Demarco) Subject: Re: objc_msgSend In-Reply-To: gerti@is.com's message of 22 Aug 1995 18:42:25 GMT Message-ID: <VDEMARCO.95Aug22173939@whatnow.bou.shl.com> Sender: usenet@shlnews.shl.com (shlnews news) Organization: SHL Systemhouse Inc. References: <41d8eh$ib7@medusa.is.com> Date: Tue, 22 Aug 1995 23:39:39 GMT >I need to send an Objective-C from a C environment. Target, selector, >arguments and there types as well as the return argument are known during >runtime. Here is a short example that does this. (all of the code assumes that the selector has no arguments) self is a subclass of list. THis is code from the MiscTableSource object (which i wrote) Hope this all helps. Method methodStruct; SEL aSelector; id theObject; theObject = [self objectAt:aPosition]; aSelector = [self getSelectorForIdentifer:(const char*)identifier]; methodStruct = class_getInstanceMethod([theObjectclass],(SEL)aSelector); if (aSelector && methodStruct && theObject){ /* Here i am checking the return type of the the method (Well I hope that I am checking) * (the Return type of the method) */ switch(methodStruct->method_types[0]){ case _C_ID: [aValue setObjectValue:(id)[theObject perform:aSelector]]; break; case _C_SHT: case _C_USHT: { short int val = ((int(*)(id,SEL))[theObject methodFor:aSelector]) (theObject,aSelector); [aValue setIntValue:val]; break; } case _C_INT: case _C_UINT: { int val = ((int(*)(id,SEL))[theObject methodFor:aSelector]) (theObject,aSelector); [aValue setIntValue:val]; break; } case _C_LNG: case _C_ULNG: { long int val = ((int(*)(id,SEL))[theObject methodFor:aSelector]) (theObject,aSelector); [aValue setIntValue:val]; break; } case _C_FLT: {
Newsgroups: comp.sys.next.programmer From: yzhao@netcom.com (Yi Zhao) Subject: Better way to handle objc: FREED(id): ? Message-ID: <yzhaoDDqvnE.IDr@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Wed, 23 Aug 1995 03:42:50 GMT Sender: yzhao@netcom18.netcom.com I got this freed id problem, which drive me crazy. In NeXT ObjC runtime, objc_msgSend, I guess, detects the receiver of a message is freed, so it calls _freedHandler, which ends up calling abort(). In BSD 4.3, abort() sends signal 6, which cannot be caught or blocked. So even if I had ObjectError in place, I still cannot get a back trace. The message sent to the freed ID is respondsTo:, which I only used once surrounded by my own freed id check. So the message is likely from code in Appkit. The problem is a headache since I cannot reproduce it when running under GDB, but occurs again and again running on user machines with no development tools. Is there any better way to handle the freed object, such as an undocumented call to set your own freed handler, or to force it to call [Object error:...] instead of abort(). Many thanks.
From: Jeff_Sickel@sickel.com Newsgroups: comp.sys.next.programmer Subject: NXPrinter, PrintInfo & PPDs Date: 23 Aug 1995 03:38:48 GMT Organization: Sehjas, Inc. Message-ID: <41e7s8$d60@canton.charm.net> Does anyone know how to get the NXPrinter to recognize the PPD keywords JCLResolution and JCLEconoMode? I've been messing around with a couple of PPD files and can't get PrintInfo to recognize tons of PageSizes. It's almost as if the popup list for Page Layout only has a small set of options. Unfortunately, none of those option include envelopes! The problem also bubles to NXPrint, where the keyword *JCLResolution does not effect the Resolution popup, but *Resolution does. I guess I'll have to dig in more on the PPD spec to figure out how to have both in the file, the *Resolution just calling the *JCLResolution. As far as I can tell in the PPD spec, constraints can be made within the PPD file to handle all sorts of options. Like only allowing the paper size for an envelope to feed from a tray that can handle envelopes - to making a definition for Transparencies that enforces the output bin. Lots of options! jas
Newsgroups: comp.sys.next.programmer From: gelato@netcom.com (Steve James) Subject: Need help w/DBTableView and font change Message-ID: <gelatoDDr9FD.DtJ@netcom.com> Organization: none Date: Wed, 23 Aug 1995 08:40:24 GMT Sender: gelato@netcom19.netcom.com I've used setTitleFont: and setFont: to change the font in a DBTableVector and its formatter, respectively. However, when highlighting the selected row, the table view uses the height of the "old" font (normally 12pt) to do the highlighting. I must need to set the "row height" somewhere, but can't figure out how. (You would think the table would be smart enough to detect this itself!) I noted that the Inspector for DBTableView in IB has a Row Height field; if I trace thru the assembler in gdb I see that it is sending setMinSize: to some table vector, but I can't figure out which vector; it must be the global one for all dynamic rows in the table. The Inspector used the method "uniVector" to find this puppy, but I lost the scent at that point. Can anybody help me figure this one out? Thanks...
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: forward declaration of a class in objective-c Message-ID: <DDr84I.CG8@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <SAMURAI.95Aug22131914@maggie.cs.mcgill.ca> Date: Wed, 23 Aug 1995 08:12:17 GMT <ocs@ms.mff.cuni.cz> writes: >It is a good practice to use class names the way of 'adding text >and functionality as well' - ie, if you have two class named Xxxx >and YyyyXxxx, then the latter isKindOf: the former, adding the Yyyy >feature. (giving the MutableString / String example) Don't do this. Rather, declare a string object, and the mutability (?) of the string as some sort of attribute : @interface String : Object {} - setMutable:(BOOL)flag; - (BOOL)isMutable; @end A good example is Window (retained/non-retained/buffered), you don't have an NSRetainedWindow etc. ! If you try to "catch" the attributes of the class at compile time, you'll end up with a large number of classes, and the application programmer has to read all the documentation to find what object is suited for him. Bad design like this will also make you think that the language is lacking features (protocols, multiple inheritance etc.), while it's a design problem in reality. You have to try to deliver as few classes to the application programmer as possible. An object kit is not "more" object-oriented if you have "more" classes (with a lot of nonsense classes). Taking time to design a small, clean and concise API really pays off. And if you think NSRetainedWindow is a good idea, keep it internal, make Window the only public interface. And _please_ don't use "class clusters", but rather simply use an instance variable that points to the internal object. -- - david stes@icgned.nl
Newsgroups: comp.sys.next.programmer From: gelato@netcom.com (Steve James) Subject: Re: Better way to handle objc: FREED(id): ? Message-ID: <gelatoDDrAvu.FqA@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <yzhaoDDqvnE.IDr@netcom.com> Date: Wed, 23 Aug 1995 09:11:54 GMT Sender: gelato@netcom19.netcom.com Yes, there is. Here is some sample code (I hope this isn't too long to post). Some of the comments are stale, and this code depends on some other additions to Object, but you can figure that out. The key is that the method message:sentToFreed:inClass: prints out the name of the method and the class of the object it was sent to, which 90% of the time is enough to figure it out. Note also that this code can be circumvented if a subsequent alloc reuses the storage; in this case, comment out the object_dispose (and watch your vm skyrocket) to locate the problem. Normally I leave this code disabled, and only turn it on if I have FREED problem. I can't WAIT to run via OpenStep so I can use Purify... #import <objc/Object.h> @interface Object (FreedObjectAdditions) /* ####################### Shadowed Object Methods ####################### */ - free; /* ############## Setting Freed Object Processing Behaviour ############## */ + setFreedObjectProcessingEnabled:(BOOL)aFlag; + (BOOL)isFreedObjectProcessingEnabled; @end //---------------------------------------------------------------------------- // @target {FreedObjectAdditions} // @category-of {Object} // @declared {support/ObjectFreeing.h} // @summary {Runtime error handling extensions to the Object class} // // @description // { // The extensions provided by this category of @bold{Object} support // trapping and handling of errors that result from sending messages // to objects that have been freed. This category is closely related // to the @bold{ErrorProcessingAdditions} category, and @italic{depends} // on that category. These functions are not included in that category // so that category can be used independently of this one. // The error handling and diagnostics provided by this category are not // enabled by default. This provides backward compatability with // existing code. // // @heading{Implementation Details} // When an object is freed (by sending it a -[free] message) it is mutated // to one of three proxy classes. Each proxy knows how to determine, if // possible, the class of the freed object, which is included in an error // message (without knowing the class, the error message is not very // useful in my opinion). // // The three proxy classes are as follows: // @item { // @code{__FREED_ClassIsObject}. This is used for // instances in class Object. // } // @item { // @code{__FREED_ClassIsStored}. This is used for // instances that have at least @code{sizeof(id)} bytes of their // own instance variables. A pointer to the class is stored here // (this is the @bold{isa} of the object just before it is freed). // } // @item { // @code{__FREED_CLassIsUnknown}. This is used if none // of the above can be used. // } // // By far most objects will fall into the second case, and in this case // the overhead for this functionality is minimal (one @bold{if} and a few // extra assignments). // // @see{/ObjectErrors}. // } //---------------------------------------------------------------------------- #import <strings.h> #import <appkit/nextstd.h> #import "support/Object.h" typedef struct { Class originalIsA; Class originalClass; } LocalStorage; static BOOL freedObjectProcessingEnabledFlag; @implementation Object (FreedObjectAdditions) /* ################### @group{Shadowed Object Methods} ################### */ - free { //{----------------------------------------------------------------------- // Overrides Object's default -[free] to mutate the receiver to one of // several `proxy' classes before actually freeing the object (via // @bold{object_dispose}). By virtue of the fact that these proxy classes // do not implement any methods other than -[forward::], any messages sent // to the freed object will eventually be picked up by -[forward::] and // this category's error handling mechanisms will be called. Returns nil. // // @bold{Note}: // Object's -[free] does this sort of thing, but instead of doing // something reasonable, like calling Object's -[error:], it just prints a // message and calls abort, which can't be trapped. //}----------------------------------------------------------------------- Class oldClass; Class newClass; // Just do the minimal amount of work if error processing is not enabled. // This will still cause NeXT's "error(FREED): message sent to freed id" // message to come out (hopefully), but it can't be trapped. if (!freedObjectProcessingEnabledFlag) return object_dispose(self); oldClass = isa; // The following is what is done in Object's default -free implementation. // As a side effect, this changes the isa to NeXT's proxy class, so we // have to change it to ours after this point. object_dispose(self); if (oldClass->instance_size >= sizeof(LocalStorage)) { static Class proxy; if (proxy == Nil) proxy = [Object classNamed:"__FREED_ClassIsStored"]; newClass = proxy; ((LocalStorage *)self)->originalClass = oldClass; } else if (oldClass == [Object class]) { static Class proxy; if (proxy == Nil) proxy = [Object classNamed:"__FREED_ClassIsObject"]; newClass = proxy; } else { static Class proxy; if (proxy == Nil) proxy = [Object classNamed:"__FREED_ClassIsUnknown"]; newClass = proxy; } isa = newClass; return nil; } /* ########## @group{Setting Freed Object Processing Behaviour} ########## */ + setFreedObjectProcessingEnabled:(BOOL)aFlag { //{----------------------------------------------------------------------- // Enables or disables the freed object handling features of this package. // If they are disabled, the effect of -[free] will have essentially // the identical behaviour as Object's -[free], and will have an overhead // of just a single if statement. Returns self. //}----------------------------------------------------------------------- freedObjectProcessingEnabledFlag = aFlag; return self; } + (BOOL)isFreedObjectProcessingEnabled { //{----------------------------------------------------------------------- // Returns whether or not the freed object handling features of this // package are enabled. //}----------------------------------------------------------------------- return freedObjectProcessingEnabledFlag; } @end /* ######################## @group{Proxy Classes} ######################## */ // This macro defines a template for a proxy class. Each proxy class has a // forward:: method which invokes the message:sendToFreedObject:inClass: // method implemented above, passing the appropriate class (based on the // proxy type). It also implements respondsTo: in case anybody loops thru // all the classes in the program, asking each if they respondTo something. // Note that the idempotent respondsTo:@selector(respondsTo:) is INVALID // for these classes. #define PROXY(NAME,CLASS) \ @interface NAME \ - forward:(SEL)msg :(marg_list)args; \ - (BOOL)respondsTo:(SEL)aSelector; \ @end \ @implementation NAME \ - forward:(SEL)msg :(marg_list)args \ { \ return [Object message:msg sentToFreed:self inClass:CLASS]; \ } \ - (BOOL)respondsTo:(SEL)aSelector \ { \ return NO; \ } \ @end PROXY(__FREED_ClassIsObject,[Object class]) PROXY(__FREED_ClassIsStored,((LocalStorage *)self)->originalClass) PROXY(__FREED_ClassIsUnknown,Nil)
From: premise@umich.edu (Sean Michael Willson) Newsgroups: comp.sys.next.programmer Subject: Help Crashing on Find Date: 23 Aug 1995 14:13:49 GMT Organization: University of Michigan Message-ID: <41fd2t$l04@lastactionhero.rs.itd.umich.edu> NeXTites, I created all of the Help files for one of our application we sell at Lynn-Arthur Associates, and when a user searches on a word the system bombs if the word is not found and say there are three instances the word in the current doc, it finds all three but if you Find again it kills the whole application, not just help. Is this a know bug or am I doing something wrong? I have created the index and I have markers on almost every page....any help would be appreciated. Sean Willson -- _________________________________________________________________________ | Sean M. Willson "Chance favors a prepared mind..." | | University of Michigan College of Engineering | | ASCII: premise@umich.edu NeXTMail: premise@engin.umich.edu | | http://www.engin.umich.edu/~premise/ WWW Page (NeXT Stuff) | | NeXT Programmer for Lynn-Arthur Associates | |_______________________________________________________________________|
From: quest@news.gate.net (Leo Adams) Newsgroups: comp.sys.next.programmer Subject: NeXT Step Developer// Orlando// Hi Rates ** Date: 23 Aug 1995 10:29:02 -0400 Message-ID: <41fdve$tcq@navajo.gate.net> NeXT Step Developer/ Florida One of South Florida’s fastest growing consulting firms is looking for someone to do a project in northern Florida (Orlando). Person sought will design and develop business applications utilizing a three-tiered client/server model. Person will be responsible for creating and documenting an object design based on user reqs. Person will interact with other development teams to create reusable application components. Will interact with a user interface team when designing user interface components. Will write, test, and debug Objective C code using foundation classes so that the application will run under OpenStep. Will create and maintain database tables and the EO model. Technical requirements are: 1+ yrs of NextStep 3.X; 2+ yrs of Objective C; Minimum of 4 yrs of UNIX (2 of those 4 preferrably under HP environment); NeXT EOF 1.X preferred. Any experience developing diverse business applications (database/transaction intensive)will be a big plus. Please contact: Leo D. Adams/Quest Technologies, Inc. 8180 Doral Blvd.,Suite 402, Miami, FL. 33166 tel: 305-592-8088 fx: 305-594-3878
From: quest@news.gate.net (Leo Adams) Newsgroups: comp.sys.next.programmer Subject: NeXT Step Programmer/Consultant// Orlando, FL. Date: 23 Aug 1995 10:30:08 -0400 Message-ID: <41fe1g$ips@navajo.gate.net> NeXT Step Developer/ Florida One of South Florida’s fastest growing consulting firms is looking for someone to do a project in northern Florida (Orlando). Person sought will design and develop business applications utilizing a three-tiered client/server model. Person will be responsible for creating and documenting an object design based on user reqs. Person will interact with other development teams to create reusable application components. Will interact with a user interface team when designing user interface components. Will write, test, and debug Objective C code using foundation classes so that the application will run under OpenStep. Will create and maintain database tables and the EO model. Technical requirements are: 1+ yrs of NextStep 3.X; 2+ yrs of Objective C; Minimum of 4 yrs of UNIX (2 of those 4 preferrably under HP environment); NeXT EOF 1.X preferred. Any experience developing diverse business applications (database/transaction intensive)will be a big plus. Please contact: Leo D. Adams/Quest Technologies, Inc. 8180 Doral Blvd.,Suite 402, Miami, FL. 33166 tel: 305-592-8088 fx: 305-594-3878
Newsgroups: comp.sys.next.programmer From: fred@improve.fdn.org (Frederic STARK) Subject: Re: objc_msgSend Message-ID: <1995Aug23.153007.684@improve.fdn.org> Keywords: cheat, kludge Sender: news@improve.fdn.org Organization: improve SA - La Defense, Paris, France. References: <41d8eh$ib7@medusa.is.com> Date: Wed, 23 Aug 1995 15:30:07 GMT I would be really interested on any comment. Sorry about the bad formatting of the code, but a shar for that... In article <41d8eh$ib7@medusa.is.com> gerti@is.com (Gerd Knops) writes: > Hi, > > I need to send an Objective-C from a C environment. Target, selector, > arguments and there types as well as the return argument are known during > runtime. > > I tried building a marg_list from the arguments, and used objc_msgSendv, > and that kind of works, if the return value has a size of four bytes. > > Here are my problems/questions: > > How do I get to a return value, that has a different size than four bytes, > eg a double (8 bytes)? > > The brute force attempt does not work: > double d; > d=(double)objc_msgSendv(... > results in a compiler error. This is normal. You call objc_msgSend wich in turn call an implementation that returns a double. You take the return value AS IF IT WAS AN ID (type of objc_msgSend) and you try to cast an id to a double. See later for how-to... > This is also not exactly what I need, I would more need something that > would work for any number of returned bytes. > > > The second question: > I would rather like use objc_msgSend than objc_msgSendv, especially since > there is no objc_msgSendSuperv... > > Is it possible to do something like > pushInt(i); > pushDouble(d); > erg=objc_msgSend(theReceiver,theSelector); > > Of course I need to stay portable, so please no assembler code... > > I hope somebody can help. > > Please answer via EMail, our newsfeed is usually 24 hours late. I will > summarize. > > gerti > gerti@IS.com Much simplier, (but less generic ?) : look at the definition of objc_msgSend... objc_msgSend(theReceiver,theSelector,i,d) /* i and d HAVE TO BE CORRECTLY DECLARED ! */ The return of a double, now. You have to understand that the return of a type is a 'hard-coded' by the way the compiler generates the code. To return a non-id type, the declaration have to be non-id. But, you'll say objc_msgSend is declared id, and the compiler uses it for non-ids ? How possible ? Easy answer: The compiler cheat. Explanation of steps for calling a method: The compiler pushes the arguments, as for the calling of a function defined like your method. (But with two more arguments. In fact it is for calling the implementation (IMP) of the method) Instead of calling your method, the compiler call objc_msgSend (which is not declared as returning the good type, but it does not matter, as you'll see) objc_msgSend, finds the implementation, based on the class of your object, restore everything and JUMPS to the implementation. When the implementation if finished, the return values are passed via whatever convention is ok for the return type. You see that in fact the caller and the receiver have agreed on the way to pass arguments, and objc_msgSend was called transparently. So you need to do the same thing. (It is called a hack) Last, the example: #import <objc/objc.h> #import <objc/objc-runtime.h> #import <objc/Object.h> @interface Foo:Object { } - (double)test:(int)a :(double)b; @end @implementation Foo - (double)test:(int)a :(double)b { printf( "TEST\n" ); return b*a; } @end /* This is the type Function to a dispatcher that would return a double Any call made via such type force the compiler to use the convention used for returning doubles */ typedef double (*double_objc_sgSendType)(id,SEL,...); /* Cheat: Oh, Mr compiler, the address of that function is exacly the std dispatcher (which in fact returns nothing as it jumps to the implementation...which returns double) */ double_objc_sgSendType double_objc_sgSend = (double_objc_sgSendType)objc_msgSend; main() { id f = [[Foo alloc] init]; double d; /* Ready, set, gooo */ d = (*double_objc_sgSend)(f,@selector(test::),2,(double)3.14151 ); /* ^ This is vital */ printf( "%g\n", d ); return 0; } #define JOKE_ON #ifdef JOKE_ON In article <3ugv44$1a7@emerald.oz.net> art@cubicsol.com (Art Isbell) wrote to me (Re: [Application unloadNibFile: . . .] ???): > If you enjoy beating your head against brick walls, [...] Yes, I do, but brick walls are so thin those days... :-) #endif Hope that helps, Cheers, ----------------------------------------------------------------- frederic stark -- fred@improve.fdn.org -----------------------------------------------------------------
From: Christian Kebekus <Christian.Kebekus@mathematik.uni-dortmund.de> Newsgroups: comp.sys.next.programmer Subject: Good error/message handling strategies? Date: 23 Aug 1995 16:42:26 GMT Organization: Dep. of Mathematics ,University of Dortmund, Germany Message-ID: <41flpi$bsu@nx2.hrz.uni-dortmund.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hey, I write a library for matrices and vectors. During test phase (at runtime) I need to check if every index is correct and so on. During calculation phase these checks are superfluos because the cost time. The most common strategie is to use define statements. OK, then I have to hold two different libraries. But what If I want the user of the library to take the decision which check to do? Now I want to expand the concept to message handling (controll output during runtime). In C++ a idea is to use error/message template classes (which could adapted to Objective C). My question: does Objective C support another (more natural/flexible/efficent) strategie? Thanx Christian Kebekus
From: willers@butp.unibe.ch (Moritz Willers) Newsgroups: comp.sys.next.programmer Subject: NXBrowser acceptArrowKeys? Date: 23 Aug 1995 17:01:13 GMT Message-ID: <41fmsp$gm6@aragorn.unibe.ch> I tried invain [myBrowser acceptArrowKeys:YES andSendActionMessages:YES]; I can't get the browser to accept the arrow keys by sending this method. Is there something else I'm missing? Thanks, -- Moritz Willers Institute of Theoretical Physics Sidlerstrasse 5 3012 Bern, Switzerland willers@butp.unibe.ch (NeXTMail, MIME)
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Better way to handle objc: FREED(id): ? Date: 23 Aug 1995 15:07:27 GMT Organization: Sense Networking Seattle (http://www.oz.net) Distribution: world Message-ID: <41fg7f$sja@emerald.oz.net> References: <yzhaoDDqvnE.IDr@netcom.com> In article <yzhaoDDqvnE.IDr@netcom.com> yzhao@netcom.com (Yi Zhao) writes: > I got this freed id problem, which drive me crazy. In NeXT ObjC runtime, > objc_msgSend, I guess, detects the receiver of a message is freed, so it > calls _freedHandler, which ends up calling abort(). In BSD 4.3, abort() > sends signal 6, which cannot be caught or blocked. So even if I had > ObjectError in place, I still cannot get a back trace. Hutchison Avenue Software Corp. has enhanced ObjectError to include trapping messages to freed objects. Their enhancement was (is?) freely available. The class name is HKCrashTrap which is included in a demo app named CrashTrap. Not sure whether it's available on NeXT archive sites, but it's worth looking. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: frantziu@gold.informatik.uni-bonn.de (Joerg von Frantzius) Newsgroups: comp.infosystems.wais,comp.sys.next.misc,comp.sys.next.programmer Subject: Compiling? html type? Date: 23 Aug 1995 15:16:19 GMT Organization: Rheinische Friedrich-Wilhelms-Universit"at Bonn, Institut Message-ID: <41fgo3$4i3@apoll.informatik.uni-bonn.de> Hi all, after adding some -posix here and there in the makefiles, I managed to get freeWAIS-sf-1.1 to what seems up and running on NextStep 3.3. Unfortunately it does not have an html type. freeWAIS-0.3 has that, but I did not get that one to compile correctly :-( I tried to incorporate the relevant parts of freeWAIS-0.3 into freeWAIS-sf-1.1, which did at least compile, and after reindexing with -t html I get document types of "html", but the headlines still show the filename instead of the title! So, what I would like to know is: - what freeWAIS compiles on NS 3.3 and has an html type? (or what do I have to do to get it compiling?) - how do I pose queries that give me the title as well as the filename of the .html files found? Maybe I just gave the wrong arguments to waisindex and waisq, so please anyone tell me what to do there. This is really urgent, so any help is highly appreciated. Thank you, Joerg. P.S. if there are any examples on how to incorporate results of wais queries into html code with a perl script or something like that, please let me know.
From: pisul_cj@cowley.uwlax.edu (Charles Pisula S92) Newsgroups: comp.sys.next.programmer Subject: continuous Matrix actions Date: 23 Aug 1995 15:14:24 GMT Organization: University of Wisconsin - La Crosse Message-ID: <41fgkg$8c6@alfred.acs.uwlax.edu> Hi, I can't quite seem to get continuous messages from a matrix in the form I desire. Here is the behavior I am trying to get: - On the first mouse down, an action should be sent. - As the mouse is dragged and subsequently enters another cell, the action should be sent (basically on a mouse entered.) I have a matrix of cells which correspond to a visual slider. The visual slider is a visual representation of the cells of the matrix. As the mouse is moved around from cell to cell in the matrix, A pointer in the slider while slide back and forth to corespond to the current cell the mouse is over. Currently, I can only get the action to be properly sent on the mouse up of the matrix. Any twiddling I have tried seems to cause unexpected results. Thanks in advance. -- Chuck Pisula ------------------------------------------------- Steve Jobs quote From UnixWorld, April 1993 "If we give people an alternative to Microsoft... it will have been a greater good." ------------------------------------------------- ***
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Help Crashing on Find Date: Wed, 23 Aug 95 17:24:34 GMT Organization: Cedar Systems Message-ID: <809198674snz@cedar.demon.co.uk> References: <41fd2t$l04@lastactionhero.rs.itd.umich.edu> If you are using the Text method -findText:... then we have encountered this problem when searching backwards. We found a workaround - it had something to do with selecting text prior to invoking findText - I do not have the code to hand right now. If you are using findText: and are not able to work it out, email me and we can look into it further for you. Lewis James. ----------------------------------------------- Cedar Systems email: Cedar@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
From: jcassidy@proton.genesoft.com. (James Cassidy) Newsgroups: comp.sys.next.programmer Subject: Re: compositing large nximages Date: 23 Aug 1995 16:02:02 GMT Organization: (null pointer) Message-ID: <41fjdq$rid@nic.wat.hookup.net> In article <950822222434.307AAAAF.hannes@s156.ping.at> hannes@ping.at wrote: >From: jcassidy@proton.genesoft.com. (James Cassidy)>>Subject: compositing large nximages >>Date: 20 Aug 1995 14:43:54 GMT >>Message-Id: <417hna$875@nic.wat.hookup.net> >> >>When compositing a large nximage into a view during a drawself, I get a >very >>small version of what should be a 1024x1024 image. The window shows >>up at the proper size, but the image is a very small one down in the >>lower left corner. I don't get this anomaly for smaller iamges. > >Maybe it's due to the images resolution! If the image is e.g. 300 DPI it >will show up on screen in about a quater the size that pixelsWide/pixelsHigh >would be. >But unfortunately I have no idea of how you could change the images >resolution settings after loading. > >____________________________________________ >Hannes Tiefenbrunner >hannes@ping.at (NeXTMail preferred, MIME ok) > Thanks! That was the problem. The image was scanned by someone else. As it turns out, at 300 dpi. The [image setScalable:YES] caused the appropriate behavior. Regards, Jim.
From: kubicar@Sun.COM (Mike Kubicar) Newsgroups: comp.sys.next.programmer Subject: Why doesn't anyone check for alloc failure? Date: 23 Aug 1995 18:37:06 GMT Organization: Sun Microsystems Inc., Mountain View, CA Message-ID: <41fsgi$mdq@engnews2.Eng.Sun.COM> I've been looking through a fair number of examples of NEXTSTEP programs recently to get some idea of how to handle errors. Most of the examples either came with the system or were found in NeXTAnswers. One of the things that I've noticed is that few, if any, of the programs check to see if the allocation failed. Everywhere I look I see things like myObject = [[MyObject alloc] init]; [myObject doSomething]; not myObject = [[MyObject alloc] init]; if (!myObject) { // Take corrective action } else [myObject doSomething]; The first version, which the examples use, is clearer and easier to code of course. But what happens when the memory allocation fails? Wouldn't the alloc return nil and the program have some kind of failure later? I think I must be missing something since good programming practice usually calls for making sure that you notice errors like allocation failure. Why don't NEXTSTEP programs? How do you handle memory allocation failure. Any insights would be appreciated since I'm somewhat new to NEXTSTEP programming.
From: Tim Pugh <tpugh@oce.orst.edu> Newsgroups: comp.sys.next.programmer Subject: Re: EOF Q: How to format Numbers in NXTableView Date: 23 Aug 1995 22:25:49 GMT Organization: University Computing Services - Oregon State University Distribution: world Message-ID: <41g9td$sbk@news.orst.edu> References: <40t34t$mar@arcadia.informatik.uni-muenchen.de> Every NXTableView has a list of NXTableVectors, and each NXTableVector has a NXFormatter subclass, and each NXFormatter has a drawCell object, which is a TextFieldCell instance. To get formatted floating point numbers for free, send the drawCell a -setFloatingPointFormat:left:right: message. i.e. [drawCell setFloatingPointFormat:NO left:0 right:2]; which is equivalent to "%.2f" printf() statement. - Tim - -------------------------------------------------------------- Tim F. Pugh email: tpugh@oce.orst.edu Oceanic and Atmospheric Sciences voice: 503-737-2270 Oregon State University fax: 503-737-2064 NeXTmail ok! In article <40t34t$mar@arcadia.informatik.uni-muenchen.de> leeden@cezanne.pst.informatik.uni-muenchen.de (Christian Leeden van der) writes: > Hi all! > > I am trying to display floats in a NXTableView. They display > all right, but I want to format them so they are exact in two digits. > So when I have a float value of 3.3333333 I want the NXTableView to > display it as 3.33 and if I have a float value of 3 I want it to be > displayed as 3.00. How Do I go about it? I don't have any idea how to do > it so I would appreciate very much any help. > > Thanx > > Chris > > "Erst wenn die letzte Shelltankstelle geschlossen, die letzte > Bohrinsel versenkt, werdet ihr merken, dass Greenpeace nachts kein Bier > verkaufen kann." > ------------------------------------------------------------ > Christian van der Leeden leeden@informatik.uni-muenchen.de > LMU Muenchen chris@hpmcha.gsr.hp.com --
Newsgroups: comp.sys.next.programmer From: yoshida@fermi.bsd.uchicago.edu (Hiro Yoshida) Subject: How to send a "save" message to Edit? Message-ID: <DDsKHB.53u@midway.uchicago.edu> Sender: news@midway.uchicago.edu (News Administrator) Organization: University of Chicago -- Networking Services Date: Thu, 24 Aug 1995 01:36:47 GMT Dear NeXT programmers, Does somebody know how to send a "save" message to Edit from the command line (or from a program)? I need to write a short shell script (or an Objective-C program) to save the active window in Edit without clicking the "Save" menu manually. Any help would be greatly appreciated. _________________________________________________________ Hiro Yoshida Research Associate Department of Radiology, The University of Chicago, MC2026 5841 South Maryland Avenue, Chicago Illinois 60637
From: besler@mdd.comm.mot.com (Steve Besler) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in obje Date: 23 Aug 1995 16:55:32 -0700 Organization: Motorola - Wireless Data Group Distribution: na Message-ID: <41gf5k$g9@nova.mdd.comm.mot.com> References: <41ganp$fv@nova.mdd.comm.mot.com> In article fv@nova.mdd.comm.mot.com, besler@mdd.comm.mot.com (Steve Besler) writes: >Here you are spouting crap about how Objective-C sould be more >backward compatible with C, and that you write most of your in ^^^^^^^^^^ ^^^^^^ (in spirit, that is.) Should be "your code" >ANSI C. >There your are talking how Distributed Smalltalk kicks ^^^ "about how" >ass. Which is it? Perhaps you have MPD. :-) Perhaps you like >both. You must then be able to appreciate that Objective-C as >used by NeXT is a good compromise between those two different >philosophies. Sorry about those errors. I got excited and reverted to being a raving lunatic. :-) -- Steven Besler, Coop Student "I do not speak for Motorola." Motorola Wireless Data Group besler@mdd.comm.mot.com
From: besler@mdd.comm.mot.com (Steve Besler) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in obje Date: 23 Aug 1995 15:39:53 -0700 Organization: Motorola - Wireless Data Group Distribution: na Message-ID: <41ganp$fv@nova.mdd.comm.mot.com> References: <SAMURAI.95Aug18141736@maggie.cs.mcgill.ca> In article 95Aug18141736@maggie.cs.mcgill.ca, samurai@maggie.cs.mcgill.ca (Darcy BROCKBANK) writes: >reverse to the way you think using the standard C types. I'm sure >they have an argument that it makes more sense in a class heirarchy way >(and I think I've been told it) but that doesn't stop it from being ugly >and inelegant. Anyway, it doesn't matter all that much to me since I'm >doing most of my stuff in ANSI C anyway ;-). > >- darcy > >(Then I put up C++, ObjC and Eiffel wrappers around my C cores.) Are you the same person arguing in comp.sys.next.advocacy that auto-release is a joke? Here you are spouting crap about how Objective-C sould be more backward compatible with C, and that you write most of your in ANSI C. There your are talking how Distributed Smalltalk kicks ass. Which is it? Perhaps you have MPD. :-) Perhaps you like both. You must then be able to appreciate that Objective-C as used by NeXT is a good compromise between those two different philosophies. Steve -- Steven Besler, Coop Student "I do not speak for Motorola." Motorola Wireless Data Group besler@mdd.comm.mot.com
From: besler@mdd.comm.mot.com (Steve Besler) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in obje Date: 23 Aug 1995 15:51:50 -0700 Organization: Motorola - Wireless Data Group Distribution: na Message-ID: <41gbe6$g2@nova.mdd.comm.mot.com> References: <SAMURAI.95Aug22131914@maggie.cs.mcgill.ca> In article 95Aug22131914@maggie.cs.mcgill.ca, samurai@maggie.cs.mcgill.ca (Darcy BROCKBANK) writes: ><ocs@ms.mff.cuni.cz> writes: [munch] >When you've got a 1 million line project, upon which people's *lives* >depend (this is really mission critical stuff), are you going to run awk >over the source code? I think not. When you've got a 1 million line project, upon which people's *lives* depend, are you going to use weak typing all over the damn place?!? I must be missing your point. > >-(NSMutableGarbage*)takeThis:(NSGarbage*)this > andThis:(NSMutableGarbage*)somethingElse > andMakeThis:(NSMutableGarbage*)product; > >And is an improvement again, but it's still god awfully ugly and >inelegant. Of course, as you've pointed out, the long names coming out >of NeXT these days make some things absolutely ridiculous. It might not *look* great, but that does not mean it is not beautiful, functional, or eligant. >Quite to the contrary. When my data structures outperform NeXT's by >factors of 5, while taking up less space, and are portable to 5 >operating systems and provide the core functionality for object wrappers >in three OO languages, I get *excited*. You want code reuse? *That* is >code reuse. My stuff blows away NeXT's even after you put the ObjC >wrapper around it. That's fun, and cool. And, you know it's going to >work fine in other languages too. Sounds Great. Why not make NKQueue a concrete subclass of NSArray... Cheers, Steve -- Steven Besler, Coop Student "I do not speak for Motorola." Motorola Wireless Data Group besler@mdd.comm.mot.com
Newsgroups: comp.sys.next.programmer From: anderson (Ken Anderson) Subject: Re: Why doesn't anyone check for alloc failure? Message-ID: <1995Aug24.011025.11450@biztech.com> Sender: news@biztech.com Organization: Biztech, Inc. References: <41fsgi$mdq@engnews2.Eng.Sun.COM> Date: Thu, 24 Aug 1995 01:10:25 GMT In article <41fsgi$mdq@engnews2.Eng.Sun.COM> kubicar@Sun.COM (Mike Kubicar) writes: >I've been looking through a fair number of examples of NEXTSTEP >programs recently to get some idea of how to handle errors. Most of >the examples either came with the system or were found in NeXTAnswers. >One of the things that I've noticed is that few, if any, of the programs >check to see if the allocation failed. Everywhere I look I see things >like > > > myObject = [[MyObject alloc] init]; > [myObject doSomething]; > >not > > myObject = [[MyObject alloc] init]; > if (!myObject) { > // Take corrective action > } else > [myObject doSomething]; > >The first version, which the examples use, is clearer and easier to code >of course. But what happens when the memory allocation fails? Wouldn't >the alloc return nil and the program have some kind of failure later? >I think I must be missing something since good programming practice >usually calls for making sure that you notice errors like allocation >failure. Why don't NEXTSTEP programs? > >How do you handle memory allocation failure. Any insights would be >appreciated since I'm somewhat new to NEXTSTEP programming. I guess the best answer to your question is: Why do it? Since NS is (currently anyway) running on a virtual memory system, if +alloc returns nil, you probably have much bigger problems than just an allocation failure. For instance, if you've run out of swap, your workstation is about to halt anyway...In fact, it most probably halted before +alloc ever got a chance to return nil. Also, since sending a message to nil doesn't cause an error, it's not going to crash the program (I know, not a big consolation prize). Basically, people don't do it cause it ain't worth it! Ken Anderson anderson@biztech.com
From: gah@zoo.bt.co.uk (Geoff Hopson) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Wanted: good expansion dictionary Date: 24 Aug 1995 07:04:36 GMT Organization: BT plc Distribution: world Message-ID: <41h8a4$2nl@pheidippides.axion.bt.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Simple query, really. Is there a decent expansion dictionary (~/.editdict) for Edit available somewhere? Does some kind soul wish to donate theirs to me? Please e-mail responses. If I get enough examples, I'll collate them and make a super dooper expansion dictionary available someplace. Thanks in advance, Geoff --- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Geoff Hopson | E-mail: gah@zoo.bt.co.uk Intelligence Software Systems | Tel: +44 1473 644380 Room G11 B67 | Fax: +44 1473 640468 BT Laboratories | http://www.zoo.bt.co.uk/~gah Martlesham Heath, Ipswich, UK | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BT NEXTSTEP Users: http://www.zoo.bt.co.uk/~gah/nextstep/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.sys.next.programmer From: stes@icgned.nl (David Stes) Subject: Re: Why doesn't anyone check for alloc failure? Message-ID: <DDt1xH.FC8@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <41fsgi$mdq@engnews2.Eng.Sun.COM> Date: Thu, 24 Aug 1995 07:53:40 GMT Mike Kubicar writes > How do you handle memory allocation failure. Any insights would be > appreciated since I'm somewhat new to NEXTSTEP programming. -- Well, you already answered the question : by checking the return value of the methods. +new would perhaps return *nil* if it would fail (and -free would return a non-nil value). That's why it's always a good idea to assign the return value of -free to the variable. myObject = [MyClass new]; myObject = [myObject free]; And as to why nobody checks for the return value of +new : (1) it's not likely to happen and (2) you'll get some other error messages, due to the failure of the underlying vm_allocate. If your question is more generally "How does one deal with exceptions in Objective C ?" There's NX_RAISE, based on longjmp(), and people have also argued to add Smalltalk-like "Blocks" to Objective C for powerful exception handling, but I believe the most down-to-earth solution of checking return values, or using some auxiliary method to check the validity of an operation, is to be recommended : [aRecord setAddress:anAddress]; if (![aRecord isAddressValid]) { /* handler */ } One could imagine that blocks were used as "default" handlers for exceptions like this, and that you could substitute your own handler instead of using the default. One could do that. - david stes@icgned.nl
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Intel serial ports Date: 24 Aug 1995 09:26:10 GMT Organization: University of Heidelberg, Germany Message-ID: <41hgji$9b9@sun0.urz.uni-heidelberg.de> Hi, How many serial ports could be used on intel box? (I hope more than two). I have to connect a modem, printer and two lab devices. Thanks -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: NSThred Date: 24 Aug 1995 10:32:59 GMT Organization: University of Heidelberg, Germany Message-ID: <41hkgr$be0@sun0.urz.uni-heidelberg.de> Hi NS gurus, I got very strange problem. I wrote a daemon, implementing a run method which basically is an event timer: - (void)run { struct sigvec v; struct itimerval t; // Set the time entry (for removing the Autorelease pool t.it_interval.tv_sec = ST_ATORELEASE_POOL_DESTROY_PERIOD; // 5 sec. t.it_interval.tv_usec = 0; t.it_value.tv_sec = 1; t.it_value.tv_usec = 0; v.sv_handler = __timeHandler; v.sv_mask = 0; v.sv_flags = 0; sigvec(SIGALRM, &v, 0); // set the handler setitimer(ITIMER_REAL, &t, 0); // start the timer sigpause(0); // pause till SIGALRM return; } The reason why I'm doing this is to use the autorelease pool. The time handler is implemented as follows: void __timeHandler(int dummy) { if (__autoreleasePool) { [__autoreleasePool release]; __autoreleasePool = nil; } __autoreleasePool = [[NSAutoreleasePool alloc] init]; sigpause(0); return; } The daemons runs for a while (say an hour or two) and then dies with segmentation fault: Program generated(1): Memory access exception on address 0xbc080000 (invalid address). 0x784d238 in +[NSThread currentThread] () (gdb) where Reading in symbols for STDaemonController.m...done. #0 0x784d238 in +[NSThread currentThread] () #1 0x780da74 in +[NSAutoreleasePool topPool:] () #2 0x780dcf8 in -[NSAutoreleasePool dealloc] () #3 0x7832110 in -[NSObject release] () #4 0x744c in __timeHandler (dummy=126881376) at STDaemonController.m:69 #5 0x5008888 in _sigtramp () #6 0x7480 in __timeHandler (dummy=126881376) at STDaemonController.m:73 #7 0x5008888 in _sigtramp () So here are my questions: 1) Is the NSThread class really implemented, or just a hack? 2) Do you have any idea why the daemon dies? Well, I see the [NSThread currentThread] tries to access a nil pointer, but why after this method was called already hundreds of times? 3) Does anybody has better idea how to use the autorelease pool in a daemon (DPS or AppKit should not be used). Thanks -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: hendric7@clunix.msu.edu (Kevin Hendrickson) Newsgroups: comp.sys.next.programmer Subject: Binary distribution of gcc for NeXT/OS available? Date: 24 Aug 1995 09:51:27 -0400 Organization: Michigan State University Message-ID: <41i04v$i4k@clunix.msu.edu> Keywords: gcc I have a NeXTstation Turbo Color here with no development environment whatsoever. I was wondering if some kind soul could point me to an ftp site or something that has a version of gcc compiled and archived so I can just plop it on this box. I know I won't have the Next Developer tools, but anything is better than what I have now which is nothing. Please reply via e-mail if you can since I doubt there are many people in the same boat as me. Thanks Kevin -- *-------------------------------------------------------------* Kevin Hendrickson "On the internet, no one knows you're a dog." hendric7@clunix.cl.msu.edu [35.9.6.4] hndrcksn@museum.cl.msu.edu [35.8.2.65]
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: continuous Matrix actions Date: 24 Aug 1995 14:02:33 GMT Organization: University of Heidelberg, Germany Message-ID: <41i0pp$hri@sun0.urz.uni-heidelberg.de> References: <41fgkg$8c6@alfred.acs.uwlax.edu> In article <41fgkg$8c6@alfred.acs.uwlax.edu> pisul_cj@cowley.uwlax.edu (Charles Pisula S92) writes: > I can't quite seem to get continuous messages from a matrix in the form I desire. Here is > the behavior I am trying to get: Examine the sources of MiscMatrix and NiftyMatrix. It's not exactly what you need, but you can get an idea. Note, that the strange looking __xxx methods in MiscMatrix will probably not work with NS 4.0 -- georg --
From: samurai@maggie.cs.mcgill.ca (Darcy BROCKBANK) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 24 Aug 1995 16:50:15 GMT Organization: School of Computer Science, McGill Univ. Message-ID: <SAMURAI.95Aug24125015@maggie.cs.mcgill.ca> References: <199508192139.XAA29698@ns.ms.mff.cuni.cz> <SAMURAI.95Aug22131914@maggie.cs.mcgill.ca> <41dea7$r8@ns2.ny.ubs.com> In-reply-to: hadar@amazon's message of 22 Aug 1995 20:22:31 GMT <hadar@amazon> writes: >Darcy BROCKBANK (samurai@maggie.cs.mcgill.ca) wrote: >[MUCH stuff munged] >: Quite to the contrary. When my data structures outperform NeXT's by >: factors of 5, while taking up less space, and are portable to 5 >: operating systems and provide the core functionality for object wrappers >: in three OO languages, I get *excited*. You want code reuse? *That* is >: code reuse. My stuff blows away NeXT's even after you put the ObjC >: wrapper around it. That's fun, and cool. And, you know it's going to >: work fine in other languages too. >Agreed. These timings are impressive and important gains as well. >For Foundation stuff now, and for 4.0 (OpenStep) in general, do you >just cast these to NSArray (etc.) to remove the warnings, and do you >convert what you get from AppKit back to *your* cannonical classes ( >for example, if you had an NKString, when a TextField gave you back an >NSString, would you convert it)? >Also, and please no one flame me (really!), if they are truly plug and >play alternatives (protocol-wise) to NeXT's, and are so much faster, >did you "offer" the code back to NeXT so that we could all gain? Here's the scoop: The C Kit is a core of tight ANSI C code, which we've compiled and run under DOS, Windows, Windows NT, NEXTSTEP, Solaris, and SunOS. It should work fine under HPUX too, but I don't have that on hand. It forms a basis for most of our work. The NewKit (bad name ;-) is the ObjC wrapper for the C Kit. So a CHashTable is wrapped by an NKHashTable. A CList wrapped by an NKList, a CString by an NKString, etc. There are lots of goodies in the CKit which you get under all operating systems (unique strings, etc.). On top of the CKit, we've also built the P-Kit (a very cool object persistence kit, ask herve@hasc.ca about it) on top of this ANSI C core, and have then wrapped the Eiffel and ObjC versions of the P-Kit around the ANSI C core. This gives us code reuse over operating systems *and* languages. Then, we have an additional HASC Kit, which stands aside from the CKit as an appkit extender. +------------+--------------+-------------------+------------------+ | P-Kit Objc | P-Kit Eiffel | | | +------------+--------------+ NK | HK | | P-Kit C | | | +-----------------------------------------------+------------------+ | C Kit | +-----------------------------------------------+ We sell the whole thing as source code, since we believe in our clients getting source. God knows we've had to go through hassles with third party libraries in the past, and we know that having source helps a whole ton. Now, that's the background. We've built the API to most of our objects similar to the old NS API, with some smarter additions. For instance, it's no problem to an NKQueue if you want to hold ints, void *'s, char *'s or objects in it. It'll even act properly if you give it FK objects to retain/release, or char *'s that you insert and want it to free. The container objects will all do the right thing for you. We didn't force you into any particular paradigm. For compatibility with the new FK API's, we've built it as we need it. There's no big rush until they get everything standardized... but we do do most of the important things. For instance, you can pass an NKString to NSString, and it'll work as needed. However, NeXT welds you into using their objects, since they hardcode it all into their kits (ie. everything returns an NSString these days, so you can *never* escape it entirely). But, it's all available as source as a product. We've sold it, and it's being used by clients and they seem to like it. The docs aren't everything they could be, but that's OK ;-). So, NeXT could always license these objects from us for pretty cheap, or at least the core stuff, and put it into their object guts. The NKQueue could drop-in to the NSArray immediately giving huge performance gains to things like EOF, or whatever, that are filling and emptying arrays all day. Nobody has ever asked us though, and they are aware of the performance disparity. I'm pretty happy though, because I can go over to a Windows program and use the CKit who's API is so similar to the ObjC API under NEXTSTEP that I don't have to paradigm-shift my thinking. I think something like: give me a new list, empty it, add a string object, and hand it back. I then write: CList *list = list_new(); CString * string = cs_new("This is a string."); ... list_empty(list); list_addElement(list,string); return list; -or- NKList * list = [[NKList alloc] init]; NKString * string = [[NKString alloc] initWithCString:"This is a string."]]; [list empty]; [list addElement:string]; return list; And, I always know that it works... no matter what my current language is, because I'm experiencing code reuse across language barriers. Anyway, you get the idea. - darcy -- "Investing in tech stocks is a high risk." -- Bill Gates, Microsoft Chairman, after incurring a two day paper loss of 2 billion dollars on Microsoft stock.
From: samurai@maggie.cs.mcgill.ca (Darcy BROCKBANK) Newsgroups: comp.sys.next.programmer Subject: Re: Better way to handle objc: FREED(id): ? Date: 24 Aug 1995 17:03:26 GMT Organization: School of Computer Science, McGill Univ. Distribution: world Message-ID: <SAMURAI.95Aug24130326@maggie.cs.mcgill.ca> References: <yzhaoDDqvnE.IDr@netcom.com> <41fg7f$sja@emerald.oz.net> In-reply-to: art@cubicsol.com's message of 23 Aug 1995 15:07:27 GMT <art@cubicsol.com> writes: >In article <yzhaoDDqvnE.IDr@netcom.com> yzhao@netcom.com (Yi Zhao) writes: >>I got this freed id problem, which drive me crazy. In NeXT ObjC runtime, >>objc_msgSend, I guess, detects the receiver of a message is freed, so it >>calls _freedHandler, which ends up calling abort(). In BSD 4.3, abort() >>sends signal 6, which cannot be caught or blocked. So even if I had >>ObjectError in place, I still cannot get a back trace. > Hutchison Avenue Software Corp. has enhanced ObjectError to include >trapping messages to freed objects. Their enhancement was (is?) freely >available. The class name is HKCrashTrap which is included in a demo app >named CrashTrap. Not sure whether it's available on NeXT archive sites, >but it's worth looking. Yes, it is still free. You can get it from: ftp://ftp.hasc.ca/pub/next/CrashTrap* It's one of the objects in the HASC Kit, but we continue to make it freely available, and post enhancements from time to time. It will always be free since we want as many people as possible to use it. One of the good features is to be able to catch the crash, and run an alert panel telling the user that the application is going down. It's much nicer than just having your app disappear when it dies. I think quite a few people are using it these days... I can't think of a reason why you wouldn't want to, seeing as it's free and you can get the source, and there's an example for it. - db -- "Investing in tech stocks is a high risk." -- Bill Gates, Microsoft Chairman, after incurring a two day paper loss of 2 billion dollars on Microsoft stock.
From: musgse@meaddata.com (Steve Musgrave) Newsgroups: comp.sys.next.programmer Subject: IXAttributeQuery question Date: 24 Aug 1995 12:26:56 GMT Organization: LEXIS-NEXIS, Dayton OH Distribution: usa Message-ID: <41hr6g$jkf@meaddata.meaddata.com> We are trying to get some IXAttributeQuery code working. The evaluateFor call is passing us back a nil IXPostingList. When we were using a cursor implementation, we got answers back. While using gdb, we confirmed that our queryString looked OK plus the recordManager was set. Are we missing a step? NOTE: queryString gets set to 'eq(name "steve")' ----------------------------------------------------------------------- - getObjects:(char *)request { . . . id recordManager; id attributeQuery; id postingList; char *queryString; // get the clients IXRecordManager recordManager = [self findRecordManager:"clients"]; // generate the query string - malloced string is returned queryString = [self buildQueryString:request]; // initialize an attribute query attributeQuery = [[IXAttributeQuery alloc] initQueryString:queryString andAttributeParser:nil]; // run the query postingList = [attributeQuery evaluateFor:recordManager]; . . . } ----------------------------------------------------------------------- Any help will be appreciated. Thanks. -- Steve Musgrave musgse@lexis-nexis.com "Gravity is a harsh mistress." - The Tick
From: tenge@biw-ag.de Newsgroups: comp.sys.next.programmer Subject: NX-Browser should react on key input Date: 24 Aug 1995 16:30:38 GMT Organization: BIW Systemhaus Message-ID: <41i9fe$li1@next01.biw-ag.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Keywords: NXBrowser,act on key-inpuit Hi, i want my browser after I have grabbed the key-input e.g.'a' the browser should step to the first 'match.' I do not want to scan all cells in the matrix and compare the first character of the cell#s content with the keyinput. When it's equal, he should stop. In my opinion it's not a very efficient-algorithm. Has anyone an indea how to solve that problem more elegant? Thanks in adavance Armin
From: jesse@bag-end.advis.com (Jesse Lee) Newsgroups: comp.sys.next.programmer Subject: Question re. custom modules for Preferences.app Date: 22 Aug 1995 13:27:32 GMT Organization: Advanced Information Solutions, Inc. Message-ID: <41cm04$a2u@gate.advis.com> Hey folks. Question here, for anyone savvy with custom modules for Preferences.app. I am trying to add some custom behavior to Preferences. Chapter 14 of GeneralRef states that: "Building a module is easy, especially since you're provided with a template (in /NextApps/Preferences.app/Template.bproj) to be modified." Likewise, notes specific to NS release 3.0 said: "For an example look at the directory named Template.bproj in /NextApps/Preferences." Well, for some reason on my system that file does not exist. I tried unsuccessfully to hack a Preferences bundle w/o it. If anyone has that Template.bproj lying around, please send a copy this way. Programming hints also welcome. Thanks!!! -- Jesse
Newsgroups: comp.sys.next.programmer From: cmh@spiff.carleton.ca (Colin Henein) Subject: Ideas Needed: Multi-Doc printing Message-ID: <DDtv0q.D70@cunews.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: Carleton University, Ottawa, Canada Date: Thu, 24 Aug 1995 18:22:02 GMT I'm writing an app that needs to be able to fax 2 documents (from different sources) as one big document. I've tried hacking a solution by creating a view thats exactly 2 pages high, putting one document in each "page" and then printing, but the margins get messed up that way. Without purchasing Collagist does anyone have any idea how to do this in code? Colin -- =================================+================================= Colin Henein (Code guy) | 3rd year Computer Science Co-op. cmh@ccs.carleton.ca | Chief Informatics Officer, root@journal.biology.carleton.ca | COBRA (aka. Orange-Carb)
Newsgroups: comp.sys.next.programmer From: cmh@spiff.carleton.ca (Colin Henein) Subject: Documentation bug in Text class Message-ID: <DDtv7u.DLB@cunews.carleton.ca> Sender: news@cunews.carleton.ca (News Administrator) Organization: Carleton University, Ottawa, Canada Date: Thu, 24 Aug 1995 18:26:18 GMT This is a madenning one, I thought that people out there might be interested in hearing this one. Here is the documentation entry for the Text instance method - getMinWidth:minHeight:maxWidth:maxHeight: > Calculates the minimum width and height needed to > contain the text. Given a maximum width and height > (widthMax and heightMax), this method copies the > minimum width and height to the addresses pointed to by > the width and height arguments. This method doesn't > rewrap the text. To get the absolute minimum dimensions > of the text, send a > getMinWidth:minHeight:maxWidth:maxHeight: message > only after sending a calcLine message. > > The values derived by this method are accurate only if the > Text object hasn't been scaled. Returns self. > > > See also: - sizeToFit This seems to indicate a GET method? yes? WRONG! This method resets the Text object's frame to the minimum possible. Don't call this method if you want to GET anything. This is a SET method, and the side-effect should be documented as such. I sent a bug report to NeXT, and we all know how much good that'll do ;) Caveat Emptor. Colin -- =================================+================================= Colin Henein (Code guy) | 3rd year Computer Science Co-op. cmh@ccs.carleton.ca | Chief Informatics Officer, root@journal.biology.carleton.ca | COBRA (aka. Orange-Carb)
From: robertn@seahawk.nwest.mccaw.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Need help w/DBTableView and font change Date: 24 Aug 1995 12:18:50 -0700 Organization: McCaw Cellular Communications, Inc. Sender: robertn@seahawk.nwest.mccaw.com Message-ID: <h220ub8605.fsf@seahawk.nwest.mccaw.com> References: <gelatoDDr9FD.DtJ@netcom.com> In-reply-to: gelato@netcom.com's message of Wed, 23 Aug 1995 08:40:24 GMT >I've used setTitleFont: and setFont: to change the font in a DBTableVector >and its formatter, respectively. However, when highlighting the selected >row, the table view uses the height of the "old" font (normally 12pt) to >do the highlighting. I must need to set the "row height" somewhere, but >can't figure out how. (You would think the table would be smart enough >to detect this itself!) I noted that the Inspector for DBTableView in IB has >a Row Height field; if I trace thru the assembler in gdb I see that it is >sending setMinSize: to some table vector, but I can't figure out which >vector; it must be the global one for all dynamic rows in the table. The >Inspector used the method "uniVector" to find this puppy, but I lost the >scent at that point. Can anybody help me figure this one out? Thanks... I believe you can say [[tableView rowAt: 0] setMinSize:] and setSize: I have occasions where that didn't work for me and I ended up using objc_get/setInstanceVariable and friends to get at the uniVector via the rowLayout object. people. Get class-dump and use it to class-dump DBKit's shared library. Warning. I don't know how valid this is for NXTableView.. actually yes I do. They added a setRowHeight: for that :-) -- The views and opinions expressed in this article are those of the poster and not his employer.
From: robertn@seahawk.nwest.mccaw.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 24 Aug 1995 12:24:38 -0700 Organization: McCaw Cellular Communications, Inc. Sender: robertn@seahawk.nwest.mccaw.com Message-ID: <h2zqgz6r61.fsf@seahawk.nwest.mccaw.com> References: <SAMURAI.95Aug22131914@maggie.cs.mcgill.ca> <DDr84I.CG8@icgned.nl> In-reply-to: stes@icgned.nl's message of Wed, 23 Aug 1995 08:12:17 GMT ><ocs@ms.mff.cuni.cz> writes: >>It is a good practice to use class names the way of 'adding text >>and functionality as well' - ie, if you have two class named Xxxx >>and YyyyXxxx, then the latter isKindOf: the former, adding the Yyyy >>feature. >(giving the MutableString / String example) >Don't do this. Rather, declare a string object, and the mutability (?) of >the string as some sort of attribute : > @interface String : Object {} > - setMutable:(BOOL)flag; > - (BOOL)isMutable; > @end >A good example is Window (retained/non-retained/buffered), you don't have >an NSRetainedWindow etc. ! If you try to "catch" the attributes of the >class at compile time, you'll end up with a large number of classes, and >the application programmer has to read all the documentation to find what >object is suited for him. Bad design like this will also make you think >that the language is lacking features (protocols, multiple inheritance >etc.), while it's a design problem in reality. Yes, but what if you really really really have to _enfore_ immutability? and it also clearly defines the interface to methods that take either a mutable or immutable string. Correct? >You have to try to deliver as few classes to the application programmer as >possible. An object kit is not "more" object-oriented if you have "more" >classes (with a lot of nonsense classes). That's a generalization. Why don't we just have one big class that does everything then? (Retorical folks) >Taking time to design a small, clean and concise API really pays off. The retainenous of a Window is a little less important than the mutability of _something_ . >And if you think NSRetainedWindow is a good idea, keep it internal, make >Window the only public interface. And _please_ don't use "class >clusters", but rather simply use an instance variable that points to the >internal object. >-- >- david >stes@icgned.nl -- The views and opinions expressed in this article are those of the poster and not his employer.
From: bestlem@nwk219_sbcldn. (Mark Bestley) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <1995Aug16.180216.3496@improve.fdn.org> Control: cancel <1995Aug16.180216.3496@improve.fdn.org> Date: 24 Aug 1995 15:52:49 GMT Organization: Swiss Bank Corporation, High Timber St, London, UK Message-ID: <41i78h$47v@gpo.gb.swissbank.com> cancel
From: steve@xray.rice.edu (Steve Ludtke) Newsgroups: comp.sys.next.programmer Subject: Re: Intel serial ports Date: 25 Aug 1995 00:32:46 GMT Organization: Rice University, Houston, Texas Message-ID: <41j5ne$6ph@larry.rice.edu> References: <41hgji$9b9@sun0.urz.uni-heidelberg.de> Georg Tuparev (tuparev@EMBL-Heidelberg.DE) wrote: : Hi, : How many serial ports could be used on intel box? (I hope more than two). I : have to connect a modem, printer and two lab devices. Using the serial port driver that comes with 3.3, two. Using the updated driver from NeXT, at least 4, but they cannot share interrupts. I'm currently using 3 this way. Using MUX you can get 8 or more with the correct boards, but it isn't as easy to use as the new NeXT one. Also, if you're using a serial mouse, MUX won't support it. The updated driver from NeXT makes serial mice very usable (they were jerky with the old version). ------------------------------------------------------------------------- Steve Ludtke | Physics Dept., Rice Univ. steve@ion.rice.edu | stevel@alumni.caltech.edu | * Those who do ARE * 72335,1537 @ compuserve | The converse also holds
From: i812857@s867.thu.edu.tw () Newsgroups: comp.sys.next.programmer Subject: How to make .RIB an instance of N3DShape or object? Date: 25 Aug 1995 04:07:58 GMT Organization: Dep. Computer Sci. & Information Eng., Chiao Tung Univ., Taiwan, R.O.C Message-ID: <41jiau$qml@news.csie.nctu.edu.tw> As title. or give me some examples. Thanx!!
From: mauriti@blasuarr.cs.tu-berlin.de (Frank Hartlep) Newsgroups: comp.sys.next.programmer Subject: Re: SWI-Prolog Date: 25 Aug 1995 11:16:08 GMT Organization: Technical University of Berlin, Germany Message-ID: <41kbdo$sv9@news.cs.tu-berlin.de> References: <40qc86$22l@news.cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Keywords: brk, saved state Trying again ... In article <40qc86$22l@news.cs.tu-berlin.de>, mauriti@blasuarr.cs.tu-berlin.de (Frank Hartlep) writes: |> Did anybody manage to get SWI-Prolog's saved-state feature |> to work under NeXTstep. It needs brk and sbrk, but these |> system calls aren't supported due to Mach's own way to handle |> memory. Can brk be simulated without too much programming |> effort? Or even better, has somebody already done anything |> similar? Thanks, Frank
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <manu@saem-ales.saem-ales.fr> Message-ID: <9508251028.AA18504@saem-ales.saem-ales.fr> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: burriel emmanuel <manu@saem-ales.saem-ales.fr> Date: Fri, 25 Aug 95 12:28:14 +0200 Subject: open the serial port from inside the KERNEL Hi, This question is for NEXTSTEP for INTEL Maybe it could be simple for some people but i need to read/write to the serial port /dev/ttya from inside a loadable kernel server. What should be the method ? Thanks for your help. Manu P.S: "In the kernel, a good try means 5 minutes ; a bad try , means fsck."
Newsgroups: comp.sys.next.programmer From: tyler@vanguard.com (Tyler Gingrich) Subject: gdbinit entry?? Message-ID: <1995Aug25.130233.3386@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division Date: Fri, 25 Aug 1995 13:02:33 GMT I'm tearing my hair out trying to remember the gdbinit command to prevent signal 28 (window resized) from stopping the gdb session. Anyone remember what it is?? Thanks Tyler Gingrich tyler@swissbank.com Swiss Bank Corporation #include <standard_disclaimers.h>
From: premise@umich.edu (Sean Michael Willson) Newsgroups: comp.sys.next.programmer Subject: NXHelpPanel and Dynamic PopUp Button? Date: 25 Aug 1995 14:29:38 GMT Organization: University of Michigan Message-ID: <41kmoi$198@lastactionhero.rs.itd.umich.edu> I am having trouble with the following two programming topics: 1. Preventing the NXHelpPanel from crashing on a not availiable find. I have ran "ixbuild -v" on all of the help files to create the .index.store. What I can't figure out is why when you search in the Find section of the help panel on say "flowers", well it doesn't exist so the help panel crashes the WHOLE APP. Why, am I doing something wrong? 2. I have a popup button I wish to programmically go to say the 4th choice on the list, this is the code I have to do this: [[osServiceType itemList] selectCellAt: [myDelegate _serviceType] : 0]; [[osServiceType itemList] scrollCellToVisible: [myDelegate _serviceType] : 0]; [[osServiceType itemList] display]; Putting programming style aside, osServiceType is an id pointing to the popuplist in the NIB. The _serviceType method returns the number of the item that is to be selected. Am I going about this problem wrong, or is this really that hard? I would appreciate ANY and ALL help anyone can provide on these problems. I have posted them to these groups before, but noone replied. Thanks in advance.... Sean Willson willson@laa.com -- _________________________________________________________________________ | Sean M. Willson "Chance favors a prepared mind..." | | University of Michigan College of Engineering | | ASCII: premise@umich.edu NeXTMail: premise@engin.umich.edu | | http://www.engin.umich.edu/~premise/ WWW Page (NeXT Stuff) | | NeXT Programmer for Lynn-Arthur Associates | |_______________________________________________________________________|
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: gdbinit entry?? Date: 25 Aug 1995 15:01:58 GMT Organization: Information Technology Solutions, Inc. Message-ID: <41kol6$5p3@news.its.com> References: <1995Aug25.130233.3386@il.us.swissbank.com> tyler@vanguard.com (Tyler Gingrich) wrote: > I'm tearing my hair out trying to remember the gdbinit command to prevent > signal 28 (window resized) from stopping the gdb session. (gdb) help handle Specify how to handle a signal. Args are signal numbers and actions to apply to those signals. Signal numbers may be numeric (ex. 11) or symbolic (ex. SIGSEGV). Numeric ranges may be specified with the form LOW-HIGH (ex. 14-21). The special arg "all" is recognized to mean all signals except those used by the debugger, typically SIGTRAP and SIGINT. Recognized actions include "stop", "nostop", "print", "noprint", "pass", "nopass", "ignore", or "noignore". Stop means reenter debugger if this signal happens (implies print). Print means print a message if this signal happens. Pass means let program see this signal; otherwise program doesn't know. Ignore is a synonym for nopass and noignore is a synonym for pass. Pass and Stop may be combined. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: eb@marcus (Eric Bergerson) Newsgroups: comp.sys.next.programmer Subject: Re: EOF Q: How to format Numbers in NXTableView Date: 25 Aug 1995 15:16:16 GMT Organization: PANIX Public Access Internet and Unix, NYC Message-ID: <41kpg0$bq2@news1.panix.com> References: <40t34t$mar@arcadia.informatik.uni-muenchen.de> <41g9td$sbk@news.orst.edu> Use SmartFieldPalette to format/validate/edit in NXTableViews We just finished an example for our SmartFieldPalette product that includes an implemention of a custom subclass of NXEditableFormatter using all the smarts of our SmartFields for formatting/editing/validation in an NXTableView. This is part of a series of new examples to provide EOF support which will ship with SmartFieldPalette. We are looking for customers who would like to test this code out and make suggestions. If you are not a customer, but would like to try it out, grab a demo of our stuff off of ORST and we can provide you with a temporary license (ftp://ftp.cs.orst.edu/software/NeXT/demos/programming). Please reply directly by email (don't post) if you are interested in trying out these "beta" examples. Send all correspondance to: info@object.com. Sincerely, Eric Bergerson Objective Technologies, Inc. voice: 212 988 6268 fax: 212 988 6273 email: eb@object.com
From: jpomo@gate.net (joan pomo) Newsgroups: comp.sys.next.programmer Subject: ! Bosses Need More Than Hi-Technology Date: 25 Aug 1995 15:10:35 GMT Message-ID: <41kp5b$3hro@news.gate.net> What They Need are 30 To 300 % Productivity Gains From People Getting newer, better computer technology is great, but if the people aren't highly motivated, highly committed and creative, the $$ investment won't return what it should. Computer consultants have all learned this the hard way, but so have consultants on TQM and Reengineering. What you may not know is that there is a book that really explains all of this. It is also full of easy to learn and use HOWS to create these highly motivated people. And it also tells why these hows are the right ones and why other ways are wrong. The book was written by a boss with 35 years of in-the-trench experience and it's amazing how what he says makes sense -- like why didn't I think of that? I've seen it in use and the promised 30 to 300% productivity gains are real. If you are interested, send an e-mail to sixstar@mailback.com for info. The book explains what's wrong with bureaucracy and bosses so well I'm thinking of handing it out when I next see the people problems which have hurt my previous work.
From: Technical Options <toi@mcs.com.> Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: CHICAGO: Trading Systems Objective C Nextstep Date: Fri, 25 Aug 95 13:37:29 PDT Organization: MCSNet Internet Services Message-ID: <NEWTNews.25087.809383724.Postmaster@toi.mcs.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII SALARY: 50-90K PLUS BONUS Job description: Developer on a 15 member team to develop derivatives risk management and processing system. Developer would use state-of-the-art object oriented development techniques and work with front office and back office personnel to meet the requirements of a cutting edge derivatives operation. Business skills required A suitable individual would probably have at least one or two years with a major Bank or systems house developing swaps, options or fixed income trading systems. He should enjoy working in a dynamic and demanding trading room environment and should have a flexible and innovative outlook. Technical Skills required The individual should have extensive C experience (5 yrs+) and exposure to some form of Object Oriented Development language such as C++ or Smalltalk. Knowledge of NEXTSTEP is not required but would be a plus. In addition he should have a minimum of two years knowledge of Unix systems (BSD or System V), have developed applications using a Graphical User Interface (e.g. Windows, Motif), and be familiar with either Sybase or Oracle RDBMS. A working knowledge of SQL would be useful.
From: Mike Hostetter <Michael_Hostetter@JHUAPL.Edu> Newsgroups: comp.sys.next.programmer Subject: HELP!: EtherLink III Troubles ... Date: 25 Aug 1995 18:42:29 GMT Organization: JHU/Applied Physics Laboratory Message-ID: <41l5il$80e@aplinfo.jhuapl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have a Dynex 486/66 running NS3.2 and do not have a DOS partition on the hard drive. I installed an EtherLink III 3C509B-TP card in the Dynex and downloaded the EtherLinkIIIDriver.pkg from NeXTanswers. Since the card is configured ISA by default and my Dynex has EISA slots, I went to the section entitled "Using an ISA or EISA adapter in an EISA slot". The problem is, how can I run 3C509.EXE ... where is it? I believe it is on the 3Com disk, but the instructions for that disk require that I be running DOS 3.1 or later, which is not on my hard disk. What are my options? As a novice NeXT user and even less experienced Intel user, *any* help would be appreciated! Thanks! Mike Michael_Hostetter@JHUAPL.Edu
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Fri, 25 Aug 95 10:02:15 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9508250802.AA00380@flexus> Subject: Re: Why doesn't anyone check for alloc failure? David Stes writes: > Well, you already answered the question : by checking > the return value of the methods. +new would perhaps > return *nil* if it would fail (and -free would return a > non-nil value). That's why it's always a good idea to > assign the return value of -free to the variable. Objects that conformsTo:@protocol(NXReference) won't return nil even if they were successfully freed as far as their current user is concerned (a design error). You should *not* assign the return value of -free to the id concerned; in general, you should assign nil. >>>>> Full set on demand... /* For an Obj-C object, in situations where -free suffices... */ #define FFREE_OBJECT(h) ((void)([(h) free],(h)=nil)) #define FREE_OBJECT(h) ((void)((h)?FFREE_OBJECT(h):0)) /* For an OpenStep object, in situations where -release suffices... */ #define FFREE_NSOBJECT(h) ((void)([(h) release],(h)=nil)) #define FREE_NSOBJECT(h) ((void)((h)?FFREE_NSOBJECT(h):0)) <<<<< > And as to why nobody checks for the return value of +new: > (1) it's not likely to happen and (2) you'll get some > other error messages, due to the failure of the underlying > vm_allocate. What error, even if virtual memory would be exhausted before the machine crashes because the swapfile overflows the hard disk? I think the answer is just (1), unless it might happen that the object can't be initialised because any arguments are invalid, or something like that, but not because of memory issues. BTW, question to Mike: did you (Sun) talk NeXT into using static typing for OpenStep, or did NeXT do that to itself? Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: yut@ecn.purdue.edu (Greg Yut) Newsgroups: comp.sys.next.programmer Subject: Scrolling subviews Date: 25 Aug 1995 22:15:33 GMT Organization: Purdue University Message-ID: <41li25$qp3@mozo.cc.purdue.edu> Keywords: scroll, subview I'm having trouble scrolling a view that has subviews. The document view of the scroll view displays fine, but its subviews disappear as I move the document view around. Here's the problem: View A is the document view of a scroll view. View B is a subview of view A. When I scroll, view A draws fine, but view B disappears. Note: If I change the code so that view A explicitly sends a display message to B, then B draws fine. How do I handle subviews while scrolling? Thanks for any help! Greg
From: kubicar@Sun.COM (Mike Kubicar) Newsgroups: comp.sys.next.programmer Subject: Re: Why doesn't anyone check for alloc failure? Date: 25 Aug 1995 22:12:52 GMT Organization: Sun Microsystems Inc., Mountain View, CA Message-ID: <41lht4$qrk@engnews2.Eng.Sun.COM> References: <41fsgi$mdq@engnews2.Eng.Sun.COM> <DDt1xH.FC8@icgned.nl> My thanks to everyone who responded to my question, either via this newsgroup or via email. Almost every response I got indicated that nobody checks for allocation failure because: 1) It almost never happens 2) When it does, your computer usually is in deep trouble anyway. I did try an experiment and found that my computer (an intel box) does indeed hang when large amounts of memory are allocated. It gets so dead that I have to push the reset button. There was one interesting side note to the responses I got. Every response from an NEXTSTEP/ObjC programmer said not to worry about failure. On the other hand, every Unix/C programmer I asked said they always check every memory allocation for failure. I wonder if this is just a cultural difference.
From: adzhanun@interserv.com Newsgroups: comp.sys.next.programmer Subject: I NEED HELP ON FINDING A FORMULA ON QBASIC. PLEASE HELP Date: 25 Aug 1995 22:44:10 GMT Organization: InterServ News Service Message-ID: <41ljnq$ge9@data.interserv.net> CAN SOMEONE SEND ME A FORMULA FOR QBASIC THE FIRST 100 PRIME #S E MAIL ME AT QACR83A@PRODIGY.COM OR JUST REPLY BACK THANX
From: adzhanun@interserv.com Newsgroups: comp.sys.next.programmer Subject: READ THIS. HELP IS NEEDED Date: 25 Aug 1995 22:45:56 GMT Organization: InterServ News Service Message-ID: <41ljr4$ge9@data.interserv.net> CAN SOMEONE SEND ME A FORMULA FOR BASIC THAT GENERATES CREDIT CARD #S??? E MAIL ME AT QACR83A@PRODIGY.COM OR JUST REPLY BACK THANX
From: ottol@skypoint.com (Otto Lind) Newsgroups: comp.sys.next.programmer Subject: Re: Why doesn't anyone check for alloc failure? Date: 26 Aug 1995 00:20:59 GMT Organization: Otto Lind Consulting Services. Distribution: world Message-ID: <41lpdb$arg@stratus.skypoint.net> References: <41fsgi$mdq@engnews2.Eng.Sun.COM> <DDt1xH.FC8@icgned.nl> <41lht4$qrk@engnews2.Eng.Sun.COM> Mike Kubicar (kubicar@Sun.COM) wrote: : There was one interesting side note to the responses I got. Every : response from an NEXTSTEP/ObjC programmer said not to worry about failure. : On the other hand, every Unix/C programmer I asked said they always : check every memory allocation for failure. I wonder if this is just : a cultural difference. If NeXT had a functional setrlimit() command (and proper support for it built in their window manager and shells) NEXTSTEP application writers would probably pay a lot more attention to this. I have always been disappointed with this aspect of the NeXT OS; it makes the thing extremely vulnerable in that any application (either system or user) can cause the entire machine to crash, if the application has memory leaks/bugs. I discovered the setrlimit() problem when a buggy rnews program was repeatedly bringing a NeXT server down. Will NeXT fix system resource management in 4.0? Otto -- Otto Lind Otto Lind Consulting Services ottol@skypoint.com 4890 Ashley Lane #311, Inver Grove Hts, MN 55077 skypoint!ottol voice:(612)457-1080 fax:(612)457-0761
From: robertn@seahawk.nwest.mccaw.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: NX-Browser should react on key input Date: 25 Aug 1995 16:49:11 -0700 Organization: McCaw Cellular Communications, Inc. Sender: robertn@seahawk.nwest.mccaw.com Message-ID: <h2hh354k94.fsf@seahawk.nwest.mccaw.com> References: <41i9fe$li1@next01.biw-ag.de> In-reply-to: tenge@biw-ag.de's message of 24 Aug 1995 16:30:38 GMT >Hi, >i want my browser after I have grabbed the key-input e.g.'a' the >browser should step to the first 'match.' I do not want to scan all >cells in the matrix and compare the first character of the cell#s >content with the keyinput. When it's equal, he should stop. In my >opinion it's not a very efficient-algorithm. Has anyone an indea how >to solve that problem more elegant? >Thanks in adavance >Armin Is this going to be sorted data? Anyway, go and check out KeyDownBrowser... it overrides Matrix's keyDown and replaces it's own Matrix in an NXBrowser. It's a palettized object ready for use. -- The views and opinions expressed in this article are those of the poster and not his employer.
From: x@localhost (Rick Vazquez) Newsgroups: comp.sys.next.programmer Subject: gcc-2.6.tar.gz Date: 26 Aug 1995 04:10:07 GMT Organization: California State University, Northridge Message-ID: <41m6qv$m4e@dewey.csun.edu> Can someone please help me install this thing!!! I installed most of it but when tt comes time to compile the soucres with its own complier it say that a bunch of files are not found!!!!! Rick UCLA Physics
From: jpomo@gate.net (joan pomo) Newsgroups: comp.sys.next.programmer Date: 26 Aug 1995 08:00:15 EDT Control: cancel <41kp5b$3hro@news.gate.net> Subject: cmsg cancel <41kp5b$3hro@news.gate.net> Message-ID: <cancel.41kp5b$3hro@news.gate.net> Cancelling spam!
From: Paul Heffernan <phef@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.marketplace Subject: OpenStep day keynote and WebObjects video Date: Sat, 26 Aug 95 15:43:00 GMT Organization: Paul Heffernan Message-ID: <809451780snz@cedar.demon.co.uk> Following my reply to a posting in comp.sys.next.advocacy requesting getting a copy of video of the OpenStep day keynote, I have had several requests for copies. Whilst I record those copies, if there are any of you that would like a copy and did not see the advocacy posting, you can email at phef@cedar.demon.co.uk to request a copy. The recorder was placed on the ground in the centre aisle for stability of image with the result that the sound and image are okay but a few heads obscure the bottom left corner of the big screen! The recording covers Steve Jobs keynote and Avie Tevanian's follow-up on WebObjects. I can only despatch a tape following receipt of a cheque or sterling bankers draft to cover cost of reproduction, packaging and postage - email me for details. The tape is provided for personal use only - and this offer is in no way connected to my employer. Paul Heffernan.
Newsgroups: comp.sys.next.programmer From: yves@claire (Yves Akakpo) Subject: bad mounting of CDROM Message-ID: <1995Aug26.221851.517@yves.fdn.fr> Keywords: mount Sender: news@yves.fdn.fr Organization: Individual Date: Sat, 26 Aug 1995 22:18:51 GMT Hello I am Newbee.. My slab is NeXTstation turbo 68040. I can t mount properly my CDROM of TeX. 1* When i write: mount -rt hsfs /dev/sr0 /sr response: unknown filesysteme hsfs ( hsfs is for High Sierra file systeme) 2* Can I add this line to the file systeme /etc/fstab without corrupt it: /dev/sr0 /sr hsfs ro,noauto 0 0 Thanks in advance for any help. Yves
From: helpme95@ix.netcom.com Newsgroups: comp.sys.next.bugs,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: Does Windows 95 really work? Date: Sun, 27 Aug 1995 15:44:28 GMT Organization: Netcom Message-ID: <41q099$m1t@ixnews2.ix.netcom.com> It's been working great for me (in test versions) since May. Because WINDOWS 95 seems to be of almost universal interest, I'm posting to a wide variety of computer users. Take the advice of someone at a lonely computer terminal who's been around the block a few times. [E-mail helpme-95@zoom.com for even more info.] >>>>>Into scifi? Take a look four paragraphs down! I'm tired. I wanted it easier. WINDOWS 95 has made it that way. No, the four horsemen didn't make an appearance when I started using WINDOWS 95, and it wasn't as important as a Beatles reunion or a Pearl Jam up-close-and-personal visit or winning a marathon (or the lottery). I haven't yet felt the aura of Bill Gates floating about my monitor. (I didn't notice a halo around his head, anyway.) WINDOWS 95 does have lots of advantages, though. And it is important that you make the best possible use of WINDOWS 95 should you decide to fork over your hard- earned bucks to get the second coming of WINDOWS. I have an informative and fun newsletter about the new stuff--and thought you might like to see it. Free, of course. I'm cheap, too! Forgive me, I mean FRUGAL! E-mail me at helpme-95@zoom.com for the newsletter, and I will be most happy to rush it back to you. From one computer user to another--we all try to do this better and faster whether it's our livelihood or our hobby. Try me! C'mon, people, lighten up. It's WINDOWS 95... Have fun!!! %#%#%%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#% AND NOW, FOR THE SCI-FI DREAM SEQUENCE (Just couldn't resist getting this thing published somewhere!) %#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#% "The truth is out there." Moldier sighed as he looked up to the stars in the dark night sky. "Yeah, sure," replied Scuzzy, "you keep sayin' that but we never go anywhere except those dark buildings where we get to use our flashlights." "Trust me." "Yeah, sure--like I trusted you with my car and you got it all banged up and then left me in the clutches of that alien? I don't trust nobody no more." Moldier begged, "Ah, come on, please let me drive just once more? I promise no more aliens for this week." Scuzzy mumbled under her breath something about red shoes and diaries and handed him the keys. At that moment, the sky above them came alive with lights flashing and weird soundss. "What the @#%?><&???", yelled Moldier as he dove to the ground, grabbing Scuzzy. It was huge and white and was disc shaped with two side rockets. It tried to strafe them with bolts of energy, but luckily missed them. The car, however, got a toasted paint job and the tires melted. Meanwhile, above in the spacecraft, a strange being with pointed ears and his friend were arguing. "Look at that--you MISSED them! I can't believe this!" The friend was having trouble. "I don't know what it is-- I know I programmed this scenario okay." "The pointy- eared fellow laughed and said, "You don't have that new program from Microsoft, do you? How many times did I tell you that it'll make your calculations easier and more accurate? But would you listen to me? Noooooooo!" Church turned around to take a swipe at Speck, but Speck was too fast for him and did a tuck-and- roll out of they way. Church turned again to his computer screen, but Speck stopped him. "Let's try this on my computer," he said. Church gave in grudgingly and Speck set up the run. Down below, Scuzzy and Moldier were zig-zagging through the field, trying to evade the alien ship. I'll get you for this, Moldier," panted Scuzzy, as she dodged another energy bolt. Moldier was too busy to reply, since he was sprinting faster than an Olympic- class runner. Seconds later, after a particularly nasty surge of energy, all that lay in the field were two piles of ash and some melted rubber. "Got em!", yelled Speck. "I told you that program was easier to set up!" Church stood by and glumly replied, "Yeah, but I bet I can beat you the next system we're in. Let's go someplace we've never been before." Speck turned to Church and asked, "Boldly, sir?" "But of course", laughed Church. As the ship turned and soared away, the two friends looked out the window up at the stars in the dark night sky. %#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%# For a good time, e-mail me for my newsletter at: helpme-95@zoom.com. See ya there!! %#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#%#
From: Paul Heffernan <phef@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.marketplace Subject: Re: OpenStep day keynote and WebObjects video Date: Sun, 27 Aug 95 15:31:17 GMT Organization: Paul Heffernan Message-ID: <809537477snz@cedar.demon.co.uk> References: <809451780snz@cedar.demon.co.uk> Following several replies from USA, I will clarify that the recording is in PAL format. I believe NTSC is common in USA, and conversion may be expensive. However, if enough people wanted NTSC I may get a discount for the conversion - I will find out the cost later this week and post a follow-up. I had not expected so many would like a copy, so I have not done my homework on cost of postage to USA - however I expect to be able to provide copies for 15 or at most 20 pounds in PAL format (about 23-30 dollars). If you are interested, let me know - preferably with NTSC or PAL in subject header to make it easier to calculate numbers for conversion if it is financially reasonable. Regards, Paul Heffernan.
From: Frederic SAVOIR <fred@masterd.fdn.org> Newsgroups: comp.sys.next.programmer Subject: Re: HELP!: EtherLink III Troubles ... Date: 27 Aug 1995 22:45:14 GMT Organization: AMAZING STUDIO Message-ID: <41qshq$7ha@jabba.fdn.org> References: <41l5il$80e@aplinfo.jhuapl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello ! The most important thing is to remove th plug'n'play option in the setting saved in the card ! By the way this card work very well for me :-) --- Frederic
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 28 Aug 1995 04:15:11 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <41rfsf$sh9@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: bresink@infko.uni-koblenz.de (Marcel Bresink) Newsgroups: comp.sys.next.programmer Subject: Re: HELP!: EtherLink III Troubles ... Date: 28 Aug 1995 07:19:39 GMT Organization: University Koblenz / Germany Message-ID: <41rqmb$3g@newshost.uni-koblenz.de> References: <41l5il$80e@aplinfo.jhuapl.edu> Mike Hostetter <Michael_Hostetter@JHUAPL.Edu> wrote: > The problem is, how can I run 3C509.EXE ... where is it? I > believe it is on the 3Com disk, but the instructions for that > disk require that I be running DOS 3.1 or later, which is not > on my hard disk. You can borrow a DOS boot floppy: Insert it into your computer and reboot the system. After DOS has booted you can insert the 3Com driver disk and start the 3C509 diag programs. But you might also consider not to use the 3C509 at all: This card is known to have many problems when running NEXTSTEP. Due to very small hardware buffers this card looses ethernet packets which results in very poor performance. For further information read NeXT Answers document 1482. Marcel --- Marcel Bresink, University of Koblenz, Computer Graphics Lab, Institute for Computer Science Rheinau 1, D-56075 Koblenz, Germany
From: obecker@informatik.hu-berlin.de (Oliver Becker) Newsgroups: comp.sys.next.programmer Subject: Environment and Arguments Date: 28 Aug 1995 13:33:27 GMT Organization: Humboldt University Berlin, Department of Computer Science Message-ID: <41sgj7$5u8@hahn.informatik.hu-berlin.de> Hi there, I've got two little questions: 1. Is it possible to access shell-environment-variables inside a NeXT-programm (developed with Project Builder / Interface Builder) ? The question is: where do I have to do the proper assignments? (.login and .cshrc seem not to be the right places ...) After starting a programm bei clicking into the Workspace-Manager or via open, the only variables defined are HOME, SHELL, TERM, USER and PATH. (The answer I found: Don't use open ! Instead "open <application>.app" use "<application>.app/<application>") 2. How can I access commandline-arguments? The common way via argc and argv is not very useful, because the file <application>_main.m is maintained by Project Builder. I should not change it. For any advises I'm very grateful, Oliver -- /-------------------------------------------------------------------\ | ob|do Oliver Becker | | --+-- E-Mail: obecker@informatik.hu-berlin.de | | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker | \-------------------------------------------------------------------/
From: bias@inslab.uky.edu (Brian Bias) Newsgroups: comp.sys.next.programmer Subject: Any tool for diagramming eomodel file Date: 28 Aug 1995 09:46:29 -0500 Organization: UTexas Mail-to-News Gateway Sender: nobody@cs.utexas.edu Message-ID: <9508281441.AA17043@inslab.uky.edu> (Please reply to brian@whetstone.com rather than this account) I am wanting to hop between several database backends as I experiment with some things during the front end of a project. It would be nice to have a tool which generates a diagram or even a nice listing from the eomodel files so that I can re-connect all the relationships and such that I made in EOModeler. Does such a tool exist? This seems quite laborious otherwise. Thanks, Brian Bias Whetstone, Inc. brian@whetstone.com (NeXTmail, MIME, ASCII)
Newsgroups: comp.sys.next.programmer From: marco@slab (Marco Scheurer) Subject: Re: forward declaration of a class in objective-c Content-Type: text/plain; charset=iso-8859-1 Message-ID: <DE10G9.Fpv@eunet.ch> Sender: usenet@eunet.ch Content-Transfer-Encoding: 8bit Organization: EUnet AG, Switzerland References: <SAMURAI.95Aug22131914@maggie.cs.mcgill.ca> <DDr84I.CG8@icgned.nl> <h2zqgz6r61.fsf@seahawk.nwest.mccaw.com> Mime-Version: 1.0 Date: Mon, 28 Aug 1995 15:02:32 GMT robertn@seahawk.nwest.mccaw.com (Robert Nicholson) wrote: > ><ocs@ms.mff.cuni.cz> writes: > >>It is a good practice to use class names the way of 'adding text > >>and functionality as well' - ie, if you have two class named Xxxx > >>and YyyyXxxx, then the latter isKindOf: the former, adding the Yyyy > >>feature. > >(giving the MutableString / String example) > >Don't do this. Rather, declare a string object, and the mutability (?) of > >the string as some sort of attribute : > > @interface String : Object {} > > - setMutable:(BOOL)flag; > > - (BOOL)isMutable; > > @end > >A good example is Window (retained/non-retained/buffered), you don't have > >an NSRetainedWindow etc. ! If you try to "catch" the attributes of the > >class at compile time, you'll end up with a large number of classes, and > >the application programmer has to read all the documentation to find what > >object is suited for him. Bad design like this will also make you think > >that the language is lacking features (protocols, multiple inheritance > >etc.), while it's a design problem in reality. > Yes, but what if you really really really have to _enfore_ > immutability? and it also clearly defines the interface to methods > that take either a mutable or immutable string. Correct? How do you subclass NSString and NSMutableString into MyString and MutableMyString without multiple inheritance (which you don‚t have anyway), or tricks like forwarding to simulate multiple inheritance? I think this separation is dumb. And I don‚t care if copy can be implemented with a simple, cheap, retain for immutable things, because I don‚t use copy anyway (or so rarely...). I also rarely subclass, so I don‚t care that much about this Mutable stuff but still... Marco Scheurer Sen:te
From: Steve Frank <safrank@uci.edu> Newsgroups: comp.sys.next.programmer Subject: How to compile Berkeley DB package? Date: 28 Aug 1995 16:31:33 GMT Organization: University of California, Irvine Message-ID: <41sr15$5ma@news.service.uci.edu> Any suggestions or patches available for compiling the Berkeley DB package? Steve Frank <safrank@uci.edu> -- -------------------------------------------------- Steven Frank | Dept. of Ecology and | Tel: 714-824-2244 Evolutionary Biology | Fax: 714-824-2181 Univ. of California | email: safrank@uci.edu Irvine, CA 92717 |
From: jehu@jehu.async.vt.edu (john stanhope) Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer,comp.lang.objective-c Subject: Smalltalk for NS Date: 28 Aug 1995 17:35:28 GMT Organization: Virginia Tech, Blacksburg, Virginia Distribution: world Message-ID: <41sup0$q16@solaris.cc.vt.edu> I posted a few weeks ago about an interface between GNU smalltalk and NeXT's objective-c and received about 20 or 30 responses. I believe I answered most if not all of them but so far I have not recieved one god damn response. Hello? If you were or were not able to get it working let me know, I spent a few month working on it and I would like to know what people think of it. For those that didn't get my response, I had a few emails bounce, the package can be picked up at blackbox.cl.ee.vt.edu. The files to get are README.rtfd.tar.gz and smalltalk-1.2alpha3.ns.tar.gz. You must use regular command line ftp and its 'ls' command to see the files, don't try and get it with a web browser because it won't see the files. Open the readme and follow the instructions for building it. It should work on NS 3.2 for intel or moto hardware. If you get it working on any other platform/version let me know or don't bother to get it. -- John Stanhope jehu@vt.edu
Newsgroups: comp.sys.next.programmer From: jalegre@lenti.med.umn.edu (John Alegre) Subject: Enterprise Objects in a JOIN? Message-ID: <DE1BBu.4Dx@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: University of Minnesota Date: Mon, 28 Aug 1995 18:58:38 GMT Here is a question for the EOF gurus. Lets say I have an EO which is set up in my Mode as a join: pvisit | ------------------------- | | patient physican This will produce EOs of type pvisit. Is there any way to also produce EOs of type patient and physican, use them as standard EOs, and have them saved back to disk when done. Thank you John N. Alegre Health Systems Integration, Inc. ############################################################# # NeXTMail preferred. | # jalegre@hsii.ccare.com | If you plant ice, # alegrej@andante.mn.org | you're gonna harvest wind! # jalegre@lenti.med.umn.edu | Hunter/Garcia #############################################################
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 28 Aug 1995 15:02:08 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508281956.VAA12859@ns.ms.mff.cuni.cz> References: <DE10G9.Fpv@eunet.ch> In comp.sys.next.programmer article <DE10G9.Fpv@eunet.ch> marco@slab (Marco Scheurer) wrote: > I think this separation is dumb. I personally don't think so, but please, DONT open flames :) >And I donAt care if copy can be implemented with a simple, cheap, >retain > for immutable things, because I donAt use copy anyway (or so > rarely...). I am afraid you use copy _very_ often, at least if you use FK and/or EOF. For example, if you use NSDictionary, you copy _each_ added key. -- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Re: Environment and Arguments Date: 28 Aug 1995 15:02:10 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508281956.VAA12853@ns.ms.mff.cuni.cz> In comp.sys.next.programmer article <41sgj7$5u8@hahn.informatik.hu-berlin.de> obecker@informatik.hu-berlin.de (Oliver Becker) wrote: > 1. Is it possible to access shell-environment-variables inside a > NeXT-programm (developed with Project Builder / Interface > Builder) ? The question is: where do I have to do the proper > assignments? (.login and .cshrc seem not to be the right places > ...) .cshrc (/etc/zshrc for me) seems to be the right place. At least, it works well for me (with getenv in source). > 2. How can I access commandline-arguments? > The common way via argc and argv is not very useful, because > the file <application>_main.m is maintained by Project Builder. > I should not change it. You definitely should *NOT* use command line arguments in NEXTSTEP apps. Use the defaults database instead. -- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK
From: nurban@csugrad.cs.vt.edu (Nathan Urban) Newsgroups: comp.sys.next.programmer Subject: how to find out selection type? Date: 28 Aug 1995 16:56:58 -0400 Organization: Virginia Polytechnic Institute and State University Message-ID: <41taiq$ftc@csugrad.cs.vt.edu> I want to write a service that will do something with a selection from another application, but I don't know what type the selection is. Is there any way to write a stub service that, when chosen from an application's Services menu, will display a list of types corresponding to the object currently selected in that application? The service would have to respond to any Send Type:, and then be able to determine what types were actually sent. -- ----------------------------------------------------------------------------- Nathan Urban | e-mail: nurban@mail.vt.edu Undergraduate {CS,Physics}, Virginia Tech | -----------------------------------------------------------------------------
From: Stephen Lowe <slowe@his.com> Newsgroups: comp.sys.next.programmer Subject: SEVERAL COMPUTER PROFESSIONALS NEEDED Date: 28 Aug 1995 22:03:22 GMT Organization: Threshold Communications Message-ID: <41tefa$cog@news2.his.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Threshold Communications Group is a marketing and management consultant to technology companies such as telecommunications providers, defense contractors, and engineering consultants. Occasionally, as part of a deliverable, we are asked to find qualified candidates for permanent or contracting positions. Below are several current requirements. If you or anyone you know is interested, resumes can be faxed to (202) 723-8023 or e-mailed to slowe@his.com. POSITION REQUIREMENT Wireless Communications Programmers - GSM Protocol There is an immediate need for systems programmers with 3 or more years of experience in programming within a network/wireless communications environment. Specifically: * Software/systems specialist in networking, systems & software development * Skilled in programming in C or C++ * Knowledgeable in GSM (European std. for PCO cellular systems) * Skilled in Asynchronous Transfer Mode (ATM) networking * Knowledgeable in the ISDN arena overall Positions will be within the U.S., either on a full-time, salaried basis or on a long-term contracting arrangement. ----------------------------------------------------------------------------- POSITION REQUIREMENT Relational Database Specialists - UNIX/C/Oracle There is an immediate need for relational database specialists with extensive experience. Specifically, candidates should meet the following qualifications: * Strong relational database background * 5+ years of experience * Skilled in UNIX, C, and the Oracle environment * Very strong communications skills (will be working with clients directly) The positions will be within the U.S., either on a full-time, salaried basis or on a long-term contracting arrangement. _____________________________________________________________________________ POSITION REQUIREMENT Networking Expert - Novell/GroupWise There is an immediate need for a networking expert skilled in Novell/ WordPerfect & GroupWise software to participate in a 3-4 person team coordinating with ECNE and WorldTalk professionals. Specifically, candidates should meet the following qualifications: * 2-5 years hands-on experience working with Novell & GroupWise * Strong background in networking e-mail systems. The position will be within the U.S. on a contracting arrangement. _____________________________________________________________________________ POSITION REQUIREMENT Programmer - TCP/IP & NetBios Experience There is an immediate need for a programmer with TCP/IP experience needed for a 2-month project. Specifically, candidates should meet the following qualifications: * 3 or more years' experience in TCP/IP and NetBios * Strong background in software programming The position will be within the U.S. on a contracting arrangement. _____________________________________________________________________________ POSITION REQUIREMENT C++ Programmer - Novell NetWare Experience There is an immediate need for a C++ programmer with Novell NetWare experience needed to help on a consulting basis. Specifically, candidates should meet the following qualifications: * 5-7 years' hands-on experience * Strong background in C++ programming * Strong familiarity with the Novell NetWare 4.1 environment The position will be within the U.S. on a contracting arrangement. _____________________________________________________________________________ POSITION REQUIREMENT Document Conversion & Reformatting (SCRIPT SML/Bookmaster) There is an immediate need for documentation experts to convert two Software Design Documents, Interface Requirements Documentation, Software Requirements Specifications, and Test Documentation from SCRIPT SML (Standard Markup Language) and BOOKMASTER to Interleaf 6.0. The conversion will entail using developed tools to perform the initial conversion, followed by organizational and format revisions. The task encompasses both 21B64 and BSY-1 Trainer design and test documentation. Overtime and shift work may be required to complete the work by October, 1995. A SECRET level clearance is required.
From: ksbrain@pitras (Kevin S. Brain,6-212) Newsgroups: comp.sys.next.programmer Subject: Using View or NXImage classes in a command line program Date: 29 Aug 1995 01:23:45 GMT Organization: The Eye Research Institute of Canada Message-ID: <41tq72$h03@sator.eric.on.ca> I would like to use a View subclass I have written to programmatically generate a postscript or tiff file. Normally this is easy enough using View or NXImage methods, but there is a catch: I want to do this in a command line program that can be invoked without being logged in at a console. Is there any way to do drawing with Postscript or with NXfunctions without a connection to the windowServer which makes the program unable to run as a remote process? I'd like to be able to do something like this: NXSize aSize = {300,200}; NXRect frame = {0,0,300,200}; id myImage = [[NXImage alloc] initSize:&aSize]; [myImage lockFocus]; [myCoolView drawself: &frame:1]; [myImage unlockFocus]; // write image to tiff file using NXImage methods The intended application is a program that would create images dynamically for use in a web page. Any replies would be greatly appreciated. Thanks; Kevin
From: ngervae@sirius.com Newsgroups: comp.sys.next.programmer Subject: Immutable superclasses (was Re: forward declaration of a class in )objective-c Date: 29 Aug 1995 01:49:14 GMT Organization: Sirius Connections Message-ID: <41trmq$gu5@sun.sirius.com> References: <199508281956.VAA12859@ns.ms.mff.cuni.cz> In article <199508281956.VAA12859@ns.ms.mff.cuni.cz> ocs@ms.mff.cuni.cz (Ondra Cada) writes: > In comp.sys.next.programmer article <DE10G9.Fpv@eunet.ch> > marco@slab (Marco Scheurer) wrote: > >And I donAt care if copy can be implemented with a simple, cheap, > >retain for immutable things, because I donAt use copy anyway (or so > >rarely...). > > I am afraid you use copy _very_ often, at least if you use FK > and/or EOF. For example, if you use NSDictionary, you copy _each_ > added key. Well, *you* don't necessarily use copy very often, Foundation does. But that's really beside the point. :-) The reason NeXT's engineers chose to implement immutable base classes (I'm quite confident) is that for nearly all nonvolatile operations you gain *HUGE* performance and storage benefits. The copy-as-retain convenience also saves you from duplicating memory unnecessarily. If you implemented mutability as a switch in a single class, you really couldn't make the optimizations. And those optimizations are needed for something as ubiquitous as strings. Having an oo interface to strings is a very good thing, in my opinion, but the price at today's hardware performance is still almost too steep. Note that the NSValue and NSNumber classes aren't mutable and don't have mutable subclasses. The performance *difference* is just too high. ---- Nik Gervae <ngervae@sirius.com> (ASCII, MIME, or NeXT mail) Technical Writer sometime NextStep Programmer San Francisco
From: smy@leech (Bertram Smolny) Newsgroups: comp.sys.next.hardware,comp.sys.next.software,comp.sys.next.programmer Subject: Graphic-Tablet under NSfIP 3.3 ? Date: 29 Aug 1995 07:08:12 GMT Organization: Friedrich-Schiller-University Jena, Germany Message-ID: <41uecs$i0n@fsuj01.rz.uni-jena.de> Hi, is there a solution for this problem: curves disigned by analog-plotters should be grabbing with a graphic-tablet (maybe WACOM) so, that the values are as like as x-y-table can used in a spreadsheet. Is there a frontend, that supply this mode ? How put some CAD-users their maps into their NSfIP3.3-chests ? Any sugguestions? Please send e-mail. Thanks in advance. Bertram Smolny smy :-)
# Bertram Smolny | PHONE: +49 (0)3641 304 422 # Max-Planck-Gesellschaft e.V. | FAX: +49 (0)3641 304 412 # AG "Pharmakologische | # Haemostaseologie" | # Drackendorfer Strasse 1 | e-mail: ibs@rz.uni-jena.de # D-07747 Jena | NeXT/MIME-Mail:smy@leech.mpg.uni-jena.de # Germany | #################################################################### #################################################################### From: jehu@jehu.async.vt.edu (john stanhope) Newsgroups: comp.sys.next.programmer Subject: Re: Smalltalk for NS Date: 29 Aug 1995 13:12:27 GMT Organization: Virginia Tech, Blacksburg, Virginia Distribution: world Message-ID: <41v3nr$s9t@solaris.cc.vt.edu> References: <41sup0$q16@solaris.cc.vt.edu> In article <41sup0$q16@solaris.cc.vt.edu> jehu@jehu.async.vt.edu (john stanhope) writes: -> -> <munch> -> ->For those that didn't get my response, I had a few emails bounce, the ->package can be picked up at blackbox.cl.ee.vt.edu. The files to ->get are README.rtfd.tar.gz and smalltalk-1.2alpha3.ns.tar.gz. You must ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^This should be smalltalk-1.2.alpha3.ns.tar.gz, sorry about that. The same person who pointed out this error also informed that you can't see any files on the site using ftp's ls command, so you if you don't see any files just try a 'mget *gz' and you should be prompted for the file you want to get. -> -> <munch> -> -- John Stanhope jehu@vt.edu
From: droux@info.isbiel.ch (Nicolas Droux) Newsgroups: comp.sys.next.programmer Subject: Programming with interceptor Date: 29 Aug 1995 14:09:25 GMT Organization: Biel School of Engineering, CH-2501 Biel, Switzerland Distribution: world Message-ID: <41v72l$lfk@vega.info.isbiel.ch> Where can we found a document about how to program interceptor ? We need to represent some animations in real time but we couldn't find any document describing this library. I understand that interceptor is already intensively used by NEXTIME, Doom, and SoftPC. Do we need a special development kit in order to use it ? Thanks, Nicolas.
From: michael@vivid.thi.nl (Michael Brouwer) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 29 Aug 1995 18:02:18 +0200 Organization: Tele Holding International B.V, Amsterdam the Netherlands Sender: michael@vivid.thi.nl Message-ID: <wtpwhoaeb9.fsf@vivid.thi.nl> References: <DE10G9.Fpv@eunet.ch> <199508281956.VAA12859@ns.ms.mff.cuni.cz> In-reply-to: ocs@ms.mff.cuni.cz's message of 28 Aug 1995 15:02:08 -0500 > In comp.sys.next.programmer article <DE10G9.Fpv@eunet.ch> > marco@slab (Marco Scheurer) wrote: > > > I think this separation is dumb. > > I personally don't think so, but please, DONT open flames :) > > >And I donAt care if copy can be implemented with a simple, cheap, > >retain > > for immutable things, because I donAt use copy anyway (or so > > rarely...). > > I am afraid you use copy _very_ often, at least if you use FK and/or > EOF. For example, if you use NSDictionary, you copy _each_ added key. To bad [NSString copy] does not do just a retain, but actually copies the NSString object :-( Michael
From: Dirk Mimberg <dirk@amg.de> Newsgroups: comp.sys.next.programmer Subject: How to Grab a window programmatically without using printPSCode Date: 29 Aug 1995 12:21:36 GMT Organization: AMG Industrieconsulting GmbH Message-ID: <41v0og$p8s@hagen.amg.de> How can I "Grab" a window and print it programmatically (like "Grab.app") without using printPSCode? I want to use Screen-Resolution and eliminate alpha-channel information. Is there any example available? --- Dirk Mimberg AMG Industrie Consulting GmbH, Germany mail dirk@amg.de
From: Charlie Fletcher <charlie> Newsgroups: comp.sys.next.programmer Subject: TCL-ObjectiveC::Where is it? Date: 29 Aug 1995 16:59:41 GMT Organization: Naval Research Laboratory Message-ID: <41vh1u$fgu@ra.nrl.navy.mil> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I must have been out of town -- where is the tclObjectiveC distribution? Is it freeware/shareware/or whatever-ware? Thanks in advance, Charlie
Newsgroups: comp.sys.next.programmer From: thomas@albert.lysis.ch (Thomas Styger) Subject: PCMCIA Flash RAM application Message-ID: <DE3057.CqC@eunet.ch> Sender: usenet@eunet.ch Organization: EUnet AG, Switzerland Date: Tue, 29 Aug 1995 16:51:06 GMT Hi, I am trying to make an application that uses a PCMCIA Flash RAM as a simple memory extension. Thus I have the following questions: - Are drivers shipped with a PCMCIA board, that will allow me to see my card as a RAM extension? The reason why I ask this question is that I only hear about Ethernet and hard drive applications for these boards, but never memory extensions. - Is it a big deal to program these cards? - If no drivers are shipped, is there someone around that has some solutions to my problem (advice, references, drivers, etc.) Thanks a lot. Thomas Styger /~\\\\\ | __ | ( OO ) | ] | | -- | ________________oOOo__\_____ /__oOOo_________________________ Thomas STYGER L Y S I S S.A. E-mail: thomas@lysis.ch Cote de Montbenon 8 Tel. ++ 41 21 - 312 91 91 CH-1003 LAUSANNE, SWITZERLAND Fax. ++ 41 21 - 312 93 43 _____________________________________________________________
Newsgroups: comp.sys.next.programmer From: dse@dse.ho.att.com (att.workplace) Subject: List of NIB Instance Objects Message-ID: <DE31CM.BJ4@nntpa.cb.att.com> Sender: news@nntpa.cb.att.com (Netnews Administration) Organization: AT&T Date: Tue, 29 Aug 1995 17:17:10 GMT Is there a way to get the list of objects that were instantiated when the NIB was loaded. I assume that the function: id NXGetNamedObject(const char *name, id owner) refers to this list. We are trying to write a routine that will release all the object in a NIB when it is not needed anymore. Thanks, Don
From: kdeda@nxtul85.wiltel.com (Klajd Melkjor Deda) Newsgroups: comp.sys.next.programmer Subject: OpenPanel beeps. Date: 29 Aug 1995 18:34:59 GMT Organization: WilTel Message-ID: <41vmkj$ndo@gateway.wiltel.com> Take a look at this piece of code please. Nothing magic. - openDocument:sender { OpenPanel *openPanel = [[OpenPanel new] allowMultipleFiles:NO]; const char *fileName; const char *const fileTypes[2] = {"map", NULL}; char *c; [openPanel setDirectory:"/LocalLibrary/Databases"]; if ([openPanel runModalForTypes:fileTypes] == NX_CANCELTAG) return nil; fileName = [openPanel filename]; if ((c = strrchr(fileName, '/'))) *c = '\0'; strcpy(currentPath, fileName); [self openDocument]; return self; } Every thing looks fine, hmm ?? The ".map" files are of NXTypedStream type and used by no other program. The problem is that when the user double clicks on a file selection in the OpenPanel the modal loop "[openPanel runModalForTypes:fileTypes]" is stoped with return value NX_OKTAG and the system beep is played !!! Can someone tell what is happening and how can I stop the system beep ? The users don't like it at all. Thanks for your time. *Clyde.
From: msnyder@NeXT.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: gdbinit entry?? Date: 29 Aug 1995 21:11:49 GMT Organization: NeXT Computer, Inc. Message-ID: <41vvql$399@news.next.com> References: <1995Aug25.130233.3386@il.us.swissbank.com> Tyler Gingrich writes > > I'm tearing my hair out trying to remember the gdbinit command to prevent > signal 28 (window resized) from stopping the gdb session. > > Anyone remember what it is?? > (gdb) handle 28 pass noprint nostop
From: Peter.D.Clark@eng.sun.com (Pete Clark) Newsgroups: comp.sys.next.programmer Subject: Re: List of NIB Instance Objects Date: 29 Aug 1995 23:20:43 GMT Organization: Sun Microsystems Inc., Mountain View, CA Distribution: world Message-ID: <4207cb$ofm@engnews2.Eng.Sun.COM> References: <DE31CM.BJ4@nntpa.cb.att.com> In article <DE31CM.BJ4@nntpa.cb.att.com> dse@dse.ho.att.com (att.workplace) writes: > Is there a way to get the list of objects that were > instantiated when the NIB was loaded. I assume that > the function: > id NXGetNamedObject(const char *name, id owner) > refers to this list. We are trying to write a routine that will > release all the object in a NIB when it is not needed anymore. > Nope. NXGetNamedObject returns an object given a specific name, set either via NXNameObject() or the "Name Object" menu item in IB. You might not care one way or the other, but the NXGetNamedObject set of APIs isn't part of openstep. I don't think you can get a list of all the objects created from a nib file. One alternative solution would be to create a new NSZone into which to load the nib file, and then when you're done with the nib file, destroy the zone. Best, Pete -- *************************************************************************** Pete Clark | The thinking man looks at the world and SunSoft Object Products Group | sees a comedy. The feeling man looks Peter.D.Clark@eng.sun.com (NeXTMail) | at the world and sees a tragedy. ***************************************************************************
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: forward declaration of a class in objective-c Message-ID: <DE3Evp.AH@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <wtpwhoaeb9.fsf@vivid.thi.nl> Date: Tue, 29 Aug 1995 22:09:24 GMT Michael Brouwer writes > To bad [NSString copy] does not do just a retain, but actually copies the > NSString object :-( The original poster is correct (for the most part). The -copy method will often optimize by simply sending self a retain message instead of making another physical copy. One of the keys seems to be whether the receiver is itself mutable or not. Immutable strings do implement copy using retain. If you don't believe me, (why should you?), write a simple test program and see for yourself. I don't claim that the whole memory management system in foundation is perfect. Its still unclear in too many situations whether copies are by reference or by copy, and if by copy whether they are deep or shallow (when they are containers for example). The reference count scheme breaks down a bit in the presence of cycles. And there are several inconsistencies in the implementation of the copy details for example. (no simple rule to apply throughout) On the whole though, it is a definite improvement over what came before. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: moellney@komet.bota.uni-bonn.de (Michael Moellney) Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer Subject: One Default Database is NOT enough! Date: 30 Aug 1995 02:20:12 GMT Organization: University of Bonn, Germany Message-ID: <420hss$6o6@news.rhrz.uni-bonn.de> Hi! Did you ever changed from one Computer with a max ScreenRes of 1024x768 to a Computer with 1600x1200 and back and forth .... WorkspaceManager is aware of the Resolution and depending on it you have different Apps on your Dock! Great....but what's with all other Apps... And Menu.. I mostly always hide the menu from the screen by dragging it with its left upper corner to the low right corner of the screen, so that I could almost see nothing of it but a little black square...and there's popup on my right mouse button... All Apps seems to remember that position of the menu or is it WSManager handling it. And I drag the menu on that 1024x768 Screen to the lower right, go to the 1600x1200 screen and the menu is also as less seen as on the little screen. WSManager must be aware of what I'm trying to do. Now wouldn't it be fine, if any application is aware of the screen res and would (depending on it) store different defaultbase entries? If you type in a Terminal: dread -l | grep DockOnTop here you can see: Workspace DockOnTopForHt768 0 Workspace DockOnTopForHt1200 0 Workspace DockOnTopForHt600 0 Workspace DockOnTopForHt480 0 Similar thing exist for DockLunchFlagForHt...., DockPathsForHt... , DockOriginXForHt (wonder what's that for??) and DockOriginYForHt... all under Workspace entries of Default Database Think about TeXview.app: Every time I start it, the View-window comes up the same place as the last time it was, when I choosed 'Save' in the Preferences. But every time I go to that 1600x1200 Screen I have to resize it to a useful size (and what's big on 1024x768 is small on 1600x1200). And the zoom and unzoom dpi Setting should be other, too. There are other topic beside Default-Size and -Position of windows.. Fonts you can read good on a 17" Monitor with 1024x768 are nearly unreadable on a 21" with 1600x1200... Do you see an elegant way to handle with this... Think of Version (I): I think it is a common problem for every programmer and it could be elegant if NS would have different Databases for _resolution_dependent_ DataBaseEntries: 1. Each user has a _Resolutioin_Dependant_Default_Data_Base, let's say RDDDB1600x1200 and RDDDB1024x768 and so on, for each resolution he uses. So for Edit.app there would be entry: RDDDB1024x768 Edit NXFixedPitchFontSize 10 RDDDB1600x1200 Edit NXFixedPitchFontSize 14 2. Now I go to that Super Plasma Flat Screen with 2400x1600 pixels resolution and log in for the first time.. Wow...:-) With my first login a new RDDDB with name RDDDB2400x1600 is created and all Values are copied from the RDDDB that is closest to the new ResValues: RDDDB2400x1600 Edit NXFixedPitchFontSize 14 is created.. I think you got what I mean. After all there has to be a Resolution INDependant DataBase for things like Edit AutoIndent YES Edit PagesPerSheet 1 Edit RichText NO ...... The Problem is, that on some topics the User should have a choice if Entries are Dependent or Independent like in Edit HeightInChars 25 Edit WidthInChars 80 (I'd prefer Dependent but other won't...) Ok, and now Version (II). The Resolution Dependance could be dependent from Pixel_X, Pixel_Y and MonitorSize (say Pixels_per_inch_X/Y). So if the user loggs into a new Resolution WorkSpace Manager could guess the Values for the new RDDDBnnnn where nnnn is now something like 1600x1200x21 or 1600x1200x17 You can see, that it would be a difference to have 1600x1200 on a 21" or a 17" Monitor, because the dots_per_inch is different and so you would have to choose different font sizes in Edit to have the same REAL font size. So what do you think about this new concept of DataBases... There shouldn't be a Problem for NeXT to handle this from DefaultDatabase Manager.... Or is there a way to integrate a FILTER between the Database Mechanism and the Application asking for a Entry... Filter (with a loginhook) could do the job, but I'm not that firm in FILTERs that I could see, if you can cover a Database with it: App1 ---- Filter ---- Default Database Tell me what you think, Michael
From: Jeffrey T Eaton <jeaton+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Compiling ircII 2.8.2 on white 3.3/3.2 developer Date: Tue, 29 Aug 1995 23:12:39 -0400 Organization: Junior, Computer Science, Carnegie Mellon, Pittsburgh, PA Message-ID: <4kExQba00iWQQCu0tb@andrew.cmu.edu> When I try to cmpile ircII 2.8.2 on my NS/Intel 3.3 (3.2 developer) I get the following error during linking: zoo:~/Development/irc/ircii-2.8.2:make cc -g -O -posix -BSD -DHAVE_CONFIG_H -o irc alias.o crypt.o ctcp.o dcc.o debug.o edit.o exec.o flood.o funny.o help.o history.o hold.o hook.o if.o ignore.o input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o menu.o names.o newio.o notice.o notify.o numbers.o output.o parse.o queue.o reg.o scandir.o screen.o server.o stack.o status.o term.o translat.o vars.o whois.o window.o -ltermcap -lsys_s -lposix ld: Undefined symbols: __NXArgc __NXArgv __environ *** Exit 1 Stop. *** Exit 1 Stop. zoo:~/Development/irc/ircii-2.8.2: I assume a required library is not being included, but what? TIA... -jeaton --- Jeffrey T. Eaton jeaton@andrew.cmu.edu Junior, Computer Science/Information Systems at Carnegie Mellon University ---
From: mateev@ifor.math.ethz.ch (B. Mateev) Newsgroups: comp.sys.next.programmer Subject: How to archive by reference with the NSCoder ? Date: 30 Aug 1995 08:12:25 GMT Organization: Swiss Federal Institute of Technology (ETHZ) Distribution: world Message-ID: <4216h9$dnq@elna.ethz.ch> Hi, I would like to archive some objects using NSArchiver and NSCoder. By the Object class there are functions like NXWriteObject() and NXWriteObjectReference(). Does encodeObject: automaticaly encode by reference or there is another function for that purpose ? Bye Bojidar
Newsgroups: comp.sys.next.programmer From: lisa@marble.com (Lisa Kearney) Subject: Job Opportunities Message-ID: <DE1A8C.Fo1@marble.com> Sender: news@marble.com Organization: Marble Associates, Inc. Distribution: usa Date: Mon, 28 Aug 1995 18:33:48 GMT Wanted: Object-Oriented Systems Designers, Developers and Consultants Marble Associates, Inc., a leading technology consulting firm, has immediate openings in the Boston area for computer scientists with interest and experience in building Object-Oriented software systems. Marble designs and constructs large-scale, internetworked software systems for global businesses. We are looking for high-energy people with skills in: - NeXTSTEP software development - Objective-C modeling and design - Smalltalk, C++, Objective-C, C programming languages - Unix, MS Windows NT, MS-DOS, Macintosh operating systems - Oracle,Sybase and Object-Oriented database management systems - TCP/IP-based internetworking and distributed computing - Windows programming Candidates for our available positions must be self-motivated to apply their software developments and client management skills at our Fortune-500 client sites. Candidates must have excellent communication skills and be willing to travel. Salaries are commensurate with experience and ability. Marble is a medium-sized consulting firm with a unique corporate culture and offers its employees a range of non-exclusive opportunities to work at all levels of the mission- critical software industry from strategy and design to implementation. If you have experience with some or all of the technologies listed above and would enjoy working in a fast-paced, dynamic (and extremely fun) organization, please send a cover letter and resume to: Marble Associates, Inc. Attn: Human Resources 950 Winter Street, Suite 1700 Waltham, Massachusetts 02154 fax: 617-487-7045 e-mail: recruiting@marble.com
From: ackerman@trick.cslab.tuwien.ac.at (Franz Ackermann) Newsgroups: comp.sys.next.programmer Subject: Grabbing PS instead of TIFF Date: 30 Aug 1995 13:01:14 GMT Organization: Vienna University of Technology, Austria Message-ID: <421neq$1ca@news.tuwien.ac.at> I want to save screenshots as eps files, not for saving disk space, but to create easily printable documentation whith dvips. If I convert Grab's tiffs back to eps, files take approx. 1.5 mb, while the ps information sent to DPS takes about 15k, which ist quite a difference. Is there a way, to send something like copyPSCodeInside: to a view, which is not part of my own application? step one: figure out, whichs view ist beyond the mouse step two: get its eps info... any ideas? I just can't make students download a 200mb file for easy viewing... ciao, Franz
Newsgroups: comp.sys.next.programmer From: olaf@megatel.de (Olaf Seifert) Subject: HELP !! I need a CASE-Tool for NeXT Message-ID: <1995Aug29.123650.29680@megatel.de> Sender: news@megatel.de Organization: megatel GmbH, Bremen, Germany Date: Tue, 29 Aug 95 12:36:50 GMT Hi,... I need a CASE-Tool for my Black NeXT-system. Who knows one? It should be free ware or low cost software, because I'm a student.
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: List of NIB Instance Objects Date: 30 Aug 1995 14:51:56 GMT Organization: Sense Networking Seattle (http://www.oz.net) Distribution: world Message-ID: <421tud$j1f@emerald.oz.net> References: <4207cb$ofm@engnews2.Eng.Sun.COM> In article <4207cb$ofm@engnews2.Eng.Sun.COM> Peter.D.Clark@eng.sun.com (Pete Clark) writes: > I don't think you can get a list of all the objects created from a nib file. One > alternative solution would be to create a new NSZone into which to load the nib > file, and then when you're done with the nib file, destroy the zone. > While this approach will certainly destroy all memory used by the nib objects, my experience indicates that it will likely cause problems because many classes depend on their free/dealloc method to clean up properly, etc. Most nibs contain mainly UI objects which can be released by merely releasing their window (note the glaring exception of popUpLists which aren't views and must be released explicitly - this will change in OpenStep, I believe). So the real work involves releasing non-view objects which must be released in the same manner as objects not created from a nib - by following references and releasing explicitly. Of course, you could use a shortcut and in each custom nib object's awakeFromNib, add self to an array accessible via a well-known object like NXApp's delegate. Then at the proper time, you could release the array's contents. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: felix@nice.usergroup.ethz.ch (Felix Rauch) Newsgroups: comp.sys.next.programmer Subject: Re: READ THIS. HELP IS NEEDED Date: 30 Aug 1995 16:08:20 GMT Organization: NiCE - NeXT User Group, Zuerich, Switzerland Message-ID: <4222dk$a9q@elna.ethz.ch> References: <41ljr4$ge9@data.interserv.net> adzhanun@interserv.com wrote: > CAN SOMEONE SEND ME A FORMULA FOR BASIC THAT GENERATES CREDIT CARD #S??? How about: 10 for i=1 to 12 20 print int(rnd(0)*10); 30 next i 40 print Some of them might be wrong though... - Felix -- Felix Rauch, CS-Student @ ETH Zurich, Switzerland. internet: felix@nice.ch (NeXT Mail welcome) For pgp public key finger felix.pgp@nice.ethz.ch
From: Paul Heffernan <phef@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.marketplace Subject: Re: OpenStep day keynote and WebObjects video Date: Wed, 30 Aug 95 18:59:47 GMT Organization: Cedar Systems Message-ID: <809809187snz@cedar.demon.co.uk> References: <809451780snz@cedar.demon.co.uk> I now have prices for the PAL and NTSC copies of the video of the OpenStep day keynote by Steve Jobs and the follow-up by Avie Tevanian on the Web Objects Framework. The inclusive cost of the PAL version is fifteen pounds sterling, and the NTSC version is twenty four pounds sterling for anywhere in Europe or USA/Canada. Cheques (checks), euro-cheques, sterling bankers draft are acceptable - preferably in sterling, otherwise use current bank exchange rates and add four percent to allow for bank charges when I convert to sterling. I can accept 24 dollars for PAL format and 39 dollars for NTSC format from USA. Please send your full mailing address, whether you require NTSC or PAL format, and if possible an email address (in case I need to contact you regarding your order) and payment to: Paul Heffernan 22 Cedar Court Road Cheltenham Glos GL53 7RB UK Delivery should be within 21 days of receipt. As I mentioned in earlier posting, this was a personal recording and is for personal use. The quality of recording is not professional by any means, but is good enough to see what was shown on the screens and what was said. As I don't want to be copying tapes for the rest of my life, I will respond to orders received by 13th September - any received later will be returned. Regards, Paul Heffernan.
Newsgroups: comp.sys.next.programmer From: beaver@il.us.swissbank.com (Jason Beaver) Subject: Re: Environment and Arguments Message-ID: <1995Aug30.185231.24628@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <199508281956.VAA12853@ns.ms.mff.cuni.cz> Date: Wed, 30 Aug 1995 18:52:31 GMT In article <199508281956.VAA12853@ns.ms.mff.cuni.cz> ocs@ms.mff.cuni.cz (Ondra Cada) writes: > In comp.sys.next.programmer article > <41sgj7$5u8@hahn.informatik.hu-berlin.de> > obecker@informatik.hu-berlin.de (Oliver Becker) wrote: > > 2. How can I access commandline-arguments? > > The common way via argc and argv is not very useful, because > > the file <application>_main.m is maintained by Project > > Builder. I should not change it. > > You definitely should *NOT* use command line arguments in NEXTSTEP > apps. Use the defaults database instead. > It's perfectly fine to access command line arguments in NEXTSTEP apps, and you don't have to modify the _main file to do it...the command line arguments argc and argv are assigned to the global variables NXArgc and NXArgv. jason __________________ Jason Beaver Swiss Bank Corp. #import <std/disclaimer.h>
From: bob@lancelot.cif.rochester.edu (Robert L. Masterson) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,ne.jobs,seattle.jobs.offered,conn.jobs.offered,misc.jobs.offered Subject: NEXTSTEP and Object-Oriented Programming Positions at SS&S, Inc. Date: 30 Aug 1995 18:48:21 GMT Organization: Software Services and Solutions, Inc. Sender: human_resources@sss.com Distribution: world Message-ID: <422bpl$mcb@babyblue.cs.yale.edu> Keywords: jobs, employment, NEXTSTEP, EOF, Unix, object-oriented, career Software Services and Solutions, Inc., an award-winning information technology consulting and software product development firm, has employment openings for experienced NEXTSTEP programmers. Software Services and Solutions, Inc., is headquartered in southern central Connecticut, with regional presences nationwide. We seek extremely talented programmers to expand our staff in Massachusetts, Connecticut, the New York metropolitan area, and the greater Seattle, Washington, area. Software Services and Solutions, Inc., has been providing services and products for NEXTSTEP for five years. We manufacture the SS&S CASE Tools line, including DRCS and CodeReviewer, and the SS&S ObjectWare line for NEXTSTEP developers. We received the 1994 Object Honors Award for our consulting services. Software Services and Solutions, Inc., offers a generous benefits package and extremely competitive salaries to qualified candidates. If you are undervalued by your current employer, consider moving your career onto the fast track at Software Services and Solutions, Inc.. The successful candidate will have the following skills: Superior programming and software development skills Experience with NEXTSTEP development Ability to solve problems and work independently Ability to design and program well with the Enterprise Objects Framework and the Foundation Kit Excellent communications skills and interpersonal skills The following skills are also desirable: Knowledge of TCP/IP and Unix networking Experience with Unix internals Knowledge of i486 assembler Send your resume, salary history, a code sample which is not proprietary to any third party, and a sample of your documentation or a technical report you wrote by email to human_resources@sss.com, or mail them to the following address. No phone calls or faxes, please. Principals only - no applications will be accepted from agents. Software Services and Solutions, Inc. Attention: Human Resources 94 Murray Street Meriden, CT 06450 Software Services and Solutions, Inc. 1994 Object Honors Award Winner
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 30 Aug 1995 14:37:42 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199508301932.VAA24070@ns.ms.mff.cuni.cz> References: <wtpwhoaeb9.fsf@vivid.thi.nl> In comp.sys.next.programmer article <wtpwhoaeb9.fsf@vivid.thi.nl> michael@vivid.thi.nl (Michael Brouwer) wrote: >>I am afraid you use copy _very_ often, at least if you use FK and/or >>EOF. For example, if you use NSDictionary, you copy _each_ added >>key. > > To bad [NSString copy] does not do just a retain, but actually > copies the NSString object :-( I don't think so: 231 ~/#Garbage> cat > foo.c #import <stdio.h> #import <foundation/foundation.h> void main() { NSString *s1=@"Test",*s2=[NSString stringWithCString:"Test"]; printf("s1: %d %d; s2: %d %d\n", (int)s1,(int)[s1 copy], (int)s2,(int)[s2 copy]); } 232 ~/#Garbage> cc -Wall -ObjC foo.c -lFoundation_s 233 ~/#Garbage> a.out s1: 24612 24612; s2: 305004 305004 234 ~/#Garbage> -- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK
From: pedja@mina.TipTop.COM (Pedja Bogdanovich) Newsgroups: comp.sys.next.programmer Subject: Re: TCL-ObjectiveC::Where is it? Followup-To: comp.sys.next.programmer Date: 30 Aug 1995 19:53:29 GMT Organization: Express Access Online Communications, USA Distribution: world Message-ID: <PEDJA.95Aug30155329@mina.TipTop.COM> References: <41vh1u$fgu@ra.nrl.navy.mil> >I must have been out of town -- where is the tclObjectiveC distribution? It is available from: ftp://ftp.tiptop.com/pub/ObjectiveTcl/ and from: ftp://ftp.stepwise.com/pub/Vendors/TipTop_Software/ For more info, take a look at our home page: http://www.tiptop.com >Is it freeware/shareware/or whatever-ware? It is a commercial product with *extremely* attractive licensing terms and pricing (IMHO :-) Cheers. Pedja --- ===================================================================== | Spoken: Pedja Bogdanovich Phone: +1-301-656-3837 | | TipTop Software USPS: 20824-0681, USA Fax: +1-301-656-8432 | | URL: http://www.tiptop.com/ Email: pedja@tiptop.com | ===================================================================== -- ===================================================================== | Spoken: Pedja Bogdanovich Phone: +1-301-656-3837 | | TipTop Software USPS: 20824-0681, USA Fax: +1-301-656-8432 | | URL: http://www.tiptop.com/ Email: pedja@tiptop.com | =====================================================================
From: Paul Heffernan <phef@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.marketplace Subject: Re: OpenStep day keynote and WebObjects video Date: Wed, 30 Aug 95 19:36:46 GMT Organization: Pul Heffernan Message-ID: <809811406snz@cedar.demon.co.uk> References: <809451780snz@cedar.demon.co.uk> I now have prices for the PAL and NTSC copies of the video of the OpenStep day keynote by Steve Jobs and the follow-up by Avie Tevanian on the Web Objects Framework. The inclusive cost of the PAL version is fifteen pounds sterling, and the NTSC version is twenty four pounds sterling for anywhere in Europe or USA/Canada. Cheques (checks), euro-cheques, sterling bankers draft are acceptable - preferably in sterling, otherwise use current bank exchange rates and add four percent to allow for bank charges when I convert to sterling. I can accept 24 dollars for PAL format and 39 dollars for NTSC format from USA. Please send your full mailing address, whether you require NTSC or PAL format, and if possible an email address (in case I need to contact you regarding your order) and payment to: Paul Heffernan 22 Cedar Court Road Cheltenham Gloucs. GL53 7RB UK Delivery should be within 21 days of receipt. As I mentioned in earlier posting, this was a personal recording and is for personal use. The quality of recording is not professional by any means, but is good enough to see what was shown on the screens and what was said. As I don't want to be copying tapes for the rest of my life, I will respond to orders received by 13th September - any received later will be returned. Regards, Paul Heffernan.
Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next..misc From: bbaker@meretrx.com (Brian Baker) Subject: In search of: Databases with EOF Adaptors Message-ID: <1995Aug30.194205.4601@technom.com> Sender: bbaker@technom.com (Brian Baker) Organization: Operations Technologies, LLC Date: Wed, 30 Aug 1995 19:42:05 GMT Greetings, We are looking for a high-quality database which supports EOF. We'd like to avoid Oracle and Sybase, mainly due to their high cost. We've been evaluating Borland's InterBase as a possible solution, but have not yet located an EOF adaptor for it. If anyone knows of an EOF adaptor for InterBase, or for another database we should be evaluating, please let me know. (I've read the NeXTAnswer which lists available adaptors, but I'm hoping there are some others which didn't make the list.) Thanks in advance, Brian Baker. bbaker@technom.com
From: MS <msuwandi@mail.utexas.edu> Newsgroups: comp.sys.next.programmer Subject: Urgent!! Portability of c++ code to other UNIX Date: 30 Aug 1995 22:41:17 GMT Organization: University of Texas at Austin Message-ID: <422ped$it6@geraldo.cc.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm taking C++ course this semester, and the instructor requires that all of the programs to be written in UNIX Are all the C++ codes that aren't directly manipulating hardware portable across UNIX? Note: computer lab at school is running Solaris 2.3 while I have NeXTStep 3.3 + Developer Kit.
Newsgroups: comp.sys.next.programmer From: armin@kd.fh-hannover.de (Armin Retzko) Subject: Searching for PBMPLUS libraries (m68k) Message-ID: <armin.809804973@master> Keywords: pbmplus Sender: news@newsserver.rrzn.uni-hannover.de (News Service) Organization: RRZN Date: Wed, 30 Aug 1995 17:49:33 GMT Hi. Could somebody send me the pbmplus libraries "libpbm.a", "libpgm.a", "libppm.a" und "libpnm.a"? I need them as MAB or if possible as m68k libraries, because i'm not able to compile them on a NeXTcube running NS 3.0. Thanx in advantage. -------------------------------------------------------------- Armin Retzko e-mail: armin@kd.fh-hannover.de (NeXTmail & MIME OK!) WWW URL: http://www.kd.fh-hannover.de/~armin/ -------------------------------------------------------------- -- Armin Retzko e-mail: armin@kd.fh-hannover.de
From: Sven Rieke <sr@frej.teknikum.uu.se> Newsgroups: comp.sys.next.programmer Subject: Possibility to get sender of method everytime? Date: 31 Aug 1995 09:40:22 GMT Organization: University of Uppsala, Sweden Message-ID: <424026$1hlu@columba.udac.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Is it possible to get the sender of a method, even if there's not an argument like 'sender'? I want to override the method 'cellAt::' of the matrix class to have a special behaviour. But this method is used extensively from the matrix class itself in its drawSelf:: method and I'm too lazy to override this method too. So if there would be a way to get the sender of a method, then my cellAt:: method could perform its special behaviour only if its not invoked from the matrix class. But I guess its not possible, so I also have to override the drawSelf:: Or?
From: doko@cs.tu-berlin.de (Matthias Klose) Newsgroups: comp.lang.tcl,comp.sys.next.programmer,de.comp.sys.next Subject: Tcl7.4p1 on Nextstep 3.3 -- Many test errors Date: 31 Aug 1995 11:33:46 GMT Organization: TU Berlin Fachbereich Informatik Message-ID: <42436g$g56@news.cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello, I am trying to get the test suite completed for tcl7.4p1 on a NextStation running NS3.3 Developer. The compilation produces one warning: However, many tests involving files (exec, file, glob, source, pid, open) fail with error messages: couldn't create error file "" for command: File exists or couldn't create input file "" for command: File exists However all "real" tcl scripts I run until now, do not show these problems. In a previous posting in c.l.t, Hadar Pedhazur <ubs!hadar@uunet.uu.net>, said that he had no problems compiling tcl, but had the same problems with the test suite. > SORRY! I got the same errors as you, but have found that in > practice, almost EVERYTHING runs correctly EVEN with those errors. I > should have been more explicit in my posting! > > For example, I can even run the Grail Web Browser, which is written > in PYTHON and uses Tcl/Tk, etc., and it works absolutely correctly, > etc. > > I am sure, however, that there ARE conditions where it will fail > for the reasons given in the "File exists" failures, and that will > be annoying. Does somebody know reasons for the failures, or has patches to complete the tests successfully? Thanks, Matthias
From: me@wintermute.nada.kth.se (David Wallin) Newsgroups: comp.sys.next.programmer Subject: free (GNU?) Foundation kit avail? Date: 30 Aug 1995 21:33:43 GMT Message-ID: <422lfn$93f@news.kth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi! I'm one of those who didn't upgrade to 3.3 and therfore I don't have the Foundation kit. And since more and more apps seems to rely on it I was wondering if there might be one ready from the GNUstep project. If there is, where can I find a compiled version? --david wallin. -- -- "most people are fools, most authority is malignant, God does not exist, and everything is wrong." - Ted Nelson's four maxims. Name : david wallin :) e-Mail : d94dwa@student.csd.uu.se (:
From: jq@phcs.phcs.com (James E. Quick) Newsgroups: comp.sys.next.programmer Subject: Re: Compiling ircII 2.8.2 on white 3.3/3.2 developer Date: 31 Aug 1995 07:50:23 -0400 Organization: PHCS Message-ID: <4247lv$9cb@papoose.quick.com> References: <4kExQba00iWQQCu0tb@andrew.cmu.edu> In article <4kExQba00iWQQCu0tb@andrew.cmu.edu>, Jeffrey T Eaton <jeaton+@andrew.cmu.edu> wrote: >When I try to cmpile ircII 2.8.2 on my NS/Intel 3.3 (3.2 developer) I >get the following error during linking: > (munch) >ld: Undefined symbols: >__NXArgc >__NXArgv >__environ > >I assume a required library is not being included, but what? Perhaps /lib/posixcrt0.o in NS3.2 developer does not define these. In 3.3 Developer they are defined there. papoose% nm /lib/posixcrt0.o 000000a4 D _NXArgc 000000a8 D _NXArgv 00000004 C __cplus_init 00000004 C __cthread_init_routine 00000098 T __dyld_func_lookup 000000ac S __fvmlib_init0 000000ac S __fvmlib_init1 00000004 C __objcInit 000000a0 D _environ U _errno U _exit 00000004 C _mach_init_routine U _main U _setposix 00000000 T start I suggest that you run nm on both /lib/crt0.o and /lib/posixcrt0.o and compare the output. To work around this, you might try reversing the order of your library seaches. You search libsys_s before libposix. Try reversing that. -- ___ ___ | James E. Quick jq@phcs.com / / / | Private HealthCare Systems NeXTMail O.K. \_/ (_\/ | Systems Integration Group (617) 895-3343 ) | - My other car has a mouse.
From: tbm@tci002.uibk.ac.at (Martin Michlmayr) Newsgroups: comp.sys.next.programmer Subject: Re: free (GNU?) Foundation kit avail? Date: 31 Aug 1995 12:48:28 GMT Organization: Dept. of Computer Science, University of Salzburg Distribution: world Message-ID: <424b2s$5ki@esel.cosy.sbg.ac.at> References: <422lfn$93f@news.kth.se> David Wallin (me@wintermute.nada.kth.se) wrote: / Hi! I'm one of those who didn't upgrade to 3.3 and therfore I don't have / the Foundation kit. And since more and more apps seems to rely on it I was / wondering if there might be one ready from the GNUstep project. If there / is, where can I find a compiled version? GNUStep`s Foundation Kit is going to be part of libobjects, and some classes are already implemented, but unfortunately, it won`t work on NEXTSTEP. Sorry. For more informations about GNUStep, visit http://fvkma.tu-graz.ac.at/gnustep/index.html -- tbm Support the League for Programming Freedom -- http://www.lpf.org/ Read "Against User Interface Copyright" at http://www.lpf.org/Copyright/look-and-feel.html
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: Environment and Arguments Date: 31 Aug 1995 12:54:02 GMT Organization: University of Heidelberg, Germany Message-ID: <424bda$kd2@sun0.urz.uni-heidelberg.de> References: <199508281956.VAA12853@ns.ms.mff.cuni.cz> In article <199508281956.VAA12853@ns.ms.mff.cuni.cz> ocs@ms.mff.cuni.cz (Ondra Cada) writes: > In comp.sys.next.programmer article > > 2. How can I access commandline-arguments? > > The common way via argc and argv is not very useful, because > > the file <application>_main.m is maintained by Project Builder. > > I should not change it. > > You definitely should *NOT* use command line arguments in NEXTSTEP > apps. Use the defaults database instead. Upps! Not very true! One can use the both NXArgc and NXArgv global variables (they have the same scope as NXApp). If you already are using the Foundation kit, than the best way is to use the NSProcessInfo. I wrote one free implementation for the GNUStep's libobjects, but the class can be used separately too. This will solve the problem for accessing the environment vars either. BTW, GNUStep's NSUserDefaults is also on the way.... -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: OpenPanel beeps. Date: 31 Aug 1995 13:34:21 GMT Organization: University of Heidelberg, Germany Message-ID: <424dot$lo8@sun0.urz.uni-heidelberg.de> References: <41vmkj$ndo@gateway.wiltel.com> In article <41vmkj$ndo@gateway.wiltel.com> kdeda@nxtul85.wiltel.com (Klajd Melkjor Deda) writes: > [...] > Can someone tell what is happening and how can I stop the system beep ? > The users don't like it at all. I've seen this before. As far as I can remember, it's a strange bug. From time to time it works for me fine, but sometimes it beeps ;-) I think Art Isabel had a solution or comment on that same subject, but I can really not remember the work around ... may be you can ask him -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: suzawa@suzawa.anatomy.emory.edu (Satoru Uzawa) Newsgroups: comp.lang.tcl,comp.sys.next.programmer,de.comp.sys.next Subject: Re: Tcl7.4p1 on Nextstep 3.3 -- Many test errors Followup-To: comp.lang.tcl,comp.sys.next.programmer,de.comp.sys.next Date: 31 Aug 1995 15:56:30 GMT Organization: Emory University Message-ID: <424m3e$ods@moe.cc.emory.edu> References: <42436g$g56@news.cs.tu-berlin.de> Matthias Klose (doko@cs.tu-berlin.de) wrote: : Hello, : I am trying to get the test suite completed for tcl7.4p1 on a NextStation : running NS3.3 Developer. : The compilation produces one warning: : However, many tests involving files (exec, file, glob, source, pid, open) : fail with error messages: : However all "real" tcl scripts I run until now, do not show these : problems. : Does somebody know reasons for the failures, or has patches to : complete the tests successfully? : Thanks, Matthias Do you really need to fix them?? In the README file comes with tcl7.4, John Ousterhout writes; >The Tcl test suite is very sensitive to proper implementation of >ANSI C library procedures such as sprintf and sscanf. If the test >suite generates errors, most likely they are due to non-conformance >of your system's ANSI C library; such problems are unlikely to >affect any real applications so it's probably safe to ignore them. I never had a problem with my scripts. -- Satoru Uzawa, suzawa@unix.cc.emory.edu (NeXTmail welcome)
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: OpenPanel beeps. Date: 31 Aug 1995 14:50:12 GMT Organization: Sense Networking Seattle (http://www.oz.net) Distribution: world Message-ID: <424i74$kns@emerald.oz.net> References: <424dot$lo8@sun0.urz.uni-heidelberg.de> In article <424dot$lo8@sun0.urz.uni-heidelberg.de> tuparev@EMBL-Heidelberg.DE (Georg Tuparev) writes: > In article <41vmkj$ndo@gateway.wiltel.com> kdeda@nxtul85.wiltel.com (Klajd > Melkjor Deda) writes: > > Can someone tell what is happening and how can I stop the system beep ? > I've seen this before. As far as I can remember, it's a strange bug. From time > to time it works for me fine, but sometimes it beeps ;-) > I think Art Isabel had a solution or comment on that same subject, but I can > really not remember the work around ... may be you can ask him I reported this behavior as a bug to NeXT for certain of their apps (e.g., ProjectBuilder). Later, someone posted what causes this, and I can't recall the details :-) But I believe it's a programming "bug" that can be avoided by the way one writes OpenPanel code. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
Newsgroups: comp.sys.next.programmer From: dse@dse.ho.att.com (att.workplace) Subject: Re: List of NIB Instance Objects Message-ID: <DE6KwA.47p@nntpa.cb.att.com> Sender: news@nntpa.cb.att.com (Netnews Administration) Organization: AT&T References: <4207cb$ofm@engnews2.Eng.Sun.COM> <421tud$j1f@emerald.oz.net> Date: Thu, 31 Aug 1995 15:12:09 GMT Art Isbell (art@cubicsol.com) wrote: : Of course, you could use a shortcut and in each custom nib object's : awakeFromNib, add self to an array accessible via a well-known object like : NXApp's delegate. Then at the proper time, you could release the array's : contents. This is basically what we are doing, in lieu of not being able to get the list of objects for a nib. We are creating subclasses of EOController and Object (which poseAs these respective objects), that implement awakeFromNib and register the object with a subclass of EOApplication. The EOApplication subclass overrides the loadNibSection: methods to create a list of instance objects for each nib. We then ask the applciation to close the nib for the file owner when it is dealloc'ed. This releases the list of instance objects.
From: smorris@erin.utoronto.ca (Stephen Morris) Newsgroups: comp.sys.next.programmer Subject: 16 bit TIFFs on NeXT? Date: 31 Aug 1995 11:54:00 -0400 Organization: Erindale College, University of Toronto, Canada Message-ID: <424luo$bg1@tuzo.erin> I have been creating TIFF images with 16 bits per sample. Unfortunately none of the image viewing programs on the NeXT which I have used will display these. OmniImage, PiXel, FastView all accept the image but display nothing. Image Viewer displays a message indicating it can't read the file. In all these cases the console displays the following error message... TIFF Error: Image parameters not acceptable: w=100 h=100 bps=16 spp=1 alpha=0 photometric=1. I suspect that the TIFF routines provided with the operating system barf on 16 bit TIFF's. However can't find any mention of this restriction. Does anybody know of this restriction ? Is there any way around this, i.e., are there any programs which can display 16 bit TIFF's on the NeXT (Intel Hardware) ?
Newsgroups: comp.sys.next.programmer From: slayton@netcom.com (csh) Subject: Re: Time (object) Needed!! Message-ID: <slaytonDE6oJ9.AyH@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <41cibh$ak5@aplinfo.jhuapl.edu> Date: Thu, 31 Aug 1995 16:30:45 GMT Sender: slayton@netcom10.netcom.com This would be useful. Of course, it should build on the GMT time based time_t object, because it succesfully handles time zones and DST. Anybody? Stephen Mike Hostetter (Michael_Hostetter@JHUAPL.Edu) wrote: : Object-ive Observers, : Is there a good Time object out there? I just need the standard : methods -- adding, subtracting, printing (in multiple formats), : comparison -- but I'd like it to handle relative and absolute (includine : dates) time as well. : Thanks! : Mike -- Stephen slayton@netcom.com
Newsgroups: comp.sys.next.programmer From: slayton@netcom.com (csh) Subject: IX Kit Cursor question Message-ID: <slaytonDE6pEo.CGG@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Thu, 31 Aug 1995 16:49:36 GMT Sender: slayton@netcom10.netcom.com Greetings, I am using the Indexing Kit to query my IX DB. Example of what I want to do: Class 'Dog' has method - (integer) age; that returns age of dog to nearest year. I have an IX file containing instances of class Dog. I want to get all instances where age is 5. Currently, I would have to write a hack function - (char *) ageAsString, and use this key. I want to use the function that returns an integer. Has something to do with Comparitors? Unable to grok documentation. Any ideas, please, I am at a loss. Thanks. Stephen slayton@netcom.com -- Stephen slayton@netcom.com
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: ni question Date: 31 Aug 1995 17:22:36 GMT Organization: University of Heidelberg, Germany Message-ID: <424r4s$1og@sun0.urz.uni-heidelberg.de> Hi, How can I test if a host with name xxxx.yyyy.zzzz belongs to the same domain where the process is running? Thanks -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: robertn@seahawk.nwest.mccaw.com (Robert Nicholson) Newsgroups: comp.lang.tcl,comp.sys.next.programmer,de.comp.sys.next Subject: Re: Tcl7.4p1 on Nextstep 3.3 -- Many test errors Date: 31 Aug 1995 12:23:33 -0700 Organization: McCaw Cellular Communications, Inc. Sender: robertn@seahawk.nwest.mccaw.com Message-ID: <h268jdg9my.fsf@seahawk.nwest.mccaw.com> References: <42436g$g56@news.cs.tu-berlin.de> <424m3e$ods@moe.cc.emory.edu> In-reply-to: suzawa@suzawa.anatomy.emory.edu's message of 31 Aug 1995 15:56:30 GMT >Matthias Klose (doko@cs.tu-berlin.de) wrote: >: Hello, >: I am trying to get the test suite completed for tcl7.4p1 on a NextStation >: running NS3.3 Developer. >: The compilation produces one warning: >: However, many tests involving files (exec, file, glob, source, pid, open) >: fail with error messages: >: However all "real" tcl scripts I run until now, do not show these >: problems. >: Does somebody know reasons for the failures, or has patches to >: complete the tests successfully? >: Thanks, Matthias >Do you really need to fix them?? In the README file comes with tcl7.4, John >Ousterhout writes; >>The Tcl test suite is very sensitive to proper implementation of >>ANSI C library procedures such as sprintf and sscanf. If the test >>suite generates errors, most likely they are due to non-conformance >>of your system's ANSI C library; such problems are unlikely to >>affect any real applications so it's probably safe to ignore them. >I never had a problem with my scripts. Hmm. Those errors relate more to precision testing errors. The error messages that the original poster posted don't suggest those kind of errors. -- The views and opinions expressed in this article are those of the poster and not his employer.
From: inf12a <i812817> Newsgroups: comp.sys.next.programmer Subject: HELP!! about .rib Date: 1 Sep 1995 07:48:05 GMT Organization: Dept of Comp Sci and Info Eng,NTU Message-ID: <426drl$d62@ntucsz.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: i812817@sun1.cis.thu.edu.tw I am coding an app about 3D graphics in NeXT. BUT,I don't know how to read .rib to show out or control. If some one knows how to do it,could you send me a little example ,or tell me where I can find some examples in Internet. My Email address is i812817@sun1.cis.thu.edu.tw Thankx
From: inf12a <i812817> Newsgroups: comp.sys.next.programmer Subject: HELP!! about .rib Date: 1 Sep 1995 07:48:09 GMT Organization: Dept of Comp Sci and Info Eng,NTU Message-ID: <426drp$dca@ntucsz.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: i812817@sun1.cis.thu.edu.tw I am coding an app about 3D graphics in NeXT. BUT,I don't know how to read .rib to show out or control. If some one knows how to do it,could you send me a little example ,or tell me where I can find some examples in Internet. My Email address is i812817@sun1.cis.thu.edu.tw Thankx
From: inf12a <i812817> Newsgroups: comp.sys.next.programmer Subject: HELP!! about .rib Date: 1 Sep 1995 07:48:09 GMT Organization: Dept of Comp Sci and Info Eng,NTU Message-ID: <426drp$dc9@ntucsz.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: i812817@sun1.cis.thu.edu.tw I am coding an app about 3D graphics in NeXT. BUT,I don't know how to read .rib to show out or control. If some one knows how to do it,could you send me a little example ,or tell me where I can find some examples in Internet. My Email address is i812817@sun1.cis.thu.edu.tw Thankx
From: inf12a <i812817> Newsgroups: comp.sys.next.programmer Subject: HELP!! about .rib Date: 1 Sep 1995 07:49:27 GMT Organization: Dept of Comp Sci and Info Eng,NTU Message-ID: <426du7$dc9@ntucsz.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-------------------------------12100780847265299011021558690" To: i812817@sun1.cis.thu.edu.tw This is a multi-part message in MIME format. ---------------------------------12100780847265299011021558690 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii I am coding an app about 3D graphics in NeXT. BUT,I don't know how to read .rib to show out or control. If some one knows how to do it,could you send me a little example ,or tell me where I can find some examples in Internet. My Email address is i812817@sun1.cis.thu.edu.tw Thankx ---------------------------------12100780847265299011021558690 Content-Transfer-Encoding: quoted-printable Content-Type: text/html <BASE HREF=3D"news:comp.sys.next.programmer"> <BASE HREF=3D"news:"> <A HREF=3D"newspost:comp.sys.next.programmer"><IMG ALT=3D"" BORDER=3D0 SRC=3D= "internal-news-post"></A><A HREF=3D"newscatchup:comp.sys.next.programmer"><= IMG ALT=3D"" BORDER=3D0 SRC=3D"internal-news-catchup-group"></A><A HREF=3D"= news:comp.sys.next.programmer?ALL"><IMG ALT=3D"" BORDER=3D0 SRC=3D"internal= -news-show-all-articles"></A><A HREF=3D"newsrc://news.csie.ntu.edu.tw/?UNSU= BSCRIBE=3Dcomp.sys.next.programmer"><IMG ALT=3D"" BORDER=3D0 SRC=3D"interna= l-news-unsubscribe"></A><A HREF=3D"newsrc://news.csie.ntu.edu.tw/"><IMG ALT= =3D"" BORDER=3D0 SRC=3D"internal-news-go-to-newsrc"></A> <HR> <TITLE>Newsgroup: comp.sys.next.programmer</TITLE> <H1>Newsgroup: comp.sys.next.programmer</H1> <UL> </UL><HR> <A HREF=3D"newspost:comp.sys.next.programmer"><IMG ALT=3D"" BORDER=3D0 SRC=3D= "internal-news-post"></A><A HREF=3D"newscatchup:comp.sys.next.programmer"><= IMG ALT=3D"" BORDER=3D0 SRC=3D"internal-news-catchup-group"></A><A HREF=3D"= news:comp.sys.next.programmer?ALL"><IMG ALT=3D"" BORDER=3D0 SRC=3D"internal= -news-show-all-articles"></A><A HREF=3D"newsrc://news.csie.ntu.edu.tw/?UNSU= BSCRIBE=3Dcomp.sys.next.programmer"><IMG ALT=3D"" BORDER=3D0 SRC=3D"interna= l-news-unsubscribe"></A><A HREF=3D"newsrc://news.csie.ntu.edu.tw/"><IMG ALT= =3D"" BORDER=3D0 SRC=3D"internal-news-go-to-newsrc"></A> ---------------------------------12100780847265299011021558690--
From: inf12a <i812817> Newsgroups: comp.sys.next.programmer Subject: HELP!! about .rib Date: 1 Sep 1995 07:49:44 GMT Organization: Dept of Comp Sci and Info Eng,NTU Message-ID: <426duo$dc9@ntucsz.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-------------------------------174599966215223241751169884252" To: i812817@sun1.cis.thu.edu.tw This is a multi-part message in MIME format. ---------------------------------174599966215223241751169884252 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii I am coding an app about 3D graphics in NeXT. BUT,I don't know how to read .rib to show out or control. If some one knows how to do it,could you send me a little example ,or tell me where I can find some examples in Internet. My Email address is i812817@sun1.cis.thu.edu.tw Thankx ---------------------------------174599966215223241751169884252 Content-Transfer-Encoding: quoted-printable Content-Type: text/html <BASE HREF=3D"news:comp.sys.next.programmer"> <BASE HREF=3D"news:"> <A HREF=3D"newspost:comp.sys.next.programmer"><IMG ALT=3D"" BORDER=3D0 SRC=3D= "internal-news-post"></A><A HREF=3D"newscatchup:comp.sys.next.programmer"><= IMG ALT=3D"" BORDER=3D0 SRC=3D"internal-news-catchup-group"></A><A HREF=3D"= news:comp.sys.next.programmer?ALL"><IMG ALT=3D"" BORDER=3D0 SRC=3D"internal= -news-show-all-articles"></A><A HREF=3D"newsrc://news.csie.ntu.edu.tw/?UNSU= BSCRIBE=3Dcomp.sys.next.programmer"><IMG ALT=3D"" BORDER=3D0 SRC=3D"interna= l-news-unsubscribe"></A><A HREF=3D"newsrc://news.csie.ntu.edu.tw/"><IMG ALT= =3D"" BORDER=3D0 SRC=3D"internal-news-go-to-newsrc"></A> <HR> <TITLE>Newsgroup: comp.sys.next.programmer</TITLE> <H1>Newsgroup: comp.sys.next.programmer</H1> <UL> </UL><HR> <A HREF=3D"newspost:comp.sys.next.programmer"><IMG ALT=3D"" BORDER=3D0 SRC=3D= "internal-news-post"></A><A HREF=3D"newscatchup:comp.sys.next.programmer"><= IMG ALT=3D"" BORDER=3D0 SRC=3D"internal-news-catchup-group"></A><A HREF=3D"= news:comp.sys.next.programmer?ALL"><IMG ALT=3D"" BORDER=3D0 SRC=3D"internal= -news-show-all-articles"></A><A HREF=3D"newsrc://news.csie.ntu.edu.tw/?UNSU= BSCRIBE=3Dcomp.sys.next.programmer"><IMG ALT=3D"" BORDER=3D0 SRC=3D"interna= l-news-unsubscribe"></A><A HREF=3D"newsrc://news.csie.ntu.edu.tw/"><IMG ALT= =3D"" BORDER=3D0 SRC=3D"internal-news-go-to-newsrc"></A> ---------------------------------174599966215223241751169884252--
From: inf12a <i812817> Newsgroups: comp.sys.next.programmer Subject: HELP!! about .rib Date: 1 Sep 1995 07:51:21 GMT Organization: Dept of Comp Sci and Info Eng,NTU Message-ID: <426e1p$dc9@ntucsz.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-------------------------------14127960274420619761969194225" To: i812817@sun1.cis.thu.edu.tw This is a multi-part message in MIME format. ---------------------------------14127960274420619761969194225 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii I am coding an app about 3D graphics in NeXT. BUT,I don't know how to read .rib to show out or control. If some one knows how to do it,could you send me a little example ,or tell me where I can find some examples in Internet. My Email address is i812817@sun1.cis.thu.edu.tw Thankx ---------------------------------14127960274420619761969194225 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 ---------------------------------------------------------------------------- Newsgroup: comp.sys.next.programmer ---------------------------------------------------------------------------- ---------------------------------14127960274420619761969194225--
From: doko@cs.tu-berlin.de (Matthias Klose) Newsgroups: comp.lang.tcl,comp.sys.next.programmer,de.comp.sys.next Subject: Re: Tcl7.4p1 on Nextstep 3.3 -- Many test errors Date: 01 Sep 1995 11:39:22 GMT Organization: TU Berlin Fachbereich Informatik Message-ID: <426nst$sv9@news.cs.tu-berlin.de> References: <42436g$g56@news.cs.tu-berlin.de> <424m3e$ods@moe.cc.emory.edu> <h268jdg9my.fsf@seahawk.nwest.mccaw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit In-reply-to: robertn@seahawk.nwest.mccaw.com's message of 31 Aug 1995 20:23:33 MET In article <h268jdg9my.fsf@seahawk.nwest.mccaw.com> robertn@seahawk.nwest.mccaw.com (Robert Nicholson) writes: > Hmm. Those errors relate more to precision testing errors. The error > messages that the original poster posted don't suggest those kind of > errors. That's right. These errors break the test script, such that it is necessary to comment them out to run the following tests. If someone is interested in the test results, I can mail them. Matthias
From: Dave Griffiths <dave@prim.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: How to output error messages to PB? Date: Fri, 1 Sep 1995 11:32:14 GMT Organization: Primitive Software Ltd. Message-ID: <1995Sep1.113214.4851@prim.demon.co.uk> Does anyone know how to output error messages so that they appear in the upper window in PB (the one that lets you click on them to open the file)? There appears to be some sort of mach message you can send: 4553 p3 SW 0:00 csh -f -c setenv MAKEPORT MakeError-4552-0xa5c38;setenv RECEIVERNAME MessageReceiver-4552-0xa5c38; cd "/Source/ (this is the top-level shell spawned by PB when making). Dave
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: free (GNU?) Foundation kit avail? Date: 1 Sep 1995 14:17:07 GMT Organization: University of Heidelberg, Germany Message-ID: <4274l3$mvb@sun0.urz.uni-heidelberg.de> References: <422lfn$93f@news.kth.se> In article <422lfn$93f@news.kth.se> me@wintermute.nada.kth.se (David Wallin) writes: > Hi! I'm one of those who didn't upgrade to 3.3 and therfore I don't have > the Foundation kit. And since more and more apps seems to rely on it I was > wondering if there might be one ready from the GNUstep project. If there > is, where can I find a compiled version? yes, there is a foundation kit included in libobjects (ftp://prep.ai.mit.edu) but it will not work on NS for HP and it's not a replacement for the Foundation, coming with 3.3 because the GNU runtime is different -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <bbum@friday.com> Message-ID: <199509011357.IAA12004@cerebus.friday.com> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3risc v118.3) From: Bill Bumgarner <bbum@friday.com> Date: Fri, 1 Sep 95 08:57:44 -0500 Subject: Re: Tcl7.4p1 on Nextstep 3.3 -- Many test errors Cc: ubs!hadar@uunet.uu.net References: <9509011105.AA08943@antigone.com> # Hello, # # I am trying to get the test suite completed for tcl7.4p1 on a # NextStation running NS3.3 Developer. # # The compilation produces one warning: # # However, many tests involving files (exec, file, glob, source, # pid, open) fail with error messages: # # couldn't create error file "" for command: File exists or couldn't # create input file "" for command: File exists Could be a tmpnam() problem [described below] or could be a direct * vs. dirent * problem... This was one of the problems I had to fix when compiling the Definitive Tcl 7.3 release for NS [I have since abandoned Tcl due to serious performance flaws inherent to its current design-- hopefully, Sun will be fixing these problems in the next release]. Basically, the tmpnam() routine supplied by NeXT is broken. Specifically, tmpnam() can only be called TMP_MAX times [which is hardwired to 25!!] -- after that, the behaviour is *undefined*. mktemp() works, however. I placed the following in compat/tmpnam.c: #define P_tmpdir "/tmp" char * tmpnamTcl(s) char *s; { static char name[50]; char *mktemp(); if (!s) s = name; (void)sprintf(s, "%s/XXXXXX", P_tmpdir); return(mktemp(s)); } Notice that the function name is changed to tmpnamTcl-- this avoids namespace collisions when linking (and is a good idea for ALL compatibility functions). I then changed all references to tmpnam to tmpnamTcl. > SORRY! I got the same errors as you, but have found that in > practice, almost EVERYTHING runs correctly EVEN with those errors. I > should have been more explicit in my posting! > > For example, I can even run the Grail Web Browser, which is written > in PYTHON and uses Tcl/Tk, etc., and it works absolutely correctly, > etc. Does Grail use any Tcl-- I don't think it does... isn't a Tk on Python environment? > I am sure, however, that there ARE conditions where it will fail > for the reasons given in the "File exists" failures, and that will > be annoying. # Does somebody know reasons for the failures, or has patches to # complete the tests successfully? It IS very likely that it will fail. Since it works at all, it is likely not the direct * vs. dirent * problem-- but the tmpnam() problem instead. Also, when performing the tests, make sure you are doing so on a local directory (not an nfs mounted directory). The .nfs files will prevent Tcl from unlinking certain test directories and will produce spurious errors. # Thanks, Matthias b.bum
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <ubs!hadar@uunet.uu.net> Message-ID: <9509011424.AA04238@amazon> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3risc v118.3) From: Hadar Pedhazur <ubs!hadar@uunet.uu.net> Date: Fri, 1 Sep 95 10:24:52 -0400 Subject: Re: Tcl7.4p1 on Nextstep 3.3 -- Many test errors Cc: ubs!uunet!cs.tu-berlin.de!doko@uunet.uu.net, ubs!uunet!antigone.com!comp-sys-next-programmer@uunet.uu.net References: <9509011105.AA08943@antigone.com> <199509011357.IAA12004@cerebus.friday.com> > Does Grail use any Tcl-- I don't think it does... isn't a Tk on > Python environment? Thanks Bill! Having never actually "looked" at the code for the Tkinter stuff in python, I don't really know. However, from reading the newsgroup relatively religously, I got the impression that while there was a native interface to Tk, one could use Tcl stuff "within" the Tk portion. In other words, python can call Tk directly, and requires zero Tcl, but while in Tk routines, Tcl would be supported. Of course, I could have misunderstood completely :-)
From: meb@cen.com (Mehdi Bousaidi) Newsgroups: comp.sys.next.programmer Subject: DO Date: 1 Sep 1995 17:34:37 GMT Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Distribution: world Message-ID: <427g7d$lb9@post.gsfc.nasa.gov> Hi, I am a first time user of the NextStep env, trying to learn Objective C. Does anyone have a simple client/server application to illustrate how DO works. I have tried on my own, but I am not sure what I am doing wrong or right for that matter: //Client: I am decalring a protocol for the client I make the client comply with the protocol I define the methods in client.m then I creat a proxy, and attempt to send a message to the server by name. //Server I am declaring a protocol for the server I make the server comply with the protocol I define the methods I vend the server as Root get the NXConnection object and let it run. it does not work. I am missing any steps here? Thanks in advance for your help. -- --------------------------------------------------------------------- Mehdi Bousaidi email: mbousaidi@cen.com Century Computing web: http://www.cen.com 8101 Sandy Spring phone: (301) 953-3330 ext. 129 Laurel, MD 20707 Fax: (301) 953-2368 ---------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: lorgb@netcom.com (LOR/Geske Bock Associates) Subject: Need Suggestion on the Intel System Message-ID: <lorgbDE96su.7EG@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Sat, 2 Sep 1995 01:00:30 GMT Sender: lorgb@netcom10.netcom.com Can anyone suggest/advice for this PC needed to run NEXTSTEP? CPU: Intel Pentium 133MHz (Globalyst system board) RAM: 64 MB Cache Memory: 1 MB ISA slots: 3 PCI slots: 2 BIOS: Phoenix, AT&T version 4.04, 1.01.00 SCSI Controller: Adaptec 2940/2940W SCSI CD-ROM Drive: NEC 4X Hard Drive: SCSI 2 Gig Segate Floppy Drive: 1.44MB Graphics Adaptor: Number Nine Imagine 128 (8M VRAM) Serial Ports: 2 UART 16450 Parallet Port: 1 Keyboard: 101 PS/2 Pointing Device: Logitech Lan Adaptor: Cogent EMaster+ PCI Sound Card: Sound Blaster 16 Monitor: NEC 6FG Also, What types of modems and SCSI-tape backups are compatible with this system? Thanks in advance for the info. nvp
Newsgroups: comp.sys.next.programmer Subject: [Q] typedefs in Obj.C? How? From: apl@kcbbs.gen.nz (Andrew Lindesay) Date: 2 Sep 95 02:06:25 GMT Message-ID: <17495244.7585.13649@kcbbs.gen.nz> Organization: Kappa Crucis Unix BBS, Auckland, New Zealand I'm very new to the NeXT dev environment and am using it as a student. Writing anything usually involves l.lists of course and I really want a linked list for my little application. So I thought to myself this can't be too different to other projects under other environments and I made a header with the approximate structure: /* blah blah blah */ typedef struct __list *plist; typedef struct __list { id pageScrollView; id pageView; id Window; plist next; } LIST; /* blah blah blah */ @interface... Well I was surprised to find that didn't work because I need the typedef 2 B the type for an instance variable. I read the appropriate librarian file on objectC and couldn't fathom it out and couldn't easily find an example anywhere - can somebody shed some light on this problem? Andrew (apl@kcbbs.gen.nz)
From: frank@miranda.tue.schwaben.de (Frank M. Siegert) Newsgroups: comp.sys.next.programmer,comp.sys.next.hardware Subject: Re: Need Suggestion on the Intel System Date: 2 Sep 1995 13:55:11 GMT Organization: my own Message-ID: <429nnv$3qe@gate.seicom.net> References: <lorgbDE96su.7EG@netcom.com> >Serial Ports: 2 UART 16450 Make this two 16550s, the16450 has problems (dropped chars) with higher bandwidth transfers (>19200 bd) under heavy load. >Also, What types of modems and SCSI-tape backups are >compatible with this system? I am pretty happy with my Courier V.E/V.34 external modem. It works fine for PPP. I have not found a working FAX software yet. (Jollys Fax Class 2.0 does not work with it). Your mileage may vary, as it depends what modem is on the other side of the line. If your Internet provider has Couriers this modem is IMHO the best way to connect. Maybe we should redirect this thread to c.s.n.hardware? --- Frank M. Siegert [frank@miranda.tue.schwaben.de] NeXTSTEP & PostScript Guy http://hades.tue.schwaben.de/~frank
From: starksm@mcs.com(Scott Stark) Newsgroups: comp.sys.next.programmer Subject: Re: [Q] typedefs in Obj.C? How? Date: 2 Sep 1995 17:22:26 GMT Organization: MCSNet Internet Services Message-ID: <42a3si$ssk@News1.mcs.net> References: <17495244.7585.13649@kcbbs.gen.nz> Keywords: ObjC, typedef In article <17495244.7585.13649@kcbbs.gen.nz> writes: > I'm very new to the NeXT dev environment and am using it as a student. > > Writing anything usually involves l.lists of course and I really want a > linked list for my little application. So I thought to myself this > can't be too different to other projects under other environments and I > made a header with the approximate structure: > > /* blah blah blah */ > > typedef struct __list *plist; > > typedef struct __list > { > id pageScrollView; > id pageView; > id Window; > > plist next; > } LIST; > > /* blah blah blah */ > > @interface... > > Well I was surprised to find that didn't work because I need the typedef > 2 B the type for an instance variable. I read the appropriate librarian > file on objectC and couldn't fathom it out and couldn't easily find an > example anywhere - can somebody shed some light on this problem? > > Andrew (apl@kcbbs.gen.nz) In comp.sys.next.programmer article <17495244.7585.13649@kcbbs.gen.nz> you wrote: > I'm very new to the NeXT dev environment and am using it as a student. > > Writing anything usually involves l.lists of course and I really want a > linked list for my little application. So I thought to myself this > can't be too different to other projects under other environments and I > made a header with the approximate structure: > > /* blah blah blah */ > > typedef struct __list *plist; > > typedef struct __list > { > id pageScrollView; > id pageView; > id Window; > > plist next; > } LIST; > > /* blah blah blah */ > > @interface... > > Well I was surprised to find that didn't work because I need the typedef > 2 B the type for an instance variable. I read the appropriate librarian > file on objectC and couldn't fathom it out and couldn't easily find an > example anywhere - can somebody shed some light on this problem? > > Andrew (apl@kcbbs.gen.nz) Read the Concepts/ObjectiveC section of the NextDev documentation to get an introduction to ObjectiveC. The '@interface' construct in you code is used to define an ObjectiveC class. You really don't want to define a linked list struct, you want to define a linked list class: #import <objc/Object.h> // Define the LIST class instance variable and interface(methods) @interface LIST : Object { id pageScrollView; id pageView; id Window; LIST *next; } - init; .. @end // Define the LIST class methods @implementation LIST - init { .. } .. @end This introduces a user defined class of type LIST *. To use such a class you would do something like: LIST *aList; aList = [[LIST alloc] init]; // Now add some items to the list [aList addItem: someItem]; ... You would only use a 'typedef struct ...' in ObjectiveC to introduce an aggregate data type that you don't want to assocation any behavior(methods) with. Otherwise, you want to use an ObjectiveC class. Scott
From: hannes@ping.at Newsgroups: comp.sys.next.programmer Subject: Re: How to make .RIB an instance of N3DShape or object? Date: Mon, 28 Aug 1995 21:59:07 GMT Organization: TELECOM Network Provider, Austria Message-ID: <950828235907.312AAAAH.hannes@s156.ping.at> References: <41jiau$qml@news.csie.nctu.edu.tw> Mime-Version: 1.0 (Created by Mstar) Content-Type: text/plain; charset=US-ASCII Keywords: rib renderman macro Originator: hannes@s156.ping.at > As title. I understand, that you want to draw the contents of a RIB-file in you scene. Here's a simple class-layout for a shape doing so: @implementation RIBShape:N3DShape { char *ribCode; RtToken ribCodeResource, ribMacro; } - (void)loadRIB:(const char*)filename // should be called after the shape was added to the shape-hierarchy { char resourceName[MAXPATHLEN]; ribCode = malloc(...allocte space for the rib-file....); read(... read the rib-file....) sprintf(resourceName, "CouldBeForExampleTheFilename"); ribCodeResource = RiResource(resourceName, RI_ARCHIVE, RI_ADDRESS, &ribCode, RI_NULL); ribMacro = RiMacroBegin(resourceName, RI_NULL); RiReadArchive(ribCodeResource, NULL, RI_NULL); RiMacroEnd(); } - free { RiFreeHandle(ribMacro, RI_MACRO); RiFreeResource(RI_ARCHIVE, ribCodeResource); } - renderSelf:(N3DCamera *)theCamera { RiAttributeBegin(); RiMacroInstance(ribMacro, RI_NULL); RiAttributeEnd(); return self; } @end ----------------- Hope it helps... PS: Be careful when messing around with QRMs macro stuff - the WindowServer often doesn't like what QRM tells him and logs you out... ____________________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred, MIME ok)
From: hannes@ping.at Newsgroups: comp.sys.next.programmer Subject: Re: IXAttributeQuery question Date: Mon, 28 Aug 1995 22:08:21 GMT Organization: TELECOM Network Provider, Austria Message-ID: <950829000821.312AAAAI.hannes@s156.ping.at> References: <41hr6g$jkf@meaddata.meaddata.com> Mime-Version: 1.0 (Created by Mstar) Content-Type: text/plain; charset=US-ASCII Keywords: indexingkit querylanguage Originator: hannes@s156.ping.at >rom: musgse@meaddata.com (Steve Musgrave) >Subject: IXAttributeQuery question >Date: 24 Aug 1995 12:26:56 GMT >Message-Id: <41hr6g$jkf@meaddata.meaddata.com> > > >We are trying to get some IXAttributeQuery code working. >The evaluateFor call is passing us back a nil IXPostingList. >When we were using a cursor implementation, we got answers back. >While using gdb, we confirmed that our queryString looked OK plus >the recordManager was set. Are we missing a step? > >NOTE: queryString gets set to 'eq(name "steve")' Try using 'whole' instead of 'eq' - and don't let'em fool you! Not half of the documentation of the IndexingKit-QueryLanguage is true! Most of it doesn't work and won't ever... Better forget it. ____________________________________________ Hannes Tiefenbrunner hannes@ping.at (NeXTMail preferred, MIME ok)
From: Sven Rieke <sr@frej.teknikum.uu.se> Newsgroups: comp.sys.next.programmer Subject: Main menu disappears when loading .nibs Date: 2 Sep 1995 18:18:21 GMT Organization: University of Uppsala, Sweden Message-ID: <42a75d$nj6@columba.udac.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit In my application I'm loading several .nibs, each containing a menu. I include the nibs menus in my main menu as submenus. But after loading (or while loading the nibs) each of the nibs menus overrides my main menu. So at the end of loading all the nibs I set the old main menu again as menu for the application. This seems to work, but the menu isn't visible anymore. Only after I select another running application with a menu and then switch back to my application my old main menu with the new submenus appears on the screen. Is there a way to let it appear immediately? I tried the following stuff. .. loading the nibs with [NXApp loadNibFile:"..." owner:self withNames:NO]; .. including the nib menus into the main menu: [mainMenu setSubMenu:nibMenu forItem:nibMenuCell]; .. now trying to redisplay it: [mainMenu update]; [mainMenu sizeToFit]; [mainMenu display]; [NXApp setMainMenu:mainMenu]; ..
From: black@pyro (e.cat) Newsgroups: comp.sys.next.programmer Subject: Re: Compiling ircII 2.8.2 on white 3.3/3.2 developer Date: 3 Sep 1995 05:44:49 GMT Organization: Minnesota Regional Network (MRNet) Message-ID: <42bfch$76f@news.mr.net> References: <4kExQba00iWQQCu0tb@andrew.cmu.edu> <4247lv$9cb@papoose.quick.com> as an alternative, you could rtfm. it clearly states that you do a make CFLAGS=-O after the first make fails as above. ben
From: gideon@csarc.otago.ac.nz (Gideon King) Newsgroups: comp.sys.next.programmer Subject: Menu problems - custom menus Date: 3 Sep 1995 20:39:23 GMT Organization: University of Otago, Dunedin, NZ Message-ID: <42d3pr$32o@celebrian.otago.ac.nz> A few days ago, someone suggested that it would be a good idea to have menus that could be dragged off to create custom menus for the menu items you find useful. I thought this would be a good idea, so I set about implementing it. I'll be making the source publicly available when I have worked out the last couple of bugs. So far, I have got the creation of the custom menus working (you just alt-drag a menu item off), the addition of items on to the custom menus (alt-drag the menu item onto the custom menu), and the deletion of custom menu items (by control-clicking on them). Now for my problems: 1. The main one at the moment is archiving and unarchiving the menu items I have added. What I tried to do was to use a NXWriteRootObject() for each of my main menu menucells which had a custom menu attached to it, and thus wrote the cells and their submenus to my file. When I reload the menu cells from the file and put them in my main menu, they appear ok, and have their submenus, but there are a few odd things start happening. You sometimes have to click twice on the item to make the submenu appear/disappear. The submenu items don't display their hotkeys any more (although the items still work). When I try to remove a custom menu item from the main menu, it gives me postscript errors and falls over. And other weird behaviour. 2. I don't know how to get rid of a submenu cleanly. When you control-click on the last menu item in a custom menu, I want to remove the supermenu's item controlling this menu (this works), and then free myself (the submenu). This doesn't work (even using perform:with:afterDelay:), and when I next go to use the main menu, it says I'm trying to talk to a freed object. As a work around, I just close the menu, and as you have no way of reopening it, it is effectively gone, and it is not archived and reloaded. NeXT must have a solution to this as they do it in edit when you close your GDB windows. 3. Just a question or two - how would I go about getting Workspace to load something like this as a bundle? Would it be possible to make all applications have this feature automatically (I use poseAs to become the Menu class)? I guess I could just alter it a bit so that it was a palette object that you could put in any application's nib file. It would then make that application custom menu aware. If anyone would like to help me on this, please send me suggestions, or if you would like to have a look at my code with a view to helping, I can nextmail you my trial project. When it's finished, I intend putting the source on the archives and submitting it to MiskKit. --- Gideon King | Phone +64-3-479 8347 University of Otago | Fax +64-3-479 8529 Computer Science Applied | e-mail gideon@csarc.otago.ac.nz Research Centre | NeXT mail, MIME ok Department of Computer Science | P.O. Box 56 | On behalf of users with a real 32-bit Dunedin | OS I would like to welcome Microsoft New Zealand | users to the later half of the 1980's. WWW access: http://www.csarc.otago.ac.nz:805/PersonalHomePages/Gideon.htmld/
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 4 Sep 1995 04:15:10 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <42duge$10k@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: i812905@s867.thu.edu.tw () Newsgroups: comp.sys.next.programmer Subject: HELP!! About RIB. Date: 4 Sep 1995 06:04:11 GMT Organization: Dep. Computer Sci. & Information Eng., Chiao Tung Univ., Taiwan, R.O.C Message-ID: <42e4sr$iim@news.csie.nctu.edu.tw> I am writing an App about 3D graphics. BUT,I don't know how to show .rib file,and control it,just like a N3DShape. If somebody knows it,could you give me a little example,or tell me where I can find an example in Internet? My email address is i812817@sun1.cis.thu.edu.tw Thank!!
From: i812905@s867.thu.edu.tw () Newsgroups: comp.sys.next.programmer Subject: IPC in NS ?! Date: 4 Sep 1995 08:46:44 GMT Organization: Dep. Computer Sci. & Information Eng., Chiao Tung Univ., Taiwan, R.O.C Message-ID: <42eedk$mlq@news.csie.nctu.edu.tw>
From: i812905@s867.thu.edu.tw () Newsgroups: comp.sys.next.programmer Subject: IPC in NS ?! Date: 4 Sep 1995 08:51:13 GMT Organization: Dep. Computer Sci. & Information Eng., Chiao Tung Univ., Taiwan, R.O.C Message-ID: <42eem1$mlq@news.csie.nctu.edu.tw>
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.software,comp.sys.next.programmer From: david.ferrero@zion.com Subject: DAT compression with software? RunningBack, Neuron, Inc? Message-ID: <DEAA9p.1ss@zion.com> Keywords: DAT, RunningBack, Neuron Sender: usenet@zion.com Organization: Zion Software & Consulting Date: Sat, 2 Sep 1995 15:13:01 GMT I've recently aquired a Microtech Elipse 2.0T DAT tape backup which came with RunningBack backup software from Neuron, Inc. for the m68k architecture. This DAT drive supports software selectable hardware compression. I'd like to know how to toggle this setting. Any ideas? If you have source to toggle compression in a WangDAT, or know the whereabouts of people related to Neuron, Inc. (originally from Princeton, NJ), please send any info... Regards, David.
From: jav@mercury.interpath.net (Joe Venturelli) Newsgroups: comp.sys.next.programmer Subject: Help with NS 3.1 Install Date: 4 Sep 1995 13:53:10 GMT Organization: Interpath -- Providing Internet access to North Carolina Message-ID: <42f0c6$me6@redstone.interpath.net> I have the NS 3.1 Intel Eval kit (yeah I know its old and its outdated) anyway I want to try and load it on a PC with IDE HD and CDROM (Compaq Presario) Of course the boot disk wants a SCSI HD and CDROM etc. Is there a way to get an updated boot floppy that looks for these type of drives? Patches to apply? Email would be appreciated.
Newsgroups: comp.sys.next.programmer From: ian.stephenson@insignia.co.uk Subject: unhighlighting a menuCell Message-ID: <DEE6Cx.KMz@isltd.insignia.com> Sender: news@isltd.insignia.com Organization: Insignia Solutions plc Date: Mon, 4 Sep 1995 17:38:57 GMT I've got a menu item which sets off a method in my program that can (potentialy) run for rather a long time. While the method is running its peeking the event queue, and will take appropriate action to handle any incoming events, so it looks to the user as if the main event loop is still running. This all works fine, except that the action sent from the main menu still hasn't returned, and hence the menuCell is still highlighted. This is very distracting for the user - particularly as its perfectly reasonable to retriger the highlighted cell (yes - this works, but don't try it at home kids!). I've tried every obvious was I can think of to switch the highlighting off, but the cell will simply not unhighlight! I've tried all variations of: [sender setState:0 at:[sender selectedRow]:[sender selectedCol]] [sender setState:1 at:[sender selectedRow]:[sender selectedCol]] (sender is a Matrix) temp=[sender selectedCell]; [temp setState:0]; [temp setState:1]; [temp setIntVal:0]; [temp setIntVal:1]; (temp is a menuCell) with various displays afterwards, and none has any affect. Has anyone had any succsess in doing this? I'm sure it must be obvious, but I've tried everything I can think of... Thanks, Ian
From: matthias@amg.de(Matthias Schuerhoff) Newsgroups: comp.sys.next.programmer Subject: Re: Main menu disappears when loading .nibs Date: 4 Sep 1995 07:26:09 GMT Organization: AMG Industrieconsulting GmbH Message-ID: <42e9mh$bm6@hagen.amg.de> References: <42a75d$nj6@columba.udac.uu.se> Sven Rieke <sr@frej.teknikum.uu.se> writes > stuff deleted > loading the nibs with [NXApp loadNibFile:"..." owner:self withNames:NO]; > ... > including the nib menus into the main menu: > [mainMenu setSubMenu:nibMenu forItem:nibMenuCell]; > ... > now trying to redisplay it: > [mainMenu update]; > [mainMenu sizeToFit]; > [mainMenu display]; > > [NXApp setMainMenu:mainMenu]; > ... Sven, try this order: [NXApp setMainMenu:mainMenu]; [mainMenu display]; Perhaps it helps, Matthias ===================================== Matthias Schuerhoff AMG Industrie Consulting GmbH Joseph-von-Fraunhofer-Str. 27 44227 Dortmund - Germany Telefon 0231 / 97 53 54 - 0 Telefax 0231 / 97 53 54 - 55 E-Mail matthias@amg.de (NeXTmail ok) =====================================
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Possibility to get sender of method everytime? Date: 04 Sep 1995 17:01:44 GMT Organization: Information Technology Solutions, Inc. Message-ID: <CHUCK.95Sep4120144@paulina.its.com> References: <424026$1hlu@columba.udac.uu.se> In-reply-to: Sven Rieke's message of 31 Aug 1995 09:40:22 GMT In article <424026$1hlu@columba.udac.uu.se> Sven Rieke <sr@frej.teknikum.uu.se> writes: > Is it possible to get the sender of a method, even if there's not an > argument like 'sender'? Not easily, no. If you wanted to go crazy about this, it is theoretically possible to unwind the stack from your current stack frame and determine what the sender of the current method is. This might even work reliably on the Intel and Motorola platforms, but this may not be possible to do reliably on the SPARC, and it's definitely not possible to do this in all cases on the HP. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: sams@best.com (Samuel G. Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: OpenPanel beeps. Date: 4 Sep 1995 11:18:26 -0700 Organization: BEST Internet (415) 964-2378 Message-ID: <sams.810238462@shell2.best.com> References: <41vmkj$ndo@gateway.wiltel.com> The bug is in the openpanel; it's not yours to fix. What is actually happening I think is that the appkit puts away the window before everybody is quite done with it and the postscript window packages attempt to deliver an event to a window that no longer exists, and beep to indicate the error. -sam
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Sun, 3 Sep 95 14:58:07 +0200 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9509031258.AA01303@flexus> Subject: Re: How to output error messages to PB? ftp://ftp.cs.orst.edu/software/NeXT/documents/KBNS.33.0.rtf KBNS.32.2.029_o3.2o Here's how to get messages in the summary view I have applied this to GNU's flex, and maybe it's in the newest release. Bison is very undisciplined in generating messages (it uses (f)printf directly), so I gave up before trying. Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
Newsgroups: comp.sys.next.programmer From: oscar@nx1.westminster.ca.us (Oscar S. Alonso Subject: Fax Message-ID: <DEEyuA.Go@nx1.westminster.ca.us> Keywords: Fax Sender: root@nx1.westminster.ca.us (Oscar S. Alonso) Organization: Oscar S. Alonso Software Engineering. Date: Tue, 5 Sep 1995 03:54:09 GMT Can anybody how to queue a Fax request under program control? Oscar.
From: smikes@universe.digex.net (Steven Mikes) Newsgroups: comp.sys.mac.advocacy,comp.sys.mac.graphics,comp.sys.mac.misc,comp.sys.next.advocacy,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.sysadmin,comp.windows.misc,comp.windows.ui-builders.uimx,comp.windows.x,comp.windows.x.apps,comp.windows.x.intrinsics,comp.windows.x.motif,comp.windows.ui-builders.teleuse,comp.soft-sys.app-builder.appware,comp.os.ms-windows.win95.setup,comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.pre-release Subject: Cross Platform Solutions Now Online Free Date: 5 Sep 1995 07:34:37 GMT Organization: Express Access Online Communications, USA Distribution: inet Message-ID: <42guid$ger@news4.digex.net> Hello! The premier issue of Cross Platform Solutions is now available at the following URL: http://landru.unx.com/DD/solutions/index.shtml Cross Platform Solutions is a magazine designed for developers and other professionals in the X11/Motif, MS Windows, OS/2, Windows NT, Windows '95, Macintosh, NeXT, and IBM mainframe legacy envrionments. The magazine has a strong technical focus and is designed for discussion of cross-platform development, administration, management and end-user topics. You must be a registered subscriber to read the magazine, but on-line subscriptions are absolutely free. There is a hotlink to the subscription form from the URL above. Everyone is invited to read the premier issue free of charge. Questions are welcome as are your opinions and feedback. If you are a cross-platform software professional who might be interested in authoring a feature story, a regular column, product review, interview or some other relevant article, please contact me after reading the premier issue. Thanks, Steven Mikes -- Steven Mikes - Editor, The X Advisor/Cross Platform Solutions OFFICE: 908.563.9033 - FAX: 908.560.8635 - EMAIL: smikes@unx.com URL: "http://landru.unx.com/" ---------------------------------------------------------------- "There can be only one!" - Highlander
From: Norbert Heger <norbert.heger@telecom.at> Newsgroups: comp.sys.next.programmer Subject: Re: How to output error messages to PB? Date: Tue, 5 Sep 1995 09:01:28 GMT Organization: TELECOM Network Provider, Austria Message-ID: <950905110128.225AAAAE.bertl@black13> References: <1995Sep1.113214.4851@prim.demon.co.uk> Mime-Version: 1.0 (BlackThunder) Content-Type: text/plain; charset=US-ASCII Originator: bertl@black13 Dave Griffiths <dave@prim.demon.co.uk> wrote: > Does anyone know how to output error messages so that they appear in the > upper window in PB (the one that lets you click on them to open the file)? Thats quite simple. Use the preprocessor directives #warning and #error, e.g. #warning This is a warning #error This is an error ____________________________________________________________________ Norbert Heger <norbert.heger@telecom.at> NeXTmail preferred, MIMEmail welcome
Newsgroups: comp.sys.next.programmer From: ian.stephenson@insignia.co.uk Subject: Re: unhighlighting a menuCell Message-ID: <DEFF3K.2Cu@isltd.insignia.com> Sender: news@isltd.insignia.com Organization: Insignia Solutions plc References: <DEE6Cx.KMz@isltd.insignia.com> Date: Tue, 5 Sep 1995 09:45:20 GMT Thanks to those who replied via email: "perform:with:afterDelay:cancelPrevious:" does the job perfrectly. Ian
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Re: unhighlighting a menuCell Message-ID: <DEFAnu.IL@hurka.UUCP> Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <DEE6Cx.KMz@isltd.insignia.com> Date: Tue, 5 Sep 1995 08:09:29 GMT Hi Ian, In article <DEE6Cx.KMz@isltd.insignia.com> ian.stephenson@insignia.co.uk writes: > I've got a menu item which sets off a method in my program that can > (potentialy) run for rather a long time. While the method is running its > peeking the event queue, and will take appropriate action to handle any > incoming events, so it looks to the user as if the main event loop is > still running. > > This all works fine, except that the action sent from the main menu > still hasn't returned, and hence the menuCell is still highlighted. This > is very distracting for the user - particularly as its perfectly > reasonable to retriger the highlighted cell (yes - this works, but don't > try it at home kids!). >I've tried every obvious was I can think of to switch the highlighting >off, but the cell will simply not unhighlight! [stuff deleted]; I don't know how to unhighlight the button cell other way that you use, but I suggest you to use different approach. I would use the perform:with:afterDelay:cancelPrevious: method to call your method working the event queue. - your_old_action_method_running_for_a_long_time:sender { ...... } - new_action_method:sender { [self perform: @selector(your_old_action_method_running_for_a_long_time:) with:sender afterDelay:0 cancelPrevious:YES]; return self; } This way the action method returns and the menu will be unhighlighted automatically. Your old method will be called from the main event loop. I hope it helps you. Best regards, --- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted) -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: etienne@venus.univ-lr.fr (Etienne Gourdon) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: problem EOFModeler with ORACLE Date: 5 Sep 1995 15:23:27 GMT Organization: Universite de La Rochelle Message-ID: <42hq1f$qk6@hpuniv.univ-lr.fr> Hi everybody, We've a small problem on EOFModeler with ORACLE. When we've same table names on different user spaces, we get "something like a merge" of all the tables with EOFModeler. I guess this is a problem with our NeXT environment database concerning the Oracle7Adaptor variable. We've defined Oracle7Adaptor like this : Oracle7Adaptor OracleTableNamesSQL "SELECT OBJECT_NAME FROM USER_OBJECTS WHERE OBJECT_TYPE = \'TABLE\' OR OBJECT_TYPE = \'VIEW\' ORDER BY 1" Could you help us ? Thanks. Example of our problem: ----------------------- $ sqlplus zob/zob SQL> describe solde Name Null? Type ------------------------------- -------- ---- EXR_EXER NOT NULL VARCHAR2(2) GES_CODE NOT NULL VARCHAR2(3) PCO_NUM NOT NULL VARCHAR2(6) SLD_SOLD NOT NULL NUMBER(12,2) SLD_DATE DATE $ sqlplus foo/foo SQL> describe solde Name Null? Type ------------------------------- -------- ---- SLD_EXER VARCHAR2(2) SLD_IMPUT VARCHAR2(6) SLD_GEST VARCHAR2(3) SLD_SOLD NUMBER(12,2) SLD_DATE DATE SLD_STAT VARCHAR2(1) But on EOFModeler (both with zob and foo user) we have the following properties : EXR_EXER GES_CODE PCO_NUM SLD_DATE SLD_EXER SLD_GEST SLD_IMPUT SLD_SOLD SLD_STAT --------------------------------------------------------------- etienne@cri.univ-lr.fr (NeXT/MIME-mail are welcome !) ---------------------------------------------------------------
From: kleemann@stud.uni-frankfurt.de (Jens Kleemann) Newsgroups: comp.sys.next.programmer Subject: Using more than 8 bps in NXImage or in NXDrawBitmap Date: 5 Sep 1995 19:58:36 GMT Organization: University Frankfurt/M Message-ID: <42ia5c$ha2@jurpool0.rz.uni-frankfurt.de> I would like to know, if anybody has experience using "strange" values for the bitsPerSample values in NXImage. NXDrawBitmap seems to accept it (unlike NXBitmapImageRep) and produces output. What about big/little-endianess when using 16 bps ?
From: jalegre@hsii.ccare.com Newsgroups: comp.sys.next.programmer Subject: Documentation Generation Date: 5 Sep 1995 22:00:31 GMT Organization: (null pointer) Message-ID: <42ih9v$q6k@news.mr.net> We are looking for a Documentation Generator that will split out definitions for multiple classes declared within the same file. We would like the output to be exactly like that generated by docgen. Currently we have used a separate program to parse the multiple definitions into separate files, one for each class, and then call docgen on the working directory. The problem is that docgen then read the path to the temporary files and lists that in the Declared In: line. We know it is possible to use -e to specify a string for Declared In: but there is now way to do this with multiple files being parsed from a temp directory. John N. Alegre Health Systems Integration, Inc. ############################################################# # NeXTMail preferred. | # jalegre@hsii.ccare.com | If you plant ice, # alegrej@andante.mn.org | you're gonna harvest wind! # jalegre@lenti.med.umn.edu | Hunter/Garcia ############################################################# -- John N. Alegre Health Systems Integration, Inc. ############################################################# # NeXTMail preferred. | # jalegre@hsii.ccare.com | If you plant ice, # alegrej@andante.mn.org | you're gonna harvest wind! # jalegre@lenti.med.umn.edu | Hunter/Garcia #############################################################
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-NY-Senior NeXT Developers - to $90k+Bonus Date: 5 Sep 1995 22:05:40 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <42ivlk$h5e@newsbf02.news.aol.com> Several of my Wall Street clients are embarking on major NeXT development projects. They are looking for developers with at least 2+years NeXT experience. You will be responsible for developing several types of trading systems, using NeXTSTEP/Sybase, some of my clients have already made a commitment to OpenStep/WinNT. Salaries are 60k to 90k + Bonus. For immediate interview, contact: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX) E-Mail - briman101@aol.com
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: Western USA - NeXT Developers - 6 Month Contract Date: 5 Sep 1995 22:06:01 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <42ivm9$h5o@newsbf02.news.aol.com> Two of my clients in the Western USA, need contract developers for NeXT projects. You must have a strong NeXT development background, coupled with an excellent work/business ethic. For more information, contact: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX) E-Mail - briman101@aol.com
From: jcassidy@proton.genesoft.com. (James Cassidy) Newsgroups: comp.sys.next.programmer Subject: NeXTTime Date: 6 Sep 1995 02:34:54 GMT Organization: HookUp Communication Corporation, Waterloo, Ontario, CANADA Message-ID: <42j1ce$5of@nic.wat.hookup.net> I haven't heard anthing recently about NeXTTime, and NeXTAnswers doesn't have any updated information. Is NeXT still planning to support it? Are they going to eventually ship an API for it? Thanks for any info. Regards, Jim.
From: dcoyle@goanna.mpi-hd.mpg.de (David A. Coyle) Newsgroups: comp.sys.next.programmer Subject: Programmatically changing tiff to gif Date: 6 Sep 1995 07:43:54 GMT Organization: University of Heidelberg, Germany Message-ID: <42jjfq$463@sun0.urz.uni-heidelberg.de> I want to create a diagram and include it in an html page on the fly. I need to somehow take my NXImage, and make a gif from it. There must be a way, perhaps using OmniImageService, but I haven't a clue how. Anyone done this? Or have suggestions?
From: Dave Griffiths <dave@prim.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: How to output error messages to PB? Date: Wed, 6 Sep 1995 09:10:18 GMT Organization: Primitive Software Ltd. Message-ID: <1995Sep6.091018.3386@prim.demon.co.uk> References: <1995Sep1.113214.4851@prim.demon.co.uk> <950905110128.225AAAAE.bertl@black13> In article <950905110128.225AAAAE.bertl@black13> Norbert Heger <norbert.heger@telecom.at> writes: >Dave Griffiths <dave@prim.demon.co.uk> wrote: > >> Does anyone know how to output error messages so that they appear in the >> upper window in PB (the one that lets you click on them to open the file)? > >Thats quite simple. Use the preprocessor directives #warning and #error, >e.g. > >#warning This is a warning >#error This is an error Hmmm... sorry if my question wasn't clear. I meant how to output messages from a compiler. I found the answer in the GNU cc sources. Look at files beginning with "make". Dave
From: leigh@antechinus.cs.uwa.oz.au (Leigh Smith) Newsgroups: comp.sys.next.programmer Subject: Upgrade to 3.3 breaks Makefile generation in ProjBuilder Date: 6 Sep 1995 09:45:11 GMT Organization: The University of Western Australia Distribution: world Message-ID: <42jqj7$9ic@styx.uwa.edu.au> Hi all, I upgraded to 3.3 recently (Intel) and have encountered a problem with an app which compiled properly under 3.2. Using MiscKit 1.5, I had added the MiscKit and MiscValueField libraries and modified the OTHER_LIBRARIES = -L/LocalDeveloper/Libraries. There are several other libraries added into Project Builder. The project consists of a sub project also. This app now compiles as before but generates a LIBRARY_PATHS = -L in the main Makefile. This causes cc to bomb out when linking reporting a -L on it's own: ld: -L: directory name missing This is directly followed by the -L/LocalDeveloper/Libraries parameter. make clean, and removing the Makefile (as it's generated by Project Builder) still causes the same problem, changing the project and resaving also repeats the problem. Anyone discovered this one before? :-( I've yet to upgrade MiscKit to 1.6.1, perhaps that's it? -- Leigh Smith NeXT/MIME/Mail: leigh@cs.uwa.edu.au Computer Science Dept University of Home NeXT/MIME: leigh@psychokiller.dialix.oz.au Western Australia Phone: +61-9-380-1945 Fax: 1089 Home: 382-3071 *--=----=----=----=----=----=---====---=----=----=----=----=----=----=--*
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Why does -availableFonts return Lexi, but Lexi not in Font panel? Date: Wed, 06 Sep 95 09:55:19 GMT Organization: Cedar Systems Message-ID: <810381319snz@cedar.demon.co.uk> I am trying to get the list of fonts that would appear in the Font Panel. If I use FontManager's -availableFonts method, it returns all the fonts that I require, but also Lexi. Lexi appears to be a pseudo-font - containing many nonprinting characters and a few symbols. I could compare the familyNames of fonts returned by availableFonts for Lexi, and exclude it that way, but that would not help if there are other such fonts on other machines. Is there some other way of getting the list of fonts that would appear in the Panel or some way to identify those fonts returned by availableFonts that are not displayed in Font Panel? Many thanks, Paul Heffernan.
From: ian_stewart@nyro.com (Ian H. Stewart) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: const C++ vs Objective-C Date: 31 Aug 1995 08:07:01 GMT Organization: InterNex ISDN Internet Access is our Business Distribution: world Message-ID: <423qj5$8gc@voyager.internex.net> Is the const in Objective-C like the const in C++? (NeXT objc) Recommended in certin cases to replace #defines in header files? Thanks Ian
From: mark@nextstep.dorm6.nctu.edu.tw (Lin Yi-chih) Newsgroups: comp.sys.next.programmer Subject: EOF Adaptor for UniSQL? Date: 6 Sep 1995 15:55:03 GMT Organization: Dep. Computer Sci. & Information Eng., Chiao Tung Univ., Taiwan, R.O.C Distribution: World Message-ID: <42kg8n$juf@news.csie.nctu.edu.tw> Is there EOF Adaptor for UniSQL? Mark
From: robbie@hermes.dciem.dnd.ca (G.Robert Arrabito) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: help: where are -lcurses & -ltermcap libs on NS 3.3 (BLACK)? Date: 6 Sep 1995 09:11:42 -0400 Organization: Defence and Civil Institute of Environmental Medicine Message-ID: <42k6me$d5s@zeus.dciem.dnd.ca> Keywords: curses, termcap A couple of months ago I upgraded my Turbo Cube to NS 3.3 from NS 3.0. Back in the 3.0 days I had a program that relied on the curses and termcap libraries. I just made a couple of changes to this program and the linker complains that it cann't find the curses and termcap libraries. I tried compiling the program without these libraries but the linker complains about a whole bunch of undefined symbols. Can anyone offer any help/suggestions. Rob Arrabito e-mail: robbie@dciem.dnd.ca phone: (416) 635-2033
From: rainer@rainix.jena.thur.de (Rainer Sokoll) Newsgroups: comp.sys.next.programmer Subject: util.c from NCSA Date: 6 Sep 1995 17:48:52 +0100 Organization: Thueringen Net, Germany Distribution: world Message-ID: <42kjdk$4q@rainix.jena.thur.de> Hi, it's probably a FAQ, but... There is a package, util.c, which comes with NCSA's httpd. Included in util.c is a function that decodes characters encoded by the web-browser. The function is: char x2c(char *what) { register char digit; digit = (what[0] >= 'A' ? ((what[0] & 0xdf) - 'A')+10 : (what[0] - '0')); digit *= 16; digit += (what[1] >= 'A' ? ((what[1] & 0xdf) - 'A')+10 : (what[1] - '0')); return(digit); } But the function returns bad digits for charakters like " and so on. It's clear that this problem comes from Next's own caracter-table. The question is: how can one solve this problem? The best were a modified function, of course. Thanks, Rainer -- +-----------------------------------------------------------------------------+ | e-mail private Rainer.Sokoll@Jena.Thur.De work rainer@con.de (NeXTMail ok) | | http://www.con.de/~rainer | +-----------------------------------------------------------------------------+
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: DevMan? Message-ID: <jpanicoDEHK9M.Dyr@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Wed, 6 Sep 1995 13:32:10 GMT Sender: jpanico@netcom.netcom.com Hi, I would like to hear opinions/war stories for DevMan. Also, where can I get a demo and who produces it? Thanks for any info. -- Joe Panico jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
Newsgroups: comp.sys.next.programmer From: indy@gryphon (Steve Weintz) Subject: Re: NeXTTime Message-ID: <967cb$bd33.23d@NT> Date: Wed, 06 Sep 1995 17:13:50 GMT Distribution: world References: <42j1ce$5of@nic.wat.hookup.net> Organization: New Media, Ltd. In article <42j1ce$5of@nic.wat.hookup.net> jcassidy@proton.genesoft.com. (James Cassidy) writes: > > I haven't heard anthing recently about NeXTTime, and NeXTAnswers > doesn't have any updated information. Is NeXT still planning to > support it? Are they going to eventually ship an API for it? > > Thanks for any info. Yes. Mike Paquette, who's *the* NEXTIME developer at NeXT (yup, there's only one!), told us at the Object World Multimedia BOF that "2.0" would ship as part of NS 4.0, and include headers, classes, some documentation, and an example app. -- | Steve Weintz * Partner, New Media,Ltd. * steve@dave-world.net | | 217.344.5303 * fax 217.344.8981 * http://www.nm-ltd.com/NMLtd/ | | P.O.Box 742 | "Bobcat, do you like hamsters or gerbils?" | | Urbana, IL USA 61801 |"Well, there's more dark meat on a hamster." |
Newsgroups: comp.sys.next.programmer From: belka@il.us.swissbank.com (Andy Belk) Subject: Re: Upgrade to 3.3 breaks Makefile generation in ProjBuilder Message-ID: <1995Sep6.162056.21594@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <42jqj7$9ic@styx.uwa.edu.au> Date: Wed, 6 Sep 1995 16:20:56 GMT Hi all, In article <42jqj7$9ic@styx.uwa.edu.au> leigh@antechinus.cs.uwa.oz.au (Leigh Smith) writes: > Hi all, > > I upgraded to 3.3 recently (Intel) and have encountered a problem with > an app which compiled properly under 3.2. > > Using MiscKit 1.5, I had added the MiscKit and MiscValueField libraries > and modified the OTHER_LIBRARIES = -L/LocalDeveloper/Libraries. > > There are several other libraries added into Project Builder. The > project consists of a sub project also. This app now compiles as > before but generates a LIBRARY_PATHS = -L in the main Makefile. > This causes cc to bomb out when linking reporting a -L on it's own: > > ld: -L: directory name missing > > This is directly followed by the -L/LocalDeveloper/Libraries parameter. I'm not yet very familiar with the NS3.3 makefiles but I think if you are setting variables in a Makefile.preamble, I suspect they should be something like: OTHER_LIBRARIES = -llibMiscKit.a LIBRARY_PATHS = -L/LocalDeveloper/Libraries Andy
Newsgroups: comp.sys.next.programmer From: belka@il.us.swissbank.com (Andy Belk) Subject: Re: util.c from NCSA Message-ID: <1995Sep6.184347.23063@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <42kjdk$4q@rainix.jena.thur.de> Date: Wed, 6 Sep 1995 18:43:47 GMT Hi Rainer, Looks to me like this is a function to convert a two digit hexadecimal string (e.g. "8F") into an 8-bit number -> so a character such as '"' would be invalid input for the function. Since it shouldn't be passed such stuff, the problem must be before this. I don't know in what context this function occurs, but might it be the result of a badly formatted web page ? Cheers, Andy Belk In comp.sys.next.programmer article <42kjdk$4q@rainix.jena.thur.de> you wrote: > Hi, > > it's probably a FAQ, but... > There is a package, util.c, which comes with NCSA's httpd. Included in > util.c is a function that decodes characters encoded by the web-browser. The > function is: > > char x2c(char *what) { > register char digit; > digit = (what[0] >= 'A' ? ((what[0] & 0xdf) - 'A')+10 : (what[0] - '0')); > digit *= 16; > digit += (what[1] >= 'A' ? ((what[1] & 0xdf) - 'A')+10 : (what[1] - '0')); > return(digit); > } > > But the function returns bad digits for charakters like " and so on. It's > clear that this problem comes from Next's own caracter-table. > The question is: how can one solve this problem? The best were a modified > function, of course. > > Thanks, > Rainer > -- > +------------------------------------------------------------------------- ----+ > | e-mail private Rainer.Sokoll@Jena.Thur.De work rainer@con.de (NeXTMail ok) | > | http://www.con.de/~rainer | > +------------------------------------------------------------------------- ----+
From: jksmyth@unity.ncsu.edu (James Kidd Smyth) Newsgroups: comp.sys.next.programmer Subject: I NEED quicker drawing. HELP Date: 6 Sep 1995 19:05:21 GMT Organization: North Carolina State University Distribution: world Message-ID: <42krdh$jdi@taco.cc.ncsu.edu> As an Inexperienced NeXTSTEP programmer i need some help with getting my Custom View to display itself quickly. I am tring to build an app which simulates the game 'Life.' Basically, I have a custom view, LifeView, which among other things holds a two-dimensional(NxN) array of boolean values. I display the view so that each array element represents a square of one of two colors and fill out the view with these squares (NxN). currently I do these by having the LifeView's drawSelf:: method invoke a pswraps function(which draws a single square, in the appropriate place) for each elememt of the array. Well... this doesn't work very quickly. The actual code of calling the pswraps function NxN times is executed, of course, rather speedily, but the displaying of the LifeView is NOT, esp. as N gets large. I know that this has something to do with the DPostScript interpreter, but even if I only draw one square out of the NxN squares/array elements, it takes just as long. I've tried working with multiple threads, but i'm not really doing anything else simultaneously, so fundamentally, i don't see any advantage there... Anyway, if anyone has a vague idea of what i'm tring to explain and/or any suggestions....thanks. jksmyth@eos.ncsu.edu
Newsgroups: comp.sys.next.programmer From: frederic@hp-712-60 (Frederic GALOT) Subject: drawself: inView: Message-ID: <1995Sep6.110540.12613@xlan.fdn.org> Sender: news@xlan.fdn.org Organization: X&LAN - Bordeaux, France. Date: Wed, 6 Sep 1995 11:05:40 GMT hello. I'm looking for a way of drawing an object in an off-screen window's content view. I've tried the compositing way but there is a major problem when the object isn't totally visible at start. It remains the same while using a gState. I'll be glad if you could help me. Fred. ---------------------------------------\ Fred Galot \ galot@xlan.fdn.org "only a surfer knows the feeling" ___________________/\___________/\______________
From: dkoski@sun28.cs.wisc.edu (David Koski) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: killing apps with a mouse click Date: 7 Sep 1995 01:53:21 GMT Organization: U of Wisconsin CS Dept Message-ID: <42ljah$svf@spool.cs.wisc.edu> Does anyone want to be able to kill apps with a mouse click (ie without activating them)? Here it is! I should warn you that this will just kill the app -- it will not give you a chance to save files, nor will it bring up a nice panel asking if you really meant to do that. To use it, simple hold down alternate and right click on any window owned by the application or its icon on the dock. This will not kill some apps like Terminal because they run as root. In order to install it, you will have to edit /usr/lib/NextStep/windowpackage.ps. Make sure that you make a backup of this file before editing it! It is owned by root, so not just anyone can do this. Below are the lines that should be inserted (somewhere around line 1319 on 3.3 systems). You end up replacing rmdownEvProc, the procedure that gets executed when a normal window receives a right mouse down. The commented out procedure at the bottom shows what the original looks like. Disclaimer: you should not attempt this if you do not know what you are doing. You may be unable to log in (you will have to boot single user to restore the windowpackage.ps) if you mess it up. You can kill apps that you did not mean to kill. I cannot be responsible for what happens! David Koski dkoski@cs.wisc.edu % about line 1319 % XXX /rmdownEvProc { % windowpackage.ps hack to allow you to kill an app by alt-right clicking % on it. % David Koski % dkoski@cs.wisc.edu % if they are holding down alt, kill it! 4 index //Alternatemask and 0 ne { 3 index currentowner % get the context //CDPid /currentContextData winexec % get its PID dup 0 ne { 9 unixsignal % and kill its other owner for good measure (in case % workspace owns the window) 3 index currentwindowdict dup null eq { % oops, forget it pop } { % got the context, go nuts /otherOwner get //CDPid /currentContextData winexec % get its PID dup 0 ne { 9 unixsignal } { pop } ifelse } ifelse } { pop } ifelse 9 { pop } repeat % get rid of all the event % data } { % else turn it into a menu event 3 index currenteventmask /_NXOldMask 1 index //pkput exec //MenuEvent or 4 index seteventmask true //_postRightEvent exec } ifelse } _NXDefProc % /rmdownEvProc { % 3 index currenteventmask % /_NXOldMask 1 index //pkput exec % //MenuEvent or 4 index seteventmask % true //_postRightEvent exec % } _NXDefProc
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: the keyboard state - really nothing? Date: 6 Sep 1995 22:11:41 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199509070306.FAA00248@ns.ms.mff.cuni.cz> Hi all of you, sorry for my repeating this request: really there is no way to get the _current keyboard state_ (at least the state of the modifier keys)? Something like the PSbuttondown() function, but for the keyboard and not the mouse... The events are good for nothing - the NX_FLAGSCHANGEDMASK event is sent only to the active application :( (BTW - and this is IMHO really a bug - if you deactivate an application with the NX_FLAGSCHANGEDMASK bit in the event mask, then change the modifiers state and then activate the application, it is *NOT* sent the event!) -- Ondra Cada ocs@earn.cvut.cz NeXTmail and MIME OK
Newsgroups: comp.sys.next.programmer From: yzhao@netcom.com (Yi Zhao) Subject: Weird gdb under Dev3.3? Message-ID: <yzhaoDEIqL9.Lnz@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Thu, 7 Sep 1995 04:46:21 GMT Sender: yzhao@netcom20.netcom.com Hi, Today, I installed NS User 3.3, Dev. 3.3, and EOF 1.1 into a machine but I cannot use the GUI for gdb anymore. Everytime when I tried to look at the gdb window for the frames, I had the innermost frame at the top of the frame column of the browser, which, under Dev. 3.2, should be at the bottom. I actually like to have it on top, but the trouble is that when I try to access the source file, it is still the other way around and some frames in the second column (for self, cmd, argument, etc), too. Did I miss something here or should I set some preference to get it right? The release notes for 3.3 did not say anything about gdb and Edit. Thanks.
From: polzerj@biw-ag.de (Martin Polzer) Newsgroups: comp.sys.next.misc,comp.sys.next.software,de.comp.sys.next,comp.sys.next.programmer Subject: [someDatasource fetchObjects] fetch in progress? Date: 7 Sep 1995 06:12:12 GMT Organization: BIW Systemhaus Message-ID: <42m2fs$s1p@next01.biw-ag.de> Keywords: EOF, fetch, DataSource Hi, I've got a problem with the "fetchObjects" method. Here's my code: - (void)didFetch { NSMutableDictionary *aKey; EOQualifier *qualifier; NSArray *objects; [super didFetch]; if([[self lieferadresse1]length]){ myDS = [[EODatabaseDataSource alloc] initWithModelName:@"osos" entityName:@"adr"]; aKey = [[[NSMutableDictionary alloc] initWithCapacity:10]autorelease]; [aKey setObject:[self lieferadresse1] forKey:@"adressnr"]; qualifier = [EOQualifier qualifierForPrimaryKey:(NSDictionary *)aKey entity:[myDS entity]]; [myDS setQualifier:qualifier]; objects = [myDS fetchObjects]; lieferadresse1Object = [objects objectAtIndex:0]; } } This Method is envoked inside an EnterpriseObject which itself has just been fetched. The "aKey" Dictionary is filled correctly. At the line objects = [myDS fetchObjects]; a Panel pops up saying "you tried to evaluate an expression while a fetch was in progress". I'm using the Informix5 Adaptor. Any ideas? desperating, Martin
From: dcoyle@goanna.mpi-hd.mpg.de (David A. Coyle) Newsgroups: comp.sys.next.programmer Subject: Re: I NEED quicker drawing. HELP Date: 7 Sep 1995 07:43:15 GMT Organization: University of Heidelberg, Germany Distribution: world Message-ID: <42m7qj$oau@sun0.urz.uni-heidelberg.de> References: <42krdh$jdi@taco.cc.ncsu.edu> In article <42krdh$jdi@taco.cc.ncsu.edu> jksmyth@unity.ncsu.edu (James Kidd Smyth) writes: > > As an Inexperienced NeXTSTEP programmer i need some help with > getting my Custom View to display itself quickly. I am tring to > build an app which simulates the game 'Life.' Basically, I have > a custom view, LifeView, which among other things holds a > two-dimensional(NxN) array of boolean values. I display the view > so that each array element represents a square of one of two colors > and fill out the view with these squares (NxN). currently I do > these by having the LifeView's drawSelf:: method invoke a pswraps > function(which draws a single square, in the appropriate place) > for each elememt of the array. Well... this doesn't work very > quickly. The actual code of calling the [snip] James: You _must_ get the Adobe purple book. There's a function specifically for displaying arrays of rectangles. I can't recall the exact usage, as I don't have the book in front of me, but that'll be what you want. Essentially, you'll have all rectangles with the same attributes (color) in separate arrays, then display them using this function. I just looked, there are NX functions to do the same: NXRectFillList() fills a list of count rectangles with the current color. Both work through the rectfill operator. NXRectFillListWithGrays() takes a list of count rectangles and a matching list of count gray values. The first rectangle is filled with the first gray, the second rectangle with the second gray, and so on. There must be an equal number of rectangles and gray values. The rectangles should not overlap; the order in which they'll be filled can't be guaranteed. This function alters the current color of the current graphics state, setting it unpredictably to one of the values passed in grays. Hope this helps, Dave
From: leigh@antechinus.cs.uwa.oz.au (Leigh Smith) Newsgroups: comp.sys.next.programmer Subject: Re: Upgrade to 3.3 breaks Makefile generation in ProjBuilder Date: 7 Sep 1995 09:35:35 GMT Organization: The University of Western Australia Distribution: world Message-ID: <42med7$t2t@styx.uwa.edu.au> References: <42jqj7$9ic@styx.uwa.edu.au> In article <42jqj7$9ic@styx.uwa.edu.au> leigh@antechinus.cs.uwa.oz.au (Leigh Smith) writes: A correction to my previous post: > OTHER_LIBRARIES = -L/LocalDeveloper/Libraries. Should have been OTHER_LDFLAGS (that's what I get for finding bugs at home and sending news from Uni), as per the MiscKit docs. Still doesn't help me though :-(. Thanks -- Leigh Smith MIME/NeXT/Mail: leigh@cs.uwa.edu.au Computer Science Dept University of Home NeXT/MIME: leigh@psychokiller.dialix.oz.au Western Australia Phone: +61-9-380-1945 Fax: 1089 Home: 382-3071 *--=----=----=----=----=----=---====---=----=----=----=----=----=----=--*
From: Lewis James <ljam@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP Spellchecker Date: Thu, 07 Sep 95 09:48:20 GMT Organization: Cedar Systems Message-ID: <810467300snz@cedar.demon.co.uk> The NEXTSTEP supplied spellchecker (as used with edit) gives some strange guesses for English words. e.g. when encountering 'wordcount' it suggests 'wosdcount'; when encountering 'spellchecker' it suggests 'spellchecnker'. Is it possible that I have some localisation problems with my installation? Does anyone have any idea if this is my problem or is it just a poor spell checking routine? If it is the routine, are there any alternatives available, or any work- arounds. Thanks, -- Lewis James. ----------------------------------------------- Cedar Systems email: ljam@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
From: suckow@ bln.sel.alcatel.de (Ralf Suckow) Newsgroups: comp.sys.next.programmer Subject: Re: I NEED quicker drawing. HELP Date: 7 Sep 1995 12:38:46 GMT Organization: Alcatel/Bell Distribution: world Message-ID: <42mp4m$qcr@btmpjg.god.bel.alcatel.be> References: <42m7qj$oau@sun0.urz.uni-heidelberg.de> David A. Coyle writes > In article <42krdh$jdi@taco.cc.ncsu.edu> jksmyth@unity.ncsu.edu (James > Kidd Smyth) writes: > > > > As an Inexperienced NeXTSTEP programmer i need some help with > > getting my Custom View to display itself quickly. [munch] > > NXRectFillList() [munch] > NXRectFillListWithGrays() [munch] Also you may try [NXImage composite...]. Check the window depth. 24bit composition on a 8 bit screen wastes time. In general, Concepts/Performance/C_ImprovingDrawingPerformance.rtf is the right docu. Ralf -- Ralf Suckow |------------------------ suckow@bln.sel.alcatel.de | All opinions are mine.
Newsgroups: comp.sys.next.programmer From: olaf@megatel.de (Olaf Seifert) Subject: HELP !! I need a CASE-Tool for NeXT Message-ID: <1995Sep6.121008.2915@megatel.de> Sender: news@megatel.de Organization: megatel GmbH, Bremen, Germany Date: Wed, 6 Sep 95 12:10:08 GMT I need a CASE-Tool for my Black NeXT-system. Who knows one? It should be free ware or low cost software, because I'm astudent.
From: frank@spock.physik.uni-konstanz.de (Frank Burgbacher) Newsgroups: comp.sys.next.programmer Subject: Unix System Calls on NS 3.2 Date: 7 Sep 1995 13:57:14 GMT Organization: I DID NOT CONFIGURE MY ORGANIZATION IN MY NEWSREADER Distribution: world Message-ID: <42mtnq$e7i@eurybia.rz.uni-konstanz.de> Hello, A friend of mine has encountered the following problem, when he tried to access the unix system call "chdir" on his NS 3.2 machine. Consider the following short program: int main() { char *name; name = "/somePath"; chdir(name); return(0); } The main point is the call to "chdir". The right declaration reads int chdir(const char *path); It is possible to compile the program without declaration, and as expected you get the warning "implicit declaration of chdir", but it works. Because we are not satisfied with this, we tried to find the right header file to include. The two candidates we found were "libc.h" and "unistd.h". Wether on of the two possibilities works or not depends on 1. the compiler we use cc (which is gcc 2.2.2 in NS 3.2) gcc 2.6.3 2. wether we name the program test.c (which means it is a C program) test.cc (which means it is a C++ program) 3. and it depends on preprocessor flags we set -posix -ansi -traditional no flag So we looked closer at the files and we found, that there are actually two versions of "libc.h" and "unistd.h". The second versions seem to be created when "gcc" was compiled and should be "fixed". They reside in "/usr/local/lib/gcc-lib/i386-next-nextstep3/2.6.3/include" Because for "gcc" this path occurs in front of the usual system search path for header files and so "gcc" finds this versions, but "cc" doesn't know anything about them. The question is now, which is the right header file to include at the top of the above program? What are the right flags to use? Are there general guidelines? This is a rather lengthy post, but we have found out a lot about the problem and cannot not solve it. Thank you in advance Frank
From: 102513.2672@compuserv.com (KENDA Systems, Inc - VA Office) Newsgroups: misc.jobs.contracts,misc.jobs.offered,misc.jobs.misc,comp.sys.next.programmer,comp.sys.next.misc,comp.os.mach Subject: NeXT Development Positions Date: Thu, 07 Sep 1995 15:44:23 GMT Organization: CompuServe Incorporated Message-ID: <42mlsc$sd8@dub-news-svc-3.compuserve.com> KENDA Systems, Inc. KENDA Systems is a global company specializing in providing quality Information Technology resources to our clients worldwide. Originally established in New England, KENDA's operations has expended along the East Coast with business centers in Boston, New York City and Washington, DC. Since 1989, the Company opened the London office and acquired a major international competitor entrenching KENDA's international presence. ___________________________________________________________ We are currently seeking Programmer, Developers and Designers with the following skills: Operating Systems: NeXTStep, Mach Languages: Objective C Software Packages: Oracle Rate: Negotiable Length: Long Term Additional Skills: Object Oriented Programming We have a variety of positions which involve the development of systems all of which are based on NeXT Step. The skills listed above are all desired but not required, so any mix of these skills would be of interest. All positions require mid to senior level skill level; at least two years work experience. ___________________________________________________________ Please Respond to: Brian T. Crowley KENDA Systems, Inc. 1945 Old Gallows Road, Suite 308 Vienna, VA 22182 Telephone: 703.790.0500 Facsimile: 703.790.0234 Internet: brianc@kenda.com
Newsgroups: comp.sys.next.programmer From: david.ferrero@zion.com Subject: EOF Sybase Money object? Message-ID: <DEJLw8.5y7@zion.com> Keywords: Sybase Money EOF Sender: usenet@zion.com Organization: Zion Software & Consulting Date: Thu, 7 Sep 1995 16:02:31 GMT Anyone have a Sybase Money object for EOF or a work around. The on-line release notes state that the float or double representation of Sybase and/or Oracle money fields will introduce errors in the decimal part of the value. ie: If my income was $4000.00 I don't want $3999.9999999 stored in the DB. Thanks, David Ferrero david.ferrero@zion.com
From: pisul_cj@cowley.uwlax.edu (Charles Pisula S92) Newsgroups: comp.sys.next.programmer Subject: Re: I NEED quicker drawing. HELP Date: 7 Sep 1995 17:16:55 GMT Organization: University of Wisconsin - La Crosse Distribution: world Message-ID: <42n9e7$b26@alfred.acs.uwlax.edu> References: <42krdh$jdi@taco.cc.ncsu.edu> In article <42krdh$jdi@taco.cc.ncsu.edu> jksmyth@unity.ncsu.edu (James Kidd Smyth) writes: > > As an Inexperienced NeXTSTEP programmer i need some help with getting my > Custom View to display itself quickly. I am tring to build an app which > simulates the game 'Life.' Basically, I have a custom view, LifeView, which > among other things holds a two-dimensional(NxN) array of boolean values. I display > the view so that each array element represents a square of one of two colors > and fill out the view with these squares (NxN). currently I do these by having > the LifeView's drawSelf:: method invoke a pswraps function(which draws a > single square, in the appropriate place) for each elememt of the array. > Well... this doesn't work very quickly. The actual code of calling the > pswraps function NxN times is executed, of course, rather speedily, but the > displaying of the LifeView is NOT, esp. as N gets large. I know that this has something to do > with the DPostScript interpreter, but even if I only draw one square out of the > NxN squares/array elements, it takes just as long. I've tried working with > multiple threads, but i'm not really doing anything else simultaneously, so > fundamentally, i don't see any advantage there... Anyway, if anyone has a vague > idea of what i'm tring to explain and/or any suggestions....thanks. > > > jksmyth@eos.ncsu.edu To reduce the performance penalty of the actual rectangle drawing, I would use an NXImage that was the size of a single pixel and appropriate color. You can then lock focus on your view and compostite it to each point that is currently populated. Another performance penalty that you may be paying comes from rapid calls to the main views display, or atleast the lockFocus. You would like to have this lockFocus be done once of course, and as fast as possible. Try using gstates (I've think this help, althought I know nothing of how to use them), and instance drawing (although it may cause you too much flicker). Finally, I would keep track of 2 extra bitmaps. One for squares that need to be turned off, and one for squares that need to be turned on. This way you don't draw every pixel every time. If 2 extra bitmaps takes up too much space, use them as true bitmaps and have fun with bit - twidling! Cheers, -- Chuck ------------------------------------------------- Steve Jobs quote From UnixWorld, April 1993 "If we give people an alternative to Microsoft... it will have been a greater good." ------------------------------------------------- ***
From: pisul_cj@cowley.uwlax.edu (Charles Pisula S92) Newsgroups: comp.sys.next.programmer Subject: Re: Weird gdb under Dev3.3? Date: 7 Sep 1995 17:22:16 GMT Organization: University of Wisconsin - La Crosse Message-ID: <42n9o8$b3m@alfred.acs.uwlax.edu> References: <yzhaoDEIqL9.Lnz@netcom.com> In article <yzhaoDEIqL9.Lnz@netcom.com> yzhao@netcom.com (Yi Zhao) writes: > Hi, > > Today, I installed NS User 3.3, Dev. 3.3, and EOF 1.1 into a machine but > I cannot use the GUI for gdb anymore. Everytime when I tried to look at the > gdb window for the frames, I had the innermost frame at the top of the > frame column of the browser, which, under Dev. 3.2, should be at the bottom. > I actually like to have it on top, but the trouble is that when I try to > access the source file, it is still the other way around and some frames in > the second column (for self, cmd, argument, etc), too. Did I miss something > here or should I set some preference to get it right? The release notes for 3.3 > did not say anything about gdb and Edit. > > Thanks. I have also experience the reverse stack-frame problem. I was told by someone that it is possible to grab some pieces of gdb from 3.2, put it in place of some of the 3.3 stuff, recompile and go. Only problem is, I don't know what piece that is? Any one who knows the answer, please let us know. Thanks --Chuck ------------------------------------------------- Steve Jobs quote From UnixWorld, April 1993 "If we give people an alternative to Microsoft... it will have been a greater good." ------------------------------------------------- ***
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <bbum@smile.apdg.com> Message-ID: <9509071527.AA07681@smile.apdg.com> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Bill Bumgarner <bbum@smile.apdg.com> Date: Thu, 7 Sep 95 10:27:45 -0500 Subject: DevMan - Stories from the field DevMan is an awesome package! Get it, use it, be happy! I find that the user interface leaves a little bit to be desired, but the command line tools are extremely intuitive, provide all of the power of the UI (plus a lot more), and are a joy to use. As well, once you grok the zen of map files, managing complex projects that contain many subprojects is a breeze! BTW: I have written a set of html tutorials of how to: - set up your environment for effective use of the command line - how to create repositories/work areas from the command line - how to create/install/use map files - how to automatically create change logs in your code - how to automatically stamp binaries with version #s for ALL classes If there is enough interest, it might motivate me to actually publish the information for general consumption. b.bum
From: andrew.abernathy@mccaw.com (Andrew Abernathy) Newsgroups: comp.sys.next.programmer Subject: Re: NeXTTime Date: 7 Sep 1995 16:59:52 GMT Organization: McCaw Cellular Communications, Inc. Distribution: world Message-ID: <42n8e8$m2r@nwestmail.nwest.mccaw.com> References: <967cb$bd33.23d@NT> In article <967cb$bd33.23d@NT> indy@gryphon (Steve Weintz) writes: > In article <42j1ce$5of@nic.wat.hookup.net> jcassidy@proton.genesoft.com. > (James Cassidy) writes: > > > > I haven't heard anthing recently about NeXTTime, and NeXTAnswers > > doesn't have any updated information. Is NeXT still planning to > > support it? Are they going to eventually ship an API for it? > > > > Thanks for any info. > > Yes. Mike Paquette, who's *the* NEXTIME developer at NeXT (yup, there's > only one!), told us at the Object World Multimedia BOF that "2.0" would > ship as part of NS 4.0, and include headers, classes, some documentation, > and an example app. Excellent!! I'm definitely looking forward to this! Should help interpersonal-computing GmbH, who do some NeXTstep video stuff. (I haven't played with most of it, but I do own VDOconverter from them - it's not perfect, but it is VERY nice. Highly recommended if you care about this sort of app.) -- andrew.abernathy@mccaw.com (Seattle area) 14335 Northeast 24th Street, Bldg B Bellevue, WA 98007 (NeXTmail / MIME / MS Mail spoken here) I don't speak for McCaw. I can barely speak for myself.
From: Technical Options <toi@mcs.com.> Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Chicago: OBJ C Developers wanted Date: Thu, 07 Sep 95 14:53:01 PDT Organization: MCSNet Internet Services Message-ID: <NEWTNews.15642.810510896.Postmaster@toi.mcs.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Multiple positions: S/W Engineers to S/R S/W Engineers Salary commenurate with experience, 40-90K Plus bonus. Desired Skills: Nextstep, Objective C, Sybase, Interface Builder & Next development tools The candidate should have 2-5 years plus experience. Eligible candidate should have the following skills: 1) Ability to handle multiple projects simultaneously 2) Ability to work under pressure in time critical situations 3) Problem solving and analytical capabilities Knowledge of one of the following: - Financial Derivatives Business - Currency Options Pricing - Risk Management - Interest Rate Derivatives Contact Mike Hartnett for more information; Technical Options, Inc P-708.357.9400 F-708.357.9400
Newsgroups: comp.sys.next.programmer From: sowa@netcom.com (Erik Sowa) Subject: Re: DevMan - Stories from the field In-Reply-To: Bill Bumgarner's message of Thu, 7 Sep 95 10:27:45 -0500 Message-ID: <SOWA.95Sep7135409@netcom23.netcom.com> Sender: sowa@netcom23.netcom.com Organization: Wahoo 5 References: <9509071527.AA07681@smile.apdg.com> Date: Thu, 7 Sep 1995 20:54:09 GMT The only thing I'll add to bbum's recommendation is this: ProjectBuilder builds apps fine, but it does not scale to large systems. With DevMan's configuration maps, you can build large, multi-app systems reproducibly and reliably. -- Erik Sowa (sowa@netcom.com)
From: steve@xray.rice.edu (Steve Ludtke) Newsgroups: comp.sys.next.programmer Subject: Re: I NEED quicker drawing. HELP Date: 7 Sep 1995 21:42:39 GMT Organization: Rice University, Houston, Texas Distribution: world Message-ID: <42np0f$afe@larry.rice.edu> References: <42krdh$jdi@taco.cc.ncsu.edu> I would suggest using a NXBitmapImageRep directly. Allocate it and initialize it to the dimensions of your data. Then use [... data] to get a pointer the the data array. Then all you have to do is modify the bits. If you use 8 bit greyscale, it will still be fast, and you'll have 1 byte per box. Then use [... drawIn:] to display it. This should be quite fast and easy! ------------------------------------------------------------------------- Steve Ludtke | Physics Dept., Rice Univ. steve@ion.rice.edu | stevel@alumni.caltech.edu | * Those who do ARE * 72335,1537 @ compuserve | The converse also holds
From: Paul Lynch <Paul_Lynch@plsys.com> Newsgroups: comp.sys.next.programmer Subject: Re: Weird gdb under Dev3.3? Date: Thu, 7 Sep 1995 22:05:20 GMT Organization: P & L Systems Sender: news@seer.demon.co.uk Message-ID: <1995Sep7.220520.17493@seer.demon.co.uk> References: <yzhaoDEIqL9.Lnz@netcom.com> In article <yzhaoDEIqL9.Lnz@netcom.com> yzhao@netcom.com (Yi Zhao) writes: > Today, I installed NS User 3.3, Dev. 3.3, and EOF 1.1 into a machine but > I cannot use the GUI for gdb anymore. Everytime when I tried to look at the > gdb window for the frames, I had the innermost frame at the top of the > frame column of the browser, which, under Dev. 3.2, should be at the bottom. > I actually like to have it on top, but the trouble is that when I try to > access the source file, it is still the other way around and some frames in > the second column (for self, cmd, argument, etc), too. Did I miss something > here or should I set some preference to get it right? The release notes for 3.3 > did not say anything about gdb and Edit. It's a bug. The limited circulation 3.3Patch CD fixes this bug, amongst one or two others. Paul -- Paul Lynch (NeXTmail) http://www.plsys.co.uk/~paul (under construction)
Newsgroups: comp.sys.next.programmer From: pjoe@charon.muc.de (Peter Eybert) Subject: Re: Upgrade to 3.3 breaks Makefile generation in ProjBuilder Message-ID: <1995Sep7.225556.2602@charon.muc.de> Sender: pjoe@charon.muc.de (Peter Joe Eybert) Organization: None References: <1995Sep6.162056.21594@il.us.swissbank.com> Date: Thu, 7 Sep 1995 22:55:56 GMT Andy Belk writes > Hi all, > > In article <42jqj7$9ic@styx.uwa.edu.au> leigh@antechinus.cs.uwa.oz.au > (Leigh Smith) writes: > > Hi all, > > > > I upgraded to 3.3 recently (Intel) and have encountered a problem with > > an app which compiled properly under 3.2. > > > > Using MiscKit 1.5, I had added the MiscKit and MiscValueField libraries > > and modified the OTHER_LIBRARIES = -L/LocalDeveloper/Libraries. > > > > There are several other libraries added into Project Builder. The > > project consists of a sub project also. This app now compiles as > > before but generates a LIBRARY_PATHS = -L in the main Makefile. > > This causes cc to bomb out when linking reporting a -L on it's own: > > > > ld: -L: directory name missing > > > > This is directly followed by the -L/LocalDeveloper/Libraries parameter. > > I'm not yet very familiar with the NS3.3 makefiles but I think if you are > setting variables in a Makefile.preamble, I suspect they should be > something like: > > OTHER_LIBRARIES = -llibMiscKit.a This should be OTHER_LIBS = -lMiscKit > LIBRARY_PATHS = -L/LocalDeveloper/Libraries > > Andy In ProjectBuilder go to Builder and then klick the "Options..." button. Then in the scroll view above the three buttons make sure that there is _no_ blank line. If a line highlights, then there's a blank line and this generates the "LIBRARY_PATHS = -L" with no arguments in the Makefile which causes cc to bomb. I do think that this is a bug because if there's nothing to see in this view then PB shouldn't generate this "LIBRARY_PATHS" line. Cheers, Peter -- pjoe@charon.muc.de (NeXTMail welcome) --
From: Paul Thomas Von Hippel <pvh@amy30.Stanford.EDU> Newsgroups: comp.unix.programmer,comp.sys.next.programmer,su.computers.next,su.computers.unix Subject: Seeking TUTORIAL on C compilation Date: Thu, 7 Sep 1995 16:48:21 -0700 Organization: Stanford University Message-ID: <Pine.OSF.3.91.950907164158.23631E-100000@amy30.Stanford.EDU> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII After programming for a while under ThinkC for Mac, I'm starting work now under Unix (running on the NeXT). Two questions: (1) Can anyone recommend a book or on-line document that would walk me through the steps of turning C source code into a running program? The manpages on make, ld and cc miss the big picture. (2) Do I really have to learn these line commands? Isn't there something more congenial for the NeXT? (I know about Objective-C and the Project Builder, but that's really overkill for the little utility I've written.) Please reply to pvh@leland.stanford.edu. Thanks in advance for your help. Best, Paul
From: Ali_Ozer@NeXT.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: I NEED quicker drawing. HELP Date: 8 Sep 1995 00:40:44 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <42o3ec$ama@news.next.com> References: <42krdh$jdi@taco.cc.ncsu.edu> In article <42krdh$jdi@taco.cc.ncsu.edu> James Kidd Smyth writes: > As an Inexperienced NeXTSTEP programmer i need some help with getting my > Custom View to display itself quickly. I am tring to build an app which > simulates the game 'Life.' Assuming you are drawing the whole LifeView every iteration, an interesting technique could be to use a NXBitmapImageRep in which you twiddle pixels on and off, then use drawInRect: to draw it magnified. This should be fairly fast if your magnification factor is an even integer (which is probably what you want anyway). For instance, displaying a 160 x 160 12-bit color life game in a 640 x 640 color view takes about 150ms on a pentium 60. If you choose not to scale, then the same operation (160x160) takes about 17ms and 640x640 takes about 200ms. Not too bad. Note that although it might be nice to use a 1-bit deep NXBitmapImageRep, that won't necessarily give you the best performance. You will get the best performance when the depth of the bitmap matches that of the window. (You can assure this by asking the window what it's depthLimit is, or if you don't need color at all, you can just go ahead and always use a 2-bit grayscale bitmap...) Twiddling pixels on and off requires using methods in NXBitmapImageRep to find the right byte number in its bitmap array and then or'ing your pixel in. If you've dealt with bitmaps before this should be fairly straightforward. One decision you have to make it whether to simulate the game in your array of BOOLs and then recreate the contents of the whole bitmap, or simulate the game in the NXBitmapImageRep... There are several other approaches (userpaths, actually creating a font, compositing), some of which are detailed in the "purple book" from Adobe: "Programming the Display PostScript System with NeXTstep". If you have one handy you might want to browse through it... I don't know how fast the approach of using an NXBitmapImageRep is compared to the various other solutions, but it might be fun finding out. Ali, Ali_Ozer@NeXT.com
From: sams@best.com (Samuel G. Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: I NEED quicker drawing. HELP Date: 7 Sep 1995 22:30:44 -0700 Organization: BEST Internet (415) 964-2378 Message-ID: <sams.810537680@shell1.best.com> References: <42krdh$jdi@taco.cc.ncsu.edu> <42o3ec$ama@news.next.com> For an example of a pretty fast implementation of Life, you might check out the SparseLife BackSpace screen saver. You can use archie to find out the ftp site (its probably on oregon and peanuts) I wrote a moderately speedy version that used NXRectFillList to output a bunch of rectangles quickly. Someone (I forgot who, sorry!) modified it to use a sparse algorithm so it doesn't have to compute or flush unchanging areas. Very smart and fast! The implementation is neat too because cells change color as they age. The filename is SparseLifeView. cheers, -sam
Newsgroups: comp.sys.next.programmer From: yzhao@netcom.com (Yi Zhao) Subject: Re: Weird gdb under Dev3.3? Message-ID: <yzhaoDEKo9K.2LA@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <yzhaoDEIqL9.Lnz@netcom.com> <42n9o8$b3m@alfred.acs.uwlax.edu> Date: Fri, 8 Sep 1995 05:51:19 GMT Sender: yzhao@netcom19.netcom.com Charles Pisula S92 (pisul_cj@cowley.uwlax.edu) wrote: : I have also experience the reverse stack-frame problem. I was told by someone that it is possible : to grab some pieces of gdb from 3.2, put it in place of some of the 3.3 stuff, recompile and go. : Only problem is, I don't know what piece that is? Any one who knows the answer, please let us : know. I played it a little more. I copyed /usr/bin/gdb and /usr/lib/GdbClient (bundle) from 3.2, it seems to work fine. Yi
Newsgroups: comp.sys.next.programmer Subject: [Help Need] Who has a simple Terminal Emulator for NeXTSTEP? Message-ID: <1995Sep8.103020.45375@yogi.urz.unibas.ch> From: fang@violett.ifi.unibas.ch (Niandong Fang) Date: 8 Sep 95 10:30:20 MET Hi, netter, I want to implement a primitive terminal emulator on NeXTSTEP. There is an examples called "Subprocess" by Charles L. Oei pty support by Joe Freeman Subprocess Example, Release 2.0 NeXT Computer, Inc. (It is normally installed under the directory: /NextDeveloper/Examples/UNIX/Subprocess, Further descrition can be found in read.rtf) The Subprocess object facilitates the management of concurrent, asynchronous UNIX processes within a NeXTstep application. Methods are provided for the creation, termination and communication with the underlying UNIX process. I compile this example without changing and start MyShell, as they call it. It seems working but a main flaw is : - If I work on the local machine (the machine where I start MyShell), everything is OK, but if I login on another machine, the echo comes twice. - How can I do if I want to make the the password invisible in my terminal emulator? If any one has the similar problem, please send me your sugguestion. If you have already implement that, it would be very kind of you to send me the code. What I need is a primitive terminal emulator. Thanks in advance for your help. Niandong --- ******************************************************************** Niandong Fang * Tel. + 41 61 321 99 67 Institut fuer Informatik * Fax + 41 61 321 99 15 Universitaet Basel * Mittlere Strasse 142 * email: fang@ifi.unibas.ch CH-4056 Basel * (NeXT mail accepted) Switzerland * ********************************************************************
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP/Developers/DC Area Date: 8 Sep 1995 11:20:32 GMT Organization: Norden 1 Communications Message-ID: <42p8u0$mf5@tofu.alt.net> Programmer/analyst/developer NEXTSTEP Objective C A plus---Sybase A plus---DB Kit or EOF Contract---Long long term DC Area To be considered---Fax resume or mail a hard cop0y. -- ehutch@norden1.com (419) 893-6367 [fax] The Omni Group (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP/System Admin/Career pos Date: 8 Sep 1995 11:26:18 GMT Organization: Norden 1 Communications Message-ID: <42p98q$mf5@tofu.alt.net> System Administration NEXTSTEP Career Position Exceptional opportunity Outstanding benefits Relocation assistance Greater Chicago area To be considered---Fax resume or mail a hard copy. -- ehutch@norden1.com (419) 893-6367 [fax] The Omni Group (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: Hartmut Benz <Hartmut.Benz@informatik.uni-stuttgart.de> Newsgroups: comp.sys.next.programmer Subject: Re: Weird gdb under Dev3.3? Date: 8 Sep 1995 12:51:01 GMT Organization: Universit"at Stuttgart / IPVR Message-ID: <42pe7l$lu3@zdi.informatik.uni-stuttgart.de> References: <yzhaoDEIqL9.Lnz@netcom.com> <1995Sep7.220520.17493@seer.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! > The limited circulation 3.3Patch CD fixes this bug, amongst one or two > others. Where can I get it? I find this bug quite annoying. Of course, you can always use the Up/Down arrow buttons in the gdb control window. They work all right! -- ---------------------------------------------------------------------------- | Hartmut Benz | Universitaet Stuttgart / IPVR | | Phone: +49 (711) 7816 - 237 | Breitwiesenstr. 20-22 | | Fax: +49 (711) 7816 - 424 | D-70565 Stuttgart | | Email: benzht@informatik.uni-stuttgart.de | | ----------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: fred@improve.fdn.org (Frederic STARK) Subject: Re: the keyboard state? Message-ID: <1995Sep8.141138.427@improve.fdn.org> Sender: news@improve.fdn.org Organization: improve SA - La Defense, Paris, France. References: <199508222250.AAA16127@ns.ms.mff.cuni.cz> Date: Fri, 8 Sep 1995 14:11:38 GMT In article <199508222250.AAA16127@ns.ms.mff.cuni.cz> ocs@ms.mff.cuni.cz (Ondra Cada) writes: > Hullo, > > is it possible somehow to obtain the current keyboard state? I'd > need to know at least the current state of the Shift, Alternate, > Control and Command keys (it will be nice to be able to test other > keys as well, but the ability to test the modifiers is much more > important). I need to get the state in regular intervals, regardless > the application state (fore- or background), so I cannot use the > modifier state recorded in the event. > > I had found the PSbuttondown etc. services which do this for the > mouse, but I had found nothing for the keyboard. Can somebody help > me? > I found two ways. A ugly one, using nlist and reading directly in kernel memory. I can send you the source if you ask (and if I find it back) As there are many limitations with that (you have to 'busy' test cause you have only the current event state, and it is non-portable, even between different flavour of NEXTSTEP), I went to another solution, at least as ugly, that patch the windowPackage.ps to send a signal to a determined process when a certain flag combination arise. This one is a bit more portable, but you have to patch the windowPackage of each machine you want your a run on. So, question: Does anybody know how to patch the windowPackage from a running app ? It should involve something like true setshared followed by eeehh, well I think there is a permission problem at that point... Cheers, -- fred ----------------------------------------------------------------- frederic stark -- fred@improve.fdn.org -----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: TextField in ScrollView bug Message-ID: <DELCzo.167@hurka.UUCP> Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) Date: Fri, 8 Sep 1995 14:45:23 GMT Hi All, I have a few TextFields grouped together in the ScrollView. When I put the cursor in (for example) the first TextField and than I scroll the field out and in, the text in that field is corrupted. If I group the TextFields in the Matrix and than to the ScrollView everything works fine. Does anybody notice this problem? Is this a known bug or I am missing something there? Best regards, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <vincent@hal.imaginet.fr> From: <vincent@hal.imaginet.fr> Message-ID: <199509081039.MAA25570@hal.imaginet.fr> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) Date: Fri, 8 Sep 95 12:31:12 +0100 Subject: flow control on a serial line Hi, How can I do a XON/XOFF or a RTS/CTS flow control on my serial line under Nextstep 3.3 Thanks for your help! Vincent NOE noehom@imaginet.fr (NeXTMAIL - MIME welcome).
From: ntt@conch.aa.msen.com (National TechTeam) Newsgroups: comp.sys.next.programmer Subject: Computer-Telephone Integration Date: 8 Sep 1995 17:55:21 GMT Organization: Msen, Inc. -- Ann Arbor, MI. Message-ID: <42q02a$rq5@recepsen.aa.msen.com> Hello, I am trying to locate any information I can regarding Government and Industry standards for Computer-Telephone Integration. Any help is appreciated. Alan Frabutt (amf@ntt.com, *not* the reply-to) ...my opinions, not my employers...
From: dkoski@sun34.cs.wisc.edu (David Koski) Newsgroups: comp.sys.next.programmer Subject: Re: the keyboard state? Date: 8 Sep 1995 19:46:13 GMT Organization: U of Wisconsin CS Dept Message-ID: <42q6i5$a2t@spool.cs.wisc.edu> References: <199508222250.AAA16127@ns.ms.mff.cuni.cz> <1995Sep8.141138.427@improve.fdn.org> In article <1995Sep8.141138.427@improve.fdn.org>, Frederic STARK <fred@improve.fdn.org> wrote: >Does anybody know how to patch the windowPackage from a running app ? > >It should involve something like true setshared followed by eeehh, well I >think there is a permission problem at that point... Yes, you can do a lot of stuff that way: currentshared true setshared windowPackage begin % do stuff here -- you can mess around with a lot of things at this point. % hwoever, I think your mod requires changes to the event handlers for % each window, which is a bit harder to do. end setshared David Koski dkoski@cs.wisc.edu
From: Jeff Franco Newsgroups: comp.sys.next.programmer Subject: EOF Error Date: 8 Sep 1995 20:29:30 GMT Organization: BDM International, Inc. Message-ID: <42q93a$o2p@news.mcl.bdm.com> Keywords: EOSQLExpression While programatically configuring an EODatabaseDataSource I received the following error with the adaptorChannel setDebugEnabled set to yes: Sep 8 16:24:27 [2774] >>> Begin Transaction Sep 8 16:24:27 [2774] *** Uncaught exception: selectExpressionForAttributes:lock:qualifier:fetchOrder:channel:: nothing to select exiting! I have successfully configured the dataSource and a qualifier at this point. I have never seen this error before and the support guy at NeXT hadn't either. Thanks for you help. jeff_franco@notes.pw.com
Newsgroups: comp.sys.next.programmer From: jmc@impala (Jean-Michel CAZAUX) Subject: JOB : Developpeur NextStep - France - Aix en Provence Message-ID: <1995Sep8.151116.1105@impala.seldon.fdn.org> Sender: news@impala.seldon.fdn.org Organization: SNRI - Nimes, France. Date: Fri, 8 Sep 1995 15:11:16 GMT Societe de service (20 pers.) specialisee dans le domaine medical recherche un developpeur NextStep confirme. Il evoluera au sein d'une equipe de trois personnes sur la realisation d'applications medicale (Bloc, Unite de soins, etc...) en architecture client/serveur. Le serveur est base sur une technologie "maison" ; les librairies d'interfacage (EOF) seront a developper. Lieu de travail Aix-en-Provence. PS : Inutile de repondre par e-mail (je ne fais pas partie de la societe en question), mais envoyer vos CV a : Daniel CANAVEZE CDA Informatique Bd de la Grande Thumine Parc d'Ariane Bat A 13 083 AIX en PROVENCE Cedex 02 - France Tel : 42 95 26 80 Fax : 42 20 51 58
From: Paul Thomas Von Hippel <pvh@amy7.Stanford.EDU> Newsgroups: comp.unix.programmer,comp.sys.next.programmer Subject: Re:TUTORIAL on C compilation Date: Fri, 8 Sep 1995 17:36:58 -0700 Organization: Stanford University Message-ID: <Pine.OSF.3.91.950908173303.15561A-100000@amy7.Stanford.EDU> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Okay, I'm set. Verdict seems to be that the book on "Make," by O'Reilly & Associates, is the place to look. Thanks to everyone for all your help. Best, Paul
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: rbp@investor.pgh.pa.us (Bob Peirce #305) Subject: bison-1.24 Message-ID: <1995Sep6.104544.14468@investor.pgh.pa.us> Date: Wed, 6 Sep 95 10:45:44 GMT Organization: Cookson, Peirce & Co., Pittsburgh, PA I posted this the other day but checking from another site I see it never got out?? I am trying to compile bison-1.24. The configure program sets it up for ansi. In order to get it to compile without error I had to set CPPFLAGS = -ansi. All goes well until the link stage when I get an error on an undefined symbol -- _alloca. I grepped for _alloca in all the *.[ch] files and it does not seem to be there! Does anybody have any idea what is causing this and how to fix it? Thanks, BOB -- Bob Peirce Pittsburgh, PA 412-471-5320 rbp@investor.pgh.pa.us [OFFICE] me@venetia.pgh.pa.us [HOME (NeXT)] There is only one basic human right, the right to do as you damn well please. And with it comes the only basic human duty, the duty to take the consequences. -- P.J. O'Rourke
Newsgroups: comp.sys.next.programmer From: peter@squaw.pdh.com (Peter Murray) Subject: *** Job: Object Software and Database Design Engineer (San Jose, CA) Message-ID: <DEKqGM.2wy@pdh.com> Keywords: ood, sybase, oracle, eof, nextstep, openstep, smalltalk, dec, sun Sender: news@pdh.com (USENET News Account) Organization: PDH, Inc. Distribution: usa Date: Fri, 8 Sep 1995 06:38:45 GMT Company: PDH, Inc. Position: Object Oriented Software and Database Design Engineer Location: San Jose, California (near the San Jose Airport) Qualifications: Design Engineer: preferably at least 5+ years software/database development experience Required: **** US CITIZENSHIP **** - BS in Computer Science or related field - Database design experience (2+ years, Sybase 10/Oracle 7) - OO Development and experience with Objective-C, C++ or SmallTalk - Willingness to travel within USA - UNIX Desired: - Familiarity with EOF, DBKit, AccessKit - DO/PDO, ObjectBroker, OLE, CORBA - Experience in the following: - Independent design and development - Database design and development (SQL, Sybase or Oracle) - Distributed databases - GUI design and development - Object Oriented Methodology, OOD and OOP - UNIX - NEXTSTEP - Objective-C, C++ Duties: Design engineer/architect participates in all stages of the product life-cycle: proposal, design, implementation, testing, and documentation. Environment: PDH, Inc. is a small software development company specializing in systems solutions using NEXTSTEP and OpenStep development environments. These environments permit a 10 to 1 improvement in developer productivity on the first project and up to 25 to 1 on subsequent through the use of the tools, OOD, and the robust libraries (classes, palettes, kits). NEXTSTEP and OpenStep are available on Motorola, Intel, Sun, HP and DEC workstations now, and will soon be running in Windows/NT and SUN DOE. You will develop custom mission critical applications for customers. Current projects include: system engineering for a 3000+ workstation enterprise environment, a document management system, a reservation system, a property management system, and a requirements tracking system. This is an excellent opportunity to be immediately challenged, where the quality of the company is matched by the quality of the staff. PDH provides excellent vacation, health, 401K and disability benefits. The work attire is casual, hours are flexible, and sponsored refreshments. PDH, Inc. is an Equal Opportunity Employer. If you are an experienced OO or NEXTSTEP developer, or if you aspire to be one, and you would like to be part of a fast-paced, high growth, engineering-focused NEXTSTEP development team, send your resume to: Personnel Department Vox: (408) 428-9596 Fax: (408) 428-9599 E-mail: personnel@pdh.com (NeXT Mail welcome)
Newsgroups: comp.sys.next.programmer From: weiyao@ipswichcity.qld.gov.au Subject: system administration tool.. Message-ID: <DEMMzI.579@ipswichcity.qld.gov.au> Date: Sat, 9 Sep 1995 07:18:54 GMT Organization: Global Infolinks Internet Server, Ipswich Qld Australia here are the diagram for our system.. <---isdn link----terminal server-----SunOS- | NeXTSTEP/intel i want to write an application on NeXTSTEP, which can easy to adm. our users on Sun... for example, the application can easy to add user, remove user etc.. from NS under GUI. is that possible?? how do i do? i don't have much idea about NS :P thanks in advance.
Newsgroups: comp.sys.next.programmer From: weiyao@ipswichcity.qld.gov.au Subject: driver.... Message-ID: <DEMoLC.8Es@ipswichcity.qld.gov.au> Date: Sat, 9 Sep 1995 07:53:36 GMT Organization: Global Infolinks Internet Server, Ipswich Qld Australia How do i write a Driver for NeXTSTEP???
Newsgroups: comp.sys.next.programmer From: weiyao@ipswichcity.qld.gov.au Subject: Re: system administration tool.. Message-ID: <DEMvsM.4z6@ipswichcity.qld.gov.au> Date: Sat, 9 Sep 1995 10:29:10 GMT References: <DEMMzI.579@ipswichcity.qld.gov.au> Organization: Global Infolinks Internet Server, Ipswich Qld Australia weiyao@ipswichcity.qld.gov.au wrote: : here are the diagram for our system.. : <---isdn link----terminal server-----SunOS----terminal server. ^^^^^^^^^^^^^^^^^oops.... should be "Router".. : | : NeXTSTEP/intel : i want to write an application on NeXTSTEP, which can easy to adm. our : users on Sun... : for example, the application can easy to add user, remove user etc.. from : NS under GUI. : is that possible?? how do i do? : i don't have much idea about NS :P : thanks in advance.
From: Paul Heffernan <phef@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Site for ispell-3.1.18.tar.gz? Date: Sat, 09 Sep 95 14:25:02 GMT Organization: Cedar Systems Message-ID: <810656701snz@cedar.demon.co.uk> Hi all, I'm trying to get a copy of ispell for NeXT from ftp.cs.ucla.edu (ispell-3.1.18.tar.gz) but the site is incredibly slow (1/2 hour for 10k!) Does anyone know of any other sites that I can get this from? Regards, Paul Heffernan.
Newsgroups: comp.sys.next.programmer From: Fabien_Roy@free.fdn.org Subject: Re: system administration tool.. Message-ID: <1995Sep9.204447.1867@free.fdn.org> Sender: news@free.fdn.org Organization: Fabien Roy Consultant, Paris, France References: <DEMMzI.579@ipswichcity.qld.gov.au> <DEMvsM.4z6@ipswichcity.qld.gov.au> Date: Sat, 9 Sep 1995 20:44:47 GMT weiyao@ipswichcity.qld.gov.au wrote: > weiyao@ipswichcity.qld.gov.au wrote: > : here are the diagram for our system.. > : <---isdn link----terminal server-----SunOS----terminal server. > ^^^^^^^^^^^^^^^^^oops.... should be "Router".. > : | > : NeXTSTEP/intel > : i want to write an application on NeXTSTEP, which can easy to adm. our > : users on Sun... > : for example, the application can easy to add user, remove user etc.. from > : NS under GUI. > : is that possible?? how do i do? > : i don't have much idea about NS :P Get NetInfo for SunOs from Xedoc! > : thanks in advance. Fabien -- --------------------------------------------------------------------- Fabien_Roy@free.fdn.org (NextMail/MIME accepted) Fabien Roy Consultant NEXTSTEP/OPENSTEP/EOF Consultant, SYBASE DBA 10 rue de la DEFENSE 93100 MONTREUIL, France Tel: 33 1 45 28 32 23 Fax: 33 1 48 55 09 90
Newsgroups: comp.sys.next.programmer From: dfevans@bbcr.uwaterloo.ca (David Evans) Subject: Getting a NULL frameRect sent to initFrame: Sender: news@novice.uwaterloo.ca (Mr. News) Message-ID: <DEnu4n.AuK@novice.uwaterloo.ca> Date: Sat, 9 Sep 1995 22:50:47 GMT Organization: University of Waterloo Hi, all. Hope this isn't too obvious... I have a simple subclass of View that does some stuff; I've written a couple of other apps with View subclasses and they work fine. However, on this new app when my initFrame: frameRect method is called, frameRect is NULL. Happens every time. I've done the layour using IB and set the CustomView type appropriately; the current version of the .h file has been parsed as well. Is the NULL value trying to tell me something? -- David Evans (NeXTMail OK) dfevans@bbcr.uwaterloo.ca Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/ University of Waterloo "Default is the value selected by the composer Ontario, Canada overridden by your command." - Roland TR-707 Manual
From: schwett@differencengine (Mark Schwettmann) Newsgroups: comp.sys.next.programmer Subject: Compiling mkisofs : sysmacros.h, etc. etc. Date: 10 Sep 1995 02:47:31 GMT Organization: Aimnet Information Services Message-ID: <42tjk3$pg@news2.aimnet.com> Hi all. I have the need to record some CD-ROMs from my intel based NS 3.3 box. I dug of the source for mkisofs by Eric Youngblood and gave compiling it a quick shot. However, it seems to want some header files that I have no idea about. (Not that I have any idea about any header files, but...) The first one it pukes on is "sysmacros.h" in the following bit of code: #ifndef __QNX__ #include <sys/sysmacros.h> ... Now, I'm not sure why this ifndef is being executed (QNX?) but if I remove it it dies anyway, with an undefined type... Are there any portmasters out there who have some idea what might be involved in porting this thing? Should I give up? (I know only a very little bit about C...) Thanks, Mark Schwettmann UC Berkeley CED
From: jim.edwards@nashville.com (Jim Edwards) Newsgroups: comp.sys.next.programmer Subject: Is next better? Date: 10 Sep 95 02:08:00 Organization: The Nashville Exchange BBS 615-383-0727 Distribution: world Message-ID: <0000080E00000DE7@nashville.com> I was wondering if anyone with experience in NextStep (both the operating system and especially the (I believe its called) "Objective C" could help me out. I would like to get into programming etc., but am unsure which operating system/language etc. to go with... * What is the market share for NextStep? * Could a person make a living developing for NextStep? * Is it true that NextStep is a couple of years ahead of something like NT or 95 ? * Is NextStep going to fade away in the years to come, or is it something a person could "stick with" (say five or ten years from now). * (If you are a consultant), what would be the going rate for a Next programmer? I may not have the proper names of some of the programs/languages etc. down correctly, and am primarily interested in a broad overview. I would like to develop a thread, or we could move to private email if this is not the appropriate forum. Thanks
From: pfeifer@ls6.informatik.uni-dortmund.de (Ulrich Pfeifer) Newsgroups: ,comp.infosystems.wais,comp.sys.next.misc,comp.sys.next.programmer Subject: Re: Compiling? html type? Date: 10 Sep 1995 16:00:55 +0200 Organization: University of Dortmund, Germany Sender: pfeifer@buster.informatik.uni-dortmund.de Message-ID: <yfm3fe59eg8.fsf@buster.informatik.uni-dortmund.de> References: <41fgo3$4i3@apoll.informatik.uni-bonn.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: frantziu@gold.informatik.uni-bonn.de (Joerg von Frantzius) >>>>> In article <41fgo3$4i3@apoll.informatik.uni-bonn.de>, frantziu@gold.informatik.uni-bonn.de (Joerg von Frantzius) writes: In article <41fgo3$4i3@apoll.informatik.uni-bonn.de> frantziu@gold.informatik.uni-bonn.de (Joerg von Frantzius) writes: JvF> after adding some -posix here and there in the makefiles, I managed to JvF> get freeWAIS-sf-1.1 to what seems up and running on NextStep 3.3. JvF> Unfortunately it does not have an html type. You do not need such thing in freeWAIS-sf. Just use an apropriate format file. Ulrich
From: Matthias Imhof <mgi@ERL.MIT.EDU> Newsgroups: comp.sys.next.programmer Subject: foundation kit without 3.3: where to get it from Date: 10 Sep 1995 20:28:02 GMT Organization: Massachvsetts Institvte of Technology Message-ID: <42vhoi$cqf@senator-bedfellow.MIT.EDU> where do i get a foundation kit from without buying 3.3? or: how do i compile the GNU libobjects ? i can not get libobjects to compile due to an undefined marg_list matthias -- ************************************************************************** * Matthias G.Imhof phone: (617) 253 7835 * * MIT Earth Resource Lab E34/370 fax: (617) 253 6385 * * 42 Carlton St email: mgi@erl.mit.edu * * Cambridge MA 02142-1324 http://www-erl.mit.edu/~mgi/homepage.html * * There is no dark side of the moon really. Matter of fact it's all dark *
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: bison-1.24 Followup-To: comp.sys.next.software,comp.sys.next.programmer Date: 11 Sep 1995 11:58:30 GMT Organization: University of Heidelberg, Germany Message-ID: <431896$kf@sun0.urz.uni-heidelberg.de> References: <1995Sep6.104544.14468@investor.pgh.pa.us> Bob Peirce #305 (rbp@investor.pgh.pa.us) wrote: : I am trying to compile bison-1.24. The configure program sets it up for : ansi. In order to get it to compile without error I had to set : CPPFLAGS = -ansi. All goes well until the link stage when I get an : error on an undefined symbol -- _alloca. I noticed this before, too, but never examined it. Now I got curious and found that there seems to be a typo in bison-1.24's conflicts.c: If you change "#ifndef __GNUC__" (line 32) back to "#ifdef __GNUC__" (as it was in bison-1.22), it compiles fine! Gregor -- | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: Christoph.Wick@gmd.de Newsgroups: comp.sys.next.programmer Subject: Problems with the write-method of the object "Storage" Date: 11 Sep 1995 14:03:00 GMT Organization: GMD, Sankt Augustin, Germany Message-ID: <431fik$h9l@omega.gmd.de> Hello NS-Programers! My problem: I have a structure called "Entry" typedef struct _Entry { char *name; char *cname; } Entry; and a "storage"-object "Adressen" /*sorry, the source code is german */ Adressen = [Storage alloc]; [Adressen initCount:0 elementSize:512 description:"{**}"]; which should contain structures of type "Entry". I put a structure in the stroage "Adressen" using ... Entry AdrEntry; .... AdrEntry.name = "Name"; AdrEntry.cname = "cName"; ... [Adressen insertElement:&AdrEntry at:i]; Problem: When I want to save the content of the storage "Adressen" in an file using NXTypedStream *tpdStream; tpdStream = NXOpenTypedStreamForFile(myfilename, NX_WRITEONLY); NXWriteObject(tpdStream, Adressen); NXCloseTypedStream(tpdStream); in the file appears only the first element of the storage AND some NULL POINTERS (as many as other objects contained by the storage) Is there a known problem with the "write"-method of the storage object? First I thought, that the problem is, that I store only pointers to the storage object "Adressen". But if I try to use [Adressen insertElement:AdrEntry at:i] (without the "&"), the I got a comiler-failure incompatible type for argument 1 of `insertElement:at:' Any ideas :-((( C.U.CW --- \|/ (. .) _________________________ooO_(_)_Ooo_____________________________ Christoph Wick, Hiwi im GMD Forschungszentrum Informationstechnik D-53754 St. Augustin, Germany E-/NeXT-Mail: Christoph.Wick@gmd.de Fon: +49 2241 14 2829 Fax: +49 2241 14 2065 http://zeus.gmd.de/i3/people/christoph.wick.html ----------------------------------------------------------------
From: tbm@tci002.uibk.ac.at (Martin Michlmayr) Newsgroups: comp.sys.next.programmer Subject: Re: foundation kit without 3.3: where to get it from Date: 11 Sep 1995 14:20:47 GMT Organization: Dept. of Computer Science, University of Salzburg Distribution: world Message-ID: <431gjv$310@esel.cosy.sbg.ac.at> References: <42vhoi$cqf@senator-bedfellow.MIT.EDU> Matthias Imhof (mgi@ERL.MIT.EDU) wrote: / or: how do i compile the GNU libobjects ? You can not install libobjects on NEXTSTEP at the moment, sorry. -- tbm Support the League for Programming Freedom -- http://www.lpf.org/ Read "Against User Interface Copyright" at http://www.lpf.org/Copyright/look-and-feel.html
From: chuck@its.com Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Timer Resolution Date: 11 Sep 1995 16:09:18 GMT Organization: Information Technology Solutions, Inc. Message-ID: <431mve$69o@news.its.com> References: <430eio$usi@msunews.cl.msu.edu> perkins@cps.msu.edu (Stephen J. Perkins) wrote: > Hello all! I have a question regarding the resolution of timers. > The man page for gettimeofday says: > > "The resolution of the system clock is hardware > dependent, and the time may be updated continuously or in > ``ticks.''" That's correct. > Well... I need to find out this resolution value for an Intel P-90. > Running the program suggested in the Digital Librarian that calls: [ ... ] > My result is not very helpful. Anybody know how to go about determing > the resoultion of the clock? Any insight greatly appreciated! Contact the maker of your P-90 motherboard and ask them. The call you used normally consults values determined by the hardware manufacturer for the particular system type in use. You'd probably get correct results if you ran it on black hardware, and maybe even if you ran it on HP or Sun machines. However, I don't believe there's any way for the OS to determine which PC motherboard and quartz clock you're using, so there's no way for the system to give you a valid response. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: sdavis@creaf.com (Stephen A. Davis) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: const C++ vs Objective-C Date: Mon, 11 Sep 1995 15:22:19 -0800 Organization: Creative Labs, Inc. Message-ID: <sdavis-1109951522200001@sdavis.cli.creaf.com> References: <423qj5$8gc@voyager.internex.net> <RDL.95Sep11015706@world.std.com> I'm not altogether positive (and hoping someone else is and will tell me) but it appears that 'const' in ANSI C (and ObjC) behaves differently from the 'const' in C++. This may be compiler specific but that's what I'm trying to find out. I noticed that for 'const' in C++, the so-qualified names/variables were allocated memory in the global space for the program, whereas the C 'const' could be allocated memory if the number was a value too big to be included in the instruction itself (some kind of MOVE immediate or AND immediate or whatever). You'd think that C++ would do the same thing but my compiler always allocates memory for the number and references that. Is this the right way to do things or should I tell the compiler vendor they have a bug? Sorry for the non-ObjC'ness of the question. thanks, stephen In article <RDL.95Sep11015706@world.std.com>, rdl@world.std.com (Robert La Ferla) wrote: > const is ANSI C. Objective C is a superset of ANSI C. > > Robert La Ferla > Registered NEXTSTEP / OPENSTEP Consultant > Boston, MA > + 1 (617) 252-0088 > > In article <423qj5$8gc@voyager.internex.net> ian_stewart@nyro.com (Ian H. Stewart) writes: > > Is the const in Objective-C like the const in C++? (NeXT objc) > Recommended in certin cases to replace #defines in header files? > > Thanks > > Ian -- Stephen Davis Sound Geek sdavis@creaf.com
From: ken@darwin.mbb.sfu.ca (Ken Clark) Newsgroups: comp.sys.next.programmer Subject: How does Preferences.app work? Date: 11 Sep 1995 23:09:00 GMT Organization: Institute of Molecular Biology and Biochemistry, SFU Message-ID: <432fic$nif@morgoth.sfu.ca> Hi. The application I am working on consists of a number of tasks that a user has to get done, mostly data entry. You could imagine the app as a inventory control system where the user adds and deletes suppliers, customers, products, etc (the actual app is unrelated but hard to explain in a short space). I am trying to figure out what user interface paridigm is best for this kind of app. Right now the way it works is each task is handled by a seperate controller and a seperate .nib, all hooked into the main menu. The user selects a task from the main menu, and up pops the appropriate data entry screen. Early on it was decided that we would allow the user to work on only one task at a time, hence the data entry panels are brought up as modal, forcing the user to close one task before opening another. I omit the reasoning for this due to space, but I can explain in a follow up if it helps. Anyway, this "feels" strange when you actually run the thing. Really what makes more sense to me is what Preferences.app does: one big screen with a horizontal "menu" across the top, and a common view that changes as you choose tasks. Sooooo... The question is: how does one program this? I still want to be able to arrange the various browsers and forms in this common view with IB, as I do currently with the various data entry panels. I am vaguely aware of the Palette available to create a "file folder look," like in the new IB that comes with EOF. Any other insights on how I might present this kind of application to the user would be very appreciated. Thanks, - Ken
From: gclem@dannug.dk Newsgroups: comp.sys.next.programmer Subject: NSObject and draggingSource Date: 11 Sep 1995 21:40:25 GMT Organization: Danish NeXT User Group Distribution: world Message-ID: <432ac9$rbi@snaps.dannug.dk> I have a subclass of NSObject with an object being created by IB. To make the hybrids work, I have included NSObject-IBFixes.m in my project. My subclassed NSObject initiates a dragging session and now comes the problem. In draggingEntered, I do [sender isDraggingSourceLocal] which causes isKindOfClassNamed:"NXDocumentDragButton" to be called and the app bombs out (NSObject does not implement this selector). Anyone with a good idea on what to do? Geert
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-NY - NeXT Developers - Trading Systems - to 90k+Bonus Date: 11 Sep 1995 21:29:12 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <432np8$dq8@newsbf02.news.aol.com> Our client, a major international financial institution, has several openings for experienced NeXTSTEP developers in New York. You will be responsible for development of a new trading system in NeXTSTEP, Sybase, and EOF. These are for full-time time career minded individuals with a strong NeXT development background. Call me for an immediate interview. Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX) E-Mail - briman101@aol.com
Newsgroups: comp.sys.next.programmer From: alex@genoa.com (Alex Blakemore) Subject: Re: forward declaration of a class in objective-c Message-ID: <DErsEr.2qn@genoa.com> Sender: alex@genoa.com (Alex Blakemore) Organization: Genoa Software Systems References: <4310un$mda@info.epfl.ch> Date: Tue, 12 Sep 1995 02:04:03 GMT Marco Scheurer writes > could someone enlighten me by telling me *why* NSDictionary keys > are copied? I was under the impression that NSDictionary was some > kind of hash table, and I fail to see why copying the key is necessary. Because the dictionary entries are organized internally (to support fast access) based upon their keys (which are assumed to remain unchanged). If dictionaries retained their keys instead of copying them, you could change the key of an entry after it had been stored, thus breaking the dictionary (table lookups could fail to find entries or return the wrong entries for example). More formally, key immutability is an invariant of the dictionary data structure. If you need to change a key, your only choice is to remove the entry and reinsert it with the new key. Without this restriction, the only possibible implementation for a dictionary would be to use some sort of data structure with a linear (instead of constant) access time. why? The nice thing about NSStrings are that, since they are immutable, this copy can be implemented as efficiently as retain. Thus you get the safety of a reliable data structure and the efficiency of a hash table, without placing a difficult burden upon the programmer. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
Newsgroups: comp.sys.next.programmer From: dekorte@siena.bos.marble.com (Steve Dekorte) Subject: Where's MiscKit??? Message-ID: <DErA2z.Dxx@marble.com> Sender: news@marble.com Organization: Marble Associates, Inc. Date: Mon, 11 Sep 1995 19:28:07 GMT I can't find it on ftp.cs.orst.edu or ftp.et.byu.edu. Is it availible on any US site??? I'm having problems finding it on German sites as well. Has anyone downloaded it recently? Thanks for any info, -- Steve Dekorte NeXTstep/Objective-C developer dekorte@marble.com (MIME & NeXTmail welcome) http://www.marble.com/people/dekorte.html
From: chuck@its.com Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: const C++ vs Objective-C Date: 12 Sep 1995 01:03:24 GMT Organization: Information Technology Solutions, Inc. Message-ID: <432m8s$jl0@news.its.com> References: <423qj5$8gc@voyager.internex.net> <RDL.95Sep11015706@world.std.com> <sdavis-1109951522200001@sdavis.cli.creaf.com> sdavis@creaf.com (Stephen A. Davis) wrote: [ ... ] > I noticed that for 'const' in C++, the so-qualified names/variables were > allocated memory in the global space for the program, whereas the C > 'const' could be allocated memory if the number was a value too big to be > included in the instruction itself (some kind of MOVE immediate or AND > immediate or whatever). You'd think that C++ would do the same thing but > my compiler always allocates memory for the number and references that. I don't believe the language definitions for ANSI-C, Obj-C, or C++ mandate whether storage has to be allocated for a const variable. So long as it does not change the meaning of the program, the compiler is free to optimize local variables in various ways. For example, this: int fun(int x) { const int y = 1; return (x + y); } ...can be turned into... int fun(int x) { return (x + 1); } ...without changing the meaning of the program. There are issues with code being arranged in "basic blocks" around "sequence points" for optimization and debuggability considerations with regard to variable and/or dead code removal, but I don't want to get too involved. If you wish to guarantee that storage is never allocated and the 'variable' is always used as an immediate constant, use a #define. If you wish to guarantee that storage is always allocated, take the address of the variable via the "&" operator, or use the "volatile" qualifier. > Is this the right way to do things or should I tell the compiler vendor > they have a bug? Sorry for the non-ObjC'ness of the question. Well, what are you trying to do in which the distinction matters? -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: aathan@squish.next.com (Andrew Athan) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Timer Resolution Date: 12 Sep 1995 04:20:14 GMT Organization: NeXT Computer, Inc. Message-ID: <4331pu$krv@news.next.com> References: <430eio$usi@msunews.cl.msu.edu> On a very lightly loaded P90 machine, the program below shows: $ repeat 10 a.out 810878724 810878727 19998@14527 999 999.335462 810878727 810878730 10031@47915 989 989.926985 810878730 810878733 10031@90096 993 993.337331 810878733 810878736 9992@2942 987 987.978293 810878808 810878811 10031@1097 995 995.970797 810878811 810878814 10031@39683 995 995.206158 810878814 810878817 10031@78340 995 995.956032 810878817 810878820 9993@3462 996 996.940557 810878820 810878823 10031@5851 995 995.226337 810878783 810878785 10031@62727 992 992.970401 I think the odds are the clock resolution is 1000 msec. aca //Determine clock resolution #include <sys/time.h> #define MAX 100000 main(int n,char **p) { static union foobar { struct timeval x;unsigned long long y;} foo[MAX]; int count,nonZero,maxOffset; unsigned long max; unsigned long total; for(count=0;count<MAX;++count) gettimeofday(&foo[count].x,NULL); //tz ignored anyway printf("%ld %ld\n",foo[0].x.tv_sec,foo[MAX-1].x.tv_sec); for(count=0;count<MAX;++count) foo[count].y=(((unsigned long long)foo[count].x.tv_sec)*((unsigned long long)1000000))+((unsigned long long)foo[count].x.tv_usec); for(nonZero=0,total=max=count=0;count<MAX-1;++count){ if((foo[count].y=foo[count+1].y-foo[count].y)>max) max=foo[count].y,maxOffset=count; if(foo[count].y!=0) total+=foo[count].y,++nonZero; if(n>1) printf("%ld\n",(long)foo[count].y); } printf("%ld@%d %ld %lf\n",max,maxOffset,total/nonZero,((double)total)/nonZero); } perkins@cps.msu.edu (Stephen J. Perkins) wrote: > Hello all! I have a question regarding the resolution of timers. The man > [STUFF DELETED] > My result is not very helpful. Anybody know how to go about determing the > resoultion of the clock? Any insight greatly appreciated! > - Steve > -- > ============================================================== > Stephen J. Perkins | perkins@cps.msu.edu > Dept. of Comp. Science | NeXT, MIME, finger for PGP > Michigan State University | NeXT OS 3.3 using PPP-2.2 > NeXT PPP-2.2 info at http://www.thoughtport.com:8080/PPP/
From: p  Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Timer Resolution Date: 12 Sep 1995 04:44:33 GMT Organization: NeXT Computer, Inc. Message-ID: <43337h$krv@news.next.com> References: <430eio$usi@msunews.cl.msu.edu> <4331pu$krv@news.next.com> btw, here's the output from a slightly enhanced version of the code I sent in my previous post. The hist[#]=# lines show the # of non zero results in a histogram of the difference (in msec) between two consecutive calls to gettimeofday(). Interesting. Diff in second fields (msec's ignored): 2 Avg latency: 27.800508 Max is 19999 @ 14648 Non zero avg latency: 1013 1013.127915 hist[1]=2462 hist[2]=4 hist[3]=1 hist[9990]=157 hist[9991]=108 hist[9992]=2 hist[9997]=2 hist[9998]=3 hist[10030]=3 hist[10031]=1 hist[19999]=1 /tmp:a.out Diff in second fields (msec's ignored): 2 Avg latency: 27.102631 Max is 10031 @ 25590 Non zero avg latency: 995 995.678178 hist[1]=2450 hist[3]=1 hist[9990]=150 hist[9991]=111 hist[10008]=1 hist[10030]=5 hist[10031]=4
Newsgroups: comp.sys.next.programmer From: marco@vivaldi.lysis.ch (Marco Scheurer) Subject: Re: forward declaration of a class in objective-c Message-ID: <DEsCG3.12F@eunet.ch> Sender: usenet@eunet.ch Organization: EUnet AG, Switzerland References: <4310un$mda@info.epfl.ch> Date: Tue, 12 Sep 1995 09:16:50 GMT In article <4310un$mda@info.epfl.ch> marco@sente.epfl.ch (Marco Scheurer) writes: [...] > Well beside the fact that I don't use copy that much, could someone > enlighten me by telling me *why* NSDictionary keys are copied? I was under > the impression that NSDictionary was some kind of hash table, and I fail > to see why copying the key is necessary. [...] Oops. What I meant was that I was wondering why keeping the keys was necessary, which is obvious (for instance to enumerate the keys). And if you want to keep them around, you have to copy them, of course. You don't need to copy or retain the keys only if you limit yourself to address computation. Sorry for the bandwith. Marco Scheurer marco@sente.epfl.ch
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: Site for ispell-3.1.18.tar.gz? In-Reply-To: Paul Heffernan's message of Sat, 09 Sep 95 14:25:02 GMT Message-ID: <RDL.95Sep11015126@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <810656701snz@cedar.demon.co.uk> Date: Mon, 11 Sep 1995 05:51:26 GMT Yes. It's ftp://prep.ai.mit.edu:/pub/gnu/ispell-3.1.18.tar.gz Robert La Ferla Registered NEXTSTEP / OPENSTEP Consultant Boston, MA + 1 (617) 252-0088 In article <810656701snz@cedar.demon.co.uk> Paul Heffernan <phef@cedar.demon.co.uk> writes: Hi all, I'm trying to get a copy of ispell for NeXT from ftp.cs.ucla.edu (ispell-3.1.18.tar.gz) but the site is incredibly slow (1/2 hour for 10k!) Does anyone know of any other sites that I can get this from? Regards, Paul Heffernan.
From: manish@math.uic.edu (Manish Shah) Newsgroups: comp.sys.next.programmer Subject: Help calling command line interface programs Date: 12 Sep 1995 17:09:18 GMT Organization: University of Illinois at Chicago Message-ID: <434eru$2bn2@tigger.cc.uic.edu> Hey everyone! I have a little situation here. There's a command line binary program, but I dont have source code for it, and I need to make a NeXT interface to it. Anyone know if there are any special classes/libraries in NeXTStep that would help me do this. I have noticed that there are quite a few programs out there that do this. Or, if there arent any speical classes/libraries, how could I do this? Thanks a lot for your help. Please reply by email because I dont check this group regularly. Manish -- Manish M. Shah...... manish@babe.math.uic.edu http://www.math.uic.edu/~manish Chicago.. Home of the Manish
From: <100672.2430@compuserve.com> Newsgroups: comp.sys.next.programmer Subject: Do you know Objective C? Date: 12 Sep 1995 13:59:34 GMT Organization: CompuServe Incorporated Message-ID: <4343o6$j97@dub-news-svc-6.compuserve.com> Content-Type: text/plain Keywords: UK NeXTSTEP Developers needed for the US Content-length: 605 Informatiq Consulting are a UK based international consultancy specialising in OO technical skills. We are currently resourcing a large project based in Florida to redesign a core system in NeXSTEP. Therefore, we would be very keen to speak to any UK based Objective C developers with at least 18months experience. Positions range from Programmers through to OO designers and project leader/managers. Full relocation and Visa processing is provided. Please call me on 01923 224481 or fax a resume on 01923 224493 or e-mail me. Yours faithfully Kevin Williamson Consultancy Manager
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <jeremy@thoughtful.com> From: jeremy@thoughtful.com (Jeremy Slade) Message-ID: <9509121636.AA00217@thoughtful.com> Date: Tue, 12 Sep 95 10:36:55 -0600 Subject: nextcolortbl RTF directive My code contains a custom RTF reader to do some processing on the text, the actual RTF usually comes from the Text object via writeRichText:. In playing around with some colored text, the Text object spit out some RTF containing a directive: ...{\nextcolortbl{\nextcolor1 ..some garbage here..}}... I had never seen this before, it is certainly not mentioned in any documentation that I have seen, and my RTF reader did not recognize the nextcolortbl control word, of course. And now, I can't get it to happen again, which is rather frustrating. Does anyone know anything about this and other possible RTF directives that are unique to Nextstep? Thanks, Jeremy
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP/Developers/DC Date: 12 Sep 1995 20:36:30 GMT Organization: Norden 1 Communications Message-ID: <434r0e$dtv@tofu.alt.net> Programmer/analyst/developer NEXTSTEP Objective C Sybase DB Kit or EOF Contract---Long term Exceptional opportunity DC Area To be considered---Fax resume or mail a hard copy. -- ehutch@norden1.com (419) 893-6367 [fax] The Omni Group (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: tyen@netcom.com (Anthony Yen) Newsgroups: comp.sys.next.programmer Subject: CDPlayer AutoPlay Feature - How? Date: Tue, 12 Sep 1995 15:38:38 -0500 Organization: Balance Tech/Arts Message-ID: <tyen-1209951538390001@lestat.tkg.com> I'm curious, how does CDPlayer implement the AutoPlay feature? -- Anthony Yen <tyen@netcom.com> Austin, Texas, USA
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP/Career Position/Calif Date: 12 Sep 1995 20:40:54 GMT Organization: Norden 1 Communications Message-ID: <434r8m$dtv@tofu.alt.net> Programmer/analyst/developer NEXTSTEP Objective C Sybase DB Kit or EOF Career Position Exceptional opportunity Southern Calif Relocation assistance To be considered---Fax resume or mail a hard copy. -- ehutch@norden1.com (419) 893-6367 [fax] The Omni Group (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: mrozek@eecs.umich.edu (Eric M. Mrozek) Newsgroups: comp.sys.next.programmer Subject: Re: Where's MiscKit??? Date: 12 Sep 1995 21:08:50 GMT Organization: University of Michigan EECS Dept. Message-ID: <434st2$b7v@news.eecs.umich.edu> References: <DErA2z.Dxx@marble.com> In article <DErA2z.Dxx@marble.com> dekorte@siena.bos.marble.com (Steve Dekorte) writes: > > I can't find it on ftp.cs.orst.edu or ftp.et.byu.edu. > Is it availible on any US site??? I just checked and found it as ftp://ftp.cs.orst.edu/software/NeXT/sources/classes/MiscKit1.6.1.s.gn utar.gz All the NeXT stuff seems to be gone at ftp.et.byu.edu (the primary site for MiscKit). If all else fails, you can try ftp://ftp.eecs.umich.edu/pub/nextmusic/ I keep a copy of MiscKit there because it has some sound objects. Eric (administrator of the NextMusic distribution list)
From: steel456@aol.com (Steel456) Newsgroups: comp.sys.next.programmer Subject: Objective-C New York Date: 12 Sep 1995 17:11:05 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <434t19$p75@newsbf02.news.aol.com> Our client who is THE major player in the OO solutions is now recruiting for strong Objective-C NeXT developers. These positions range from Developers to Project Managers. These are full time positions and are to be filled ASAP.If you want to stay on the cutting edge please call us. These are full time positions. Please call Bruce Rennert Corporate Resource Associates 800-662-9797 Fax 800-814-3100
From: yackd@xmission.xmission.com (Unreality) Newsgroups: comp.sys.next.programmer Subject: Re: Where's MiscKit??? Date: 12 Sep 1995 16:49:25 -0600 Organization: XMission Internet Access Message-ID: <4352pl$2k0@xmission.xmission.com> The MiscKit stuff at BYU has been removed--as several folks have already noticed. A new archive site has been found and the items that were on ftp.et.byu.edu will be placed on the new site as soon as possible. Note that the MiscKit mailing list is also temporarily out of commission due to this change. When the ftp area and the mailing lists are again functional I will send an announcement to comp.sys.next.announce that details the changes. The affected mailing lists will also be sent a message describing the change. The affected lists are: misckit, miscdoc, miscstring, gamekit, nextinterpreter, and na2sig. (The gamekit and na2sig may not be reinstated right away since they have been dead for a while.) Until this is fixed, used the orst or peanuts ftp sites to get at the current release of the MiscKit (1.6.1). The next MiscKit release--1.6.2--will happen when the new ftp site is fully operational, for those who care. If you have any further questions, feel free to contact me as necessary. Sorry for any inconvenience! Later, -Don Yacktman MiscKit administrator yackd@xmission.com
From: kiwi@cs.tu-berlin.de (Axel Habermann) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: Kernel thread bug Date: 13 Sep 1995 00:03:15 GMT Organization: Technical University of Berlin, Germany Message-ID: <435743$76k@news.cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, while writing a loadable kernel server, I came across this one. I don't know if this is really a bug, but I suppose... When forking a thread in a loadable kernel server using kernel_thread the newly created thread does not have a default reply port. If the new thread subsequently issues a mach call, the reply port gets created by a call to mig_get_reply_port. This is correct as the new thread needs its own communication backchannel as it might be that serveral threads issue interleaved msg_rpc's. If the thread terminates itself later, this newly allocated port stays allocated. If you do this about 22000 times, all ports are in use and the kernel panics. I suspect the problem lies in the code which is responsible for terminating a thread. It should release the reply port but doesn't. I tried to get rid of the reply port in the thread itself, but as port_deallocate is a mach rpc call, it needs the reply port until it returns - so a call to port_deallocate results in a kernel panic as well. What is the right way around this obstacle (besides forking a thread only for deallocating all unneeded reply ports on behalf of the soon to be terminated threads)? Anyone dare to comment? Axel -- Axel Habermann kiwi@cs.tu-berlin.de \\|// Muellerstr. 145 kiwi@buran.fb10.tu-berlin.de )o o( D-13353 Berlin (Wedding) \ | / Fon: +49 30 45478986 (privat) 030 314 24 764 (uni) \~/
From: kiwi@cs.tu-berlin.de (Axel Habermann) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: Re: Kernel thread bug Followup-To: comp.sys.next.bugs,comp.sys.next.programmer Date: 13 Sep 1995 00:07:22 GMT Organization: Technical University of Berlin, Germany Message-ID: <4357bq$79s@news.cs.tu-berlin.de> References: <435743$76k@news.cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Axel Habermann (kiwi@cs.tu-berlin.de) wrote: : while writing a loadable kernel server, I came across this : one. I don't know if this is really a bug, but I suppose... [...] Sorry for following up on my own post, but I forgot to mention another curious fact: In <mach/mach_user_internal.h> there's the following define #define thread_terminate thread_terminate_EXTERNAL thread_terminate_EXTERNAL does not exist in the kernel, but the kernel server linker does not complain about this symbol not being found on load of the kernel server and the kernel panics when I try to do the call. If I undef thread_terminate before I use it, it works as advertised. Hmmm.... Axel -- Axel Habermann kiwi@cs.tu-berlin.de \\|// Muellerstr. 145 kiwi@buran.fb10.tu-berlin.de )o o( D-13353 Berlin (Wedding) \ | / Fon: +49 30 45478986 (privat) 030 314 24 764 (uni) \~/
Newsgroups: comp.sys.next.programmer From: tom@basil.icce.rug.nl (Tom Hageman) Subject: Re: NSObject and draggingSource Message-ID: <DEt61s.nM@basil.icce.rug.nl> Originator: uubasil@obelix.icce.rug.nl Sender: news@basil.icce.rug.nl (NEWS pusher) Organization: Warty Wolfs References: <432ac9$rbi@snaps.dannug.dk> Date: Tue, 12 Sep 1995 19:56:16 GMT gclem@dannug.dk wrote: > I have a subclass of NSObject with an object being created by IB. To make > the hybrids work, I have included NSObject-IBFixes.m in my project. My > subclassed NSObject initiates a dragging session and now comes the > problem. In draggingEntered, I do [sender isDraggingSourceLocal] which > causes isKindOfClassNamed:"NXDocumentDragButton" to be called and the app > bombs out (NSObject does not implement this selector). Anyone with a good > idea on what to do? Why, add a category to NSObject of course :-) e.g.: #import <objc/objc-runtime.h> @implementation NSObject (YetAnotherHybridWorldCompatibilityFix) - (BOOL)isKindOfClassNamed:(const char *)aClassName { return [self isKindOfClass:objc_getClass(aClassName)]; } - (BOOL)isMemberOfClassNamed:(const char *)aClassName { return [self isMemberOfClass:objc_getClass(aClassName)]; } @end should do the trick. -- __/__/__/__/ Tom Hageman <tom@basil.icce.rug.nl> [NeXTmail/Mime OK] __/ __/_/ IC Group <tom@icgned.nl> (work) __/__/__/ "...to baldly go where no one has gone before." __/ _/_/ -- star trek TNG
Newsgroups: comp.sys.next.programmer From: frederic@hp-712-60 (Frederic GALOT) Subject: Re: compositing large nximages Message-ID: <1995Sep12.120434.2236@xlan.fdn.org> Sender: news@xlan.fdn.org Organization: X&LAN - Bordeaux, France. References: <417hna$875@nic.wat.hookup.net> Date: Tue, 12 Sep 1995 12:04:34 GMT jcassidy@proton.genesoft.com. (James Cassidy) wrote: > When compositing a large nximage into a view during a drawself, I get a very > small version of what should be a 1024x1024 image. The window shows > up at the proper size, but the image is a very small one down in the > lower left corner. I don't get this anomaly for smaller iamges. I'm just a starter in next but perhaps you should try to use the View's scale:: method?
From: rob@object_station.zsmg.com (Robert L. Schmitter) Newsgroups: comp.sys.next.programmer Subject: JOB: NeXTSTEP developers wanted Date: 13 Sep 1995 02:21:56 GMT Organization: Voicenet - Internet Access - (215)674-9290 Message-ID: <435f84$ckq@news.voicenet.com> Keywords: Job Developer NeXTSTEP Reply-To: rschmitr@zsmg.com Zonics System Management Group, Inc. specializes in building Mission Critical Applications in Client Server environments. We are located in Philadelphia PA. We use NeXTSTEP as the backbone for development to deploy applications on other platforms, mostly MS Windows. We have immediate openings in some of our clients: 1. Lead analyst in insurance industry 2. IS Director in reinsurance industry Both jobs are permanent placement with great salaries and benefits. NeXTSTEP experience is a must. Send resume and salary requirements to: Email: rschmitr@zsmg.com (NeXTmail preferred) Business: (610) 337-0660 Fax: (610) 337-9930 Zonics System Management Group C\O Robert L. Schmitter The Zonics Building 1015 West 9th Avenue King of Prussia, PA 19406
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 11 Sep 1995 04:15:15 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <430d4j$ecf@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: tiggr@es.ele.tue.nl (Pieter Schoenmakers) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 11 Sep 1995 12:39:39 +0200 Organization: Eindhoven University of Technology Sender: tiggr@cobra.es.ele.tue.nl Message-ID: <wmzqgbx3bo.fsf@cobra.es.ele.tue.nl> References: <199508281956.VAA12859@ns.ms.mff.cuni.cz> <4310un$mda@info.epfl.ch> In-reply-to: marco@sente.epfl.ch's message of 11 Sep 1995 09:53:27 GMT In article <4310un$mda@info.epfl.ch> marco@sente.epfl.ch (Marco Scheurer) writes: If MutableString is a subclass of String, and SpecialString is a subclass of String then MutableSpecialString should be a subclass of String AND MutableString Really? Thus, a MutableSpecialString should contain two strings? --Tiggr
From: krebs@faps.uni-erlangen.de (Thomas Krebs) Newsgroups: comp.sys.next.programmer Subject: OpenGL for NeXT? Date: 13 Sep 1995 10:43:06 GMT Organization: FAPS, University of Erlangen Message-ID: <436cjq$jc8@cd4680fs.rrze.uni-erlangen.de> Keywords: 3D-graphics, OpenGL Hi, Is there an OpenGL implementation for NeXT, or better, is Mesa ported to NeXT? Thomas --- Thomas Krebs Department for Manufacturing Automation and Production Systems FAPS University of Erlangen Egerlandstr. 7-9 91058 Erlangen Tel.: +49 (0)9131/85-8740 Fax: +49 (0)9131/302528 http://www.faps.uni-erlangen.de:1200/persons/krebs.html
From: kiwi@cs.tu-berlin.de (Axel Habermann) Newsgroups: comp.sys.next.programmer Subject: Re: driver.... Date: 13 Sep 1995 14:35:33 GMT Organization: Technical University of Berlin, Germany Message-ID: <436q7l$hch@news.cs.tu-berlin.de> References: <DEMoLC.8Es@ipswichcity.qld.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit weiyao@ipswichcity.qld.gov.au wrote: : How do i write a Driver for NeXTSTEP??? Read the documentation first. Then ask specific questions. Axel -- Axel Habermann kiwi@cs.tu-berlin.de \\|// Muellerstr. 145 kiwi@buran.fb10.tu-berlin.de )o o( D-13353 Berlin (Wedding) \ | / Fon: +49 30 45478986 (privat) 030 314 24 764 (uni) \~/
From: kiwi@cs.tu-berlin.de (Axel Habermann) Newsgroups: comp.sys.next.programmer Subject: Re: Newcomer to NextStep-Help with GDB Date: 13 Sep 1995 14:37:24 GMT Organization: Technical University of Berlin, Germany Distribution: world Message-ID: <436qb4$hcl@news.cs.tu-berlin.de> References: <4310k2$djl@sirius.tadpole.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit rshi@folk.dev.tadpole.co.uk wrote: : Does anyone out there have 'gdb' running a remote kernel debugging session : under NextStep 3.3 ? Yes. It definitely works from a Cogent EM960 on the master to an EtherExpress 16 on the slave (the to be debugged kernel) machine. Axel -- Axel Habermann kiwi@cs.tu-berlin.de \\|// Muellerstr. 145 kiwi@buran.fb10.tu-berlin.de )o o( D-13353 Berlin (Wedding) \ | / Fon: +49 30 45478986 (privat) 030 314 24 764 (uni) \~/
From: chuck@its.com Newsgroups: comp.sys.next.programmer Subject: Re: OpenGL for NeXT? Date: 13 Sep 1995 14:25:40 GMT Organization: Information Technology Solutions, Inc. Message-ID: <436pl4$902@news.its.com> References: <436cjq$jc8@cd4680fs.rrze.uni-erlangen.de> krebs@faps.uni-erlangen.de (Thomas Krebs) wrote: > Hi, > Is there an OpenGL implementation for NeXT, No. However, NEXTSTEP comes with Pixar's RenderMan and QuickRenderMan software, which is comparable. > or better, is Mesa ported to NeXT? If you mean the spreadsheet app, yes. Mesa was originally written under NEXTSTEP. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
Newsgroups: comp.sys.next.programmer From: fred@improve.fdn.org (Frederic STARK) Subject: Re: CDPlayer AutoPlay Feature - How? Message-ID: <1995Sep13.140350.5068@improve.fdn.org> Sender: news@improve.fdn.org Organization: improve SA - La Defense, Paris, France. References: <tyen-1209951538390001@lestat.tkg.com> Date: Wed, 13 Sep 1995 14:03:50 GMT In article <tyen-1209951538390001@lestat.tkg.com> tyen@netcom.com (Anthony Yen) writes: > I'm curious, how does CDPlayer implement the AutoPlay feature? What do you call autoplay ? If you mean the 'launch CDPlayer when audio CD inserted', NeXT seems to made yet another hack... Look at the strings with '####' at the beginning poufpouf::{22}> strings /usr/filesystems/cdaudio.fs/cdaudio.util readonly removable /dev/r Unknown device type (%s) usage: %s action device [mount_point] [flags] action: -%c (Probe for mounting) -%c (Probe for initializing) -%c (Mount) -%c (Repair) -%c (Unmount) -%c (Force Mount) -%c (Initialize) /usr/etc/umount %s %s cdutil: sendCommand error:Sense key: %X, code: %X cdutil: NO MORE DRIVE SLOTS AVAILABLE /dev/sg0 cdutil: findDrive: Generic open failed: %d cdutil: findDrive cdutil: findDrive: Ioctl SGIOCSTL failed: %d cdutil: findDrive: device close failed: sd target 0: INVALID cdutil: openDrive: Drive already open /dev/rsd%1dh cdutil: openDrive: Couldn't open %s (%d) cdutil: openDrive cdutil: Inquiry failed cdutil: closeDrive: device close failed: cdutil: closeDrive trackEntry: Track number out of range cdutil: Catalog failed. -------- Catalog start -------- Tracks: %d, %d "Lead out" track start: %d:%d:%d Track: %2d, Start Time: %2d:%02d, Length: %d -------- Catalog done -------- cdutil: SCSI reset not implemented. /dev/rsd /usr/filesystems %s/%s%s/%s%s ####cdaudio.util: CANNOT CONNECT TO WORKSPACE device cdaudio.util: CANNOT WRITE FILE ####CDPlayer ####cdaudio.util: CANNOT OPEN CDPlayer cdaudio cdaudio.util.m ####Application ####workspace ####openFile:withApplication: poufpouf::{23}> So I beleive that if you have an app called CDPlayer, it will be autolaunched at audio-CD insert... -- fred ----------------------------------------------------------------- frederic stark -- fred@improve.fdn.org -----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: fred@improve.fdn.org (Frederic STARK) Subject: Re: forward declaration of a class in objective-c Message-ID: <1995Sep13.141102.5174@improve.fdn.org> Sender: news@improve.fdn.org Organization: improve SA - La Defense, Paris, France. References: <DEsCG3.12F@eunet.ch> Date: Wed, 13 Sep 1995 14:11:02 GMT In article <DEsCG3.12F@eunet.ch> marco@vivaldi.lysis.ch (Marco Scheurer) writes: > In article <4310un$mda@info.epfl.ch> marco@sente.epfl.ch (Marco Scheurer) > writes: > [...] > > Well beside the fact that I don't use copy that much, could someone > > enlighten me by telling me *why* NSDictionary keys are copied? I was > under > > the impression that NSDictionary was some kind of hash table, and I > fail > > to see why copying the key is necessary. > [...] > > Oops. What I meant was that I was wondering why keeping the keys was > necessary, which is obvious (for instance to enumerate the keys). And if > you want to keep them around, you have to copy them, of course. You don't > need to copy or retain the keys only if you limit yourself to address > computation. Sorry for the bandwith. And a hash-table cannot be built without keeping the keys, because those are needed to solve hash-collisions. I am personally not sure that NSDictionary copying keys in all the cases is a GoodThing, but this is another story... :-) -- fred ----------------------------------------------------------------- frederic stark -- fred@improve.fdn.org -----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: Re: OpenGL for NeXT? Message-ID: <1995Sep13.200940.22879@media.mit.edu> Sender: news@media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <436cjq$jc8@cd4680fs.rrze.uni-erlangen.de> <436pl4$902@news.its.com> Date: Wed, 13 Sep 1995 20:09:40 GMT In article <436pl4$902@news.its.com> chuck@its.com writes: >>krebs@faps.uni-erlangen.de (Thomas Krebs) wrote: >>> Hi, >>> Is there an OpenGL implementation for NeXT, >> >>No. However, NEXTSTEP comes with Pixar's RenderMan and QuickRenderMan >>software, which is comparable. >> >>> or better, is Mesa ported to NeXT? >> >>If you mean the spreadsheet app, yes. Mesa was originally written under >>NEXTSTEP. I'm sure he means the OpenGL work-alike called Mesa written by Brian Paul. Given the existence of an X library on NEXTSTEP, I see no reason why it wouldn't work fine. I'm actually planning on giving it a try when I get the latest version of Cub'X-Window. -- --> Michael B. Johnson, SMVS, Ph.D. -- wave@media.mit.edu|wave@pixar.com --> http://wave.www.media.mit.edu/people/wave/ --> alumni, MIT Media Lab, Computer Graphics & Animation Group --> Media Arts Technologist, Pixar Animation Studios
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <@vm.cnuce.cnr.it,@ISS.IT:ZANITTI@ISS.IT> Message-ID: <199509131613.JAA17926@netcomsv.netcom.com> Date: Wed, 13 Sep 95 15:22:02 ISS From: ZANITTI@ISS.IT Subject: Help me with yacc and lex Help me with yacc and lex I must insert the functions produced by yacc and lex in a my Objective C Class. 1) How I make PB compiling automatically grammar.y and rules.lex? 2) Yacc and lex without main() function in grammar.y and rules.lex produce errors. 3) How I make use the produced functions by yacc and lex in my class to allow this functions call a function of my class: $$ = (self functionMyClass:...); thanks, SORRY FOR MY ENGLISH Zanitti Leo
From: macrae@geo.ucalgary.ca (Andrew MacRae) Newsgroups: comp.sys.next.programmer Subject: Re: OpenGL for NeXT? Date: 13 Sep 1995 23:41:10 GMT Organization: The University of Calgary Message-ID: <437q6m$k5g@ds2.acs.ucalgary.ca> References: <436pl4$902@news.its.com> In article <436pl4$902@news.its.com> chuck@its.com writes: > krebs@faps.uni-erlangen.de (Thomas Krebs) wrote: > > Hi, > > Is there an OpenGL implementation for NeXT, > > No. However, NEXTSTEP comes with Pixar's RenderMan and QuickRenderMan > software, which is comparable. Another option is VOGL, which does compile for NextStep (at least, it did when I last tried it a couple of years ago), and has a postscript output option. ftp://munnari.oz.au/pub/graphics/vogl.tar.gz ftp://munnari.oz.au/pub/graphics/vogle.tar.gz > > > or better, is Mesa ported to NeXT? > > If you mean the spreadsheet app, yes. Mesa was originally written under > NEXTSTEP. Mesa is another implementation similar to OpenGL. See: http://www.ssec.wisc.edu/~brianp/Mesa.html I does not look like it has been ported to NextStep, although (obviously) it would probably work with one of the X servers running atop NextStep. -- -Andrew macrae@geo.ucalgary.ca home page: "http://geo.ucalgary.ca/~macrae/current_projects.html" Check out the U. of Calgary resident Peregrine falcon: http://ksi.cpsc.ucalgary.ca/falcon
From: gshaw@zeta.org.au (Greg Shaw) Newsgroups: comp.sys.next.programmer Subject: Building MAB on NS/FIP 3.3 Date: 14 Sep 1995 00:24:45 GMT Organization: Kralizec Dialup Internet Sydney, +61-2-837-1183 V.32bis Message-ID: <437sod$qon@gamera.zeta.org.au> Hi all, Has anyone built a multi-architecture binary on NS/FIP 3.3. I think I have left something out because I have tried and I get a mismatch from the linker relating to cputype on /usr/lib/libIndexing. Sure the precompiled headers fail but the system seems to cope. It's the linker that doesn't seem to cope. Are there different libraries used for multi-architecture binaries? Do I just tick every architecture in Project Builder that I want to build and it does the rest or must I do something by hand? I am pretty sure I installed everything necessary for Multi-Architecture Binaries but are there any gotchas people can tell me about? I have tried searching for 'MAB' and 'architecture' in the Librarian but to no avail. Any assistance appreciated. Cheers, Greg Shaw.
From: pollak@mozart.inet.co.th (Dan Pollak) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: AddressBlaster -- Searching For Author Date: 14 Sep 1995 03:27:34 GMT Organization: Internet Thailand, Bangkok, Thailand. Message-ID: <4387f6$3co@senior.nectec.or.th> If anyone knows the name, e-mail address, or whereabouts of the fellow who wrote AddressBlaster (wonderful App) could you please e-mail me. Thanks in Advance!
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer Subject: Re: One Default Database is NOT enough! Date: 12 Sep 1995 06:26:33 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <43396p$shv@usenet.rpi.edu> References: <420hss$6o6@news.rhrz.uni-bonn.de> <RDL.95Sep11020452@world.std.com> rdl@world.std.com (Robert La Ferla) wrote: > It's not that we need more defaults databases. It's that we need > a hierarchal defaults database. Interestingly, NetInfo could > potentially be used for this purpose. In fact, NeXT should > consider this in 4.0. There's an article in one of the OpenStep Journal's on some of the changes with OpenStep, and I believe a new way of handling defaults is one of them. I don't believe it has any connection to using netinfo, but I'm too tired right now to track down the article and reread it. Maybe it does. Okay, I'll track it down a little. It's mentioned on pages 13 and 14 of Volume 1, Issue 1 of OpenStep Journal. > Imagine being able to set defaults for a department in your > corporation and have it automatically inherited by all your users. > Your users can, of course, set their own defaults that override > inherited ones. This would make corporate administration of > NEXTSTEP applications a lot more manageable. The OpenStep defaults strategy, as I remember it, was supposed to address these kinds of issues. > Rob's article was in reply to > moellney@komet.bota.uni-bonn.de (Michael Moellney) writes: > Did you ever change from one Computer with a max ScreenRes > of 1024x768 to a Computer with 1600x1200 and back and forth > .... I don't think the new defaults strategy directly addresses these screen-size issues, but it looks like it would be flexible enough to handle them. Application writers would have to be consistent (across apps) on what defaults database would be the one(s) for resolution-dependent defaults. > Now wouldn't it be fine, if any application is aware of the > screen res and would (depending on it) store different > defaultbase entries? For the applications that I write, I do that. So, for instance, my mCD application has written defaults of mCD ControlFrame-1024x768 "738 153 219 446 0 0 956 768 " mCD ControlFrame-1408x1024 "1119 292 216 733 0 0 1340 1024 " mCD ControlFrame-1280x1024 "997 305 215 592 0 0 1212 1024 " mCD ControlFrame-1152x864 "869 149 220 502 0 0 1084 864 " for when I'm running it on my NS/Intel box. Hmm. I think there's supposed to be a "ControlFrame" there too (one that doesn't include the resolution), so that the *default* for some new screen resolution is based on the last thing I've set for the location on some other screen resolution. The next trick is to do something special for systems with multiple monitors on them. I do that for CheckMail, and I think I do that for mCD too (by having another distinctive name for the default when multiple screens are active). I'd have to look at the source code to remember what I do in that case... Now if you really wanted to do the "perfect thing", you'd have to answer the question "which monitor does the user really want when saving a default for multiple monitors?". For instance, I might position my mCD and CheckMail windows to be on the *greyscale* monitor, no matter what combination of monitors I might have on different machines. Answering this question gets tricky... Of course, I only do this for window locations. I didn't think to do this for things like font sizes. > Do you see an elegant way to handle with this... > Think of Version (I): > I think it is a common problem for every programmer and it > could be elegant if NS would have different Databases for > _resolution_dependent_ DataBaseEntries: Something like this would be nicer than what I'm doing. OpenStep does allow for searching thru multiple defaults databases, and for defining new databases in addition to the ones that NeXT plans on using by default (which is to say, their default list of defaults databases). The article isn't detailed enough to say how this list of defaults databases would be coordinated between multiple applications. --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: sanguish@digifix.com Newsgroups: comp.sys.next.programmer Subject: NXBitmapImageRep - code to handle the area of samples/transparency/etc? Date: 14 Sep 1995 07:02:20 GMT Organization: Digital Fix Development Message-ID: <438k1s$d2h@digifix.digifix.com> Does anyone out there have a working code segment that - given an NXBitmapImageRep, and an x and y value return the components (r,g,b,alpha etc..) for the given co-ordinates - given an NXBitmapImageRep, and an x and y value set the components (r,g,b,alpha etc..) for the given co-ordinates There are about a zillion different combinations to this, with bit depths, planar/non-planar, and transparency, and I'm hoping that someone out there has already written and tested something. Any pointers?
From: kiwi@sojus (kiwi@buran.fb10.tu-berlin.de (Axel Habermann)) Newsgroups: comp.sys.next.programmer Subject: Re: Building MAB on NS/FIP 3.3 Date: 14 Sep 1995 09:23:40 GMT Organization: Technical University of Berlin, Germany Message-ID: <438sas$uv@news.cs.tu-berlin.de> References: <437sod$qon@gamera.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Greg Shaw (gshaw@zeta.org.au) wrote: : Hi all, : Has anyone built a multi-architecture binary on NS/FIP 3.3. Yes. : I think I have left something out because I have tried and I get a : mismatch from the linker relating to cputype on /usr/lib/libIndexing. : Sure the precompiled headers fail but the system seems to cope. It's the : linker that doesn't seem to cope. You have to install the Develover Libaries for all target architectures as they are needed for linking. Axel -- Axel Habermann \\|// "Wenn Du kiwi@buran.fb10.tu-berlin.de )o o( nicht weisst Fon: +49 30 45478986 Fax:4542296 \ | / was Du tust, D2: +49 172 3900348 \~/ mach's mit Eleganz!"
Newsgroups: comp.sys.next.programmer From: frederic@hp-712-60 (Frederic GALOT) Subject: Re: Help me with yacc and lex Message-ID: <1995Sep14.084741.508@xlan.fdn.org> Sender: news@xlan.fdn.org Organization: X&LAN - Bordeaux, France. References: <199509131613.JAA17926@netcomsv.netcom.com> Date: Thu, 14 Sep 1995 08:47:41 GMT I think there is an example in Garfinkel and Mahoney's book : "NeXTSTEP PROGRAMMING". Perhaps this will help you. FRED.
From: tbm@tci002.uibk.ac.at (Martin Michlmayr) Newsgroups: comp.sys.next.programmer Subject: Re: OpenGL for NeXT? Date: 14 Sep 1995 12:54:33 GMT Organization: Dept. of Computer Science, University of Salzburg Distribution: world Message-ID: <4398m9$6mb@esel.cosy.sbg.ac.at> References: <436cjq$jc8@cd4680fs.rrze.uni-erlangen.de> <436pl4$902@news.its.com> chuck@its.com wrote: / krebs@faps.uni-erlangen.de (Thomas Krebs) wrote: // Is there an OpenGL implementation for NeXT, / No. However, NEXTSTEP comes with Pixar's RenderMan and QuickRenderMan / software, which is comparable. Take a look at http://wwwcip.informatik.uni-erlangen.de/user/tsengel/G3DKit/G3DKit.html They intend to port a free OpenGL library (e.g. Mesa) to NEXTSTEP. Probably you would like to help them, Thomas ? Martin Michlmayr tbm@ihq.com
Newsgroups: comp.sys.next.programmer From: weiyao@ipswichcity.qld.gov.au Subject: Books for Programming.. Message-ID: <DEwHz8.1J3@ipswichcity.qld.gov.au> Date: Thu, 14 Sep 1995 15:06:43 GMT Organization: Global Infolinks Internet Server, Ipswich Qld Australia Can someone suggest me some books for NeXTSTEP programming??? i am new to NeXTSTEP, so i don't have too much idea about :(( basickly, i have 6 years C programming experience.... so can some one tell me some good books for NeXTSTEP environmelt. i need to to know the book's name, publisher... etc.. thanks!!!!!
Newsgroups: comp.sys.next.programmer From: laurent@planon.qc.ca (Laurent Daudelin) Subject: Memory problem with DBKit Message-ID: <DEwH4y.2MM@planon.qc.ca> Sender: laurent@planon.qc.ca (Laurent Daudelin) Organization: Planon Telexpertise, Inc. Boucherville QUEBEC Date: Thu, 14 Sep 1995 14:48:34 GMT Hi! We're developping some vertical applications that use the DBKit heavily. One of these applications need to access a table in a database regularly. We discovered that each fetch to the database result in an increase in the memory used by the application. We did a test application that only do a fetch every minute. The result is an increase of ~100K after every fetch. The number of records in the table is always the same, and we don't modify any record, just browsing them. Here is the method that do the fetch: - fetchLesMesures:sender { /* Assume testsDBModule is a DBModule, for the entity 'Tests', */ /* loaded from the nib file. */ /* Table 'Tests' has a one to many relation to table 'Measures' */ id testsFetchGroup = [testsDBModule rootFetchGroup]; unsigned int c, nombreMesures; nombreMesures = 0; [testsDBModule fetchAllRecords:self]; for (c = 0; c < [testsFetchGroup recordCount]; c++) { /* To activate the related records in table 'Measures' */ [testsFetchGroup setCurrentRecord:c]; } return self; } Any idea, comment, info, pointer gladly accepted! -Laurent. -- ****************************************************************** Laurent Daudelin, Lead Software Engineer Planon TELEXPERTISE Inc., Boucherville, Quebec, CANADA laurent@planon.qc.ca <-- NeXTMail welcome! (Mac Mail welcome too!)
From: goodmadi@david (David I. Goodman) Newsgroups: comp.sys.next.programmer Subject: script for sending attachments Followup-To: comp.sys.next.programmer Date: 14 Sep 1995 15:51:39 GMT Organization: Rose-Hulman Institute of Technology Distribution: world Message-ID: <GOODMADI.95Sep14105140@david> I am looking for a shell script that can compose next-mail. I would like to send a file from an HP to a next via mail. Right now I am doing this via uuencode, but I would like to just send the file as a NeXTMail attachment. I found Joe Freeman's "send_attach" but that would only work from a NeXT. Any suggestions??? - Dave daveg@crt.com Disclaimer: daveg != CRT
From: suckow@ bln.sel.alcatel.de (Ralf Suckow) Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs Subject: Selected Text in NXBrowser overwrites scroll bar Date: 14 Sep 1995 17:03:33 GMT Organization: Alcatel/Bell Distribution: world Message-ID: <439n95$ki6@btmpjg.god.bel.alcatel.be> Hi netters, here's a problem with NXBrowser that's new for me. Depending on the displayed string, some cells in a browser overwrite the scroll bar to the left of them, when selected. When they are unselected, the scroll bar is not restored. I tried [matrix sizeToCells] when loading, [browser sizeToFit] etc. no effect. Also I studied more than a hundred old postings to c.s.n.p concerning NXBrowser - nothing. Any ideas? Thank you very much. Ralf PS. I had the same problem with a text in a scroll view some weeks ago, but I could solve it in IB by resizing the content view. -- Ralf Suckow |------------------------ suckow@bln.sel.alcatel.de | All opinions are mine.
From: suzawa@suzawa.anatomy.emory.edu (Satoru Uzawa) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: bison-1.24 Followup-To: comp.sys.next.software,comp.sys.next.programmer Date: 14 Sep 1995 18:48:48 GMT Organization: Emory University Message-ID: <439teg$4p4@moe.cc.emory.edu> References: <1995Sep6.104544.14468@investor.pgh.pa.us> Bob Peirce #305 (rbp@investor.pgh.pa.us) wrote: : I posted this the other day but checking from another site I see it : never got out?? : I am trying to compile bison-1.24. The configure program sets it up for : ansi. In order to get it to compile without error I had to set : CPPFLAGS = -ansi. All goes well until the link stage when I get an : error on an undefined symbol -- _alloca. : I grepped for _alloca in all the *.[ch] files and it does not seem to be : there! Does anybody have any idea what is causing this and how to fix : it? : Thanks, : BOB : -- : Bob Peirce Pittsburgh, PA 412-471-5320 : rbp@investor.pgh.pa.us [OFFICE] me@venetia.pgh.pa.us [HOME (NeXT)] : There is only one basic human right, the right to do as you damn well : please. And with it comes the only basic human duty, the duty to take : the consequences. -- P.J. O'Rourke bison-1.24 compiles fine with "cc -posix" option. Many other GNU software also require specifying this option. Good luck. -- Satoru Uzawa, suzawa@unix.cc.emory.edu (NeXTmail welcome)
From: droux@info.isbiel.ch (Nicolas Droux) Newsgroups: comp.sys.next.programmer Subject: Re: [Help Need] Who has a simple Terminal Emulator for NeXTSTEP? Date: 8 Sep 1995 18:18:16 GMT Organization: Biel School of Engineering, CH-2501 Biel, Switzerland Distribution: world Message-ID: <42q1d8$jme@vega.info.isbiel.ch> References: <1995Sep8.103020.45375@yogi.urz.unibas.ch> In article <1995Sep8.103020.45375@yogi.urz.unibas.ch> writes: > I want to implement a primitive terminal emulator on NeXTSTEP. There is an examples called > "Subprocess" Try to use the classes MiscSubprocess and MiscRemoteSubprocess instead. They are delivered with the MiscKit available from most NEXTSTEP ftp archives. -- ---------------------------------------------------------------- Nicolas Droux Rue de la Source 21 Biel School of Engineering CH-2501 Biel-Bienne Computer Science Dpt Switzerland droux@info.isbiel.ch (MIME/NeXTMail) Tel: +41 32 266 314 http://www.isbiel.ch/~don/ Fax: +41 32 266 523
From: John Dawson <jdawson@tkg.com> Newsgroups: comp.sys.next.programmer Subject: Why doesn't "prog > /dev/pp0" work? Date: Thu, 14 Sep 1995 15:31:04 -0500 Organization: Real/Time Communications - Bob Gustwick and Associates Message-ID: <Pine.A32.3.91.950914151616.38954D-100000@argent.tkg.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I wrote a PostScript-to-Epson-FX-80 filter so I could use my trusty old FX-80 as a NEXTSTEP printing device. And it works just fine. But I encountered this problem while doing it: "epsonfilt < blah.ps > /dev/pp0" doesn't work; part of the data gets to the printer, but part of it is lost, so the image works okay for the first line or so but then is completely screwed up. But when I create a printer entry, and give it "epsonfilt" for the filter program and /dev/pp0 for the device, it works without flaw every time. What does the print subsystem know about sending things to /dev/pp0 that I don't? Thanks in advance ... -- John Dawson (jdawson@tkg.com)
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Memory problem with DBKit Date: 15 Sep 1995 00:48:34 GMT Organization: Sense Networking Seattle (www.oz.net) Distribution: world Message-ID: <43aih2$dr9@emerald.oz.net> References: <DEwH4y.2MM@planon.qc.ca> In article <DEwH4y.2MM@planon.qc.ca> laurent@planon.qc.ca (Laurent Daudelin) writes: > We're developping some vertical applications that use the DBKit heavily. > One of these applications need to access a table in a database regularly. > We discovered that each fetch to the database result in an increase in the > memory used by the application. DBKit leaks memory. There's little (if anything) you can do to prevent it. And you can't free any DBModule without causing memory problems that will crash your app. All of this should be strong incentive to migrate to EOF which will be supported in the future unlike DBKit. > - fetchLesMesures:sender Gotta love this method name :-) I bet it sounds much nicer than my method names, too. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: nextcolortbl RTF directive Date: Fri, 15 Sep 95 08:41:58 GMT Organization: Cedar Systems Message-ID: <811154518snz@cedar.demon.co.uk> References: <9509121636.AA00217@thoughtful.com> In article <9509121636.AA00217@thoughtful.com> jeremy@thoughtful.com "Jeremy Slade" writes: > > My code contains a custom RTF reader to do some processing on the text, > the actual RTF usually comes from the Text object via writeRichText:. In > playing around with some colored text, the Text object spit out some RTF > containing a directive: > > ...{\nextcolortbl{\nextcolor1 ..some garbage here..}}... > > I had never seen this before, it is certainly not mentioned in any > documentation that I have seen, and my RTF reader did not recognize the > nextcolortbl control word, of course. And now, I can't get it to happen > again, which is rather frustrating. Does anyone know anything about this > and other possible RTF directives that are unique to Nextstep? > > Thanks, > Jeremy > Hi Jeremy, We have also written an RTF reader/writer, which we use in a word processor application we are writing, but I have not seen a \nextcolortbl directive generated by Text. However, I did a scan on our disk for that directive and found it in some files generated by a demo version of an accounts package called SUMERIS. The files that the directive appeared in are not RTF files, although they do contain blocks of rtf definitions. A valid RTF reader can ignore the \nextcolortbl and \nextcolor1 directives, but the string of characters following \nextcolor1 will appear in the current destination as plain text. Any RTF writer produced after 1989 should make use of the \# directive definition that instructs RTF readers to ignore the current group if it doesn't recognise the directive. Hence a \#nextcolortbl would in the above case allow all RTF readers not to display the garbage following \nextcolor1. As RTF is an extensible language, your reader can't be expected to recognise all RTF directives. The SUMERIS files contain valid \colortbl definitions that all RTF readers can recognise. The only other next specific directives that I have seen Text generate are \smartcopy which is used to indicate whether the selection was made by double clicking or not; and \NeXTGraphic, \NeXTHelpMarker etc that are used for embedded graphics in RTFD files. Regards, Paul Heffernan. ----------------------------------------------- Cedar Systems email: Cedar@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
From: tbm@tci002.uibk.ac.at (Martin Michlmayr) Newsgroups: comp.sys.next.programmer Subject: Re: Books for Programming.. Date: 15 Sep 1995 13:55:40 GMT Organization: Dept. of Computer Science, University of Salzburg Distribution: world Message-ID: <43c0ks$86f@esel.cosy.sbg.ac.at> References: <DEwHz8.1J3@ipswichcity.qld.gov.au> weiyao@ipswichcity.qld.gov.au wrote: / Can someone suggest me some books for NeXTSTEP programming??? / i am new to NeXTSTEP, so i don't have too much idea about :(( / basickly, i have 6 years C programming experience.... so can some one / tell me some good books for NeXTSTEP environmelt. For Objective-C: OOP & The Objective C Language, NeXT Computer Inc. Addison Wesley Objective-C Object-Oriented Programming Techniques (Pinson & Wiener) Addison Wesley ISBN 0-201-50828-1 Object Oriented Programming: An Evolutionary Approach (Cox & Novobilski) Addison Wesley For NEXTSTEP: NeXTSTEP Programming--STEP ONE: Object-Oriented Applications, by Simson L. Garfinkel and Michael K. Mahoney, Springer-Verlag New York, 1992. "NeXTSTEP programming, concepts and applications", by Alex Duong Nghiem, Prentice Hall, 1993. Good luck, Martin Michlmayr tbm@ihq.com
From: paul@griffin.plsys.co.uk Newsgroups: comp.sys.next.programmer Subject: Re: Books for Programming.. Date: Fri, 15 Sep 1995 15:18:53 GMT Organization: P & L Systems, Ltd Sender: usenet@griffin.plsys.co.uk Message-ID: <DEyD7H.1pI@plsys.co.uk> References: <43c0ks$86f@esel.cosy.sbg.ac.at> In article <43c0ks$86f@esel.cosy.sbg.ac.at> tbm@tci002.uibk.ac.at (Martin Michlmayr) writes: > weiyao@ipswichcity.qld.gov.au wrote: > / Can someone suggest me some books for NeXTSTEP programming??? > / i am new to NeXTSTEP, so i don't have too much idea about :(( > / basickly, i have 6 years C programming experience.... so can some one > / tell me some good books for NeXTSTEP environmelt. > > For Objective-C: > > OOP & The Objective C Language, NeXT Computer Inc. > Addison Wesley > > Objective-C Object-Oriented Programming Techniques (Pinson & Wiener) > Addison Wesley ISBN 0-201-50828-1 > > Object Oriented Programming: An Evolutionary Approach (Cox & Novobilski) > Addison Wesley > > For NEXTSTEP: > > NeXTSTEP Programming--STEP ONE: Object-Oriented Applications, by > Simson L. Garfinkel and Michael K. Mahoney, Springer-Verlag New York, > 1992. > > "NeXTSTEP programming, concepts and applications", by Alex Duong > Nghiem, Prentice Hall, 1993. And also: "Developing NeXTSTEP Applications", by Gene Backlin, SAMS, 1995. Paul -- Paul Lynch (NeXTmail) paul@plsys.co.uk Tel: (01494)432422 P & L Systems Fax: (01494)432478 We do NeXTSTEP
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.programmer Subject: Re: OpenGL for NeXT? Date: 15 Sep 1995 15:21:53 GMT Organization: University of Heidelberg, Germany Message-ID: <43c5mh$b5u@sun0.urz.uni-heidelberg.de> References: <436pl4$902@news.its.com> <437q6m$k5g@ds2.acs.ucalgary.ca> Andrew MacRae (macrae@geo.ucalgary.ca) wrote: : In article <436pl4$902@news.its.com> chuck@its.com writes: : > krebs@faps.uni-erlangen.de (Thomas Krebs) wrote: : > > Hi, : > > Is there an OpenGL implementation for NeXT, : > : > No. However, NEXTSTEP comes with Pixar's RenderMan and QuickRenderMan : > software, which is comparable. ... : Mesa is another implementation similar to OpenGL. See: : http://www.ssec.wisc.edu/~brianp/Mesa.html : I does not look like it has been ported to NextStep, although : (obviously) it would probably work with one of the X servers running atop : NextStep. There's a project working on a GNUstep 3DKit to replace NeXT's 3DKit (which will be obviously withdrawn in the future). It is planned to port Mesa to NEXTSTEP, and replace Renderman with OpenGL for GNUstep 3DKit (http://wwwcip.informatik.uni-erlangen.de/user/tsengel/G3DKit/G3DKit.html). The Mesa port should be quite straighforward. Gregor -- | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: One Default Database is NOT enough! Date: 15 Sep 1995 16:36:42 GMT Organization: University of Heidelberg, Germany Message-ID: <43ca2q$dc4@sun0.urz.uni-heidelberg.de> References: <43396p$shv@usenet.rpi.edu> In article <43396p$shv@usenet.rpi.edu> Garance A Drosehn <gad@eclipse.its.rpi.edu> writes: {...] I wrote a NSUserDefaults for the GNUStep's libobjects. It supports multiple environment default databases, and could be used under NS 3.3 either. To implement a hierarchy of dictionaries is a bit tricky, and I certainly will change my implementation in the future. I still have to finish 3 or 4 methods, but hope it will be included with the next libobjects release... -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: Where's MiscKit??? Date: 15 Sep 1995 16:49:44 GMT Organization: University of Heidelberg, Germany Message-ID: <43car8$dlh@sun0.urz.uni-heidelberg.de> References: <4352pl$2k0@xmission.xmission.com> In article <4352pl$2k0@xmission.xmission.com> yackd@xmission.xmission.com (Unreality) writes: [...] If you are trying to get the MiscKit in europe, the fastest way could be: ftp://ftp.nmr.embl-heidelberg.de/pub/next/Developer/Resources/Kits/MiscKit.1.6.1.s.t ar.gz Also several sites from US and Canada reported, that it's faster to ftp it from EMBL than from byu or orst. -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: Ali_Ozer@NeXT.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: nextcolortbl RTF directive Date: 15 Sep 1995 17:48:19 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <43ce93$d0r@news.next.com> References: <9509121636.AA00217@thoughtful.com> In article <9509121636.AA00217@thoughtful.com> Jeremy Slade writes: > ...In playing around with some colored text, the Text object spit out some > RTF containing a directive: > ...{\nextcolortbl{\nextcolor1 ..some garbage here..}}... > I had never seen this before, it is certainly not mentioned in any > documentation that I have seen, and my RTF reader did not recognize the > nextcolortbl control word, of course. ... These are generated for "special" colors (colors which are richer than just RGB). These include CMYK and Pantone. The RGB version of the color is still written out, allowing non-NEXTSTEP readers to get a close enough approximation. Ali, Ali_Ozer@NeXT.com
From: David A. Johnson Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Chinese editor Date: 15 Sep 1995 21:37:47 GMT Organization: Northwestern University, Evanston, IL, US Message-ID: <43crnb$9l7@news.acns.nwu.edu> I am looking for a chinese editor under NeXTStep. I found PinYinEdit.app but it appears it needs something (probably a dictionary). When we enter a word we can't get any chinese output. Also it what my friend really would like is a chinese newsreader and translator for is email. Does anyone know of such a program. Thank's in advance, david
Newsgroups: comp.sys.next.programmer From: gerald@instep.bc.ca (Gerald Guterrez) Subject: Re: Displaying individual pixels/points ? Message-ID: <1995Sep15.231208.9639@instep.bc.ca> Sender: usenet@instep.bc.ca Organization: InStep Mobile Communications Inc. References: <1995Sep15.225635.9398@instep.bc.ca> Date: Fri, 15 Sep 1995 23:12:08 GMT Gerald Guterrez writes > > Hi everyone. I'm not sure whether I'm missing the point by pondering about > this ... so if I am someone please tell me. Oops .. missing the point of DPS, I mean. Thanks for any help / comments.
Newsgroups: comp.sys.next.programmer From: gerald@instep.bc.ca (Gerald Guterrez) Subject: Displaying individual pixels/points ? Message-ID: <1995Sep15.225635.9398@instep.bc.ca> Sender: usenet@instep.bc.ca Organization: InStep Mobile Communications Inc. Date: Fri, 15 Sep 1995 22:56:35 GMT Hi everyone. I'm not sure whether I'm missing the point by pondering about this ... so if I am someone please tell me. I am trying to display a pixel on the screen. By that I mean that, given a coordinate (x,y), I want to be able to light up the pixel in a view that is nearest to that point. Some sample uses I can think of are to process images, ray tracing, rendering, etc... I realize that NXImage can handle images, but putting a pixel on a screen is what I'm trying to do right now. Is this unrealistic under NeXTSTEP ? If so .. how are the above things done under NeXT ? How does, for example, id Software's DOOM manage to draw in a window ? Thanks for any help. Please forward any replies to my email address. ( NeXTMail accepted )
From: chuck@its.com Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: Chinese editor Date: 16 Sep 1995 00:43:09 GMT Organization: Information Technology Solutions, Inc. Message-ID: <43d6it$l9j@news.its.com> References: <43crnb$9l7@news.acns.nwu.edu> David A. Johnson wrote: > Also it what my friend really would like is a chinese newsreader You could get the source code for Alexandra.app and modify it so that the buttons, menu items, and so forth are in Chinese. Of course, this wouldn't change the contents of the news being read by that newsreader from (primarily) English to Chinese. > and translator for his email. No such program exists; natural language translation is a very tough problem that does not have very good solutions available. Even attempts to move from closely related languages, such as from French to Italian, say, simply don't work that well (especially for technical material). -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: Re: OpenGL for NeXT? Date: 14 Sep 1995 11:21:07 GMT Organization: my own Message-ID: <439373$22v@gate.seicom.net> References: <436pl4$902@news.its.com> <437q6m$k5g@ds2.acs.ucalgary.ca> I have asked Brain Paul about a port of MESA, an Open GL implementation (not the spreadsheet) to NeXTSTEP and received the following: *From: Brian Paul <brianp@ssec.wisc.edu> *Subject: Re: [Q] Mesa Nextstep port anyone? *To: frank@miranda.tue.schwaben.de (Frank M. Siegert) *Date: Sun, 13 Aug 95 11:23:17 CDT *In-Reply-To: <9508092114.AA01488@miranda.tue.schwaben.de>; from "Frank M. *Siegert" at Aug 9, 95 11:14 pm *X-Mailer: ELM [version 2.3 PL11] * *> Hi! Sorry to bother you, but I thought asking the master first... *> Do you know of anyone doing a mesa port for Nextstep? * *Dave Lehn (dlehn@mail.vt.edu) said he was going to do a nextstep/openstep *port but I haven't heard anything from him. You should contact him. * *-Brian * *--------------------------------------------------------------------------- *Brian Paul Space Science and Engineering Center *brianp@ssec.wisc.edu 608-263-1555 University of Wisconsin - Madison I received no answer from Dave Lehn (dlehn@mail.vt.edu). If anyone knows anything about a MESA port please let me know. - Frank --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: Any (legal) way to get all events from the Window Manager? Date: 15 Sep 1995 12:45:51 GMT Organization: my own Message-ID: <43bshv$9dr@gate.seicom.net> Howdy! I am working to get WideScreen, a Virtual Screen Manager, a bit more comfortable. To do so I need a way to get my hands at _all_ events coming from the keyboard, so I can trap those keys meant for dragging the screen around, even I WideScreen is not the current application/has the key window. Is there a nice way to do so or do I have to dig my way deep into the heart of DPS. regards Frank --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy
Newsgroups: comp.sys.next.programmer From: frederic@hp-712-60 (Frederic GALOT) Subject: FTP Objects? Message-ID: <1995Sep15.120941.1962@xlan.fdn.org> Sender: news@xlan.fdn.org Organization: X&LAN - Bordeaux, France. Date: Fri, 15 Sep 1995 12:09:41 GMT I'm looking for an object using FTP or a library that could help me to use FTP in an application whithout using a shell. It could be C, C++ or objectiveC. Thanks . FRED.
Newsgroups: comp.sys.next.programmer From: pdo@aldebaran (Paul DORRELL) Subject: EOF - Using the Sybase Adaptor ??? Content-Type: text/plain; charset=iso-8859-1 Message-ID: <1995Sep15.202726.3009@xlan.fdn.org> Sender: news@xlan.fdn.org Content-Transfer-Encoding: 8bit Organization: X&LAN - Bordeaux, France. Mime-Version: 1.0 Date: Fri, 15 Sep 1995 20:27:26 GMT Help, Does anybody know how to use the Sybase Adaptors setLogsMessage: method I can‚t make a call directly to the class, because the projet fails during the link
From: ocs@ms.mff.cuni.cz (Ondra Cada) Newsgroups: comp.sys.next.programmer Subject: Help.store programmatically Date: 16 Sep 1995 09:29:44 -0500 Organization: OCSoftware Sender: nobody@cs.utexas.edu Message-ID: <199509160411.GAA14739@ns.ms.mff.cuni.cz> Hi all, is it somehow _programmatically_ possible to access the rtfd documents stored in the Help.store file? I'd like to parse the help text from the application, extracting some information from the help texts in runtime... -- Ondra Cada ocs@earn.cvut.cz NeXTmail and MIME OK
From: par@MCS.COM (Peter Richardson) Newsgroups: comp.sys.next.programmer Subject: Objective-C program without nib Date: 18 Sep 1995 15:46:07 -0500 Organization: MCSNet Services Message-ID: <43klqf$an5@Mars.mcs.com> I have been using objective-c for a few months. I just found out that one of the programs I wrote has to be changed to be able to execute with no interface but be driven by calls through NXConnections. My question is, do I need to create an application object or does the main function simply set up to be contacted via the connection and run that instead? If somebody has some suggestions on how to do this I would greatly appreciate it. Peter Richardson
From: samschap@merle.acns.nwu.edu (Sam Schapmann) Newsgroups: comp.sys.next.programmer Subject: Manually Building Stack Frames for i386, m68000 Date: 18 Sep 1995 23:04:33 GMT Organization: Orrington Investments, Ltd. Message-ID: <43ktu1$4sd@news.acns.nwu.edu> I'm trying to build runtime access to arbitrary Objective-C methods. That is, the user just needs to pick his object and method, and then supply the necessary arguments (_any_ type arguments and return types). I figure I can build a stack frame using the info from -descriptionForMethod:. The problem is I need specifics on the calling sequences for the two architectures I'm dealing with (i386 and m68000). Also, I don't know how to integrate assembly language with Obj-C. Can anyone point me in the right direction? Thanks. Sam Schapmann (ASCII only, please)
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <nkuzmin@conextions.com> Message-ID: <9509181658.AA00488@conextions.com> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Nikita Kuzmin <nkuzmin@conextions.com> Date: Mon, 18 Sep 95 12:58:32 -0400 Subject: How to emulate the keyboard event? Hi, all Is there any way to emulate the keyboard event on the system (rather than application) level. In other words I need to emulate Caps Lock key pressed event to force the system to turn the Caps Lock indicator on. Any assistance appreciated. Nikita.
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: Objective-C program without nib In-Reply-To: par@MCS.COM's message of 18 Sep 1995 15:46:07 -0500 Message-ID: <RDL.95Sep18201246@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <43klqf$an5@Mars.mcs.com> Date: Tue, 19 Sep 1995 00:12:46 GMT You don't need an interface. Use the "tool" project in PB. If you are building a P/DO server program, you can use "run" instead of "runFromAppKit" Robert La Ferla Registered NEXTSTEP / OPENSTEP Consultant Boston, MA + 1 (617) 252-0088 In article <43klqf$an5@Mars.mcs.com> par@MCS.COM (Peter Richardson) writes: Xref: world comp.sys.next.programmer:25000 Path: world!news.kei.com!ddsw1!news.mcs.net!not-for-mail From: par@MCS.COM (Peter Richardson) Newsgroups: comp.sys.next.programmer Date: 18 Sep 1995 15:46:07 -0500 Organization: MCSNet Services Lines: 11 NNTP-Posting-Host: mars.mcs.com X-Newsreader: TIN [version 1.2 PL2 (KSD)] I have been using objective-c for a few months. I just found out that one of the programs I wrote has to be changed to be able to execute with no interface but be driven by calls through NXConnections. My question is, do I need to create an application object or does the main function simply set up to be contacted via the connection and run that instead? If somebody has some suggestions on how to do this I would greatly appreciate it. Peter Richardson
From: larsen@lal.cs.utah.edu (Steve Larsen) Newsgroups: comp.sys.next.programmer Subject: Interceptor framebuffer info Date: 18 Sep 1995 21:48:01 GMT Organization: University of Utah Computer Science Department Message-ID: <43kpeh$1ji@magus.cs.utah.edu> Hi all, Can anyone tell me where I can find any information for the interceptor framebuffer library? I found the library (/usr/shlib/libInterceptor.a), but cannot find any info on how to use it anywhere in any of the developer documentation. Thanks, -- Steve Larsen larsen@sunset.cs.utah.edu I don't like stuff that sucks! B&B
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <jeremy@thoughtful.com> From: jeremy@thoughtful.com (Jeremy Slade) Message-ID: <9509182234.AA00806@thoughtful.com> Date: Mon, 18 Sep 95 16:34:56 -0600 Subject: Re: nextcolortbl RTF directive Cc: doug@uucp-1.csn.net > > ...In playing around with some colored text, the Text object spit out > > some RTF containing a directive: > > ...{\nextcolortbl{\nextcolor1 ..some garbage here..}}... > > I had never seen this before, it is certainly not mentioned in any > > documentation that I have seen, and my RTF reader did not recognize > > the nextcolortbl control word, of course. ... > These are generated for "special" colors (colors which are richer than > just RGB). These include CMYK and Pantone. The RGB version of the color > is still written out, allowing non-NEXTSTEP readers to get a close > enough approximation. > Ali, Ali_Ozer@NeXT.com The problem seems to be that these non-standard directives are not proceeded by \*, which, according to the RTF specification, should be used to signal a directive that should be ignored (including any text associated with the directive) if the directive is not recognized by the RTF reader. According to this spec, the reader should go ahead and insert the text for unrecognized directives that DO NOT use \*. Here is a sample of the RTF generated by the Text object running under NS 3.2: ...{\colortbl;\red255\green255\blue255;\red0\green123\blue185;\red0\green0\ blue0;} {\nextcolortbl{\nextcolor1 040b73747265616d747970656481a20384016341840173fe93fe} {\nextcolor2 040b73747265616d747970656481a203840163c4840373737300817b7b81b8b984012584067 f411b312d33} } \cb1\pard... Since there is no \* preceding \nextcolortbl or \nextcolor1, etc, that would mean the following text would be inserted into the output: 040b73747265616d747970656481a20384016341840173fe93fe040b73747265616d7479706 56481a203840163c4840373737300817b7b81b8b984012584067f411b312d33 Somehow I do not think that this is the intended behavior. Here is the text from the Microsoft RTF spec to which I have been referring: --- Certain groups, referred to as "destinations," mark the beginning of a collection of related text. An example of this is the \footnote group, where the footnote text follows the control word. Destinations added after the RTF specification published in the March 1987 Microsoft Systems Journal may be preceded by the control symbol \*. This control symbol identifies destinations whose related text should be ignored if the RTF reader does not recognize the destination. RTF writers should follow this convention when adding new control word. Destinations whose related text should be inserted into the document even if the destination is not recognized should not use \*. In this chapter, all destinations that use \* will be shown with \* as part of the control word. --- Jeremy
From: yut@ecn.purdue.edu (Greg Yut) Newsgroups: comp.sys.next.programmer Subject: 3DKit, N3DShape, and N3DShapeName Date: 19 Sep 1995 03:31:45 GMT Organization: Purdue University Message-ID: <43ldj1$rk8@mozo.cc.purdue.edu> Anybody know what 'id' is in this struct? I don't understand the comment about "encoded to 6 non-0 bytes". What is being encoded and how is it encoded? The struct is defined in N3DShape.h in the 3DKit. typedef struct { char id[6]; /* self, encoded to 6 non-0 bytes */ char name; /* optional visible name */ } N3DShapeName; The reason I ask is that N3DShape doesn't seem to properly unarchive the member data N3DShapeName *shapeName; That is, shapeName is nil after a shape is unarchived with the standard N3DShape method 'read:'. (But shapeName does seem to have a valid value when my N3DShape is created with 'init'.) If I override the read method and artificially create a shapeName struct, then no problem. But I don't know whether shapeName has to have a valid value in order for the N3DShape to behave properly. Any help would be appreciated. Thanks, Greg
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 18 Sep 1995 04:15:10 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <43iroe$e4p@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
Newsgroups: comp.sys.next.programmer From: yzhao@netcom.com (Yi Zhao) Subject: Object naming under PDO Message-ID: <yzhaoDF31K5.EJ6@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Mon, 18 Sep 1995 03:55:17 GMT Sender: yzhao@netcom21.netcom.com Greetings, I got a question regarding the object naming under PDO. Back to 3.0, when DO was first introduced, NXConnection's connectToName: used the mach name server to resolve the registered object name, which bore a limitation that the naming could not cross the subnet boundaries. My question is that does PDO resolves this problem? If so, suppose that I am using DO on NextStep to talk to objects running on both NextStep and non-NextStep platforms (like HP-UX, or Solaris), both in the same subnet and across WAN, do I need to specify that which name server to use, MACH's network name server or PDO's? and in what level do I have to concern myself with the name conflicts? Thanks.
Newsgroups: comp.sys.next.programmer From: yzhao@netcom.com (Yi Zhao) Subject: Crash when dragging an image Message-ID: <yzhaoDF30pF.CK6@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Mon, 18 Sep 1995 03:36:51 GMT Sender: yzhao@netcom21.netcom.com Hi, I found a problem which causes crash under both 3.2 and 3.3 when dragging an image. The reason for this problem is that when the drag listener is created, it sets the instance variable _delegate2 to be the delegate of NXApp, which is the delegate of the drag listener created. The problem is that when later you set NXApp's delegate to another object and free the first one, the drag listener won't reset its _delegate2 instance variable, so it crashes with the error "message sent to a freed object" when an image is dragged. Ever since I found the cause of the problem, I tried to work around the problem by setting NXApp's delegate to be nil at the possible places where the drag listener might be created (like the first time an open panel is created, or the first time the document which is opened by this application is double-clicked) (BTW, I need this delegate of NXApp for the first responder thing). It resolved less crashes, but this _delegate2 of drag listener still causes problem from time to time. I called NeXT technical support, they acknowledged it is a bug, the only thing they can do is to submit a full bug report, but I have to pay like $150 an hour to talk to some guy to find a work around, which I find it hard to swallow to pay for their bug. Has anyone experienced the same problem? If you have, how did you solve it? Thanks. Yi
From: tfs@gravity.science.gmu.edu ( Tim) Newsgroups: comp.sys.next.programmer Subject: options code barfs in a big way Followup-To: comp.sys.next.programmer Date: 18 Sep 1995 03:38:27 GMT Organization: George Mason University, Fairfax Va. Sender: tfs@gravity.science.gmu.edu Message-ID: <43ipjj$65q@portal.gmu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Summary: weird stuff Hi, I'm having a real problem with (I belive) some options code for a program I'm trying to port to NS. This isn't one of those blatently obvious things, as the code is in C, and it compiled fine on a whole slew of other platforms, but not on NEXTSTEP. (This is the story of my life I think... grumble) Anyway, I am not quite good enough to figure out what the hell is wrong with the code, so I'm asking for some help with it. Here's the deal: cmkdir -3 foobar Segmentation fault Ok, from gdb: iStarting program: /Users/tfs/tmp/cfs/cmkdir -3 foobar Program generated(1): Memory access exception on address 0x3f7f2b8 (invalid address). Reading in symbols for cmkdir.c...done. 0x24cc in main (argc=3, argv=0x3fffb30) at cmkdir.c:39 39 { (gdb) From the source. Ok, one thing here, I can't post much beyond this file because if I did, I'd be exporting a cryptosystem. This file doesn't actually do any encryption, only sets things up a bit, I'm fairly sure it's not a problem. (Of course if you've got a sphincter that turns pencil lead to coal because you're so uptight, even mentioning crypto is a bad thing. I on the other hand prefer security & privacy, and want to get this damned thing to work. As you can guess, I live in the USA, which is more intrested in listening to it's citizens than safguarding thier privacy.) ranting aside, I really can not figure out why the hell this is such a problem. Then again, I do spend literaly hours often working on other programs that work fine on 8 diffrent Unixes but not on these puppies... ANY help I could get on this would earn my undying thanks. This is part of Matt Blazes cryptographic file system program, if you're in the US you can get it from him, if you're outside, you can probably get it, but *I* don't know where for the record. :/ (allthough I've heard rumors if you really want it.) If you get intrested and want to fix it keep me posted is all i ask.. My "working" version is old and crufty and has bugs that this version fixes. Tim [headers chowed on] main(argc,argv) int argc; char **argv; { char *pw; char pword[256]; char *getpassword(); cfs_admkey k; cfskey kt; char path[1024]; char str[8]; FILE *fp; char *flg; struct timeval tv; u_long r; int i; int ciph=CFS_STD_DES; int cfmt=1; unsigned char ekey[128]; unsigned char ek1[128]; unsigned int l; while (--argc && (**++argv == '-')) { for (flg= ++*argv; *flg; ++flg) switch (*flg) { case '3': ciph=CFS_THREE_DES; break; case 'm': ciph=CFS_MACGUFFIN; break; case 'o': cfmt=0; break; default: fprintf(stderr,"usage: cmkdir [-3m] dir\n"); exit(1); } } if (argc!=1) { fprintf(stderr,"Usage: cmkdir [-3m] dir\n"); exit(1); } if ((pw=getpassword("Key:"))==NULL) { fprintf(stderr,"Can't get key\n"); exit(1); } strcpy(pword,pw); if (strlen(pw)<16) { fprintf(stderr,"Key must be at least 16 chars.\n"); exit(1); } if ((pw=getpassword("Again:"))==NULL) { fprintf(stderr,"Can't get key\n"); exit(1); } if (strcmp(pword,pw)!=0) { fprintf(stderr, "Keys don't match; drink some coffee and try again\n"); exit(1); } k.cipher=ciph; if (cfmt==0) { if (old_pwcrunch(pw,&k)!=0) { fprintf(stderr,"Invalid key\n"); exit(1); } } else { /* this is very ugly and will be replaced but it works */ if (new_pwcrunch(pw,&k)!=0) { fprintf(stderr,"Invalid key\n"); exit(1); } /* now we xor in some truerand bytes for good measure */ bcopy(&k,ekey,32); /* assumes key material < 32 bytes */ for (i=0; i<32; i++) { l=truerand(); ekey[i] ^= (shs(&l,sizeof(l)))[0]; } encrypt_key(&k,ekey); bcopy(ekey,ek1,32); decrypt_key(&k,ek1); /* new &k is our real key */ } if (mkdir(argv[0],0777)<0) { perror("cmkdir"); exit(1); } sprintf(path,"%s/...",argv[0]); strcpy(str,"qua!"); /* now randomize the end of str.. */ gettimeofday(&tv,NULL); r=(getpid()<<16)+tv.tv_sec; for (i=0; i<4; i++) str[i+4]=(r<<(i*8))&0377; copykey(&k,&kt); cipher(&kt,str,0); mask_cipher(&kt,str,1); cipher(&kt,str,0); if ((fp=fopen(path,"w")) == NULL) { perror("cmkdir"); exit(1); } fwrite(str,8,1,fp); fclose(fp); sprintf(path,"%s/..c",argv[0]); if ((fp=fopen(path,"w")) == NULL) { perror("cmkdir"); exit(1); } fprintf(fp,"%d",k.cipher); fclose(fp); if (cfmt) { sprintf(path,"%s/..k",argv[0]); if ((fp=fopen(path,"w")) == NULL) { perror("cmkdir"); exit(1); } fwrite(ekey,32,1,fp); fclose(fp); } exit(0); } /* end of file */ -- ________________________________________________________________ tfs@vampire.science.gmu.edu (NeXTmail) Tim Scanlon George mason University Public Affairs I speak for myself, but often claim demonic posession
From: pisul_cj@cowley.uwlax.edu (Charles Pisula S92) Newsgroups: comp.sys.next.programmer Subject: Re: dbl clicking on app document to launch app? Date: 18 Sep 1995 16:54:45 GMT Organization: University of Wisconsin - La Crosse Distribution: world Message-ID: <43k88l$kb2@alfred.acs.uwlax.edu> References: <43k5o3$2lc@stc06.ctd.ornl.gov> In article <43k5o3$2lc@stc06.ctd.ornl.gov> woo@ornl.gov (John W. Wooten) writes: > > I have a subclass of Application where I have acceptsAnotherFile > and - (int)app:sender openFile:(const char *)path type:(const char > *)type > as well as: >......... > - (int)openFile:(const char *)filename ok:(int *)flag > What pieces are the minimum necessary and where do they go in order for > dbl-clicking on the file's icon to cause the app to launch AND the > filename to be presented for reading? > > > - - - - - - - - - > J. W. Wooten You also need: - (BOOL) appAcceptsAnotherFile:sender { return YES; } in the app delegate. -- Chuck ------------------------------------------------- Steve Jobs quote From UnixWorld, April 1993 "If we give people an alternative to Microsoft... it will have been a greater good." ------------------------------------------------- ***
From: MTL@AMAV.COM (AMAV Industries) Newsgroups: comp.sys.next.programmer Subject: Wanted! Educational Software!!!! Date: Mon, 18 Sep 95 15:17:53 GMT Organization: CiteNet Telecom - Commercial Internet Service Message-ID: <43k2ns$rdp@cti01.citenet.net> Hello, we are a leading toy distributor in Canada and are interested in distributing a line of educational software to our clients. As such, we are looking to buy the rights to various educational software products for cash or on a royalty basis. If you have anything that you think might be of interest to us, please contact us by phone: (514) 344-1234 by fax: (514) 344-1235 by e-mail: MTL@AMAV.COM (attn: Yehuda) Thank-you!
From: woo@ornl.gov (John W. Wooten) Newsgroups: comp.sys.next.programmer Subject: dbl clicking on app document to launch app? Date: 18 Sep 1995 16:11:47 GMT Organization: Oak Ridge National Lab, Oak Ridge, TN Distribution: world Message-ID: <43k5o3$2lc@stc06.ctd.ornl.gov> (Sorry about posting to software by accident) I'm having a problem getting an application that works correctly by clicking on the app icon and then opening a file, to start correctly when I dbl-click on the a file of the type recognized by the app. I have a subclass of Application where I have acceptsAnotherFile and - (int)app:sender openFile:(const char *)path type:(const char *)type as well as: - (int)openFile:(const char *)filename ok:(int *)flag The File's Owner specifies that the sublass is the Owner. Another class has appDidInit in it and it is the delegate of the File's Owner. Now when I double click on the files icon, The app launches, but I never see appDidInit, openFile:ok: getting messaged. AND the data doesn't get read into the app as it should. What pieces are the minimum necessary and where do they go in order for dbl-clicking on the file's icon to cause the app to launch AND the filename to be presented for reading? - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: ian.stephenson@insignia.co.uk Subject: Re: Interceptor framebuffer info Message-ID: <DF5uFH.8p0@isltd.insignia.com> Sender: news@isltd.insignia.com Organization: Insignia Solutions plc References: <43kpeh$1ji@magus.cs.utah.edu> Date: Tue, 19 Sep 1995 16:14:04 GMT In article <43kpeh$1ji@magus.cs.utah.edu> larsen@lal.cs.utah.edu (Steve Larsen) writes: > > Hi all, > > Can anyone tell me where I can find any information for the interceptor > framebuffer library? I found the library (/usr/shlib/libInterceptor.a), > but cannot find any info on how to use it anywhere in any of the > developer documentation. You can't - the other (non-shared) part of the libary is only distributed to specific developers who demonstrate that they need it, and will use it responsibly. I've used it, and agree with this policy - its not that Interceptor is hard to program, but it is fiddley. Releasing it publically would encourage its use, and produce a large number of hardware dependant programs. You have to write you code to handle all possible depths and formats of display hardware, and for most applications its simply not worth the trouble.You would also need the resources to test an interceptor program on each of the different screen types - it doesn't "just work" in the way most NeXT stuff does. (it also has a couple of bugs that are driving me nuts!!) Ian
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <bbum@friday.com> Message-ID: <199509191403.JAA11722@cerebus.friday.com> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3risc v118.3) From: Bill Bumgarner <bbum@friday.com> Date: Tue, 19 Sep 95 09:03:33 -0500 Subject: Re: Building Stack Frames for obj-c calls Cc: samschap@merle.acns.nwu.edu # I'm trying to build runtime access to arbitrary Objective-C # methods. That is, the user just needs to pick his object and # method, and then supply the necessary arguments (_any_ type # arguments and return types). I figure I can build a stack frame # using the info from -descriptionForMethod:. The problem is I # need specifics on the calling sequences for the two architectures # I'm dealing with (i386 and m68000). Also, I don't know how to # integrate assembly language with Obj-C. Can anyone point me in # the right direction? It is a lot easier than constructing the stack frames by hand... basically, you need to: 1. check to make sure the target object/class responds to the selector (-respondsTo:) 2. use class_getInstanceMethod() or class_getClassMethod() to obtain the runtime's information in regards to argument and return types 3. use method_getNumberOfArguments() to determine the number of arguments 4. use method_getSizeOfArguments() to determine the frame size 5. use marg_malloc() to allocate a stack frame 6. iterate across the arguments, use method_getArgumentInfo() to obtain arg type and marg_setValue to set the value of a particular argument within the list 7. repeat 6 for all arguments 8. call objc_msgSendV() 9. convert return type --- The above will take care of a large percentage of the API encountered within ObjectiveC, but it is not a generic solution. For that matter, it is impossible to build a generic solution using JUST the information found in the Objective-C runtime. Specifically: - how do you tell the difference between a BOOL and a CHAR? - how do you deal with a (void *), such as HashTable, that may mean any of a number of things? - how do you tell if the address or the contents of a (char *) is the significant piece of information? - structures passed by value? (or, parsing structures passed by reference)? - how do you deal with cases where some idiot developer is misusing an object (such as by storing (char *)s in a List)? [if i offended anyone with that last statement-- you deserve to be offended... as always, my opinions are opinions and you are welcome to present evidence to the contrary... in this case, you'll lose (but not because my mind is closed!)] Also, there is some evidence that the various marg_get and marg_set macros do not work correctly for certain data types on the HP. Since I have an HP and I'm likely to be working with a generic ObjC to Python interface, it is likely that I will run across some of these bugs and will post if I do.... b.bum
From: woo@ornl.gov (John W. Wooten) Newsgroups: comp.sys.next.programmer Subject: MiscDragViews.palette in MiscKit Date: 19 Sep 1995 20:18:05 GMT Organization: Oak Ridge National Lab, Oak Ridge, TN Distribution: world Message-ID: <43n8ht$22f@stc06.ctd.ornl.gov> I've installed MiscKit and attempting to use the MiscDragViews.palette I place the palette in my palettes, drag the text well to a window, make a subclass of object called DragController and make it the delegate of the file's owner. I add a method to the DragController called dropped:sender and have it do the following: - dropped:sender { [theText setStringValue:[theWell filename]]; return self; } Now theText is the id of a textfield in the window and theWell is the id of the Drag Well (both connected via IB). I connect the target of the DragWell to dropped. I added the -L/LocalDeveloper/Libraries etc to the Makefile.preamble and it compiles and loads. For some reason it worked fine also FOR a WHILE! I then changed the Well to NOT allow Source Dragging and did a remake and BOOM, I get Program generated(1): Memory access exception on address 0xbead0389 (invalid address). 0x50069cc in objc_msgSend () when I try to drag into the well. My code is not called here, this is happening all in the Drag stuff. I changed back via IB to allow Source Dragging and recompiled, etc. Now I still get the message and can't locate why. Any ideas? How should one set this up to experiment with it? - - - - - - - - - J. W. Wooten
From: smht1907@tuhhco (Hubertus Tummescheit) Newsgroups: comp.sys.next.programmer Subject: Compiling dmake? Date: 19 Sep 95 21:33:58 GMT Organization: Technische Universtaet Hamburg-Harburg Message-ID: <smht1907.811546438@tuhhco> I've come across a big package of numerical software in C which uses a plattform-independent variant of make called dmake. I managed to compile it (with gcc 2.7.0), but it crashes with segmentation fault. Did anyone get dmake to work? Any help will be appreciated. please mail me to Tummescheit@tu-harburg.d400.de TIA Hubertus ============================================================================== Hubertus Tummescheit Internet: Tummscheit@tu-harburg.d400.de Grindelallee 148 20146 Hamburg Tel.: +49 (0)40 450 4526 ===============================================================================
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Oracle table ROWIDs as primary keys/foreign keys in DBKit/EOF Message-ID: <jpanicoDF69Gr.EoC@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Tue, 19 Sep 1995 21:38:49 GMT Sender: jpanico@netcom.netcom.com Hi, Should ROWIDs be designated DBModeler primary keys? The ROWIDs dont show up as a property of the entity under DBModeler, so how should you access it? Does using ROWIDs for relationship keys result in zippier joins? Any insights appreciated. Thanks. -- Joe Panico NeXTStep/OpenStep Developer BLaCKSMITH Inc. jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: kjones@opus.freenet.vancouver.bc.ca (Kieran Jones) Newsgroups: comp.sys.next.programmer Subject: Re: 3DKit, N3DShape, and N3DShapeName Date: 19 Sep 1995 23:08:20 GMT Organization: Vancouver Regional FreeNet Message-ID: <43nih4$gu2@milo.freenet.vancouver.bc.ca> References: <43ldj1$rk8@mozo.cc.purdue.edu> Greg Yut (yut@ecn.purdue.edu) wrote: : Anybody know what 'id' is in this struct? I don't understand the comment : about "encoded to 6 non-0 bytes". What is being encoded and how is it : encoded? The struct is defined in N3DShape.h in the 3DKit. : typedef struct { : char id[6]; /* self, encoded to 6 non-0 bytes */ : char name; /* optional visible name */ : } N3DShapeName; : The reason I ask is that N3DShape doesn't seem to properly unarchive the : member data : N3DShapeName *shapeName; : That is, shapeName is nil after a shape is unarchived with the standard : N3DShape method 'read:'. (But shapeName does seem to have a valid value : when my N3DShape is created with 'init'.) : If I override the read method and artificially create a shapeName struct, : then no problem. But I don't know whether shapeName has to have a valid : value in order for the N3DShape to behave properly. Greg: In my own 3DKit app I set and read a shape's name with the N3DShape "setShapeName:" and "shapeName" methods which take and return char *. My app explicitly creates name-strings for each shape it makes. I've never accessed or modified the N3DShapeName struct but have nevertheless created, archived and unarchived named shapes successfully using the above two methods. My app's lack of knowledge about the state of the N3DShapeName struct doesn't seem to be relevant to the correct functioning of the program. I'm not sure exactly where my shape names are stored if not in the N3DShapeName structure. My guess is that the "id" component is the instantiated shape object's id value encoded into 6 character values. The N3DShapeName struct is described in the 3DKit's Types & Constants document as representing "The name and id of the shape as character strings (used for picking shapes)". Regards, Kieran
Newsgroups: comp.sys.next.programmer From: brad@instep.bc.ca Subject: Re: Objective-C program without nib Message-ID: <1995Sep19.232540.1668@instep.bc.ca> Sender: usenet@instep.bc.ca Organization: InStep Mobile Communications Inc. References: <RDL.95Sep18201246@world.std.com> Date: Tue, 19 Sep 1995 23:25:40 GMT Robert La Ferla writes >You don't need an interface. Use the "tool" project in PB. If you are >building a P/DO server program, you can use "run" instead >of "runFromAppKit" > >Robert La Ferla >Registered NEXTSTEP / OPENSTEP Consultant >Boston, MA >+ 1 (617) 252-0088 > >In article <43klqf$an5@Mars.mcs.com> par@MCS.COM (Peter Richardson) writes: > > Xref: world comp.sys.next.programmer:25000 > Path: world!news.kei.com!ddsw1!news.mcs.net!not-for-mail > From: par@MCS.COM (Peter Richardson) > Newsgroups: comp.sys.next.programmer > Date: 18 Sep 1995 15:46:07 -0500 > Organization: MCSNet Services > Lines: 11 > NNTP-Posting-Host: mars.mcs.com > X-Newsreader: TIN [version 1.2 PL2 (KSD)] > > I have been using objective-c for a few months. I just found out that one > of the programs I wrote has to be changed to be able to execute with no > interface but be driven by calls through NXConnections. > > My question is, do I need to create an application object or does the main > function simply set up to be contacted via the connection and run that instead? > > If somebody has some suggestions on how to do this I would greatly appreciate > it. > > Peter Richardson The tool build option for PB uses a crippled make facility. For example, it doesn't support Subprojects, etc... To build a non Application application, just use the Application build from PB, but turn off the generate main on save feature. That way you get all the goodies of an app build without it clobbering your main.c file that you'll right yourself to get your NXConnection run loop going, among other things. Leave the app wrapper in tact -- it's a good place to tuck those bundles you'll like to drop into your server. -- Brad. -- Brad Head <brad@instep.bc.ca> Software Developer, InStep Mobile Communications Inc. Vancouver, British Columbia, Canada
From: "Brian J. Cardanha" <bc2t+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: /NextDeveloper/Makfiles? Date: Tue, 19 Sep 1995 21:20:05 -0400 Organization: Senior, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA Message-ID: <0kLql5i00VIbQ1qFkm@andrew.cmu.edu> Please pardon my ignorance, but I just inherited an old cube, with very little software on it, and I'm trying to compile some software I downloaded. When I try to do a make, it gives me the error: Make: Cannot open /NextDeveloper/Makefiles/app/bundle.make. Stop. The directory /NextDeveloper/Makefiles/ doesn't exist. Is there somewhere I can download the software or files that belong in this directory? I have Nextstep 2.0 running on the machine, and have no access to upgrades or orginals of the system software. And pointers to the right direction would be great. And please respond to my email account. Thanks, Brian Cardanha bc2t@andrew.cmu.edu
From: matthews@reeses.uucp (Bradley O. Matthews) Newsgroups: comp.sys.next.programmer Subject: NS3.3 and IB Date: 20 Sep 1995 01:58:29 GMT Organization: University of Cincinnati Distribution: na Message-ID: <43nsg5$i32@uceng.uc.edu> how can you send test to a multiple lined text field? Basically i want to set up a small text window inside of an interface window(My Window) and have a buch of messages spew acrossed it. and while i have the following were are you suppoesed to figure this out from: working with the IB dev. tools and techs. OOC and NS thanks bradley matthews
From: framstag@moep.bb.bawue.de (Ulli Horlacher) Newsgroups: comp.sys.next.programmer Subject: where is the uname function? Date: 19 Sep 1995 20:01:54 GMT Organization: Nugget Town - Computers, Networks and Women Message-ID: <43n7ji$iui@syssrv.bb.bawue.de> I try to port a network application to the Next, which needs the uname(2) system call. Where is it on the Next? The man-page says it's there, the source compiles fine, but the linker cannot find it. BTW: This NS 3.3/Intel. -- \ Ulli Horlacher \ G=ulli;S=horlacher;OU=rus;P=uni-stuttgart;A=d400;C=de \ \ Königsbergerstr 6 \ framstag@moep.bb.bawue.de \ ccc_horl@dulruu51.bitnet \ \ 71065 Sindelfingen \ germany!framstag \ psi%026245050260103::8::ccc_horl \ \ "Ich habe mit dem Ferkelkram nix zu tun." - Bernd "Eckes" Eckenfels \
From: mikem@afs.com (Mike Matlack) Newsgroups: comp.sys.next.programmer Subject: make -D? Date: 19 Sep 1995 17:14:45 GMT Organization: Anderson Financial Systems Inc. Message-ID: <43mtq5$4ke@shelob.afs.com> Did I miss something or has the make that ships with NEXTSTEP never had the -D option that lets you create a #define when you do a make? -- Michael J. Matlack Anderson Financial Systems, +1 215 653 0911 Mike_Matlack@afs.com (NEXT mail OK)
From: Ingo Feulner <ifeulner@xenon.stgt.sub.org> Newsgroups: comp.sys.next.programmer Subject: How to create dynamically classes? Date: 19 Sep 1995 21:53:47 GMT Organization: Private site, Boeblingen, Germany Message-ID: <43ne5b$gd@xenon.stgt.sub.org> Hello, I'm having some problems to create a class dynamically with the Objective-C runtime system functions. The problem is the isa pointer in the new class structure. Where should it point to? I've tried several things but had no luck (using the superclass isa pointer, copying the superclass isa structure, etc.) What is the correct way? Thanks for any help, Ingo. -- Smail: Ingo Feulner, Wolfacher Weg 19, 71034 Boeblingen, Germany Email: ifeulner@xenon.stgt.sub.org
From: bresink@infko.uni-koblenz.de (Marcel Bresink) Newsgroups: comp.sys.next.programmer Subject: Re: howto do "writeTIFF" with 24bit pictures Date: 20 Sep 1995 08:41:33 GMT Organization: University Koblenz / Germany Message-ID: <43ok3t$h3k@newshost.uni-koblenz.de> References: <43igkl$2r7@ntuix.ntu.ac.sg> GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) wrote: >[...] This creates the TIFF file with the picture, but it uses the > screen-type for bitsPerSample, resulting in a 12-bit TIFF file instead of > a 24-bit one. I think, NXImage does not use representations that are deeper than the window server's deepest window. One solution to get a 24 bit image is to open an offscreen-window, force a window-depth promotion, and then recreate an image rep out of this window. You should try something like that: NXBitmapImageRep *image24Bit; Window *imageCache; View *cacheView; NXRect imageRect; // sourceImage is your own image [sourceImage getSize: &imageRect.size]; imageRect.origin.x = 0.0; imageRect.origin.y = 0.0; imageCache = [[Window allocFromZone: [self zone]] initContent: &imageRect style: NX_PLAINSTYLE backing: NX_RETAINED buttonMask: 0 defer: NO]; // trick: we draw a red pixel to force a window-depth promotion :-) [imageCache setDepthLimit: NX_TwentyFourBitRGBDepth]; cacheView = [imageCache contentView]; [cacheView lockFocus]; PSsetrgbcolor(1.0, 0.0, 0.0); PSmoveto(0.0, 0.0); PSlineto(0.0, 0.0); PSstroke(); // no draw your own image in the window. If it is an NXImage, use: [sourceImage composite: NX_SOVER toPoint: &imageRect.origin]; // if it is an NXBitmapImageRep, use: // [sourceImage draw]; // grab the image as 24 bit representation image24Bit = [[NXBitmapImageRep alloc] initData: NULL fromRect: &imageRect]; [cacheView unlockFocus]; [imageCache free]; // this should create the 24 bit TIFF file stream = NXOpenMemory(NULL, 0, NX_WRITEONLY); [image24Bit writeTIFF: stream]; NXSaveToFile(stream, someFilename); NXCloseMemory(stream, NX_FREEBUFFER); [image24Bit free]; I hope it works... Marcel --- Marcel Bresink, University of Koblenz, Computer Graphics Lab, Institute for Computer Science Rheinau 1, D-56075 Koblenz, Germany
From: droux@info.isbiel.ch (Nicolas Droux) Newsgroups: comp.sys.next.programmer Subject: Re: where is the uname function? Date: 20 Sep 1995 11:04:38 GMT Organization: Biel School of Engineering, CH-2501 Biel, Switzerland Distribution: world Message-ID: <43osg6$emi@vega.info.isbiel.ch> References: <43n7ji$iui@syssrv.bb.bawue.de> In article <43n7ji$iui@syssrv.bb.bawue.de> framstag@moep.bb.bawue.de (Ulli Horlacher) writes: > I try to port a network application to the Next, which needs the uname(2) > system call. Where is it on the Next? The man-page says it's there, the > source compiles fine, but the linker cannot find it. NAME uname - (POSIX only)get system name You have to use the option -posix when compiling and linking in order to be able to use a POSIX function. Nicolas. -- ---------------------------------------------------------------- Nicolas Droux Rue de la Source 21 Biel School of Engineering CH-2501 Biel-Bienne Computer Science Dpt Switzerland droux@info.isbiel.ch (MIME/NeXTMail) Tel: +41 32 266 314 http://www.isbiel.ch/~don/ Fax: +41 32 266 523
From: franke@hamlet.dbag.ulm.DaimlerBenz.COM (Juergen Franke) Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs,comp.sys.next.software Subject: debugging problems on hp Next Stations Date: 20 Sep 1995 07:58:21 GMT Organization: debis Network Services GmbH Distribution: world Message-ID: <43ohit$gps@news.sns-felb.debis.de> Keywords: BuildInDebuggerInterface I have problems with the Build in Debugger Interface on my hp Next Station. The hierarchie of methods is reverse to the hierarchie on the intel machines. If I want to have launched the code of the 5th method in the stack I have to double-click the (N-5)th stack line. For example [ImageOps process:] [ImageOps test:] [Application send Event:] [Application run] main If I want to launch the cde of [ImageOps process] I have to click on the line of main. Please send the answer to J rgen Franke Text Understanding Department F3M/T Daimler-Benz AG, Research Center Ulm P.O. Box 2360 89013 Ulm Germany Telephone Germany 731 505 2355 Fax Germany 731 505 4113 e-mail: franke@dbag.ulm.DaimlerBenz.COM I will post the summary. -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$Q-3)<='@R,S`T7'1X,S0U-EQT M>#0V,#A<='@U-S8P7'1X-CDQ,EQT>#@P-C1<='@Y,C$V7'1X,3`S-CA<='@Q M,34R,%QF,%QB,%QI,%QU;&YO;F5<9G,R-%QF8S!<8V8P($D@:&%V92!P<F]B M;&5M<R!W:71H('1H92!"=6EL9"!I;B!$96)U9V=E<B!);G1E<F9A8V4@;VX@ M;7D@:'`@3F5X="!3=&%T:6]N+B!4:&4@:&EE<F%R8VAI92!O9B!M971H;V1S M(&ES(')E=F5R<V4@=&\@=&AE(&AI97)A<F-H:64@;VX@=&AE(&EN=&5L(&UA M8VAI;F5S+B!)9B!)('=A;G0@=&\@:&%V92!L875N8VAE9"!T:&4@8V]D92!O M9B!T:&4@-71H(&UE=&AO9"!I;B!T:&4@<W1A8VL@22!H879E('1O(&1O=6)L M92UC;&EC:R!T:&4@*$XM-2ET:"!S=&%C:R!L:6YE+B!<"EP*1F]R(&5X86UP M;&4@7`I;26UA9V5/<',@<')O8V5S<SI=7`I;26UA9V5/<',@=&5S=#I=7`I; M07!P;&EC871I;VX@<V5N9"!%=F5N=#I=7`I;07!P;&EC871I;VX@<G5N75P* M;6%I;EP*7`I)9B!)('=A;G0@=&\@;&%U;F-H('1H92!C9&4@;V8@6TEM86=E M3W!S('!R;V-E<W-=($D@:&%V92!T;R!C;&EC:R!O;B!T:&4@;&EN92!O9B!M M86EN+EP*7`I0;&5A<V4@<V5N9"!T:&4@86YS=V5R('1O(%P*"EQP87)D7'1X M-S`P7'1X,30R,%QT>#(Q,C!<='@R.#0P7'1X,S4T,%QT>#0R-C!<='@T.3@P M7'1X-38X,%QT>#8T,#!<='@W,3`P7&9C,%QC9C`@2O9R9V5N($9R86YK95P* M5&5X="!5;F1E<G-T86YD:6YG($1E<&%R=&UE;G0@1C--+U1<"D1A:6UL97(M M0F5N>B!!1RP@4F5S96%R8V@@0V5N=&5R(%5L;5P*4"Y/+B!";W@@,C,V,%P* M.#DP,3,@56QM7`I'97)M86YY7`I<"E1E;&5P:&]N92!'97)M86YY(#<S,2`U M,#4@,C,U-5P*1F%X("`@("`@($=E<FUA;GD@-S,Q(#4P-2`T,3$S7`IE+6UA M:6PZ(&9R86YK94!D8F%G+G5L;2Y$86EM;&5R0F5N>BY#3TU<"EP*22!W:6QL 7('!O<W0@=&AE('-U;6UA<GDN7`H*?0IM `
From: rog@tamdhu.ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer,comp.lang.postscript Subject: What is a sensible paper margin ? Date: 20 Sep 1995 15:37:09 GMT Organization: The University of York, UK Distribution: world Message-ID: <43pcf5$rj4@netty.york.ac.uk> how can i determine a sensible margin to leave beyond the boundaries of the printed output ? i am programming under NeXTStep, which provides a default set of margins, but they are much bigger than necessary. on my A4 printer, the top and bottom margins come out about an inch wider than the output from enscript (which is probably getting it right, being an Adobe program). this is not acceptable for my current application. i could just guess (1/4 inch ?), but i'd like to be sure that it will work on all (or most...) printers. any input appreciated (but please email if possible because our news feed only gets about 25% of all articles...) thanks, rog. (rog@ohm.york.ac.uk) p.s. yes, i found 'Margins' in the big red book, but i need to know the available space on the page before formatting the output for the printer, so it doesn't hack it
From: gjudd@siward.demon.co.uk (Graham Judd) Newsgroups: comp.sys.next.programmer Subject: Re: where is the uname function? Date: 20 Sep 1995 17:45:28 GMT Organization: A Private Internet Host Message-ID: <GJUDD.95Sep20184528@siward.demon.co.uk> References: <43n7ji$iui@syssrv.bb.bawue.de> In-reply-to: framstag@moep.bb.bawue.de's message of 19 Sep 1995 20:01:54 GMT In article <43n7ji$iui@syssrv.bb.bawue.de> framstag@moep.bb.bawue.de (Ulli Horlacher) writes: I try to port a network application to the Next, which needs the uname(2) system call. Where is it on the Next? The man-page says it's there, the source compiles fine, but the linker cannot find it. /usr/lib/libposix.a (Note that I haven't tried it but it is listed in this library). BTW: This NS 3.3/Intel. Me too.
From: dover@biggulp.callamer.com (Dover Pacific Computing) Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy,comp.sys.next.misc Subject: Seeking information on inventory software Date: 20 Sep 1995 21:37:06 GMT Organization: Dover Pacific Computing, Inc. Message-ID: <43q1i2$m1a@clue.callamer.com> NNTP-Posting-User: dover Keywords: inventory We are looking for a NEXTSTEP Inventory system. It can be either an application or API/source code. Even an unpolished system would help. If anyone knows of shuch a system, or of someone who has the experince to write a NEXTSTEP Inventory system on contract, please have them contact us. Thanks, -Mont Contact Information: E-Mail: dover@callamer.com (NeXTmail ok) Phone: 805-781-8317 Fax: 805-781-8319 Address: Dover Pacific Computing, Inc. 1540 Marsh, Suite 303 San Luis Obispo, CA 93401
From: yut@ecn.purdue.edu (Greg Yut) Newsgroups: comp.sys.next.programmer Subject: Re: 3DKit, N3DShape, and N3DShapeName Date: 20 Sep 1995 22:01:23 GMT Organization: Purdue University Message-ID: <43q2vj$1t1@mozo.cc.purdue.edu> References: <43nih4$gu2@milo.freenet.vancouver.bc.ca> In article <43nih4$gu2@milo.freenet.vancouver.bc.ca> kjones@opus.freenet.vancouver.bc.ca (Kieran Jones) writes: snip > I've never accessed or modified the N3DShapeName struct but have > nevertheless created, archived and unarchived named shapes successfully > using the above two methods. My app's lack of knowledge about the > state of the N3DShapeName struct doesn't seem to be relevant to > the correct functioning of the program. Kieran, Thank you *very* much for the reply! Since it works for you, I concluded that it must be something in my code. Sure enough, the problem was mine. For one of my N3DShape subclasses, I had overridden the awake method as - awake { return self; } instead of - awake { return [super awake]; } It seems that the N3DShapeName struct is allocated and initialized in the N3DShape awake method. Since I was circumventing the super's awake method, I wasn't getting the structure. > I'm not sure exactly where my shape names are stored if not in the > N3DShapeName structure. My guess is that the "id" component is the > instantiated shape object's id value encoded into 6 character > values. I don't know how they are storing the shape name in a 6-byte char string, but when I use setShapeName as you suggested, the name does indeed seem to be stored in 'shapeName->id', starting at byte 7. I don't understand that, but as long as it works, I'm content. Thanks again, Kieran! Greg
From: msnyder@NeXT.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: Weird gdb under Dev3.3? Date: 20 Sep 1995 23:29:46 GMT Organization: NeXT Computer, Inc. Message-ID: <43q85a$ep7@news.next.com> References: <yzhaoDEIqL9.Lnz@netcom.com> Yi Zhao writes > Today, I installed NS User 3.3, Dev. 3.3, and EOF 1.1 into a machine but > I cannot use the GUI for gdb anymore. Everytime when I tried to look at the > gdb window for the frames, I had the innermost frame at the top of the > frame column of the browser, which, under Dev. 3.2, should be at the bottom. > I actually like to have it on top, but the trouble is that when I try to > access the source file, it is still the other way around and some frames in > the second column (for self, cmd, argument, etc), too. Did I miss something > here or should I set some preference to get it right? The release notes for > 3.3 did not say anything about gdb and Edit. This was a regression in gdb under 3.3, which has been fixed in the recent 3.3 Patch release.
From: msnyder@NeXT.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: Weird gdb under Dev3.3? Date: 20 Sep 1995 23:27:28 GMT Organization: NeXT Computer, Inc. Message-ID: <43q810$ep5@news.next.com> References: <yzhaoDEKo9K.2LA@netcom.com> Yi Zhao writes > Charles Pisula S92 (pisul_cj@cowley.uwlax.edu) wrote: > : I have also experience the reverse stack-frame problem. I was told by someone that it is possible > : to grab some pieces of gdb from 3.2, put it in place of some of the 3.3 stuff, recompile and go. > : Only problem is, I don't know what piece that is? Any one who knows the answer, please let us > : know. > > I played it a little more. I copyed /usr/bin/gdb and /usr/lib/GdbClient > (bundle) from 3.2, it seems to work fine. Yes, this was a regression in the 3.3 gdb, which was fixed in the 3.3Patch distribution.
From: jalegre@hsii.ccare.com Newsgroups: comp.sys.next.programmer Subject: Binary File Editor Date: 19 Sep 1995 18:09:17 GMT Organization: (null pointer) Message-ID: <43n10d$9g6@news.mr.net> Is there an binary file editor (such as XMon) that runs on SPARC? XMon is excatly what I want but it has not been ported (to my knowledge) to any platform but m68. John N. Alegre Health Systems Integration, Inc. ############################################################# # NeXTMail preferred. | # jalegre@hsii.ccare.com | If you plant ice, # alegrej@andante.mn.org | you're gonna harvest wind! # jalegre@lenti.med.umn.edu | Hunter/Garcia ############################################################# -- John N. Alegre Health Systems Integration, Inc. ############################################################# # NeXTMail preferred. | # jalegre@hsii.ccare.com | If you plant ice, # alegrej@andante.mn.org | you're gonna harvest wind! # jalegre@lenti.med.umn.edu | Hunter/Garcia #############################################################
From: larsen@sal.cs.utah.edu (Steve Larsen) Newsgroups: comp.sys.next.programmer Subject: Re: Interceptor framebuffer info Date: 21 Sep 1995 00:29:24 GMT Organization: University of Utah Computer Science Department Message-ID: <43qbl4$7e0@magus.cs.utah.edu> References: <43kpeh$1ji@magus.cs.utah.edu> <DF5uFH.8p0@isltd.insignia.com> ian.stephenson@insignia.co.uk wrote: : In article <43kpeh$1ji@magus.cs.utah.edu> larsen@lal.cs.utah.edu (Steve : Larsen) writes: : > [stuff deleted] : You can't - the other (non-shared) part of the libary is only : distributed to specific developers who demonstrate that they need it, : and will use it responsibly. : I've used it, and agree with this policy - its not that Interceptor is : hard to program, but it is fiddley. Releasing it publically would : encourage its use, and produce a large number of hardware dependant : programs. : You have to write you code to handle all possible depths and formats of : display hardware, and for most applications its simply not worth the : trouble.You would also need the resources to test an interceptor program : on each of the different screen types - it doesn't "just work" in the : way most NeXT stuff does. OK, first, let me thank everyone who replied to my message. Second, is there anything out there that is close in speed that is not proprietary or guarded? I need to do some double-buffering and would like to be able to blit a buffer to VRAM as fast as possible. Any other ideas? Thanks again, -- Steve Larsen larsen@sunset.cs.utah.edu I don't like stuff that sucks! B&B
From: mikem@afs.com (Mike Matlack) Newsgroups: comp.sys.next.programmer Subject: Re: make -D? (answered) Date: 20 Sep 1995 12:51:28 GMT Organization: Anderson Financial Systems Inc. Message-ID: <43p2og$7br@shelob.afs.com> References: <43mtq5$4ke@shelob.afs.com> In article <43mtq5$4ke@shelob.afs.com> I wrote: > > Did I miss something or has the make that ships with NEXTSTEP never had the -D > option that lets you create a #define when you do a make? > The -D option is a flag for the compiler (cc) and not a make argument. Thanks! -- Michael J. Matlack Anderson Financial Systems, +1 215 653 0911 Mike_Matlack@afs.com (NEXT mail OK)
From: GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) Newsgroups: comp.sys.next.programmer Subject: howto do "writeTIFF" with 24bit pictures Date: 18 Sep 1995 01:05:25 GMT Organization: Nanyang Technological University Message-ID: <43igkl$2r7@ntuix.ntu.ac.sg> Hi, I have a problem with creating TIFF files with different bit-depths from those the system it is running on. So as an example, when I want to create a 24-bit imageRep with a picture that is created by my application, I do the following (lots of code left out): imageRep = [[NXBitmapImageRep alloc] initData:NULL pixelsWide:width pixelsHigh:height bitsPerSample:8 samplesPerPixel:3 hasAlpha:NO isPlanar:NO colorSpace:NX_RGBColorSpace bytesPerRow:3*width bitsPerPixel:24]; Then I create the picture with: dataArray = [imageRep data]; fillBitmap (dataArray); /* my own procedure */ image = [[NXImage alloc] initSize:&bounds.size]; [image useRepresentation:imageRep]; So far so good, I can display the picture in a View, but now I want to save the picture in a TIFF file: stream = NXOpenFile (fd, NX_WRITEONLY); [image writeTIFF:stream allRepresentations:YES]; This creates the TIFF file with the picture, but it uses the screen-type for bitsPerSample, resulting in a 12-bit TIFF file instead of a 24-bit one. If I use: [image writeTIFF:stream]; the same happens. WHAT AM I DOING WRONG ???? Willem W i l l e m v a n S c h a i k ------------------------------------------------------------------------------- Gintic - Singapore gwillem@ntuvax.ntu.ac.sg
From: alastair@BlackAlbatross.otago.ac.nz (Alastair Thomson) Newsgroups: comp.sys.next.programmer Subject: White doesn't print white! Date: 20 Sep 1995 23:10:03 GMT Organization: University of Otago, Dunedin, NZ Distribution: World Message-ID: <43q70b$v8f@celebrian.otago.ac.nz> Hi all, We've just received a Tektronix 340 colour printer. We have the following problem: When we print anything to it, our whites don't come out white! We see a small amount of cyan ink on the 'white' areas. When I send PostScript direct to the printer with a 1.0 setgray it does appear white, but when I print something from NS, I get the small amount of cyan. I assume there is something in the NS encoding that transforms colours to something other than white - what can I do to fix this! I can't use documents where white areas are speckled! Alastair -- Alastair Thomson, | Phone +64-3-479-8347 Manager, | Fax +64-3-479-8529 Computer Science Applied Research Centre | NZ Mobile 0-25-353-994 University of Otago, | alastair@BlackAlbatross.otago.ac.nz Dunedin 9015, | NeXTmail/MIME Welcome New Zealand. | http://www.csarc.otago.ac.nz:805/
From: woo@ornl.gov (John W. Wooten) Newsgroups: comp.sys.next.programmer Subject: cllcking in a ScrollView Date: 21 Sep 1995 12:40:35 GMT Organization: Oak Ridge National Lab, Oak Ridge, TN Distribution: world Message-ID: <43rmg3$9lu@stc06.ctd.ornl.gov> I've set up a very simple Demo application to show how the MiscDragViews.palette can be used to create a window wherein there is an icon well and a ScrollView with a matrix of textfields for filenames. As files are dragged and dropped into the icon well, the filenames appear in the scrolling matrix of textfields in the ScrollView. The point is so that then, by clicking on the filename in the ScrollView the proper icon will appear back in the well and then by double clicking on the icon, that document will be opened to read. Everything works, except the cursor is always indicating that the ScrollView (or something in it) is editable and the clicks are not received. I've enabled everything I could find so that it could receive mouse clicks, and made everything uneditable and unselectable, but I still get the edit cursor over the ScrollView. Is there a content view or documentview that is causing this behavior? Thanks for any information. - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Re: Weird gdb under Dev3.3? Message-ID: <DF8yAK.Go@hurka.UUCP> Keywords: 3.3 Patch release Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <43q85a$ep7@news.next.com> Date: Thu, 21 Sep 1995 08:30:20 GMT In article <43q85a$ep7@news.next.com> msnyder@NeXT.com (Michael Snyder) writes: > Yi Zhao writes > > Today, I installed NS User 3.3, Dev. 3.3, and EOF 1.1 into > > a machine but I cannot use the GUI for gdb anymore. [..] > This was a regression in gdb under 3.3, which has been fixed in the > recent 3.3 Patch release. Where I can get this patch release? I looked at nextanswers, but I was not able to locate it. -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: paul@griffin.plsys.co.uk Newsgroups: comp.sys.next.programmer Subject: Re: Weird gdb under Dev3.3? Date: Thu, 21 Sep 1995 15:47:01 GMT Organization: P & L Systems, Ltd Sender: usenet@griffin.plsys.co.uk Message-ID: <DF9IID.1x3@plsys.co.uk> References: <DF8yAK.Go@hurka.UUCP> In article <DF8yAK.Go@hurka.UUCP> tom@hukatronic.cz (Tomas Hurka) writes: > In article <43q85a$ep7@news.next.com> msnyder@NeXT.com (Michael Snyder) > writes: > > Yi Zhao writes > > > Today, I installed NS User 3.3, Dev. 3.3, and EOF 1.1 into > > > a machine but I cannot use the GUI for gdb anymore. > [..] > > This was a regression in gdb under 3.3, which has been fixed in the > > recent 3.3 Patch release. > Where I can get this patch release? I looked at nextanswers, but I was not > able to locate it. It has only been released, as far as I can I tell, to Premium support customers. Paul -- Paul Lynch (NeXTmail) paul@plsys.co.uk Tel: (01494)432422 P & L Systems Fax: (01494)432478 We do NeXTSTEP
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: White doesn't print white! In-Reply-To: alastair@BlackAlbatross.otago.ac.nz's message of 20 Sep 1995 23:10:03 GMT Message-ID: <RDL.95Sep20224704@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <43q70b$v8f@celebrian.otago.ac.nz> Distribution: World Date: Thu, 21 Sep 1995 02:47:04 GMT I'm not sure why your question was posted to comp.sys.next.programmer and not comp.sys.next.sysadmin but... The problem is that you have a CMYK (Cyan, Magenta, Yellow, Black) printer and your PPD is probably configured incorrectly or has a bug. Remember that CMY=K so instead of using the black ink, NS is probably using the CMY inks in combination to produce black. Since white is 1-CMY, you are probably getting some sort of error. Look at your PPD (PostScript Printer Definition) file and/or try setting the color directly using 0.0 0.0 0.0 0.0 setcmykcolor. The PPD is located in /NextLibrary/PrinterTypes/English.lproj Robert La Ferla Registered NEXTSTEP / OPENSTEP Consultant Boston, MA + 1 (617) 252-0088 In article <43q70b$v8f@celebrian.otago.ac.nz> alastair@BlackAlbatross.otago.ac.nz (Alastair Thomson) writes: Xref: world comp.sys.next.programmer:25029 Path: world!uunet!in1.uu.net!tank.news.pipex.net!pipex!news.sprintlink.net!news.uoregon.edu!waikato!celebrian.otago.ac.nz!usenet From: alastair@BlackAlbatross.otago.ac.nz (Alastair Thomson) Newsgroups: comp.sys.next.programmer Date: 20 Sep 1995 23:10:03 GMT Organization: University of Otago, Dunedin, NZ Lines: 22 Distribution: World Reply-To: alastair@BlackAlbatross.otago.ac.nz NNTP-Posting-Host: grall.csarc.otago.ac.nz Hi all, We've just received a Tektronix 340 colour printer. We have the following problem: When we print anything to it, our whites don't come out white! We see a small amount of cyan ink on the 'white' areas. When I send PostScript direct to the printer with a 1.0 setgray it does appear white, but when I print something from NS, I get the small amount of cyan. I assume there is something in the NS encoding that transforms colours to something other than white - what can I do to fix this! I can't use documents where white areas are speckled! Alastair -- Alastair Thomson, | Phone +64-3-479-8347 Manager, | Fax +64-3-479-8529 Computer Science Applied Research Centre | NZ Mobile 0-25-353-994 University of Otago, | alastair@BlackAlbatross.otago.ac.nz Dunedin 9015, | NeXTmail/MIME Welcome New Zealand. | http://www.csarc.otago.ac.nz:805/
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Help.store programmatically Date: 17 Sep 1995 03:13:51 +0100 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eenxgif1c.fsf@steffi.accessone.com> References: <199509160411.GAA14739@ns.ms.mff.cuni.cz> In-reply-to: ocs@ms.mff.cuni.cz's message of 16 Sep 1995 09:29:44 -0500 To: ocs@ms.mff.cuni.cz <ocs@ms.mff.cuni.cz> writes: >Hi all, >is it somehow _programmatically_ possible to access the rtfd >documents stored in the Help.store file? I'd like to parse the help >text from the application, extracting some information from the help >texts in runtime... Scott Hess wrote a tool to do some time ago ... It's on the archive servers. I think it was called uncompresshelp. The source with give you the code you're looking for. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Weird gdb under Dev3.3? Date: 21 Sep 1995 01:16:05 +0100 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eag7z1bui.fsf@steffi.accessone.com> References: <yzhaoDEIqL9.Lnz@netcom.com> <43q85a$ep7@news.next.com> In-reply-to: msnyder@NeXT.com's message of 20 Sep 1995 23:29:46 GMT To: msnyder@NeXT.com (Michael Snyder) <msnyder@NeXT.com> writes: >Yi Zhao writes >>Today, I installed NS User 3.3, Dev. 3.3, and EOF 1.1 into a machine but >>I cannot use the GUI for gdb anymore. Everytime when I tried to look at the >>gdb window for the frames, I had the innermost frame at the top of the >>frame column of the browser, which, under Dev. 3.2, should be at the bottom. >>I actually like to have it on top, but the trouble is that when I try to >>access the source file, it is still the other way around and some frames in >>the second column (for self, cmd, argument, etc), too. Did I miss something >>here or should I set some preference to get it right? The release notes for >>3.3 did not say anything about gdb and Edit. >This was a regression in gdb under 3.3, which has been fixed in the >recent 3.3 Patch release. Is this patch publically available on NeXTAnswers? -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
Newsgroups: comp.sys.next.programmer From: frederic@hp-712-60 (Frederic GALOT) Subject: How to automise FTP? Message-ID: <1995Sep18.093632.3497@xlan.fdn.org> Sender: news@xlan.fdn.org Organization: X&LAN - Bordeaux, France. Date: Mon, 18 Sep 1995 09:36:32 GMT I'm trying to use FTP in an app but it doesn't accept the password. i.e. : it's like you're using a shell : ftp myhost ; open <ficwithmyname <ficwithpasswd; The connection and the name are ok but the passwd is not and you wait... Thanks. FRED.
Newsgroups: comp.sys.next.programmer From: frederic@hp-712-60 (Frederic GALOT) Subject: How are you using FTP in an APP? Message-ID: <1995Sep18.094722.3573@xlan.fdn.org> Sender: news@xlan.fdn.org Organization: X&LAN - Bordeaux, France. Date: Mon, 18 Sep 1995 09:47:22 GMT I'm trying to use FTP in an application whithout using a shell but the passwd isn't read... Thanks for help. FRED.
From: Ali_Ozer@NeXT.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: Re: howto do "writeTIFF" with 24bit pictures Date: 21 Sep 1995 21:44:49 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <43smch$kcb@news.next.com> References: <43ok3t$h3k@newshost.uni-koblenz.de> In article <43ok3t$h3k@newshost.uni-koblenz.de> Marcel Bresink writes: > >[...] This creates the TIFF file with the picture, but it uses the > > screen-type for bitsPerSample, resulting in a 12-bit TIFF file instead of > > a 24-bit one. > I think, NXImage does not use representations that are deeper than the > window server's deepest window. Actually you can do [image setCacheDepthBounded:NO] to cause an instance of NXImage to use caches that are not bounded to the screen depth. Ali, Ali_Ozer@NeXT.com
From: jason@drizzle.Stanford.EDU (Jason Xiaogang Zhang) Newsgroups: comp.sys.next.programmer Subject: How to generate a gdb session as PB does Date: 21 Sep 1995 18:08:49 -0500 Organization: UTexas Mail-to-News Gateway Sender: nobody@cs.utexas.edu Message-ID: <199509212308.QAA08586@drizzle.Stanford.EDU> Can anyone give me a hint on how to generate a gdb session from a program as it is done in ProjectBuild.app. I can do a system(), but it is not the way PB does it. Thanks. - jason
From: marcel@cs.tu-berlin.de (Marcel Weiher) Newsgroups: comp.sys.next.programmer Subject: Re: howto do "writeTIFF" with 24bit pictures Date: 18 Sep 1995 07:21:09 GMT Organization: Technical University of Berlin, Germany Message-ID: <43j6l5$l81@news.cs.tu-berlin.de> References: <43igkl$2r7@ntuix.ntu.ac.sg> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) writes: [Problems using NXImage to write a TIFF representation] >WHAT AM I DOING WRONG ???? You are using NXImage. Use NXBitmapImageRep instead and things will be happy. If you MUST use an NXImage in the meantime, look through its representation list for the Bitmap. Marcel
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: Re: White doesn't print white! Date: 21 Sep 1995 16:33:06 GMT Organization: University of California, Berkeley Distribution: World Message-ID: <43s442$644@agate.berkeley.edu> References: <43q70b$v8f@celebrian.otago.ac.nz> In article <43q70b$v8f@celebrian.otago.ac.nz> alastair@BlackAlbatross.otago.ac.nz (Alastair Thomson) writes: >Hi all, >We've just received a Tektronix 340 colour printer. We have the following >problem: When we print anything to it, our whites don't come out white! We >see a small amount of cyan ink on the 'white' areas. When I send >PostScript direct to the printer with a 1.0 setgray it does appear white, >but when I print something from NS, I get the small amount of cyan. > >I assume there is something in the NS encoding that transforms colours to >something other than white - what can I do to fix this! I can't use >documents where white areas are speckled! It may be due to a similar problem we had with an early HP LaserJet 4M/PS with density plot that uses shades of grays (it may still be there). White was not coming out as pure white. It may have to do with some mismatch of Calibrated Color space in PS level-2. Try the following calib chart, and try disabling level-2 flag in the code with line: % /_NXLevel2 false __NXdef % This, when enabled, forces PS Level-1 I don't know what you should do specifically for your case, but I had to hack /usr/lib/NextStep/printPackage.ps and put some code to fix the HP LJ problem (to make direct printing from various apps come out right via a /DecodeLMN entry). I can e-mail or post a diff if you want it. Here's the calibration code: --- cut ---- Density Calibration.eps --- %!PS-Adobe-2.0 EPSF-2.0 %%BoundingBox: 0 0 612 792 %%Title: PostScript Density Calibration Chart %%Creator: Izumi Ohzawa %%Date: 93-04-23 % This is the calibration file that uses the default prolog (excerpted) % as it shipped by NeXT. % USE THIS to check density calibration of Level-2 PS printers !!! %% Excerpted prolog from NeXT printPackage.ps /__NXdef{1 index where{pop pop pop}{def}ifelse}bind def /__NXbdef{1 index where{pop pop pop}{bind def}ifelse}bind def % Set PostScript Level Flag here. /_NXLevel2 systemdict /languagelevel known {languagelevel 2 ge}{false}ifelse __NXdef % ######### Try enabling the line below when 'white' is not completely white #### % /_NXLevel2 false __NXdef % This, when enabled, forces PS Level-1 _NXLevel2{ % PS Level-2 definitions (excerpts) ------------------------------------------------ /NXCalibratedRGBColorSpace where{pop}{ /NXCalibratedRGBColorSpace {mark /NXCalibratedRGB /ColorSpace findresource exch pop}stopped {cleartomark /NXCalibratedRGB[/CIEBasedABC 2 dict dup begin /MatrixLMN[.4124 .2126 .0193 .3576 .7152 .1192 .1805 .0722 .9505]def /WhitePoint[.9505 1 1.089] def end] /ColorSpace defineresource}if def}ifelse /nxsetrgbcolor{NXCalibratedRGBColorSpace setcolorspace setcolor}__NXbdef /nxsetgray{dup dup nxsetrgbcolor}__NXbdef } { % PS Level-1 definitions (excerpts) ------------------------------------------------- /nxsetrgbcolor{setrgbcolor}__NXbdef /nxsetgray{setgray}__NXbdef } ifelse % My code for generating Density Calibration chart. % I use 'nxsetgray' to enable Level-2 Color Calibration /paperwidth 612 def % already defined /paperheight 792 def /temp-str 10 string def % i on stack /draw_box { gsave 0 nxsetgray 0 -10 rmoveto dup 100 exch sub temp-str cvs show ( %) show grestore 40 0 rlineto 0 45 rlineto -40 0 rlineto closepath gsave 100 div nxsetgray fill grestore 0 nxsetgray stroke } def /Helvetica findfont 10 scalefont setfont 0.5 setlinewidth 0 1 100 { dup dup 10 idiv 66 mul 40 add % i i yp exch % i yp i 10 mod 50 mul 100 add paperwidth exch sub % i yp xp exch moveto draw_box } for /Times-Roman findfont 16 scalefont setfont 60 720 moveto (Density Calibration Chart) show 60 700 moveto (This printer's PostScript Level is: ) show _NXLevel2 { ( 2) show } { ( 1) show } ifelse showpage %%Trailer % --- cut here --- -- Izumi Ohzawa <izumi@pinoko.berkeley.edu> [ $@Bg_78^=;(J ] USMail: Univ. of California, 360 Minor Hall, Berkeley, CA 94720-2020 Tel: 510-642-6440, Fax: 510-642-3323, (NeXT & MIME mails OK)
From: Greg_Anderson@afs.com (Gregory H. Anderson) Newsgroups: comp.sys.next.programmer Subject: Re: Weird gdb under Dev3.3? Date: 21 Sep 1995 14:31:19 GMT Organization: Anderson Financial Systems Inc. Message-ID: <43rsvn$b1v@shelob.afs.com> References: <43q810$ep5@news.next.com> Michael Snyder writes > Yes, this was a regression in the 3.3 gdb, which was fixed in the > 3.3Patch distribution. How does one acquire this patch distribution? Is it on your Web site? -- Gregory H. Anderson | "Honey, there're few programming Gaffer/Best Boy/Key Grip | problems that can't be solved Anderson Financial Systems | with duct tape." -- 'Father' Duke greg@afs.com (NeXTmail OK) | (paraphrased), Doonesbury, 2/17/95
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: What is the secret of Edit.app fast loading? Date: 20 Sep 1995 21:42:45 GMT Organization: my own Message-ID: <43q1sl$2bf@gate.seicom.net> Just curious: when I use a Text object and load it using [textObj readText:stream]; it could takes literal years for it to load a big file with long lines (no cr). Now if I use Edit.app to load just the same file it works much faster. I have found that setting the Text object to no wraping using [textObj setNoWrap]; is speeding the operation up for the price that sometimes, if a line is too long the Text objects just goes to never-never land... (Bus error) So what is Edit.app doing differently? I guess it is using the same (b&b (big&bad)) Text object as everyone else, or? Any ideas? --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: Summary: Any (legal) way to get all events from the Window Manager? Date: 20 Sep 1995 21:45:09 GMT Organization: my own Message-ID: <43q215$2bf@gate.seicom.net> This is what I have learned: David Koski <dkoski@cs.wisc.edu> told me: >Check out _handleCommand in windowPackage.ps. It is called whenever a command >key is pressed. If you really want all key events, you will have to replace >keyDownEvProc (for every window at run-time or once in windowPackage.ps). Have a nice day Frank --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy
From: alastair@BlackAlbatross.otago.ac.nz (Alastair Thomson) Newsgroups: comp.sys.next.programmer Subject: Re: White doesn't print white! - Solved Date: 21 Sep 1995 23:14:12 GMT Organization: University of Otago, Dunedin, NZ Distribution: World Message-ID: <43srk4$kf0@celebrian.otago.ac.nz> My problem with the Tektronix printer is solved. For those interested, NEXTSTEP is clever with colour rendering. When you print something, it attempts to make what comes out the printer look at close to what is on screen as possible (logical, right). We'll, on-screen white is actually a little blue compared to paper white based on the white-points NeXT and Tektronix uses. So, sensibly enough, the printer tries to print the white with a little blue. The amount is usually so small that printers that use conventional half-toning can't produce that amount of cyan/magenta. For better or worse the Tektronix 340 uses Floyd Steinberg random dot ditheing rather than angled screens The result looks great, but it also allows it to reproduce the very small amount of blue by printing fairly widely spaced dots of cyan and magenta..... OK, so what to do. After comment from Marcel Weiher <marcel@spock.system.de> I had a closer look at the PostScript sent to the printer. It includes the new operators nxsetgray and nxsetrgbcolor. These apply a transformation to the base colour into the calibrated colour system that NeXT uses. The solution (after some hours of RTFMing, is to do a dwrite GLOBAL NXUseCalibratedColor NO. This allows the printer itself to do the colour calibration (since it provides assorted simulations including display, process printing, SWOp and others). This default only affects printing since display to the screen is done using device colour for speed. All in all, logical enough, but a bit startling when you see it! Alastair -- Alastair Thomson, | Phone +64-3-479-8347 Manager, | Fax +64-3-479-8529 Computer Science Applied Research Centre | NZ Mobile 0-25-353-994 University of Otago, | alastair@BlackAlbatross.otago.ac.nz Dunedin 9015, | NeXTmail/MIME Welcome New Zealand. | http://www.csarc.otago.ac.nz:805/
From: Greg_Anderson@afs.com (Gregory H. Anderson) Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy Subject: Re: Weird gdb under Dev3.3? Date: 21 Sep 1995 19:49:49 GMT Organization: Anderson Financial Systems Inc. Message-ID: <43sfkt$bsr@shelob.afs.com> References: <DF9IID.1x3@plsys.co.uk> Paul Lynch <paul@griffin.plsys.co.uk> writes >> In article <43q85a$ep7@news.next.com> msnyder@NeXT.com (Michael >> Snyder) writes: >>> This was a regression in gdb under 3.3, which has been fixed [...] ^^^^^^^^^^ I forgot to mention in my earlier post on the topic that this is the most artful synonym for "bonehead bug" I have ever seen. I thought the whole point of regression testing was to make sure you _didn't_ break old stuff when you add new features. > It has only been released, as far as I can I tell, to Premium support > customers. Oh, very nice. "We screwed up the debugger in a way that makes it almost completely unusable, but you have to pay even more money to get back to the same degree of functionality you had before you bought the upgrade." For new interim functionality, I'm willing to pay Premium Support prices. I'll even pay for the new-and-improved lookupd, although NeXT had plenty of opportunities to fix that in time for 3.3, too. But I will NOT pay for patches to fix an upgrade that BROKE fundamental tools which were working in every prior release. This is unconscionable. Is it any wonder that we brave remaining souls grow lonelier by the day? "Please bend over just a _little_ farther, Mr. Anderson, I think I can fit one more finger in." What's to stop NeXT from INTENTIONALLY breaking old stuff in new releases, so there is NO CHOICE but to get Premium Support to keep your system running? Word to the wise in RWC: When you barely have any friends left, it doesn't pay to p*** off those who continue to stand by you. This might be a good time to consider the expectations of those 1000's of eager suckers over in WindowsLand who will come to visit OpenStepLand, then flee when they learn what constitutes "product support" around here. You only get one chance to lose those folks, because they have other choices. Why not start practicing good customer service now? Thanks! -- Gregory H. Anderson | "Honey, there're few programming Gaffer/Best Boy/Key Grip | problems that can't be solved Anderson Financial Systems | with duct tape." -- 'Father' Duke greg@afs.com (NeXTmail OK) | (paraphrased), Doonesbury, 2/17/95
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Attaching to processing and debugging bundles? Date: 21 Sep 1995 22:24:59 +0100 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eu466f5ck.fsf@steffi.accessone.com> I'd like to know what is necessary to be able to set break points on code loaded from bundles when attaching to a process in gdb. Imagine you were debugging an app that was launched from the workspace and you fired up gdb and attached to the app. Is there anything special that has to be in place to allow you to set and break on breakpoints in gdb? Currently when I've done this I can set the breakpoints no problem but they will _not_ break. I don't think this is related to future-break as I said I can set the breakpoints after I know the code is loaded they just don't break. I stress that running that app within gdb rather than attaching results in breaking properly. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: hendryj@Mercury.mcs.com (Jonathan W. Hendry) Newsgroups: comp.sys.next.programmer,comp.sys.next.advocacy Subject: Re: Weird gdb under Dev3.3? Followup-To: comp.sys.next.programmer,comp.sys.next.advocacy Date: 22 Sep 1995 13:34:01 GMT Organization: MCSNet Internet Services Message-ID: <43ue09$qmd@News1.mcs.net> References: <DF9IID.1x3@plsys.co.uk> <43sfkt$bsr@shelob.afs.com> Gregory H. Anderson (Greg_Anderson@afs.com) wrote: : This is unconscionable. Is it any wonder that we brave remaining souls : grow lonelier by the day? "Please bend over just a _little_ farther, Mr. : Anderson, I think I can fit one more finger in." ROTFL! Unfotunately for NeXT, gone are the days when we'd reply "Thank you sir may I have another?"
From: abaugher@worf.netins.net (Aaron J. Baugher) Newsgroups: comp.sys.next.programmer Subject: Multiple IP's Date: 22 Sep 1995 13:37:02 GMT Organization: INS Info Services, Des Moines, Iowa, USA Message-ID: <43ue5u$450@insosf1.netins.net> I have a project which requires that my NeXT (NeXTstation, NeXTStep 3.2) be able to respond to multiple IP numbers on the Ethernet port. I am brand new to NeXT programming, but it looks like this has to be done with a loadable kernal module. My system doesn't seem to have the source for any of the modules that are already there, so I have nothing to use as an example to work on writing one. Can anyone point me toward some source for this sort of thing, or maybe someone who's already written a module like this? Thanks, Aaron -------------------------------------------------------- Aaron J. Baugher http://www.bcl.net/~abaugher Software Engineer abaugher@bcl.net Basic Communications, Ltd. Roark on IRC --------------------------------------------------------
From: Chris Snowdon Newsgroups: comp.sys.next.programmer Subject: Re: Why doesn't "prog > /dev/pp0" work? Date: 22 Sep 1995 00:08:08 GMT Organization: Turbocat's Development, Germany Message-ID: <43sup8$177@turbocat.snafu.de> References: <Pine.A32.3.91.950914151616.38954D-100000@argent.tkg.com> John Dawson <jdawson@tkg.com> wrote: > I wrote a PostScript-to-Epson-FX-80 filter so I could use my trusty old FX-80 as a NEXTSTEP printing device. And it works just fine. But I encountered this problem while doing it: (...) > But when I create a printer entry, and give it "epsonfilt" for the filter program and /dev/pp0 for the device, it works without flaw every time. > What does the print subsystem know about sending things to /dev/pp0 that I don't? The pp0 driver has a bug. It eats data. Has someone a new one yet? I do not like pp0cat. > John Dawson (jdawson@tkg.com) -- _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Phone +49 33056 82151, Fax +49 33056 82152 (______) dave@turbocat.snafu.de (NeXTMail)
From: mittelst@biw-ag.de (Thomas Mittelstaedt) Newsgroups: comp.sys.next.programmer Subject: forward method in Object Date: 22 Sep 1995 12:17:06 GMT Organization: BIW Systemhaus Message-ID: <43u9g2$49s@next01.biw-ag.de> Keywords: marg_list I have the following programming problem: If an Object does not respond to a method, the method "forward" with the selector and the variable argument list "marg_list" gets called. In that method one can get to the individual arguments via obj-C run-time functions! Even though I read the documentation I just can't get this done! Any help would be great!! Thomas
Newsgroups: comp.sys.next.programmer From: laurent@planon.qc.ca (Laurent Daudelin) Subject: Workaround for DBKit record key modification? Message-ID: <DFBJ7q.H4B@planon.qc.ca> Sender: laurent@planon.qc.ca (Laurent Daudelin) Organization: Planon Telexpertise, Inc. Boucherville QUEBEC Date: Fri, 22 Sep 1995 17:57:26 GMT Hi! I'm trying to make modification of a record key value possible in the DBKit, and looking for a good workaround. Any help, pointer or info gladly accepted! Thanks in advance, -Laurent. -- ****************************************************************** Laurent Daudelin, Lead Software Engineer Planon TELEXPERTISE Inc., Boucherville, Quebec, CANADA laurent@planon.qc.ca <-- NeXTMail welcome! (Mac Mail welcome too!)
From: Politics@usa.com Newsgroups: comp.sys.next.programmer Subject: Proposed State & Federal Regulations for the INTERNET! Date: 23 Sep 1995 06:57:04 GMT Organization: Wisconsin Internet Services Message-ID: <440b40$6ih@newsie.wis.com> Originator: Politics@usa.com Originator: glasrud@squeaky.free.org My name is Scott Glasrud, and I am running for the New Mexico State Senate during the 1996 elections. One of the reasons I have chosen to run is to combat the proposed state and federal regulations of the Internet. As you know, the Internet was never designed to be regulated! It was designed to allow communications in the event of anuclear war or a major catastrophe. I OPPOSE REGULATION, and if elected will fight to preserve your constitutional rights. HOWEVER, I NEED YOUR HELP! I am asking each person who reeives this message to send $5.00 to the Scott Glasrud Campaign Committee. If we pull together, we CAN protect our first amendment rights! HELP ME show the politicians the POWER behind this important NETWORK. Please send contributions to: The Scott Glasrud Campaign Committee 11024 Montgomery Blvd. NE, Suite 179 Albuquerque, New Mexico 87111 Thank you!
Newsgroups: comp.sys.next.programmer From: andreas@esag.ch (Andreas Lutsch) Subject: Re: nextcolortbl RTF directive Message-ID: <DEw7sx.1Jn@esag.ch> Sender: news@esag.ch Organization: Trinex AG, Sissach, CH References: <9509121636.AA00217@thoughtful.com> Date: Thu, 14 Sep 1995 11:26:56 GMT Jeremy Slade writes > > My code contains a custom RTF reader to do some processing on the text, > the actual RTF usually comes from the Text object via writeRichText:. In > playing around with some colored text, the Text object spit out some RTF > containing a directive: > > ...{\nextcolortbl{\nextcolor1 ..some garbage here..}}... > > I had never seen this before, it is certainly not mentioned in any > documentation that I have seen, and my RTF reader did not recognize the > nextcolortbl control word, of course. And now, I can't get it to happen > again, which is rather frustrating. Does anyone know anything about this > and other possible RTF directives that are unique to Nextstep? We experienced the same problem. As a result the Objective C compiler couldn't compile the RTF source. Obviously the preprocessor didn't know that special phrase either (and didn't filter it out). The same goes for /NextDeveloper/Demos/FileMerge.app/convertRichTextToAscii, which we use sometimes to convert our RTF source files back to Ascii when needed. This began happening now and then when we started to mark some comments with a special color. Below you find a short RTF document. If you copy the font (and color) of the comment line into another RTF file (using Copy Font / Paste Font aka Cmd-3 and Cmd-4), the bogus directive will appear. But, if you try to copy the color only (with Edit's Color panel: grab the color with the magnifying glass, mark the text to become colored, drag the color from the panel's well), this will not happen. That's all I know so far. I sent a bug report to NeXT, because the C preprocessor can't handle these files (though generated with Edit), but received only the usual automatic registration reply yet (log number 73303). Now we just remove these two lines with vi when they appear, and that's it. The color of the comment line doesn't seem to change after that operation. Maybe this kind of a hack could work for you, too. We didn't encounter any side effects so far. Andreas (using NS 3.3, Dev 3.3)
From: "John W. Wooten" <woo@ornl.gov> Newsgroups: comp.sys.next.programmer Subject: Re: cllcking in a ScrollView Date: Sat, 23 Sep 1995 09:04:29 -0400 Organization: Oak Ridge National Lab, Oak Ridge, TN Message-ID: <Pine.NXT.3.91.950923090402.9077A-100000@woonext.dsrd.ornl.gov> References: <43rmg3$9lu@stc06.ctd.ornl.gov> <199509220720.AAA22235@idiom.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <199509220720.AAA22235@idiom.com> Thanks for the suggestion. That of course is the solution and took MUCH less time and energy. - - - - - - - - - J. W. Wooten On Fri, 22 Sep 1995, John C. Randolph wrote: > Date: Fri, 22 Sep 1995 00:20:08 -0700 > From: John C. Randolph <jcr@idiom.com> > To: woo@ornl.gov > Newgroups: comp.sys.next.programmer > Subject: Re: cllcking in a ScrollView > > In comp.sys.next.programmer you write: > > >I've set up a very simple Demo application to show how > >the MiscDragViews.palette can be used to create a window > >wherein there is an icon well and a ScrollView with a matrix of > >textfields for filenames. As files are dragged and dropped into the > >icon well, the filenames appear in the scrolling matrix of textfields > >in the ScrollView. The point is so that then, by clicking on the > >filename in the ScrollView the proper icon will appear back in the well > >and then by double clicking on the icon, that document will be opened > >to read. > > >Everything works, except the cursor is always indicating that the > >ScrollView (or something in it) is editable and the clicks are not > >received. I've enabled everything I could find so that it could > >receive mouse clicks, and made everything uneditable and unselectable, > >but I still get the edit cursor over the ScrollView. Is there a > >content view or documentview that is causing this behavior? > > >Thanks for any information. > > > > John, > > Why didn't you just use a single-column NXBrowser, instead of trying to > roll your own? > > Seriously. You can save yourself a whole lot of debugging. Read the docs on > Browser delegates, and then write yourself a browser:fillMatrix:inColumn: > method. > > > John Randolph. > > >
From: trey@castle.wizards.com (Trey Valenta) Newsgroups: comp.sys.next.programmer Subject: looking for C compiler for NeXT Date: 20 Sep 1995 16:40:08 -0700 Organization: Testing site Message-ID: <trey.811639978@castle> Keywords: help help help! I'm trying to get a C compiler for a color NeXTstation to no avail. I don't have a compiler already, so I can do anything with the gcc source files. I managed to find, on peanut in Germany, gnu's ada (gnat) which has basic gcc 2.6.0 binaries. However, I get an error from ld when I run it. trey(primal)bin> ld hello.o collect2: cannot find `ld' collect2: ld returned 1 exit status trey(primal)bin> Can some kind soul fill me in here? Anyone know what else I could try? Puleeze? thanks so much in advance. trey -- Trey Valenta trey@wizards.com -->> http://lenin.cc.rochester.edu/~trey <<-- Wizards of the Coast Renton, WA 206.226.6500
From: tthomas@thoughtport.com Newsgroups: comp.sys.next.programmer Subject: MiscTabMatrix Date: 23 Sep 1995 16:16:02 GMT Organization: The ThoughtPort Authority, Inc. Message-ID: <441bs2$8dk@chinx4.thoughtport.COM> Hi All, I'm just wondering if anyone out there has added anything to MiscTabMatrix. More specifically I was thinking of adding a transparent background, and the ability to display the tabs on the left or right side (with the text rotated) or upsidedown (with the text still rightside up of course). I just didn't want to duplicate someone else's efforts, but if no one gets back to me I'll be working on it for a future MiscKit release. --- Todd Thomas tthomas@thoughport.com NeXTMail and MIME
From: chris@wakko.envision.com (Chris Cleeland) Newsgroups: comp.sys.next.programmer Subject: Re: forward declaration of a class in objective-c Date: 23 Sep 1995 17:34:06 GMT Organization: Envision, St. Louis, Missouri Message-ID: <441gee$5sp@Twain.MO.NET> References: <199508281956.VAA12859@ns.ms.mff.cuni.cz> <4310un$mda@info.epfl.ch> <wmzqgbx3bo.fsf@cobra.es.ele.tue.nl> In article <wmzqgbx3bo.fsf@cobra.es.ele.tue.nl>, Pieter Schoenmakers <tiggr@es.ele.tue.nl> wrote: >In article <4310un$mda@info.epfl.ch> marco@sente.epfl.ch (Marco Scheurer) writes: > > If MutableString is a subclass of String, and SpecialString is a subclass > of String then MutableSpecialString should be a subclass of String AND > MutableString > >Really? Thus, a MutableSpecialString should contain two strings? --Tiggr Well, no. In C++ one would use virtual inheritance at the first level, thus guaranteeing that any subclasses only had ONE String part. For example: class String { /* string stuff here */ }; class MutableString : public virtual String { /* MutableString stuff here */ }; class SpecialString : public virtual String { /* SpecialString stuff here */ }; class MutableSpecialString : public MutableString, public SpecialString { }; This hierarchy guarantees that the MutableString & SpecialString parts of MutableSpecialString SHARE a common String part. Thus, the problem you bring up with MI can be solved with this language "feature". However, there are more problems with it, such as the fact that there must be a priori anticipation of the fact that somebody MIGHT multiply-inherit from one of the subclasses of String and the virtual must go there. There are, of course, other problems. I make my living doing C++, but it's far too "carved in stone" to be the nirvana that everyone seems to think it is. I wish ObjC++ would catch on, so we could use the best features of each language. -cj -- // Disclaimer: Words above are owned & spoken by Chris Cleeland & // not Envision Solutions. Don't blame them, blame him! // ----------------------------------------------------------------------- // Chris Cleeland, chris@envision.com, Envision Solutions, Inc.
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.programmer Subject: EPS->TIFF with alpha ? Date: 23 Sep 1995 18:55:08 GMT Organization: University of Heidelberg, Germany Message-ID: <441l6d$hep@sun0.urz.uni-heidelberg.de> How do I convert EPS files into TIFFs while preserving alpha channel information ? The simple way to read the EPS in an View and write it with writeTIFF: seems to loose the alpha information always (well, ImageViewer's save looses it also, but OmniImage does it). -- | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: yong soon liang <ylian00@mik.uky.edu> Newsgroups: comp.sys.next.programmer Subject: LEX - generator of lexical analysis programs Date: Sun, 24 Sep 1995 11:32:40 -0400 Organization: University of Kentucky, Dept. of Math Sciences Message-ID: <Pine.NXT.3.91.950924112720.21939A-100000@nx43.mik.uky.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Does anyone has a manual for LEX or any idea where I could find a more complete documentation for this programming language? I tried the man page on NeXT but it didn't explain much.
Date: 24 Sep 1995 11:13:54 GMT From: Politics@usa.com Newsgroups: comp.sys.next.programmer Message-ID: <cancel.440b40$6ih@newsie.wis.com> Control: cancel <440b40$6ih@newsie.wis.com> Subject: cmsg cancel <440b40$6ih@newsie.wis.com> EMP/ECP (aka SPAM) cancelled by clewis@ferret.ocunix.on.ca. See news.admin.net-abuse.announce, report 19950924.01 for further details
Control: cancel <440b40ih@newsie.wis.com> Newsgroups: comp.sys.next.programmer From: Politics@usa.com Subject: cmsg cancel <440b40ih@newsie.wis.com> Followup-To: poster Sender: Politics@usa.com Organization: Taronga Park BBS Message-ID: <cancel.440b40ih@newsie.wis.com> Date: Sun, 24 Sep 1995 16:26:43 GMT Spam cancelled by cancelbot@taronga.com
From: GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) Newsgroups: comp.sys.next.programmer Subject: Re: EPS->TIFF with alpha ? Date: 24 Sep 1995 17:01:09 GMT Organization: Nanyang Technological University Message-ID: <4442sl$b1d@ntuix.ntu.ac.sg> References: <441l6d$hep@sun0.urz.uni-heidelberg.de> Gregor Hoffleit (flight@mathi.uni-heidelberg.de) wrote: : How do I convert EPS files into TIFFs while preserving alpha channel : information ? The simple way to read the EPS in an View and write it : with writeTIFF: seems to loose the alpha information always (well, : ImageViewer's save looses it also, but OmniImage does it). Well, I just programmed this (the TIFF part) without any problems. I just use an NXImage, and I were able to set it with or without alpha with no problem what-soever. You only must be careful, that the the output-ed TIFF is not limited to 4-bits color (or 2-bits gray). Use [image setCacheDepthBounded:NO] to prevent that. If you want some example-code (I'm now not at my NeXT), send me an e-mail. Willem W i l l e m v a n S c h a i k ------------------------------------------------------------------------------- Gintic - Singapore gwillem@ntuvax.ntu.ac.sg
From: odp@meson.epita.fr (objets distribues persistants) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: identifying class objects Date: 24 Sep 1995 19:45:49 GMT Organization: Epita (French Computer Science school) Sender: odp@meson (objets distribues persistants) Distribution: world Message-ID: <444chd$9l5@boson.epita.fr> Hi there, I'm working with class objects (under NS), and I want to ask a class object if it is a subclass of another class; but I can't find any message or objc function that can do that :-( can anybody help me? (I know how to ask an instance object if it is a kind of some class with isKindOf, isMenberOf) thanks. FE
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: SMALLTALK/OOA OOD/DC Area Date: 24 Sep 1995 19:36:27 GMT Organization: Norden 1 Communications Message-ID: <444bvr$ivd@tofu.alt.net> Programmer/analyst/developer SMALLTALK Strong OOA Strong OOD Contract--Long,long,term DC Area Exceptional benefits Current commercial US Citizen or Greencard To be called--Fax resume or mail a hard copy. -- ehutch@norden1.com (419) 893-6367 [fax] The Omni Group (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: tm8025a@newssrv.soc.american.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: Multipe lib definitions Date: 25 Sep 1995 00:27:21 GMT Organization: The American University, Washington DC Message-ID: <444t19$rao@paladin.american.edu> While trying to compile the latest, greatest beta of BIND, ver 4.9_3-BETA26, I got the following error: ld: multiple definitions of symbol _inet_addr ./res/libresolv.a(inet_addr.o) definition of _inet_addr in section (__TEXT,__text) /lib/libsys_s.a(inet_addr.o) definition of absolute _inet_addr (value 0x500278c) How can multiple lib definitions be resolved? -- Torrey McMahon
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 25 Sep 1995 04:15:12 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <445acg$gqd@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: mcgredo@crl.com (Donald R. McGregor) Newsgroups: comp.sys.next.programmer Subject: Re: LEX - generator of lexical analysis programs Date: 24 Sep 1995 22:05:46 -0700 Organization: YoyoDyne Propulsion Systems Message-ID: <445dba$qbh@crl5.crl.com> References: <Pine.NXT.3.91.950924112720.21939A-100000@nx43.mik.uky.edu> In article <Pine.NXT.3.91.950924112720.21939A-100000@nx43.mik.uky.edu>, yong soon liang <ylian00@mik.uky.edu> wrote: :> Does anyone has a manual for LEX or any idea where I could find :>a more complete documentation for this programming language? I tried the :>man page on NeXT but it didn't explain much. There's an O'Reilly book on Lex and yacc that's pretty good. O'Reilly's web site is at http://www.ora.com. -- Don McGregor | "There is considerable overlap between the intelligence mcgredo@crl.com | level of the smartest bears and the dumbest tourists."
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: LEX - generator of lexical analysis programs Date: Mon, 25 Sep 95 08:41:46 GMT Organization: Cedar Systems Message-ID: <812018506snz@cedar.demon.co.uk> References: <Pine.NXT.3.91.950924112720.21939A-100000@nx43.mik.uky.edu> We have found the following book very useful: Title: lex & yacc Authors: John R. Levine, Tony Mason & Doug Brown Publisher: O'Reilly & Associates, Inc. ISBN: 1-56592-000-7 Regards, Paul Heffernan.
Newsgroups: comp.sys.next.programmer From: martin@rat.se Subject: NXTrapIllegalFloatingPointOps Message-ID: <DFGInn.184@rat.se> Keywords: NXTrapIllegalFloatingPointOps Sender: martin@rat.se (Martin Wennerberg) Organization: Research & Trade, AB. Date: Mon, 25 Sep 1995 10:33:23 GMT When I try to enable the trapping of illegal floating points NS logs "Can't enable trapping of illegal floating point operations." to stderr. Why is that? Martin Wennerberg ____________________________________________________ Research & Trade AB Phone: + 46 - 8 - 21 17 50 Fax: + 46 - 8 - 24 54 11 Email: martin@rat.se Snailmail: Box 7742, S-103 95 Stockholm, SWEDEN Visiting: Kungsgatan 33
From: monty@tbyte.com (Monty) Newsgroups: comp.sys.next.programmer Subject: Re: EPS->TIFF with alpha ? Date: 25 Sep 1995 16:55:36 GMT Organization: Trilobyte, Inc. Message-ID: <446mu8$jhf@marvin.tbyte.com> References: <441l6d$hep@sun0.urz.uni-heidelberg.de> Try reading it in using NXImage readFromStream: and then writing it out as a TIFF. I do this to composite EPS on top of images. Monty In article <441l6d$hep@sun0.urz.uni-heidelberg.de> flight@mathi.uni-heidelberg.de (Gregor Hoffleit) writes: > How do I convert EPS files into TIFFs while preserving alpha channel > information ? The simple way to read the EPS in an View and write it > with writeTIFF: seems to loose the alpha information always (well, > ImageViewer's save looses it also, but OmniImage does it). > > > -- > | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | > | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | > | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | > | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: dieter@kaluza.physik.uni-konstanz.de (Dieter Ebner) Newsgroups: comp.sys.next.programmer Subject: c++ please help me with #include <iostream.h> Date: 25 Sep 1995 15:01:02 GMT Organization: I DID NOT CONFIGURE MY ORGANIZATION IN MY NEWSREADER Distribution: world Message-ID: <446g7e$dai@eurybia.rz.uni-konstanz.de> The iostream library on my NeXT is in /NextDeveloper/Headers/g++/ Since that directory is not in the default path I said gcc -I/NextDeveloper/Headers/g++ But I got the error message: In file included from /NextDeveloper/Headers/g++/iostream.h:24, from /Net/kaluza/Users/dieter/GC/GCprograms/main.cc:5: /NextDeveloper/Headers/g++/streambuf.h:183: `ios::operator void *(...)' must take `void' /NextDeveloper/Headers/g++/streambuf.h:183: confused by earlier errors, bailing out [Process exited - exit code 1] Can anyone help me? Dieter --- Dr. Dieter Ebner, Physics Department, University of Konstanz, Box 5560 M678, D-78434 KONSTANZ (Germany) Tel: +49/7531/88-3785, Fax: +49/7531/88-3195 e-mail (MIME accepted): Dieter.Ebner@uni-konstanz.de www: http://kaluza.physik.uni-konstanz.de/
From: rog@talisker.ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer,comp.lang.postscript Subject: Summary: What is a sensible paper margin ? Date: 25 Sep 1995 19:39:53 GMT Organization: The University of York, UK Message-ID: <4470i9$9c9@netty.york.ac.uk> Summary: use PPD files in article <43pcf5$rj4@netty.york.ac.uk> i wrote: > how can i determine a sensible margin to leave beyond the boundaries of > the printed output ? i received several useful replies (which i'm not posting because forgot to mention that i'd summarise to the net) the best solution was to use the PPD file for the printer in question, which contains a field *ImageableArea containing the printable rectangle for that printer. luckily NeXT provide an object interface to PPD files on their system (only from release 3.3 though, i think) my final code looks like : void get_paper_rect(NXRect *prect) { id printinfo = [NXApp printInfo]; id pr = [printinfo printer]; if (pr) { *prect = [pr imageRectForPaper:[printinfo paperType]]; /* returns zero width if can't find image rect */ if (prect->size.width <= 0.001) pr = nil; } if (pr == nil) /* if no printer, or couldn't get image rect */ { NXCoord l, r, t, b; *prect = *[printinfo paperRect]; [printinfo getMarginLeft:&l right:&r top:&t bottom:&b]; prect->size.width -= l + r; prect->size.height -= t + b; prect->origin.x = l; prect->origin.y = b; } return self; } obviously this is only valid under NeXTStep! thanks to: Olavi Sakari Erik M. Buck David Byram-Wigfield David Gaudine Michael Schindler rog.
Newsgroups: comp.sys.next.programmer From: hocker@waldo.com (Matthew Hocker) Subject: Is there a way to get script output to list box? Message-ID: <DFH2uG.A8J@waldo.com> Organization: The WaldoNet Group Date: Mon, 25 Sep 1995 17:49:28 GMT I'm writing a uucp utility, and rather than rewrite grep, I'd like to utilize it to output some custom-defined queries to list boxes. How do I go about doing this? Thanks! Matt -- __ Matthew Hocker, B.Eng (McGill) BMW.--. /\_\ "Believer in all things well-engineered" /XX \ \/_/ hocker@waldo.com \ XX/ NeXTSTEP! NeXTmail and MIME welcomed here `--'325ic
From: ccwf@thales.klab.caltech.edu (Charles Fu) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: const C++ vs Objective-C Date: 25 Sep 1995 20:54:59 GMT Organization: California Institute of Technology, Pasadena Message-ID: <4474v3$for@gap.cco.caltech.edu> References: <423qj5$8gc@voyager.internex.net> <RDL.95Sep11015706@world.std.com> <sdavis-1109951522200001@sdavis.cli.creaf.com> <432m8s$jl0@news.its.com> >> I noticed that for 'const' in C++, the so-qualified names/variables were >> allocated memory in the global space for the program, whereas the C >> 'const' could be allocated memory if ... These are implemenational details and are not mandated by the standards. In fact, you will find that even with the NeXT compiler, a constant may be allocated storage on one architecture but not another. In answer to the larger question, 'const' does have a different meaning under C++ (where the qualifier originated) than under C (which adopted a less strict meaning for the qualifier). For example, the default linkage is different. In article <432m8s$jl0@news.its.com>, <chuck@its.com> wrote: > So long as it does not change the meaning of the program, the compiler is > free to optimize local variables in various ways. More generally, compilers can do anything internally so long as they do not "change the meaning of the program." > If you wish to guarantee that storage is never allocated and the 'variable' > is always used as an immediate constant, use a #define. Even this may not be enough in some instances with the NeXT compiler (e.g., floating point constants for some architectures and structures). For integer constants, you may also wish to consider using an enum (handier for debugging). > If you wish to guarantee that storage is always allocated, take the address > of the variable via the "&" operator, or use the "volatile" qualifier. Taking the address works in most situations. Another alternative is explicitly declaring the variable "extern". -ccwf
From: ccwf@thales.klab.caltech.edu (Charles Fu) Newsgroups: comp.sys.next.programmer Subject: Re: 16 bit TIFFs on NeXT? Date: 25 Sep 1995 21:04:05 GMT Organization: California Institute of Technology, Pasadena Message-ID: <4475g5$hbo@gap.cco.caltech.edu> References: <424luo$bg1@tuzo.erin> In article <424luo$bg1@tuzo.erin>, Stephen Morris <smorris@jurgen.physics.utoronto.ca> wrote: > TIFF Error: Image parameters not acceptable: w=100 h=100 bps=16 spp=1 alpha=0 > photometric=1. > I suspect that the TIFF routines provided with the operating system barf on > 16 bit TIFF's. However can't find any mention of this restriction. Does > anybody know of this restriction ? Is there any way around this, i.e., are > there any programs which can display 16 bit TIFF's on the NeXT (Intel > Hardware) ? There are many valid TIFF files NeXT's libraries do not read properly. In fact, as I recall, the TIFF standard admits that it is so complicated that probably no reader has ever been written that will read all TIFF files. NeXT does not fully document which flavors of TIFF files they read, and the acceptable versions depend upon exactly which OS release you are running. As for a way around this, the easiest way is probably to write your own viewer. You may also be able to find converters to change your file to a 12 or 8-bit TIFF, if that is acceptable. -ccwf
From: ccwf@thales.klab.caltech.edu (Charles Fu) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Timer Resolution Date: 25 Sep 1995 21:25:46 GMT Organization: California Institute of Technology, Pasadena Message-ID: <4476oq$kh2@gap.cco.caltech.edu> References: <430eio$usi@msunews.cl.msu.edu> <431mve$69o@news.its.com> >perkins@cps.msu.edu (Stephen J. Perkins) wrote: >> Hello all! I have a question regarding the resolution of timers. >> The man page for gettimeofday says: The time reported by gettimeofday is advanced HZ times per second. HZ is defined in <machine/param.h> and is how often the timer interrupt is serviced. By default, BSD-derived UNIXes service the timer interrupt 100 times per second (m68k NEXTSTEP apparently only does so 64 times per second, however). How much the system clock advances when the interrupt is serviced depends upon the current value of the tick adjustment in the kernel. Normally, the system clock advances approximately one second every second, of course. :-) In article <431mve$69o@news.its.com>, <chuck@its.com> wrote: >However, I don't believe there's any way for the OS to determine which PC >motherboard and quartz clock you're using, so there's no way for the system >to give you a valid response. For Pentiums and some 486 chips, the OS could query the chip for its ID information and time its on-chip cycle counter. Access to the on-chip counter is not prohibited by NEXTSTEP, so any programmer can compare it to the system clock to find the chip speed and use the on-chip counter for profiling. -ccwf
From: msnyder@NeXT.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: Weird gdb under Dev3.3? Date: 25 Sep 1995 21:34:05 GMT Organization: NeXT Computer, Inc. Message-ID: <44778d$ctp@news.next.com> References: <DF8yAK.Go@hurka.UUCP> Tomas Hurka writes > In article <43q85a$ep7@news.next.com> msnyder@NeXT.com (Michael Snyder) > writes: > > Yi Zhao writes > > > Today, I installed NS User 3.3, Dev. 3.3, and EOF 1.1 into > > > a machine but I cannot use the GUI for gdb anymore. > [..] > > This was a regression in gdb under 3.3, which has been fixed in the > > recent 3.3 Patch release. > Where I can get this patch release? I looked at nextanswers, but I was not > able to locate it. Sorry for the delay in answering -- I had to go and ask myself! Turns out that this patch will become available on NextAnswers on 11/1/95. I appologize for bragging about a fix before it has become widely available.
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Timer Resolution Date: 25 Sep 1995 23:03:10 GMT Organization: Information Technology Solutions, Inc. Message-ID: <447cfe$bhq@news.its.com> References: <430eio$usi@msunews.cl.msu.edu> <431mve$69o@news.its.com> <4476oq$kh2@gap.cco.caltech.edu> ccwf@thales.klab.caltech.edu (Charles Fu) wrote: > The time reported by gettimeofday is advanced HZ times per second. That's not generally correct. The system clock may be updated continuously, as the manpage indicates. A quick purusual of an incoming news feed which does millisecond-level timestamps shows that NEXTSTEP/Intel updates the clock with greater resolution than (1 / HZ). [ ... ] > For Pentiums and some 486 chips, the OS could query the chip for its ID > information and time its on-chip cycle counter. Access to the on-chip > counter is not prohibited by NEXTSTEP, so any programmer can compare it > to the system clock to find the chip speed and use the on-chip counter > for profiling. Yes, but that doesn't tell you the accuracy and resolution of the system clock itself, which presumably was asked for the purposes of configuring an XNTP time server. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: wiml@brog (William Lewis) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: identifying class objects Followup-To: comp.lang.objective-c,comp.sys.next.programmer Date: 26 Sep 1995 00:46:58 GMT Organization: Omni Development, Inc. Distribution: world Message-ID: <447ii2$ef2@gaea.titan.org> References: <444chd$9l5@boson.epita.fr> objets distribues persistants (odp@meson.epita.fr) wrote in <444chd$9l5@boson.epita.fr>: > I'm working with class objects (under NS), and I want > to ask a class object if it is a subclass of another class; > but I can't find any message or objc function that can do that :-( > can anybody help me? > (I know how to ask an instance object if it is a kind of some class > with isKindOf, isMenberOf) To quote from the NS documentation for Object: # isKindOf: # - (BOOL)isKindOf:aClassObject # # Returns YES if the receiver is an instance of aClassObject or an # instance of any class that inherits from aClassObject. Otherwise, it # returns NO. ... So this should do what you want. If you want to exclude the class itself and only accept actual subclasses of the base class, you could use ([foo isKindOf:aClassObject] && ![foo isMemberOf:aClassObject])
From: sepp@ppcger.inka.de (Josef Wolf) Newsgroups: comp.sys.next.programmer Subject: Re: Why doesn't "prog > /dev/pp0" work? Date: 26 Sep 1995 01:38:38 +0100 Organization: PPCGer mail and news system (Germersheim, Germany) Message-ID: <447i2e$cqk@ppcger.inka.de> References: <Pine.A32.3.91.950914151616.38954D-100000@argent.tkg.com> <43sup8$177@turbocat.snafu.de> In <43sup8$177@turbocat.snafu.de> Chris Snowdon writes: [ ... ] >The pp0 driver has a bug. It eats data. >Has someone a new one yet? I do not like pp0cat. That's funny... Do you know _any_ NS-driver which isn't buggy? pp0 eat data serial eat data network eat data (OK, TCP will correct it, so you'll see only time delays) tape eat data (good thing for doing bad backups..) and so on .... [tried hard to involve NS to commercial companies but failed due to buggy drivers and miserable support. Now waiting for openstep on linux...] -- Josef Wolf -- sepp@ppcger.inka.de Germersheim, Germany
From: eric.hermanson@attws.com (Eric Hermanson) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: identifying class objects Date: 26 Sep 1995 01:30:21 GMT Organization: AT&T Wireless Services, Inc. Distribution: world Message-ID: <447l3d$g0v@nwestmail.nwest.mccaw.com> References: <447ii2$ef2@gaea.titan.org> In article <447ii2$ef2@gaea.titan.org> wiml@brog (William Lewis) writes: > objets distribues persistants (odp@meson.epita.fr) wrote > in <444chd$9l5@boson.epita.fr>: > > I'm working with class objects (under NS), and I want > > to ask a class object if it is a subclass of another class; > > but I can't find any message or objc function that can do that :-( > > can anybody help me? > To quote from the NS documentation for Object: > # isKindOf: > # - (BOOL)isKindOf:aClassObject > # > # Returns YES if the receiver is an instance of aClassObject or an > # instance of any class that inherits from aClassObject. Otherwise, it > # returns NO. ... > So this should do what you want. No, this won't work. You can't send class objects instance ("-") methods. Class objects only respond to class ("+") methods. You should send the Class object a "+superclass" message to find it's superclass. Eric
From: izumi@pinoko.berkeley.edu (Izumi Ohzawa) Newsgroups: comp.sys.next.programmer Subject: OpenPanel with regex file filtering instead of extension types? Date: 26 Sep 1995 02:38:29 GMT Organization: University of California, Berkeley Distribution: world Message-ID: <447p35$g0m@agate.berkeley.edu> Is there a way to use OpenPanel with file filtering based on some regular expression, like the one you would use with the 'ls' command? I have bunch of files that are in the form of "*.??e", where ?? is a number 0..9. OpenPanel spec seems to want a file type that is based on a fixed extension, and that is very limited. -- Izumi Ohzawa <izumi@pinoko.berkeley.edu> [ $@Bg_78^=;(J ] USMail: Univ. of California, 360 Minor Hall, Berkeley, CA 94720-2020 Tel: 510-642-6440, Fax: 510-642-3323, (NeXT & MIME mails OK)
From: bmaher@ixc.net(Bruce Maher) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.northstar,comp.sys.novell Subject: Free Spam Program, Does it Work?? Date: 25 Sep 1995 23:49:07 -0400 Organization: Internet Exchange Carrier Sender: bmaher@ixc.ixc.net Distribution: inet Message-ID: <447t7j$s4e@ixc.ixc.net> Sorry folks, but I just couldn't resist trying this. Found the script on comp.lang.perl.misc. Does it work? Guess so <gr>. HERE IT IS: ABSOLUTELY FREE Spam as many groups as you want with one command. Can post same message to 14,000 groups in just a few hours. Must have UNIX shell account, the attached script, and create two ascii text files called groups.txt and message.txt. The file groups.txt should contain a list of all groups you want to spam, one per line. If you want to hit everything, you can just copy your .newsrc file, but you'll have to remove all index numbers and end of line punctuation. The message.txt file is the actual message you want to spam. It must contain the subject header on the first line, ie: Subject: Spamming is Fun. You may add in other headers, such as Organization, Paths, Reply to, etc, but none are required. Do NOT put in a newsgroup header. The script does that automatically. There must be a blank line between the last header and the start of the actual message. Then, download those two files plus the following script (call it spamming.fun) to your home directory on the Unix shell account, type "perl spamming.fun", and sit back to watch the fireworks. -----------------------------------Cut Here-------------------- #!perl #Assumes both Perl and Inews are accessible through #your home directory. If not, either place them in your path #or adjust the script. #You must also have a ascii text file called groups.txt, which #contains a list of each group you want to spam. One to a line. #No punctuation at end of line. #Your spam message must be called message.txt, and it should #be in ascii. The first line must be you subject header: # For example: Subject: this is a spam. # You may add in other headers if you wish, but there must be a #blank line before your actual message begins. #run program by typing "perl spam.pl. # # #!perl print "Running...\n"; $newsrc = "$ENV{'HOME'}/testgrps.txt"; open(GROUPS, "$newsrc"); while($group=<GROUPS>) {print "Posting to: $group"; open(NEWS,"|inews -h"); print NEWS "Newsgroups: $group"; open(MESSAGE, "message.txt"); while($line=<MESSAGE>) { print NEWS $line; } close NEWS; if($?==0) { $success++ } else { $fail++ }}$total = $success + $fail;print "Tried to post to $total groups.\n$success OK, $fail failed.\n";
Date: 26 Sep 1995 05:27:10 GMT From: bmaher@ixc.net(Bruce Maher) Sender: bmaher@ixc.ixc.net Message-ID: <cancel.447t7j$s4e@ixc.ixc.net> Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.northstar,comp.sys.novell Subject: cmsg cancel <447t7j$s4e@ixc.ixc.net> Control: cancel <447t7j$s4e@ixc.ixc.net> Spam cancelled by clewis@ferret.ocunix.on.ca
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: identifying class objects Message-ID: <zazulaDFI1AI.C1F@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <444chd$9l5@boson.epita.fr> Date: Tue, 26 Sep 1995 06:13:30 GMT Sender: zazula@netcom20.netcom.com In article <444chd$9l5@boson.epita.fr> odp@meson.epita.fr (objets distribues persistants) writes: > > Hi there, >I'm working with class objects (under NS), and I want >to ask a class object if it is a subclass of another class; >but I can't find any message or objc function that can do that :-( >can anybody help me? >(I know how to ask an instance object if it is a kind of some class > with isKindOf, isMenberOf) > > thanks. > > FE Hi - It turns out that *root* class objects implement the instance methods they define. That means that Object implements the method +isKindOf: along with -isKindOf:. Here is the relevant excerpt from the Object class description: ----- Instance and Class Methods Every object requires an interface to the run-time system, whether it's an instance object or a class object. For example, it should be possible to ask either an instance or a class about its position in the inheritance hierarchy or whether it can respond to a particular message. So that this won't mean implementing every Object method twice, once as an instance method and again as a class method, the run-time system treats methods defined in the root class in a special way: Instance methods defined in the root class can be performed both by instances and by class objects. ----- Ralph --- Ralph Zazula zazula@netcom.com
From: bmaher@ixc.net(Bruce Maher) Newsgroups: comp.sys.next.programmer Subject: Free Spam Program, Does it Work?? Date: 26 Sep 1995 00:51:14 -0400 Organization: Internet Exchange Carrier Sender: bmaher@ixc.ixc.net Message-ID: <4480s2$ik@ixc.ixc.net> Sorry folks, but I just couldn't resist trying this. Found the script on comp.lang.perl.misc. Does it work? Guess so <gr>. HERE IT IS: ABSOLUTELY FREE Spam as many groups as you want with one command. Can post same message to 14,000 groups in just a few hours. Must have UNIX shell account, the attached script, and create two ascii text files called groups.txt and message.txt. The file groups.txt should contain a list of all groups you want to spam, one per line. If you want to hit everything, you can just copy your .newsrc file, but you'll have to remove all index numbers and end of line punctuation. The message.txt file is the actual message you want to spam. It must contain the subject header on the first line, ie: Subject: Spamming is Fun. You may add in other headers, such as Organization, Paths, Reply to, etc, but none are required. Do NOT put in a newsgroup header. The script does that automatically. There must be a blank line between the last header and the start of the actual message. Then, download those two files plus the following script (call it spamming.fun) to your home directory on the Unix shell account, type "perl spamming.fun", and sit back to watch the fireworks. -----------------------------------Cut Here-------------------- #!perl #Assumes both Perl and Inews are accessible through #your home directory. If not, either place them in your path #or adjust the script. #You must also have a ascii text file called groups.txt, which #contains a list of each group you want to spam. One to a line. #No punctuation at end of line. #Your spam message must be called message.txt, and it should #be in ascii. The first line must be you subject header: # For example: Subject: this is a spam. # You may add in other headers if you wish, but there must be a #blank line before your actual message begins. #run program by typing "perl spam.pl. # # #!perl print "Running...\n"; $newsrc = "$ENV{'HOME'}/testgrps.txt"; open(GROUPS, "$newsrc"); while($group=<GROUPS>) {print "Posting to: $group"; open(NEWS,"|inews -h"); print NEWS "Newsgroups: $group"; open(MESSAGE, "message.txt"); while($line=<MESSAGE>) { print NEWS $line; } close NEWS; if($?==0) { $success++ } else { $fail++ }}$total = $success + $fail;print "Tried to post to $total groups.\n$success OK, $fail failed.\n";
Date: 26 Sep 1995 06:40:46 GMT From: bmaher@ixc.net(Bruce Maher) Sender: bmaher@ixc.ixc.net Message-ID: <cancel.4480s2$ik@ixc.ixc.net> Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <4480s2$ik@ixc.ixc.net> Control: cancel <4480s2$ik@ixc.ixc.net> Spam cancelled by clewis@ferret.ocunix.on.ca
From: gshaw@zeta.org.au (Greg Shaw) Newsgroups: comp.sys.next.programmer Subject: Unique, arbitrary primary key required in EOF Date: 26 Sep 1995 09:40:21 GMT Organization: Kralizec Dialup Internet Sydney, +61-2-837-1183 V.32bis Message-ID: <448hq5$8@gamera.zeta.org.au> Keywords: EOF primary key I have a project that currently uses DBKit and QuickBase. This allowed me to do a naughty thing. Instead of bothering with generating my own unique primary keys I used "id" from the QuickBase table. These arbitrary keys are entirely fine by me. I prefer not to store critical information in the key any way. Enterprise Objects now hides this "id" from view. It is still being used it just can't be seen in EOModeller so I need to create me own primary key. I have tables without sufficiently unique rows to build a key from or at least not in an economical fashion. E.g. An Address table shared from various other tables. This table has no unique "id" of consequence and no way of building a compound key efficiently. I have other tables with similar characteristics. The key used and now hidden by QuickBase was 8 characters wide giving 62**8 keys. This is an ideal number. Does anyone have a way of generating such an arbitrary key within EOF or NeXT? I cannot find a function for generating such a key and I do not want to trap myself again by using a proprietary QuickBase function call. Any ideas. Cheers, Greg Shaw.
From: Paul Lynch <paul@griffin.plsys.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Unique, arbitrary primary key required in EOF Date: Tue, 26 Sep 1995 11:10:23 GMT Organization: P & L Systems, Ltd Sender: usenet@griffin.plsys.co.uk Message-ID: <DFIF1B.FIw@plsys.co.uk> References: <448hq5$8@gamera.zeta.org.au> In article <448hq5$8@gamera.zeta.org.au> gshaw@zeta.org.au (Greg Shaw) writes: > The key used and now hidden by QuickBase was 8 characters wide giving > 62**8 keys. This is an ideal number. Does anyone have a way of > generating such an arbitrary key within EOF or NeXT? I cannot find a > function for generating such a key and I do not want to trap myself again > by using a proprietary QuickBase function call. Any ideas. See the UniqueKey example for EOF. Paul -- Paul Lynch (NeXTmail) paul@plsys.co.uk Tel: (01494)432422 P & L Systems Fax: (01494)432478 http://ww.plsys.co.uk/~paul
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: Multipe lib definitions Message-ID: <zazulaDFIp18.Dy8@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <444t19$rao@paladin.american.edu> Date: Tue, 26 Sep 1995 14:46:20 GMT Sender: zazula@netcom.netcom.com In article <444t19$rao@paladin.american.edu> tm8025a@newssrv.soc.american.edu writes: >While trying to compile the latest, greatest beta of BIND, ver 4.9_3-BETA26, I >got the following error: > >ld: multiple definitions of symbol _inet_addr >./res/libresolv.a(inet_addr.o) definition of _inet_addr in section >(__TEXT,__text) >/lib/libsys_s.a(inet_addr.o) definition of absolute _inet_addr (value >0x500278c) > >How can multiple lib definitions be resolved? > >-- >Torrey McMahon Hi - I assume you are looking for an answer besides "remove one of the definitions"? You can use the following compile flag in your Makefile.preamble to allow multiple symbols to be treated as warnings instead of errors. Beware that the first symbol found takes precedence... OTHER_LDFLAGS = -Xlinker -m This is discussed in the "Compiler Tools" release notes for the linker. I have only used this on NEXTSTEP Developer 3.3 so I'm not sure if it works as specified on other versions. Ralph --- Ralph Zazula zazula@netcom.com
Newsgroups: comp.sys.next.programmer From: andreas@esag.ch (Andreas Lutsch) Subject: Re: nextcolortbl RTF directive Message-ID: <DEy8y3.EF@esag.ch> Sender: news@esag.ch Organization: Trinex AG, Sissach, CH References: <DEw7sx.1Jn@esag.ch> Date: Fri, 15 Sep 1995 13:46:51 GMT Andreas Lutsch writes > Below you find a short RTF document. Sorry, I was in a hurry. Now here it is: --- MyClass.m --- {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} \paperw5840 \paperh2800 \margl40 \margr40 {\colortbl;\red0\green0\blue255;\red0\green0\blue0;\red255\green0\blue255;} {\nextcolortbl{\nextcolor3 040b747970656473747265616d8103a2840163808403737373fe00fe84017300} } \pard\tx420\tx840\tx1280\tx1680\tx2100\tx2520\tx2960\tx3360\tx3780\tx4200\f0\b\i0\ulnone\fs24\gray108\fc1\cf1 // MyClass.m\ \b0\gray0\fc0\cf0 \ \b\fc2\cf2 @implementation MyClass : Object\ \b0\i\gray409\fc3\cf3 \ // comment\ \b\i0\gray0\fc2\cf2 \ @end\ } --- End of MyClass.m ---
From: ctf1001@cl.cam.ac.uk (Christopher Faigle) Newsgroups: comp.sys.next.programmer Subject: Help!! Kernel Level Server - vm_xxx problem Date: 26 Sep 1995 17:12:15 GMT Organization: U of Cambridge Computer Lab, UK Message-ID: <449c9f$8fp@lyra.csx.cam.ac.uk> Hi. I am developing a LKS using the DriverKit. The overall picture is a scanner connected to a bit of hardware which recieves the scan and DMA's it to the machine. I provide 4k aligned blocks wired down for the hardware to use. I obtain these using IOMalloc and then use IOPhysicalFromVirtual to get the real address for each 8k page. I then send the data back one 4k block at a time using MiG with the data inline. No problem so far, everything works. Now I want to speed it up. I would like to use the VM routines to map the data into an area where the application calling it can get it and copy it into the pixmap that I am using. So I have tried using the out of line data. I have met with extremely limited success. All of the examples use task_self(), in order to find where they should vm_allocate the memory before vm_reading to it. But I can't use task_self at that level(??) I have tried almost everything I can think of. I have used vm_read(kern_serv_kernel_task_port(),...,) and this seems to work, but I cannot get the data back on the other side. I would appreciate any help!! Example code, etc. **** Please direct any replies to: ***** faigle@cam-ani.co.uk as this is my address at the company where I am doing this work!! Cheers, Chris
From: jfranco@rommel (Jeff Franco) Newsgroups: comp.sys.next.programmer Subject: Re: Attaching to processing and debugging bundles? Date: 26 Sep 1995 17:08:09 GMT Organization: BDM International, Inc. Message-ID: <449c1p$gvc@news.mcl.bdm.com> References: <eu466f5ck.fsf@steffi.accessone.com> In article <eu466f5ck.fsf@steffi.accessone.com> robert@steffi.accessone.com (Robert Nicholson) writes: > I'd like to know what is necessary to be able to set break points on > code loaded from bundles when attaching to a process in gdb. > > Imagine you were debugging an app that was launched from the workspace > and you fired up gdb and attached to the app. Is there anything > special that has to be in place to allow you to set and break on > breakpoints in gdb? Currently when I've done this I can set the > breakpoints no problem but they will _not_ break. > > I don't think this is related to future-break as I said I can set the > breakpoints after I know the code is loaded they just don't break. > > I stress that running that app within gdb rather than attaching > results in breaking properly. > > -- > "Mary ate a little lamb and punk rock isn't dead" > (PGP key: send email with Subject: request pgp key) > See Next Answer 1720 JF
From: friendly@hotspur.psych.yorku.ca (Michael Friendly) Newsgroups: comp.sys.next.programmer Subject: Help compiling a c++ program Date: 26 Sep 1995 17:14:39 GMT Organization: York University, Ontario, Canada Message-ID: <449cdv$m0b@sunburst.ccs.yorku.ca> I'm not a c or c++ programmer. I've gotten a c++ program from someone on the net which I need to use, but it generates errors when I try to compile with c++: hotspur:pphtml [153] % cc++ pphtml.c -o pphtml /bin/ld: Undefined symbols: _strlen__FPCc _strcpy__FPcPCc _strcat__FPcPCc _fputc__FiP6_iobuf _fprintf__FP6_iobufPCce _exit__Fi _strcmp__FPCcT0 _fopen__FPCcT0 _fgetc__FP6_iobuf _fscanf__FP6_iobufPCce _fclose__FP6_iobuf _system__FPCc Is there some simple way to fix this? Here are the include lines from the file: // // Usage: pphtml [-s] [doc.phtml]+ // // produces doc.html (or doc.shtml if -s flag is present) // // PHTML files are HTML files with embedded preprocessing filters: // <!--%filter cdata--> // // Philip Thrift thrift@csc.ti.com 01 Sep 1994 // Texas Instruments // Dallas TX USA // // Problems: // need to do more like not executing filters // when data content hasn't changed, etc. // #include <stdio.h> #include <stdlib.h> #include <string.h> inline void usage(int condition, const char* msg) { if (!condition) { fprintf(stderr, "Usage: %s\n", msg); exit(0); } } inline streql(char* s, char* t) { return (strcmp(s,t)==0); } ..... rest deleted .... -- Michael Friendly Internet: friendly@hotspur.psych.yorku.ca (NeXTmail OK) Psychology Department York University Voice: 416 736-5118 4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html Toronto, ONT M3J 1P3 CANADA
From: hyongsop@dip.eecs.umich.edu (Hyong Sop Shim) Newsgroups: comp.sys.next.programmer Subject: Event Loop -- PLEASE HELP! Date: 26 Sep 1995 17:50:38 GMT Organization: University of Michigan EECS Dept. Message-ID: <449ehe$k38@news.eecs.umich.edu> Hi all, Does anyone know how to create a custom event loop to be used in place of [NXApp Run]? More specifically, I need to "select()" on a number of ports for incoming messages from a remote process and to be able to distinguish between the events from the Window Manager and the ones from the other souce. Further, once I get an event or message from the Window Manager, how do I generate an approriate Next event? I assume this would involve doing "sendEvent:" but don't have any more ideas. Your help would be greatly appreciated and look forward to hearing from you soon. Thanks, --Hyong (hyongsop@eecs.umich.edu)
From: hyongsop@dip.eecs.umich.edu (Hyong Sop Shim) Newsgroups: comp.sys.next.programmer Subject: Getting "fd" for the Window Server Date: 26 Sep 1995 18:42:59 GMT Organization: University of Michigan EECS Dept. Message-ID: <449hjj$k9e@news.eecs.umich.edu> Hi, Related to my previous message, does anyone know how to get within a Next application the "fd" used for communication between the Window Server and the application? On my machine, the port number in NetInfo is 178, and I need the file descriptor for the port. Any help would be greatly appreciated. Thanks, --Hyong (hyongsop@eecs.umich.edu)
From: alesltd@ccsun.tuke.sk (AlesLtd ) Newsgroups: comp.sys.next.programmer Subject: Replacing Workspace.app for loginwindow Date: 26 Sep 1995 16:16:14 GMT Organization: Technical University of Kosice Distribution: world Message-ID: <44990e$3qi@sun.uakom.sk> Summary: Non-working Drag&Drop in replaced workspace Keywords: Drag&Drop, loginwindow, workspace Hallo, I need a help with this problem: If I launch the application to run it like workspace program for loginwindow (without running Workspace Manager) and this application uses drag&drop technique then drag&drop doesn't work correctly. Even setting colors via color well in Colors panel doesn't work. The following error messages are generated: Assertion failed: App Kit error: Error messaging drag service Assertion failed: -dragImage: cannot set up dragging operation Can you write me, how could I solve this problem and use drag&drop in described situation ? Is it even possible to use Drag&Drop when running without standard Workspace manager ? Thanks for your help. Martin Durkac
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Tue, 26 Sep 95 18:36:02 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9509261736.AA01630@flexus> Subject: Re: identifying class objects (Crossposting to comp.lang.objective-c, comp.sys.next.programmer.) I wrote: > so the argument to -isKindOf: should be a meta class if > you don't want the trivial answer that only the root > class (which is its own meta class) isKindOf: anything > (itself). That should have been something to the effect that all classes ``are kind of'' their root class (which is its own meta class), and only that. Sorry for my carelessness, Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: samfalvo@aol.com (Sam Falvo) Newsgroups: comp.sys.next.programmer Subject: Re: const C++ vs Objective-C Date: 26 Sep 1995 17:01:42 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <449pnm$i8c@newsbf02.news.aol.com> References: <4474v3$for@gap.cco.caltech.edu> In article <4474v3$for@gap.cco.caltech.edu>, ccwf@thales.klab.caltech.edu (Charles Fu) writes: >In answer to the larger question, 'const' does have a different meaning under >C++ (where the qualifier originated) than under C (which adopted a less >strict >meaning for the qualifier). For example, the default linkage is different. Strange...my C compiler for my Amiga had the "const" keyword BEFORE C++ was even heard of...
From: samfalvo@aol.com (Sam Falvo) Newsgroups: comp.sys.next.programmer Subject: Re: const C++ vs Objective-C Date: 26 Sep 1995 17:01:56 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <449po4$i8h@newsbf02.news.aol.com> References: <4474v3$for@gap.cco.caltech.edu> In article <4474v3$for@gap.cco.caltech.edu>, ccwf@thales.klab.caltech.edu (Charles Fu) writes: >> If you wish to guarantee that storage is always allocated, take the address >> of the variable via the "&" operator, or use the "volatile" qualifier. Watch out: some compilers will _NOT_ work with the following code: void f() { int a; int pa = &a; // ... } My Amiga's compiler, for example, will sometimes complain that you cannot take the address of a register variable (I say "sometimes" because it depends on what level of optimization I set the compiler to). The standard (and defined) way of handling the above problem is to use the "volatile" keyword. >Taking the address works in most situations. Another alternative is This is compiler specific. >explicitly >declaring the variable "extern". This can also cause problems. For example, my Amiga's compiler, and some of my PC compilers, complain at link-time that the said variable cannot be found. Again...the only way to solve the problem portably is to use the keyword "volatile."
From: ccwf@thales.klab.caltech.edu (Charles Fu) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Timer Resolution Date: 26 Sep 1995 22:19:57 GMT Organization: California Institute of Technology, Pasadena Message-ID: <449uad$2q6@gap.cco.caltech.edu> References: <430eio$usi@msunews.cl.msu.edu> <431mve$69o@news.its.com> <4476oq$kh2@gap.cco.caltech.edu> <447cfe$bhq@news.its.com> In article <447cfe$bhq@news.its.com>, Chuck Swiger <chuck@its.com> wrote: >ccwf@thales.klab.caltech.edu (Charles Fu) wrote: >> The time reported by gettimeofday is advanced HZ times per second. >That's not generally correct. The system clock may be updated >continuously, as the manpage indicates. A quick purusual of an incoming >news feed which does millisecond-level timestamps shows that NEXTSTEP/Intel >updates the clock with greater resolution than (1 / HZ). OK. The time reported by gettimeofday is _meaningfully_ advanced HZ times per second. Doing a quick test on one of my machines showed that the system clock advances 1us per ms (i.e., 1000 times too slowly) between interrupts on that machine. Is NeXT trying to use the cycle counter to provide greater accuracy but made an off by 1000 error? Or is the gettimeofday() value advancing according to some other criteria (like incrementing every N system calls)? I don't know. >> [using chip's time stamp counter for timing] >Yes, but that doesn't tell you the accuracy and resolution of the system >clock itself, which presumably was asked for the purposes of configuring an >XNTP time server. True, unless you have a reliable external NTP source to which to synch. I've toyed with the idea occasionally of writing a NeXT NTP pseudoclock based upon the TSC--in my experience, it is far more steady than the system clock when the machine is running. Of course, I have ample free time. :-) An unmoderated Intel clock is quite bad, generally drifting several seconds a day. The amount of the drift is about 100 ticks (in XNTPD v3 terms), which makes me suspect a bug in the kernel. (SunOS used to have a kernel bug which produced an almost equal but opposite time discrepancy. 100 ticks = being off by 1 us every time the timer interrupt is serviced.) -ccwf
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: const C++ vs Objective-C Date: 26 Sep 1995 22:57:02 GMT Organization: Information Technology Solutions, Inc. Message-ID: <44a0fu$900@news.its.com> References: <4474v3$for@gap.cco.caltech.edu> <449pnm$i8c@newsbf02.news.aol.com> samfalvo@aol.com (Sam Falvo) wrote: > Strange...my C compiler for my Amiga had the "const" keyword BEFORE C++ > was even heard of... What's strange about that? "const" is ANSI-C. C++ derives in very large part from ANSI-C. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: const C++ vs Objective-C Date: 26 Sep 1995 23:05:12 GMT Organization: Information Technology Solutions, Inc. Message-ID: <44a0v8$900@news.its.com> References: <4474v3$for@gap.cco.caltech.edu> <449po4$i8h@newsbf02.news.aol.com> samfalvo@aol.com (Sam Falvo) wrote: [ ...the attributions were messed up, but I wrote the ">>>" quotes stuff... ] >>> If you wish to guarantee that storage is always allocated, take the >>> address of the variable via the "&" operator, or use the "volatile" >>> qualifier. > > Watch out: some compilers will _NOT_ work with the following code: > > void f() > { > int a; > int pa = &a; > // ... > } > > My Amiga's compiler, for example, will sometimes complain that you cannot > take the address of a register variable (I say "sometimes" because it > depends on what level of optimization I set the compiler to). Your compiler's optimizer has bugs with the local variable code in that it allocates such variables in registers instead of in the current stack frame. > The standard (and defined) way of handling the above problem is to use > the "volatile" keyword. In ANSI C, yes. In K&R C, the defined mechanism was to use the "&" operator (which also works under ANSI C). >> Taking the address works in most situations. Given a non-buggy compiler, in what situation(s) does using "&" not work? [ ... ] > Again...the only way to solve the problem portably is to use the keyword > "volatile." If you wish to assume ANSI-C, agreed. However, "volatile" is not defined in K&R C, so the "&" is the most widely portable solution. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Timer Resolution Date: 27 Sep 1995 00:53:56 GMT Organization: Information Technology Solutions, Inc. Message-ID: <44a7b4$900@news.its.com> References: <430eio$usi@msunews.cl.msu.edu> <431mve$69o@news.its.com> <4476oq$kh2@gap.cco.caltech.edu> <447cfe$bhq@news.its.com> <449uad$2q6@gap.cco.caltech.edu> ccwf@thales.klab.caltech.edu (Charles Fu) wrote: > Doing a quick test on one of my machines showed that the system clock > advances 1us per ms (i.e., 1000 times too slowly) between interrupts on > that machine. I believe that when the kernel is servicing a higher-priority interrupt, the clock timer interrupt is discarded, so the system loses a clock tick every so often. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: hyongsop@dip.eecs.umich.edu (Hyong Sop Shim) Newsgroups: comp.sys.next.programmer Subject: Simulating [NXApp run] === HELP! Date: 27 Sep 1995 03:30:47 GMT Organization: University of Michigan EECS Dept. Message-ID: <44agh7$mao@news.eecs.umich.edu> Hi NeXTSTEP Gurus, I'm trying to simulate [NXApp run] by creating my own event loop. The following is what I got so far (it's not much): ============== void main(int argc, char *argv[]) { NXEvent *anEvent; [Application new]; if ([NXApp loadNibSection:"TestEventLoop.nib" owner:NXApp withNames:NO]) { while (1) { anEvent = [NXApp getNextEvent:NX_ALLEVENTS waitFor:1 threshold:NX_BASETHRESHOLD]; if (anEvent != NULL) [NXApp sendEvent:anEvent]; } } exit(0); } ========== The above main allows the application to run; it can do the target-action thing. The problem is that the application doesn't seem to "init"; the application icon remains "blurry" and the delegate of NXApp doesn't receive the appDidInit: message. What's missing? Your help would be greatly appreciated, and I look forward to hearing from you all soon. Thank you very much. --Hyong (hyongsop@eecs.umich.edu)
From: odp@neon.epita.fr (objets distribues persistants) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: identifying class objects Date: 27 Sep 1995 04:10:56 GMT Organization: Epita (French Computer Science school) Sender: odp@neon (objets distribues persistants) Distribution: world Message-ID: <44aisg$fhq@boson.epita.fr> Hi again everyone, thanks a lot for having responded. It has helped me a lot. I finaly found that my first idea was right: this "isn't" possible to ask a class if it is a subclass of another class (to my actual knowledge), neither it is possible to ask an object if it is a class or an instance. let me explain: the method -(BOOL)isKindOf: (Class)aClass won't do what I want. This method asks an instance object if it has been instanciated by a class object which is a sublcass of another class object. As a class object is an object - instanciated by its meta-class, the Class class which inherits from the Object class -, it can be sent the instance messages defined in the Object class. A class object receiving the -isKindOf: will try to look if its class (hence the meta-class) is a subclass of aClass (the class passed in argument to the -isKindOf: message) which is allways false, except if aClass is the Object class. From Object.rtf in Librarian: "Returns YES if the receiver is an instance of aClassObject or an instance of any class that inherits from aClassObject. Otherwise, it returns NO. When the receiver is a class object, this method returns YES if aClassObject is the Object class, and NO otherwise." all this comes from the object organization in objc: isa = is a = meta level ako = a kind of = super class instances classes meta-classes |-------------------------| <--| <----| | ------- --------- --------- | | | isa | ----------> | isa | ------------> | isa |---| | ------- --------- --------- | | | | ako | ---|(nil) | ako |------ ------- --------- --------- an instance | | <-- | | <------ of Object class --------- | --------- <--| | the Object | the Class | | class | class | | | | | | | | ------- --------- | --------- | | | isa | -----------> | isa | ------------> | isa |---| | ------- --------- | --------- | | | | ako | --| | ako |------| ------- --------- --------- | | | | an instance --------- --------- of Foo class the Foo the Foo class meta-class An amazing thing is that the isKindOfClassNamed is apparently bugged: Object.rtf says: "Returns YES if the receiver is an instance of aClassName or an instance of any class that inherits from aClassName. This method is the same as isKindOf: , except it takes the class name, rather than the class id , as its argument." but it justs reacts as I wanted, not as documented (like isKindOf: ) , that's to say that if I send isKindOfClassNamed: to a class abject, it will answer me if it is a subclass of the className passed in arguement. Try to understand ... Another thing is there is no isInstance and isClass messages like in the GNU ObjC. So I have written a category for the Object class that implements isSubclassOf: and isInstance and isClass methods. Any comments and suggestions are wellcome. E-mail me at odp@epita.fr /*-------------------------------------------------------------------* * * * ObjectId.h : * * * * Made by fe * * Login <fe@isis> * * * * * * Started on Sat Nov 13 01:01:16 1993 * * Last update Sat Nov 13 01:02:37 1993 * * * *-------------------------------------------------------------------*/ #ifndef _OBJECTID_H_ #define _OBJECTID_H_ #import <objc/Object.h> @interface Object (ObjectId) - (int)metaLevel; + (int)metaLevel; - (BOOL)isInstance; - (BOOL)isClass; + (BOOL)isInstance; + (BOOL)isClass; + (BOOL)isSubclassOf: (Class)class; + (BOOL)isSubclassOfClassNamed: (const char *)className; @end #endif /* _OBJECTID_H_ */ /*-------------------------------------------------------------------* * * * ObjectId.m : * * * * Made by fe * * Login <fe@isis> * * * * * * Started on Sat Nov 13 01:03:30 1993 * * Last update Sat Nov 13 01:04:08 1993 * * * *-------------------------------------------------------------------*/ #include <objc/objc-runtime.h> #import "ObjectId.h" @implementation Object (ObjectId) - (int)metaLevel { return 0; } + (int)metaLevel { return 1; } - (BOOL)isInstance { return YES; } - (BOOL)isClass { return NO; } + (BOOL)isInstance { return NO; } + (BOOL)isClass { return CLS_GETINFO((Class)self,CLS_CLASS); } + (BOOL)isSubclassOf: (Class)class { Class currentClass; if (!class) return NO; currentClass = self; while(currentClass) { if (currentClass == class) return YES; currentClass = currentClass->super_class; } return NO; } + (BOOL)isSubclassOfClassNamed: (const char *)className { return [self isSubclassOf: objc_lookUpClass(className)]; } @end /*-------------------------------------------------------------------* * * * Test.h : * * * * Made by fe * * Login <fe@isis> * * * * * * Started on Fri Nov 12 22:06:04 1993 * * Last update Sat Nov 13 01:09:19 1993 * * * *-------------------------------------------------------------------*/ #ifndef _TEST_H_ #define _TEST_H_ #import <objc/Object.h> #import "ObjectId.h" @interface Test : Object { } @end #endif /* _TEST_H_ */ /*-------------------------------------------------------------------* * * * Test.m : * * * * Made by fe * * Login <fe@isis> * * * * * * Started on Fri Nov 12 22:08:10 1993 * * Last update Sat Nov 13 01:06:48 1993 * * * *-------------------------------------------------------------------*/ #import "Test.h" @implementation Test @end /*-------------------------------------------------------------------* * * * main.m : * * * * Made by fe * * Login <fe@isis> * * * * * * Started on Fri Nov 12 23:30:12 1993 * * Last update Sat Nov 13 01:12:12 1993 * * * *-------------------------------------------------------------------*/ #import <objc/List.h> #import "Test.h" int main(int ac, char **av) { Test *test; test = [Test new]; printf("instance test:\n"); printf("name %s\n", [test name]); printf("isInstance %d\n", [test isInstance]); printf("isClass %d\n", [test isClass]); printf("metaLevel %d\n", [test metaLevel]); printf("\n"); printf("class Test:\n"); printf("name %s\n", [Test name]); printf("isInstance %d\n", [Test isInstance]); printf("isClass %d\n", [Test isClass]); printf("metaLevel %d\n", [Test metaLevel]); printf("\n"); printf("%d\n", [Test isSubclassOf: [Test class]]); printf("%d\n", [Test isSubclassOf: [Object class]]); printf("%d\n", [Test isSubclassOf: [List class]]); printf("%d\n", [Test isSubclassOfClassNamed: "Test"]); printf("%d\n", [Test isSubclassOfClassNamed: "Object"]); printf("%d\n", [Test isSubclassOfClassNamed: "List"]); } FE
From: cgeiger@davis.central.sun.com (Conrad Geiger - Sunsoft Systems Engineer) Newsgroups: comp.sys.next.programmer Subject: SunSoft Announces the NEO Product Family Date: 26 Sep 1995 16:09:58 GMT Organization: Sun Microsystems Inc. Distribution: world Message-ID: <4498km$7br@centralnews1.Central.Sun.COM> Keywords: OpenStep, Java, OOPS, Object, distributed objects Hello, (Three SunSoft Object Technology press releases are attached below.) On Wednesday, September 20th, 1995 SunSoft announced the NEO Product Family, a powerful Network Object Environment that spans corporate networks and the internet. (NEO has been known internally as Project DOE.) Conrad Geiger SunSoft Systems Engineer Austin, TX ***KEY MESSAGES***** The NEO product family is the first complete development, operating and management environment for object-oriented networked applications. NEO allows companies to react more quickly to business change by making enterprise computing more flexible, and more adaptive to business needs. The NEO product line will allow companies to get new services and products to market more rapidly. It enables the same functions provided by "in-house" mission critical applications to be delivered to customers directly using the World Wide Web. What's is being announced: -Products: Solaris NEO, WorkShop NEO, Solstice NEO -NEO OpenStep: Available for Beta Testing calendar Q4 95 -NEO Business Alliance for SIs, VARS, ISVS. -Object Reality Centers for developers of distributed object applications. -Internet (Java) front-end to NEO (Introducing Technology, not product) ------------------------------------------------------------------- SUNSOFT INTRODUCES NEO, THE INDUSTRY'S FIRST COMPLETE NETWORKED OBJECT COMPUTING ENVIRONMENT SunSoft NEO Debuts; Java-Enabled Web Access To NEO Applications Previewed; NEO OpenStep Available To Beta Users New York, NY -- September 20, 1995 -- SunSoft(TM), Inc. today introduced its NEO(TM) product family, the first complete development, operating and management environment for object-oriented networked applications. NEO software (formerly Project DOE) allows companies to react more quickly to business change by making enterprise computing more flexible, and more adaptive to business needs. Available in October 1995, the initial release of the NEO product family will provide all the necessary elements to immediately begin building NEO applications based on networked objects. Networked objects are modular application components or services that are distributed across a network and shared by numerous applications. These services are designed to be accessed by other services, as well as by a variety of clients: including workstations, PCs and even Internet browsers. NEO products include Solaris(TM) NEO, which is binary-compatible with Solaris2.4, SunSoft's networked operating environment; WorkShop NEO(TM), which extends SunSoft's award-winning WorkShop development environment; and Solstice(TM) NEO tools for administering the object network and NEO applications. In addition, the NEO product family supports Microsoft Windows(TM) client interoperability, legacy application and database integration, and a powerful OpenStep(TM)-compliant desktop and development environment for graphically constructing and deploying networked object-based applications. All OpenStep desktop and development functionality for NEO is included in a follow-on release available for beta testing Q4 calendar 1995. Internet access to the NEO environment, via Web browsers using Sun Microsystem's recently-introduced Javatm (object-oriented programming language, was also previewed. By providing Web users access to the same robust computational services employed by internal users, SunSoft opens the door for true business applications on the Internet, including electronic commerce and home banking. First Complete Environment "NEO provides the first complete standards-based environment for a new class of more flexible applications," said Bud Tribble, SunSoft general manager of Object Products. "The result of several years of development and two years of field testing, only NEO has all the necessary components for developers to begin creating, running, managing and integrating true networked object applications into enterprise environments -- from a robust and scalable object network infrastructure to a comprehensive development environment to a full suite of object administration tools." Solaris NEO -- High Performance Operating Environment Solaris NEO is the runtime environment for NEO applications, adding networked object technology to the standard Solaris operating environment and leveraging such Solaris strengths as scalability and multi-threading for high performance on an enterprise-wide scale. All new Solaris NEO applications run side-by-side with existing Solaris applications. Solaris NEO includes: OpenStep -- a powerful runtime environment for graphical front-end applications based on OpenStep specifications. OpenStep is a market-leading object-oriented application environment and is supported on multiple platforms. NEOdesktop(TM) -- a complete, easy-to-use desktop user environment based on the OpenStep standard. Includes graphical applications such as Windows Manager, Workspace Manager, Edit, Multimedia Mail and User Preference. NEOnet(TM) -- a Common Object Request Broker Architecture (CORBA)-compliant networked object infrastructure, encompassing an object request broker (ORB) and set of object services. NEOshare(TM) -- an advanced networking environment that automatically finds, manages, and shares services over the network. For administration, Solstice NEO object administration tools are bundled with Solaris NEO, supporting enterprise-wide system management of the object network and of the objects themselves. Administrators monitor application performance and status, as well as re-deploy resources without disrupting applications or users. SunSoft has also licensed object data base technology from Object Design, Inc. (ODI) and embedded it within Solaris NEO to provide support for persistence, thus transparently preserving and recovering data that must persist between object requests. WorkShop NEO -- Custom Applications For Competitive Advantage WorkShop NEO, based on CORBA and OpenStep standards, provides an integrated suite of powerful object-oriented tools for programming a network. WorkShop NEO includes: OpenStep Developer -- easy-to-use, object-oriented tools for graphically assembling three-tiered applications from pre-built, re-usable objects. OpenStep Developer includes the well-known Interface Builder and Project Builder. NEOworks(TM) -- a comprehensive set of tools to develop CORBA-compliant, networked object applications. NEOworks includes a Network Object Constructor, OMG-compliant IDL compiler, Networked Object Debugger, and NEOshare Development Framework. SPARCworks(TM) -- a suite of intuitive software productivity tools designed to increase developer productivity and software quality. SPARCworks includes such tools as source browser, software configuration management tools, and tools for multithreaded development. Interoperability Partnerships As a vehicle for enterprise-wide solutions, the Solaris NEO operating environment supports software connectivity to relational databases and Windows clients. Through a partnership with Persistence Software, Inc.(TM), NEOapplications can automatically access databases from such vendors as Oracle, Sybase, Informix and Ingres by mapping objects to relational tables for integration with NEO networked applications. Interoperability between Windows desktop applications and Solaris NEO applications is provided through a partnership with IONA Technologies. IONA's Orbix product provides network access to powerful NEO applications for Windows applications that use Microsoft OLE. Pricing & Availability The initial release of the SunSoft NEO product family will be available in October, 1995. Solaris NEO 1.0 will include: NEOnet and NEOshare. Solstice administration tools for NEOnet and NEOshare will be bundled with Solaris NEO 1.0. Solaris NEO 1.0 pricing begins at $990. WorkShop NEO 1.0. will include: NEOworks, SPARCworks, and SPARC compilers. WorkShop NEO 1.0 pricing begins at $11,995. Special promotional pricing will be offered for a limited time at $5,995. The follow-on release of NEO will be available for beta testing in Q4 calendar year 1995. The follow-on release for Solaris NEO will add OpenStep and NEOdesktop. The follow-on for WorkShop NEO will add OpenStep Developer. SunSoft, Inc., headquartered in Mountain View, Calif. is a subsidiary of Sun Microsystems, Inc., with offices worldwide. SunSoft's charter is to design, market, sell and support the industry's highest-quality software environment for enabling businesses to gain a competitive advantage through information systems. The products are licensed by SunSoft and distributed through major computer manufacturers and resellers worldwide. For additional information please call 1-800-SunSoft, prompt 1. Look for more information about SunSoft on the worldwide web at: http://www.sun.com/sunsoft. # # # 1995 Sun Microsystems, Inc. Sun, the Sun logo, SunSoft, the SunSoft logo, Solaris, Solstice, NEO, Java, WorkShop NEO, NEOnet, NEOshare and NEOworks are trademarks or registered trademarks of Sun Microsystems, Inc. SPARC and SPARCworks are trademarks of SPARC International, Inc. All other product or service names mentioned herein are trademarks of their respective owners. ----------------------------------------------------------------------------- THE WEB GETS DOWN TO BUSINESS WITH SUNSOFT'S NEO TECHNOLOGY Powerful Network Object Environment Spans Corporate Networks and Internet New York--September 20, 1995--SunSofttm today announced a breakthrough technology which enables companies to quickly build applications that run on both the corporate network and the Internet. The product line, called NEO(tm), enables the same functions provided by "in-house" mission critical applications like order entry, financial services or on-line retail to be delivered directly to customers using the World Wide Web. NEO will allow companies to get new services and products to market more rapidly. Applications developed for the NEO environment provide powerful computational services which can be accessed from many of the popular desktop application environments, including SunSoft's Solaris(tm), Microsoft Windows(tm), and Java(tm)-enabled WEB browsers such as Sun's HotJava(tm) or Netscape's Navigator(tm). Together with Java, Sun's revolutionary language for developing interactive Web applications, NEO extends the client-server computing model to the World Wide Web. "Our aim is to turn the Web into an interactive and ubiquitous access point to a world of computing resources," said Janpieter Scheerder, SunSoft President. "While the Web has emerged as the on-ramp to the information superhighway, it has provided only limited utility for real business applications. Now, with NEO, the Web can finally provide a real opportunity for doing commerce on the Internet." Java-NEO Combination Expands Web Capability Rather than using the Internet as a simple bulletin board for posting and browsing content, NEO(tm) enables Javatm applications to serve as the flexible desktop "front-end" to powerful computational resources available on servers spread throughout the Internet. As a result, Java applications can now access "intelligent" services. For example a customers can use their home PCs to go beyond viewing text or images while browsing their bank's Internet home page. With the Java-NEO combination, the customers see a highly interactive banking service application. As the customers evaluate a variety of "what-if" scenarios for a home mortgage, the banking service can provide real-time information on interest rates, breaking promotional information or credit criteria. These services that are delivered to customers are versions of the same ones accessed by the banks loan office through powerful internal systems. Bringing these services closer to the customer via the information superhighway will be a key competitive advantage for companies in any business. SunSoft's NEO Transforms Enterprise Computing SunSoft's NEO object computing environment allows companies to construct applications from reusable software building blocks, or "networked objects," dramatically increasing the speed of development of network applications. High end mission critical applications deployed in the NEO environment on a corporate network can easily export some or all of their services to the Internet using Java. Corporate information managers can now view the Web as an extension of their corporate computing architecture. NEO extends the Solaris(tm) operating system with open interfaces based on OMG (Object Management Group) standards and the benchmark OpenStep(tm) object application environment specification based on technology from NeXT Computers, Inc(tm). These open interfaces provide the customer with high levels of interoperability and maximum industry support. The SunSoft NEO family consists of three products: Solaris NEO, the operating environment; WorkShop NEOtm, the development environment; and Solsticetm NEO, the network and systems management environment. All three products will be available in October. SunSoft, Inc., headquartered in Mountain View, Calif. is a subsidiary of Sun Microsystems, Inc., with offices worldwide. SunSoft's charter is to design, market, sell and support the industry's highest-quality software environment for enabling businesses to gain a competitive advantage through information systems. The products are licensed by SunSoft and distributed through major computer manufacturers and resellers worldwide. # # # 1995 Sun Microsystems, Inc. Sun, the Sun logo, Sun Microsystems, SunSoft, the SunSoft logo, NEO, WorkshopNEO, Solstice, Java, Hot Java and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. All other products or service names mentioned herein are trademarks of their respective owners. -------------------------------------------------------------------------------- NEO BUSINESS ALLIANCE EXTENDING KNOWLEDGE BASE FOR NETWORKED OBJECTS COMPUTING New York, NY -- September 20, 1995 -- SunSoft(tm), Inc. today announced the NEO(tm) Business Alliance, a comprehensive set of Solaris(tm) NEO programs for system integrators (SIs), value-added resellers (VARs) and independent software vendors (ISVs). Designed to extend to the marketplace SunSoft's expertise in networked objects, the NEO Business Alliance will provide a full range of programs specifically to assist partners to address such issues as networked object fundamentals, three-tier client/server architectures, NEO product family training, design and analysis consulting and implementation of specific solutions. Already, under the auspices of the Object Alliance, partner Sun Microsystems Computer Company (SMCC) is moving rapidly with SunSoft and other qualified partners to set up Object Reality Centers to provide training, consultation and implementation services for early adopters developing and deploying financial and telecommunications applications. Foundation For Success "SunSoft understands that you can't just throw an advanced networked object environment over the wall to customers," said Jim Stikeleather, Partner of Technology, Technology Resource Connection. "For users to be successful in addressing real-life business problems, they need knowledge as much as they need products. I have seen many companies fail with objects because the vendor did not lay a knowledge-based foundation for success." "Our goal with the NEO(tm) Business Alliance is to allow customers to enjoy ready access to qualified expertise as they embrace networked objects computing," said Bud Tribble, SunSoft's general manager of object products. "In addition, it will help our channel partners take full advantage of the opportunities presented by this powerful new enterprise model as they develop and support networked object-based systems." Programs For Systems Integrators and Value-Added Resellers The NEO Business Alliance provides SIs and VARs with programs through SunSoft channels worldwide, including access to SunSoft NEO software and training, the opportunity to work with SunSoft and SMCC sales channels and the ability to provide expanded service offerings to NEO users. SIs and VARs can also participate in the NEO Business Alliance Certification program. Certified partners will also be eligible to participate in Sun integration projects that require networked object expertise. Sun Microsystems Computer Company is the first NEO Business Alliance partner to implement a program to bring networked object technology and solutions to customers in the telecommunications and financial industries. The program has been built in collaboration with SunSoft to certify key partners that are well versed in working with NEO software. More than a dozen companies are planning to provide services and access to NEO technology as part of the NEO Business Alliance, including AdNovum Informatik AG, Advanced Information Systems, Control Data Systems, Lockheed-Martin IS&T, NovaDyne Computer Systems, Siemens Nixdorf Informationssysteme AG, Technical Resource Connection and VALBECC Object Technology Ltd. Programs For Independent Software Vendors Having a large base of third party software tools available early on to customers has been an priority for SunSoft. "It's important that our customers be able to harness the power of Solaris NEO right from the start," said Mary Anderson, SunSoft's director of corporate marketing. "We've been aggressive in helping leading ISVs grow their object tool offerings." To assist ISVs and other developers tap the opportunities presented by the NEO environment, SunSoft's on-going Catalyst Program is also participating in the NEOtm Business Alliance. A new Catalyst Object Program has been launched specifically for NEO developers and represents complete object development environment, encompassing developer tools and engineering-level technical support. More than 75 companies have expressed support for the Catalyst Object Program. Early members include Cadre Technologies, CenterLine Software, GemStone Systems, ILOG, MICRAM Object Technology GmbH, Object Design, Rational Software, Rogue Wave Software, and Tower Technology. The following companies are now porting their offerings to the NEO product family include: BLaCKSMITH, C.ATS Software, Conextions, GS Corporation, Lighthouse Design, Ocean Software, ObjectLink Technologies, Pangea, Persistence Software, Schema Research, and YRRID. "NEO's CORBA and OpenStep interfaces, along with Solaris multithreading, gives us tremendous leverage delivering high performance, enterprise-ready frameworks and object applications, said Jonathan Schwartz, president of Lighthouse Design, Ltd. "Just as important, the Solaris installed base provides us with a very large market for our family of products and services." All the above mentioned NEO Business Alliance programs are available now to SunSoft SIs, VARs and ISVs. Those requiring further information can call 1-800-SUNSOFT (select menu option 1) in the U.S. International callers should contact +1-512-434-1511. SunSoft, Inc., headquartered in Mountain View, Calif. is a subsidiary of Sun Microsystems, Inc., with offices worldwide. SunSoft's charter is to design, market, sell and support the industry's highest-quality software environment for enabling businesses to gain a competitive advantage through information systems. The products are licensed by SunSoft and distributed through major computer manufacturers and resellers worldwide. # # # 1995 Sun Microsystems, Inc. Sun, the Sun logo, Sun Microsystems, SunSoft, the SunSoft logo, NEO and Solaris are registered trademarks of Sun Microsystems, Inc. All other products or service names mentioned herein are trademarks of their respective owners.
From: cgeiger@davis.central.sun.com (Conrad Geiger - Sunsoft Systems Engineer) Newsgroups: comp.sys.next.programmer Subject: Sun's Object Reality Program Date: 26 Sep 1995 16:12:04 GMT Organization: Sun Microsystems Inc. Distribution: world Message-ID: <4498ok$7br@centralnews1.Central.Sun.COM> Keywords: objects, distributed objects, OpenStep Hello, The following announcement (was) made Wednesday, September 20, 1995 at Unix Expo in New York. This announcement, along with SunSoft's announcement of the NEO Business Object Alliance (a program to extend SunSoft's networked object expertise into the market) will be part of a press breakfast being hosted by Sun CEO Scott McNealy. Key messages: Sun establishes the Object Reality Program to help customers move to distributed object technology * The Object Reality Program is the industry's most comprehensive effort to help customers create distributed object applications * Sun's initial focus will be to help the financial services and telecommunications industries to produce distributed object applications using SunSoft's recently announced NEO(TM) product family and other third-party products. * Object Reality Program includes partnerships with ISVs and Object Reality Centers, which will help customers build and manage distributed object applications for the enterprise SUN LAUNCHES NEW PROGRAM FOR DEVELOPERS OF DISTRIBUTED OBJECT APPLICATIONS Object Reality Program to Help Finance and Telecommunication Industries Move to Distributed Object Technology Quickly NEW YORK, NY. - September 20, 1995 - Sun Microsystems Computer Company today announced the Object Reality Program, the industry's most comprehensive effort to help customers create distributed object applications. Under the program, Sun will initially assist corporations in two key industries -- financial services and telecommunications -- to produce distributed object applications using SunSoft's recently announced NEO(TM) product family and other third-party products. Based on SunSoft's NEO Business Object Alliance, a program to extend to the marketplace SunSoft's expertise in networked objects, Sun's Object Reality Program focuses on taking finance and telecommunications customers from concept to reality quickly. Included are Object Reality Centers to provide training, consulting and implementation services for early adopters. Sun has committed more than $4 million in equipment, sales and technical support, given its partners access to key strategic customers, and mounted an extensive certification effort. "Our goal is to move distributed objects from experimentation to implementation," said Mark Tolliver, Sun's vice president of market development. "Doing so means demonstrating the potential for this technology through working prototypes and pilot projects that meet specific business needs. The only sure way to succeed is to roll up your sleeves, assemble the right combination of tools and people, and build a working application." Sun's strategy focuses on implementation in a few key industries where the Object Reality Program can pay the biggest dividends. Financial services and telecommunications companies are perfect candidates for distributed object technology. These are industries in which Sun has already established a strong development base, and in which software is critical for maintaining a competitive edge. And the business challenges -- financial risk management and telecommunications network management -- are made to order for distributed object technology. Bank of Boston, working with Sun partner Fusion Systems Group, Inc. provides a vivid demonstration of how the Object Reality Program works. The bank's new risk management system is one of the first distributed object applications developed for the financial sector. "This market moves with the speed of light, and distributed object technology allows us to change our products on a daily basis to meet our customers' needs," said Steve Scullen, Bank of Boston's director of treasury systems. "But there's a real learning curve for this technology, and you need someone like Sun and Fusion who have the technical and industry expertise in our market to take you through every step of the way. The program's biggest benefit is the center's mentoring approach to what is, in fact, a radically different way of developing applications." The Object Reality Program includes partnerships with ISVs who build three kinds of products needed to create a complete distributed object environment: * Software development tools for building distributed object applications; * Pre-fabricated software objects that can be connected like building blocks into completed applications; * And object request brokers that transport these objects over a network. The initial tools vendors in the program include NeXT (NEXTSTEP/OpenStep), ParcPlace - Digitalk, Inc. (VisualWorks), and SunSoft(TM) (WorkShop(TM) NEO(TM)). Components vendors include several NEXTSTEP/Openstep ISVs, as well as Rogue Wave Software (Tools.h++). Object request broker services include Teknekron Software Systems', Inc. (ObjectBus). These vendors of application development tools have extended their products so that distributed object applications can be created and run under the NEO and other software environments. As a result, customers can choose from a variety of languages and tools that best meets their application needs. CENTERS TAKE HANDS-ON APPROACH Sun has formed the first three Object Reality Centers, which will help customers build and manage distributed object applications for the enterprise. The centers will not just train and educate, but work with customers to build prototypes, create proofs of concept, and deliver finished applications. The centers, which are now accepting clients, will each be operated by a partner with a strong track record in building telecommunications and financial applications, as well as experience using SunSoft's NEO product family and other leading object technologies. Sun leveraged SunSoft's NEO Business Object Alliance Program to train and certify each partner. The partners have committed senior consulting engineers, dedicated facility space, and executive-level support to the program. The core group of partners can certify other partners to create a global network of regional development centers. The Object Reality Centers include: Fusion Systems Group, Inc. (New York) is a long time Sun partner with more than five years experience building distributed and object applications for the financial services market. The company has expertise in risk-management and derivatives trading, and is expanding into the telecommunications market. Strategic Technology Resources (Chicago) is a pioneer in distributed object technology with more than four years of experience advising Fortune 1000 companies on optimizing emerging technology. Specializing in telecommunications and finance, STR is distinguished by its multiphased project process and unique approach to technology transfer. Lighthouse Design, Ltd. (San Mateo, Calif.) with more than seven years experience in object technology, the company specializes in NEXTSTEP/OpenStep technology migration. Through the center, Lighthouse will provide strategic consulting services for financial services and telecommunications customers ready to move to distributed object technology. Sun Microsystems Computer Company is a world leader in the design, manufacture and sale of network computing systems and is a division of Sun Microsystems, Inc. Recognized for quality and innovation, the company's SPARCstation(TM) desktops and multiprocessing servers each hold the No. 1 UNIX(R) marketshare position. These systems are used primarily by business, educational institutions and governments worldwide for technical, commercial, industrial and software development applications. # # # Sun, Sun Microsystems, the Sun Logo, SunSoft, the SunSoft logo, NEO and WorkShop NEO are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the United States and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. UNIX is a registered trademark in the United States and other countries, exclusively licensed through X/Open Company, Ltd. All other product or service names mentioned herein are trademarks of their respective owners. Press announcements and other information about Sun Microsystems are available on the Internet via the World Wide Web using a tool such as Netscape or NCSA Mosaic. Type http://www.sun.com at the URL prompt.
From: mikecam@unixg.ubc.ca (Michael C. Cam) Newsgroups: comp.sys.next.programmer Subject: Where is foundation.h ? Date: 27 Sep 1995 08:11:26 GMT Organization: The University of British Columbia Distribution: world Message-ID: <44b0ve$ma0@nntp.ucs.ubc.ca> Hi, IB in 3.3 unparses header files that try to import foundation classes from local directories (eg. #import "NSObject.h"). From the examples in the docs it should be getting the foundation headers from <foundation/foundation.h> but that doesn't seem to exist. Instead I have been rewriting it as #import <foundation/NSObject.h> Is there something that I missed? Thanks in advance. ..Mike. ___________________________________________________________________ | | | ___ ^ ... /\ BEAUTIFUL | | _|_::| ___o '|`^ .. o_ . .. /\ / \ BRITISH | | |:::|:| \ \, ^ '|`|` (`_|/____') / / /\ COLUMBIA | | |:::|:| (o)/ (o) '|`'|`|`` ,,/ . ... . .. / \ | |-------------------------------------------------------------------| | Michael C. Cam E-MAIL (NeXT & MIME) PHONE 604-263-7609 | | Open Object Solutions mikecam@unixg.ubc.ca FAX 604-263-7609 | |___________________________________________________________________| -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!/:&QF<SM]"EQM87)G M;#$R,`I<;6%R9W(Q,C`*7'!A<F1<='@Y-C!<='@Q.3(P7'1X,C@X,%QT>#,X M-#!<='@T.#`P7'1X-3<V,%QT>#8W,C!<='@W-C@P7'1X.#8T,%QT>#DV,#!< M9C!<8C!<:3!<=6QN;VYE7&9S,C!<9F,P7&-F,"!(:2Q<"EP*24(@:6X@,RXS M('5N<&%R<V5S(&AE861E<B!F:6QE<R!T:&%T('1R>2!T;R!I;7!O<G0@9F]U M;F1A=&EO;B!C;&%S<V5S(&9R;VT@;&]C86P@9&ER96-T;W)I97,@*&5G+B`C M:6UP;W)T(").4T]B:F5C="YH(BDN("!&<F]M('1H92!E>&%M<&QE<R!I;B!T M:&4@9&]C<R!I="!S:&]U;&0@8F4@9V5T=&EN9R!T:&4@9F]U;F1A=&EO;B!H M96%D97)S(&9R;VT@/&9O=6YD871I;VXO9F]U;F1A=&EO;BYH/B!B=70@=&AA M="!D;V5S;B=T('-E96T@=&\@97AI<W0N7`I<"DEN<W1E860@22!H879E(&)E M96X@<F5W<FET:6YG(&ET(&%S(%P*(VEM<&]R="`\9F]U;F1A=&EO;B].4T]B M:F5C="YH/EP*7`I)<R!T:&5R92!S;VUE=&AI;F<@=&AA="!)(&UI<W-E9#]< M"B`@7`I4:&%N:W,@:6X@861V86YC92Y<"EP*+BXN36EK92Y<"EP*(%]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]<"GP@("`@("`@("`@("`@("`@("`@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@?%P* M?"`@("!?7U\@("`@("`@("`@("`@("`@("!>("`@("`@("`@("`N+BX@("`@ M("`@("`@+UQ<("`@($)%055424953"`@?%P*?"`@7WQ?.CI\("`@("!?7U]O M("`@("`@("=\8%X@("`N+B`@;U\@("`N("XN("`O7%P@+R`@7%P@("`@0E)) M5$E32"`@('Q<"GP@?#HZ.GPZ?"`@("`@7%P@(%Q<+"`@("!>("=\8'Q@("`@ M*&!??"]?7U]?)RD@("\@("\@("`@+UQ<("`@0T],54U"24$@?%P*?"!\.CHZ M?#I\("`H;RDO("`H;RD@("=\8"=\8'Q@8"`@("PL+R`@+B`N+BX@+B`N+B`@ M("`O("!<7"`@("`@("`@("`@?%P*?"TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2U\ M7`I\($UI8VAA96P@0RX@0V%M("`@("`@("`@12U-04E,("A.95A4("8@34E- M12D@("`@4$A/3D4@-C`T+3(V,RTW-C`Y('Q<"GP@3W!E;B!/8FIE8W0@4V]L M=71I;VYS("!M:6ME8V%M0'5N:7AG+G5B8RYC82`@("!&05@@("`V,#0M,C8S M+3<V,#D@?%P*?%]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? H7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]\7`I<"@I]"E]? `
From: mikecam@unixg.ubc.ca (Michael C. Cam) Newsgroups: comp.sys.next.programmer Subject: Is there such a selector: +canAlloc ? Date: 27 Sep 1995 08:12:02 GMT Organization: The University of British Columbia Distribution: world Message-ID: <44b10i$ma2@nntp.ucs.ubc.ca> Hi, Has anyone tried to instantiate OpenStep classes through IB. I have a Controller class that I subclass from NSObject but when I try to run the program I get the following error on the console: Sep 26 12:10:37 [1607] *** Uncaught exception: *** Controller doesNotRecognizeSelector: +_canAlloc exiting! I have looked everywhere for the protocol +canAlloc without much success. Thanks in advance. ..Mike. ___________________________________________________________________ | | | ___ ^ ... /\ BEAUTIFUL | | _|_::| ___o '|`^ .. o_ . .. /\ / \ BRITISH | | |:::|:| \ \, ^ '|`|` (`_|/____') / / /\ COLUMBIA | | |:::|:| (o)/ (o) '|`'|`|`` ,,/ . ... . .. / \ | |-------------------------------------------------------------------| | Michael C. Cam E-MAIL (NeXT & MIME) PHONE 604-263-7609 | | Open Object Solutions mikecam@unixg.ubc.ca FAX 604-263-7609 | |___________________________________________________________________| -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!/:&QF<SM]"EQM87)G M;#$R,`I<;6%R9W(Q,C`*7'!A<F1<='@Y-C!<='@Q.3(P7'1X,C@X,%QT>#,X M-#!<='@T.#`P7'1X-3<V,%QT>#8W,C!<='@W-C@P7'1X.#8T,%QT>#DV,#!< M9C!<8C!<:3!<=6QN;VYE7&9S,C!<9F,P7&-F,"!(:2Q<"EP*2&%S(&%N>6]N M92!T<FEE9"!T;R!I;G-T86YT:6%T92!/<&5N4W1E<"!C;&%S<V5S('1H<F]U M9V@@24(N("!)(&AA=F4@82!#;VYT<F]L;&5R(&-L87-S('1H870@22!S=6)C M;&%S<R!F<F]M($Y33V)J96-T(&)U="!W:&5N($D@=')Y('1O(')U;B!T:&4@ M<')O9W)A;2!)(&=E="!T:&4@9F]L;&]W:6YG(&5R<F]R(&]N('1H92!C;VYS M;VQE.EP*7`I397`@,C8@,3(Z,3`Z,S<@6S$V,#==("HJ*B!5;F-A=6=H="!E M>&-E<'1I;VXZ("HJ*B!#;VYT<F]L;&5R(&1O97-.;W1296-O9VYI>F5396QE M8W1O<CH@*U]C86Y!;&QO8UP*97AI=&EN9R%<"EP*22!H879E(&QO;VME9"!E M=F5R>7=H97)E(&9O<B!T:&4@<')O=&]C;VP@*V-A;D%L;&]C('=I=&AO=70@ M;75C:"!S=6-C97-S+EP*7`I4:&%N:W,@:6X@861V86YC92Y<"EP*+BXN36EK M92Y<"EP*(%]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]<"GP@("`@("`@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@ M("`@("`@("`@?%P*?"`@("!?7U\@("`@("`@("`@("`@("`@("!>("`@("`@ M("`@("`N+BX@("`@("`@("`@+UQ<("`@($)%055424953"`@?%P*?"`@7WQ? M.CI\("`@("!?7U]O("`@("`@("=\8%X@("`N+B`@;U\@("`N("XN("`O7%P@ M+R`@7%P@("`@0E))5$E32"`@('Q<"GP@?#HZ.GPZ?"`@("`@7%P@(%Q<+"`@ M("!>("=\8'Q@("`@*&!??"]?7U]?)RD@("\@("\@("`@+UQ<("`@0T],54U" M24$@?%P*?"!\.CHZ?#I\("`H;RDO("`H;RD@("=\8"=\8'Q@8"`@("PL+R`@ M+B`N+BX@+B`N+B`@("`O("!<7"`@("`@("`@("`@?%P*?"TM+2TM+2TM+2TM M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM M+2TM+2TM+2TM+2U\7`I\($UI8VAA96P@0RX@0V%M("`@("`@("`@12U-04E, M("A.95A4("8@34E-12D@("`@4$A/3D4@-C`T+3(V,RTW-C`Y('Q<"GP@3W!E M;B!/8FIE8W0@4V]L=71I;VYS("!M:6ME8V%M0'5N:7AG+G5B8RYC82`@("!& M05@@("`V,#0M,C8S+3<V,#D@?%P*?%]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]\ '7`I<"@I]"E]? `
Newsgroups: comp.sys.next.programmer From: tom@icgned.nl (Tom Hageman) Subject: Re: const C++ vs Objective-C Message-ID: <DFK1r0.8pz@icgned.nl> Sender: news@icgned.nl Organization: IC Group References: <449po4$i8h@newsbf02.news.aol.com> Date: Wed, 27 Sep 1995 08:18:35 GMT In article <449po4$i8h@newsbf02.news.aol.com> samfalvo@aol.com (Sam Falvo) writes: > In article <4474v3$for@gap.cco.caltech.edu>, ccwf@thales.klab.caltech.edu > (Charles Fu) writes: > > >> If you wish to guarantee that storage is always allocated, take the > address > >> of the variable via the "&" operator, or use the "volatile" qualifier. > > Watch out: some compilers will _NOT_ work with the following code: > > void f() > { > int a; > int pa = &a; > // ... > } I can imagine that the compiler issues a `pointer assigned to int' warning, but let's chalk that up to a typo ;-) > My Amiga's compiler, for example, will sometimes complain that you cannot > take the address of a register variable (I say "sometimes" because it > depends on what level of optimization I set the compiler to). The > standard (and defined) way of handling the above problem is to use the > "volatile" keyword. Your compiler's optimization is broken. Unless you explicitly declare a variable as `register' it should _always_ be legal to take the address of a variable. -- __/__/__/__/ Tom Hageman <tom@basil.icce.rug.nl> [NeXTmail/Mime OK] __/ __/_/ IC Group <tom@icgned.nl> (work) __/__/__/ "...to baldly go where no one has gone before." __/ _/_/ -- star trek TNG
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Wed, 27 Sep 95 08:20:48 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9509270720.AA00420@flexus> Subject: Re: identifying class objects (Crossposting to comp.lang.objective-c, comp.sys.next.programmer, retrying for c.s.n.p because of earlier failure. IMPORTANT NOTE: This was the posting that I later corrected.) Ralph Zazula writes: > That means that Object implements the method +isKindOf: > along with -isKindOf:. That may be so, but the semantics may be different from your human point of view. -isKindOf: takes an isa step and zero or more superclass steps until it finds its argument or until it makes no further progress (I presume). For class objects, one isa step takes you to the meta level, so the argument to -isKindOf: should be a meta class if you don't want the trivial answer that only the root class (which is its own meta class) isKindOf: anything (itself). The documentation for Object in NEXTSTEP simply states this effect, not its underlying cause. I suppose you'll need a runtime function to access the meta-class object (-class has been redefined as +class to return the class itself, for class objects). Perhaps something like this: printf("Menu does%s inherit from Window.\n", [Menu isKindOf:objc_getMetaClass("Window")]?"":"n't"); The rest should be fairly obvious. Hope this helps (haven't tested it), Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: par@MCS.COM (Peter Richardson) Newsgroups: comp.sys.next.programmer Subject: Re: Simulating [NXApp run] === HELP! Date: 27 Sep 1995 08:20:41 -0500 Organization: MCSNet Services Message-ID: <44bj39$m7g@Venus.mcs.com> References: <44agh7$mao@news.eecs.umich.edu> Hyong Sop Shim (hyongsop@dip.eecs.umich.edu) wrote: : Hi NeXTSTEP Gurus, : I'm trying to simulate [NXApp run] by creating my own event loop. The : following is what I got so far (it's not much): : ============== : void main(int argc, char *argv[]) { : NXEvent *anEvent; : [Application new]; : if ([NXApp loadNibSection:"TestEventLoop.nib" owner:NXApp withNames:NO]) : { : while (1) : { : anEvent = [NXApp getNextEvent:NX_ALLEVENTS : waitFor:1 : threshold:NX_BASETHRESHOLD]; : if (anEvent != NULL) : [NXApp sendEvent:anEvent]; : } : } : exit(0); : } : ========== : The above main allows the application to run; it can do the target-action : thing. The problem is that the application doesn't seem to "init"; the : application icon remains "blurry" and the delegate of NXApp doesn't : receive the appDidInit: message. : What's missing? : Your help would be greatly appreciated, and I look : forward to hearing from you all soon. : Thank you very much. : --Hyong : (hyongsop@eecs.umich.edu)
Newsgroups: comp.sys.next.programmer Subject: table view object - where is it? Message-ID: <1995Sep27.145111.45445@yogi.urz.unibas.ch> From: frank@ifi.unibas.ch Date: 27 Sep 95 14:51:11 MET Hi, I'm looking for a table view object as it is used in Mail.app in the preferences, NetInfoManager.app in the domain viewers, or in Alexandra.app. I have checked all objects in the appkit and EOF, but could not find such a thing. I know that this kind of view can be done witht the EOF, but I would prefere not to use EOF objects for this case. If Alexandra can use it without requiring EOF, it must be around somewhere else. Many thanks for any pointers. Robert -- Institut fuer Informatik tel +41 (0)61 321 99 67 Universitaet Basel fax. +41 (0)61 321 99 15 Robert Frank Mittlere Strasse 142 rfc822: frank@ifi.unibas.ch (NeXT,MIME mail ok) CH-4056 Basel X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch Switzerland
Newsgroups: comp.sys.next.programmer Subject: subprocess character echos with text views Message-ID: <1995Sep27.145703.45446@yogi.urz.unibas.ch> From: frank@ifi.unibas.ch Date: 27 Sep 95 14:57:03 MET Hi, more out of curiosity than for real use, I'd just like to know how applications such as Terminal.app handle user and program output. The demo program in the Developer Examples will work fine when using a local shell. As soon as I do a remote login, though, the remote process will echo the characters sent, and, as the text object also 'echos' the characters, will display all characters twice. There must be a way of connecting to a local shell such that this does the character echoing and such that the text object will not display the characters input. Many of you out there have written smaller or lager terminal emulators (Stuart, TeXmenu, GatorFTP+, etc) - are you willing to share this 'secret'? Thanks for your time, Robert -- Institut fuer Informatik tel +41 (0)61 321 99 67 Universitaet Basel fax. +41 (0)61 321 99 15 Robert Frank Mittlere Strasse 142 rfc822: frank@ifi.unibas.ch (NeXT,MIME mail ok) CH-4056 Basel X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch Switzerland
From: droux@info.isbiel.ch (Nicolas Droux) Newsgroups: comp.sys.next.programmer Subject: Re: table view object - where is it? Date: 27 Sep 1995 14:55:37 GMT Organization: Biel School of Engineering, CH-2501 Biel, Switzerland Distribution: world Message-ID: <44bol9$jm4@vega.info.isbiel.ch> References: <1995Sep27.145111.45445@yogi.urz.unibas.ch> In article <1995Sep27.145111.45445@yogi.urz.unibas.ch> writes: > I'm looking for a table view object as it is used in Mail.app > in the preferences, NetInfoManager.app in the domain viewers, > or in Alexandra.app. I have checked all objects in the appkit > and EOF, but could not find such a thing. I know that this > kind of view can be done witht the EOF, but I would prefere > not to use EOF objects for this case. It's part of the Database Kit, look for DBTableView. The NeXTAnswers document #1639 provides a good introduction on how to use DBTableView to view non-RDBMS data: --- Discovering the DBTableView Object written by Mai Nguyen Even though DBTableView is part of the Database Kit(TM) palette, it can be used separately from the rest of the Database Kit to display tabular data with more flexibility than the Matrix object offers. This article explores how to use DBTableView independently from the Database Kit, and gives tips on avoiding problems with this object. --- Cheers, Nicolas. -- ---------------------------------------------------------------- Nicolas Droux Rue de la Source 21 Biel School of Engineering CH-2501 Biel-Bienne Computer Science Dpt Switzerland droux@info.isbiel.ch (MIME/NeXTMail) Tel: +41 32 266 314 http://www.isbiel.ch/~don/ Fax: +41 32 266 523
From: Chris Snowdon Newsgroups: comp.sys.next.programmer Subject: Re: Why doesn't "prog > /dev/pp0" work? Date: 22 Sep 1995 00:08:08 GMT Organization: Ttubocat's Development, Germany Message-ID: <43sup8$177@ctubocat.snafu.de> References: <Pine.A32.3.91.950914151616.38954D-100000@argent.tkg.com> John Dawson <jdawson@tkg.com> wrote: > I wrote a PostScript-to-Epson-FX-80 filter so I could use my trusty old FX-80 as a NEXTSTEP printing device. And it works just fine. But I encountered this problem while doing it: (...) > But when I create a printer entry, and give it "epsonfilt" for the filter program and /dev/pp0 for the device, it works without flaw every time. > What does the print subsystem know about sending things to /dev/pp0 that I don't? The pp0 driver has a bug. It eats data. Has someone a new one yet? I do not like pp0cat. > John Dawson (jdawson@tkg.com) -- _ _ _(_)(_)_ David Wetzel, Ttubocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Phone +49 33056 82151, Fax +49 33056 82152 (______) dave@ctubocat.snafu.de (NeXTMail)
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <bbum@friday.com> Message-ID: <199509271426.JAA01331@cerebus.friday.com> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3risc v118.3) From: Bill Bumgarner <bbum@friday.com> Date: Wed, 27 Sep 95 09:26:39 -0500 Subject: Replacing the Event Loop-- DON'T DO IT! Cc: comp-sys-next-programmer@antigone.com # Does anyone know how to create a custom event loop to be used in # place of [NXApp Run]? # # More specifically, I need to "select()" on a number of ports for # incoming messages from a remote process and to be able to # distinguish between the events from the Window Manager and the # ones from the other souce. Further, once I get an event or # message from the Window Manager, how do I generate an approriate # Next event? I assume this would involve doing "sendEvent:" but # don't have any more ideas. # # Your help would be greatly appreciated and look forward to hearing # from you soon. Whoa Nellie! I suspect you haven't delved deeply enough into the NeXT documentation... there is no need to replace the event loop to accomplish said task; NeXT provided some easy-to-use API for just this purpose. See: DPSAddPort() and DPSAddFD(). In general, it is wise to avoid completely re-inventing the wheel! you will open cans of worms larger and more slimy than you could ever possibly imagine! While the AppKit has a couple of obvious holes (Text?), it is an extremely flexible object framework that will often provide most of the architecture for a particular solution-- but you have to learn to play by its rules [which are generally pretty reasonable]. b.bum
From: Dean Miley <deanm@melltree.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Unique, arbitrary primary key required in EOF Date: Wed, 27 Sep 1995 18:58:32 GMT Organization: None Message-ID: <438598412wnr@melltree.demon.co.uk> The Quickbase EOF adaptor supports a method '- generateUniqueId:(const char*)aTable' or something like that. This method will return the next identifier to be used by the id field of 'aTable'. I have been using it to create primary keys for EO's.
From: ccwf@thales.klab.caltech.edu (Charles Fu) Newsgroups: comp.sys.next.programmer Subject: Re: const C++ vs Objective-C Date: 27 Sep 1995 22:00:51 GMT Organization: California Institute of Technology, Pasadena Message-ID: <44chij$mu@gap.cco.caltech.edu> References: <4474v3$for@gap.cco.caltech.edu> <449pnm$i8c@newsbf02.news.aol.com> >In article <4474v3$for@gap.cco.caltech.edu>, ccwf@thales.klab.caltech.edu >(Charles Fu) writes: >>In answer to the larger question, 'const' does have a different meaning under >>C++ (where the qualifier originated) than under C (which adopted a less >>strict meaning for the qualifier). In article <449pnm$i8c@newsbf02.news.aol.com>, Sam Falvo <samfalvo@aol.com> wrote: >Strange...my C compiler for my Amiga had the "const" keyword BEFORE C++ >was even heard of... See Section 3.8, "Constants" of D&E for a long discussion of how "const" came into being in C and C++. A short summary is that Bjarne Stroustrup proposed a "readonly" variables idea in Jan 1981 for use in his C with Classes "language." Bjarne and Dennis Ritchie discussed the idea and made some changes. The Bell Labs C standards group voted to adopt the change in C if "readonly" was changed to "const" but never implemented the change. Bjarne implemented "const" in C with Classes and made some changes based upon his experience with it. C with Classes transmogrified into C++ (Dec 1983). Finally, ANSI X3J11 adopted the original Stroustrup to Bell Labs C standards group proposal (which had been modified by Ritchie but not by experience) in the 1989 ANSI C standard. -ccwf
From: ccwf@thales.klab.caltech.edu (Charles Fu) Newsgroups: comp.sys.next.programmer Subject: Re: const C++ vs Objective-C Date: 27 Sep 1995 23:10:38 GMT Organization: California Institute of Technology, Pasadena Message-ID: <44clle$9tb@gap.cco.caltech.edu> References: <4474v3$for@gap.cco.caltech.edu> <449po4$i8h@newsbf02.news.aol.com> <44a0v8$900@news.its.com> In article <44a0v8$900@news.its.com>, Chuck Swiger <chuck@its.com> wrote: > Given a non-buggy compiler, in what situation(s) does using "&" not work? Using "&" is legal. That is not an issue. However, it may not force the addressed memory to be allocated space, either on the stack or where global/static variables go. As you pointed out in a previous article, > I don't believe the language definitions for ANSI-C, Obj-C, or C++ mandate > whether storage has to be allocated for a const variable. So long as it does > not change the meaning of the program, the compiler is free to optimize local > variables in various ways. In fact, the standards don't deal with implementational details like "what is a stack?" or "how are global variables stored?" at all. For example, since C can be implemented without using a stack, there is no way to force a variable to occupy space on the stack. (For example, a person reading a C program to figure out what it does is acting as a C implementation with no stack or global storage in the traditional computer sense. :^) Second, if a compiler detects that taking the address seems to serve no purpose (as defined by the respective standards), it is free to optimize the operation away, even for non-automatic variables! For example, gcc 2.7.0 will compile the following C++ module const int bar = 0; void foo() {&bar;} into this (Intel i386 architecture, -O9 -fomit-frame-pointer optimizations): .text .align 2 .globl foo(void) foo(void): ret .constructor .destructor .align 1 Note that no storage is allocated for "bar." The currently shipping NeXT compiler cannot do this optimization, but I would think the chances are pretty good that it will adopt the 2.7.0 revisions by NEXTSTEP 4.0 or 4.1. Third, "&" can be overloaded to do arbitrary things for C++ classes. Finally, there is the "as-if" rule: so long as a C implementation produces the correct output at the correct time and handles volatile objects properly, it can do anything it wants internally to get these results (my paraphrase, see 5.1.2.3 in the current C standard for the exact language). To sum up, the "&" operator, practically speaking, will force storage to be allocated most of the time, but it is not guaranteed to do this all the time. In fact, there is no portable way to guarantee allocation of storage. -ccwf
From: jeremy@talin.uucp.colostate.edu (Jeremy Slade) Newsgroups: comp.sys.next.programmer Subject: Re: g++ WARNING Date: 28 Sep 1995 00:24:36 GMT Organization: Colorado State University, Fort Collins, CO 80523 Message-ID: <44cq04$3k0a@yuma.ACNS.ColoState.EDU> References: <44c2od$28d@elgar.cs.colostate.edu> In article <44c2od$28d@elgar.cs.colostate.edu> martinc@elgar.cs.colostate.edu (charles martin) writes: > Hey Folks, > > Because there exist disputes over ways to implement some > aspects of template use amongst the various bodies trying to set > standards for c++, the FSF hasn't fully implementated some of the > features for template use in g++. There is the possibility of this > causing problems when we break template definitions and functions into > separate files. While I haven't I haven't had problems with this yet, > it isn't worth the trouble to deal with those types of problems if > they do arise. > > In a nutshell: > > Use another compiler; don't use g++. > I have been having problems with c++ class definitions broken up over multiple source files -- for example, class defined in DLL.h, all member functions in DLL.cc, I get an error about #include directive being nested too deep, it bails out. Anyone know about this and how to deal with it? FYI, I am running NS 3.3 on a Pentium system. Thanks, Jeremy -- Jeremy Slade Colorado State Univeristy jeremy@talin.uucp.colostate.edu
From: apl@kcbbs.gen.nz (Andrew P. Lindesay) Newsgroups: comp.sys.next.programmer Subject: [Q] Avoiding flickery drags? Outside view? Date: 28 Sep 1995 01:01:02 GMT Organization: University of Auckland Message-ID: <apl-2809951300590001@uglp6.cs.auckland.ac.nz> Thanks to all those people who helped me with how to make lists out of linked object instances a while ago - works marvellously! ------------------------------------------------------------------------------ Problem (1) I'm making paths by building them out of a series of clicks into bezier/line segments. I use instance drawing (which is jolly useful) to do the following: {initialise an instance} {draw the new bit of the path} {stop the instance drawing} However now I've finished and written the bit to select the path(s) and drag the selection the drags with the instance drawing is getting a bit flickery with the redraws. I use a similar structure to the above method, but with mouseDragged event as opposed to mouseMoved event and I get *REALLY* flickery pictures out of the dragged paths when trying to follow the mouse. So what I would like to know is - what are some of the usual methods of avoiding this problem with DPS/AppKit? If you can direct me to a part of the online 3.0 manual that would be marvellous. ------------------------------------------------------------------------------ Problem (2) So the user is happily drawing lines in the image and then when he/she comes to change to the bezier tool to add a bezier segment (moves mouse outside window and clicks in the tools panel) the panel takes on the role of first responder and drawing that *SHOULD* be in the document view proceeds in the tools panel over all my lovely icons and buttons. How can I stop the panel from getting the first responder? ------------------------------------------------------------------------------ Andrew (apl@kcbbs.gen.nz) OK so
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: const C++ vs Objective-C Date: 28 Sep 1995 02:35:47 GMT Organization: Information Technology Solutions, Inc. Message-ID: <44d1m3$be7@news.its.com> References: <4474v3$for@gap.cco.caltech.edu> <449po4$i8h@newsbf02.news.aol.com> <44a0v8$900@news.its.com> <44clle$9tb@gap.cco.caltech.edu> ccwf@thales.klab.caltech.edu (Charles Fu) wrote: > In article <44a0v8$900@news.its.com>, Chuck Swiger <chuck@its.com> wrote: >> Given a non-buggy compiler, in what situation(s) does using "&" not >> work? > > Using "&" is legal. That is not an issue. However, it may not force the > addressed memory to be allocated space, either on the stack or where > global/static variables go. If you are using the value that results from dereferencing the address of variable in question in a globally-detectable fashion, the compiler will guarantee that storage is allocated in dereferencible address space for that variable. [ ... ] > Second, if a compiler detects that taking the address seems to serve no > purpose (as defined by the respective standards), it is free to optimize > the operation away, even for non-automatic variables! This is known as "liveness analysis", and code that performs actions on "dead" variables is "dead code" and can be eliminated in optimization. Note that this applies to the operations in question; it does not allow the compiler system to not generate an externally linkable area of storage for the variable in question if the variable is declared external. > For example, gcc 2.7.0 will compile the following C++ module [ ... ] Try declaring the variable as "extern", or have a non-static function which returns the address of the variable via "&". In your example, the compiler is simply optimizing away a dead variable that's local to the "translation unit", or source file. Used appropriately, "&" will prevent that from occuring. > Third, "&" can be overloaded to do arbitrary things for C++ classes. That's true, but so what? You can use #define's to change what everything means as well. > Finally, there is the "as-if" rule: so long as a C implementation > produces the correct output at the correct time and handles volatile > objects properly, it can do anything it wants internally to get these > results (my paraphrase, see 5.1.2.3 in the current C standard for the > exact language). That's true. Since you can't tell how and where an external variable is going to be used (for example, let's say you're building a library that contains this external variable), you can guarantee that an external variable will have storage allocated for it. > To sum up, the "&" operator, practically speaking, will force storage to > be allocated most of the time, but it is not guaranteed to do this all > the time. This is not correct. You just have to understand what you need to do. > In fact, there is no portable way to guarantee allocation of storage. See above. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: dave@meena.feinberg.nwu.edu (David A. Johnson) Newsgroups: comp.sys.next.programmer Subject: [Q] Anybody know about status NeXTDeveloper for WindowsNT or Win95? Date: 27 Sep 1995 19:15:47 GMT Organization: Northwestern University, Evanston, IL, US Distribution: world Message-ID: <44c7t3$kgi@news.acns.nwu.edu> Sometime ago I read an article in one of the trade papers announcing that NeXT would port NeXTDeveloper (OpenStep Developer) to WindowsNT & Windows95. Does anyone know anything about this? Thank's in advance, ..david -- David A. Johnson (office)= (312) 503-0408 (pager) = (312) 820-3469 Research Engineer Feinberg Cardiovascular Research Institute Northwestern University Tarry 12-729 310 E. Superior St.
From: jolly@thecube.cis.uni-muenchen.de (Patrick Stein) Newsgroups: comp.sys.next.programmer Subject: Slow DO performance on 3.3 ? Date: 28 Sep 1995 15:12:55 GMT Organization: Institut fuer Informatik der Universitaet Muenchen Message-ID: <44ee1n$e1r@arcadia.informatik.uni-muenchen.de> Hiho ! Yesterday I tried a DO performance test I'd written six months ago on an Intel P100.I was surprised about the performance. Got about 8000 kBytes/s on the loopback. Today I tested that same program on my 712/80 and got just 3800 kBytes/s maximum. But with 3.2 I had 7900 kBytes/s. Did anybody encounter the same performance degration since upgrading to 3.3 ? Btw. at least NeXT fixed some memorylags wich crashed the machine using the same program with NS3.2. -- keep on moving - jolly =================================================================== Jolly alias Patrick Stein jolly@cis.uni-muenchen.de office : ++49 +89 -211 06 70 Centrum fuer Informations private: ++49 +89 -950 57 34 und Sprachverarbeitung der Ludwig-Maximilians Universitaet Muenchen =================================================================== Pilot : " Say ..What's a mountain goat doing way up here in a cloud bank ? " - g.larson ===================================================================
From: whp@clark.net (Bill Pottinger) Newsgroups: comp.sys.next.programmer Subject: Help Oracle 7.X and DBKit (BLOBS) Date: 28 Sep 1995 15:47:47 GMT Organization: Clark Internet Services, Inc., Ellicott City, MD USA Message-ID: <44eg33$ql@clarknet.clark.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Summary: Problems saving an object to and Oracle database with DBKit Keywords: DBKit, Oracle BLOBS Has anyone successfully saved an object to an oracle database? I have read various NeXTAnswers, librarian docs, etc trying to get some example/code snippet about this with NO success. The tools that I have to work with are Oracle 7.0.16.0.6, Next Developer v3.2 DBKit, and DBModeler. If someone has a reference that they could point me to, or better yet a code snippet and DBModel example that they could share, I would be greatly appreciative. P.S. Unfortunately I don't have access to EOF. Bill whp@clark.net
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer From: albert@beowulf.gamp.hacom.nl (Albert Mietus) Subject: Re: identifying class objects Sender: news@gamp.hacom.nl (Charlie Root) Organization: We aren't! Should we, then it's SW, Education and Advice. Message-ID: <ALBERT.95Sep25204014@beowulf.gamp.hacom.nl> References: <444chd$9l5@boson.epita.fr> In-Reply-To: odp@meson.epita.fr's message of 24 Sep 1995 19:45:49 GMT Date: Mon, 25 Sep 1995 19:40:14 GMT In article <444chd$9l5@boson.epita.fr> odp@meson.epita.fr (objets distribues persistants) writes: > I'm working with class objects (under NS), and I want > to ask a class object if it is a subclass of another class; > but I can't find any message or objc function that can do that :-( Hi, In Obj-C *all* messages that can be send to a instance of Object can also be send to a class. So, you can use "isKindOf" etc. Good luck. ---GAM "This should be a jolly quote"
From: kclark@direct.ca Newsgroups: comp.sys.next.programmer Subject: Using NXBrowser - please help Date: 28 Sep 1995 18:45:12 GMT Organization: Internet Direct Distribution: world Message-ID: <44eqfo$od3@grid.Direct.CA> Hi. I am using a NXBrowser to display a list of objects. The objects have a string label among their properties. I subclass NCBrowserCell and store a pointer to the object. My problem is that Interface Builder won't let me specify what cell class to use for the browser. During a LoadNibSection, my delegate gets a browser:fillMatrix:inColumn. But the browser's matrix is of the wrong cell class, so I can't addRow without getting the wrong cell class. I know that in browser:fillMatrix:inColumn I could do a if (![browser cellPrototype]) [browser setCellPrototype:MyBrowserCell]; but this seems like a really bad hack. Shouldn't the cell class be set up once upon init? I feel like I am missing something really obvious; please help if you know. Thanks, - Ken
From: zhao@crl.nmsu.edu (Z. Zhao) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Q: ??? fprintf wouldn't print sometimes Date: 28 Sep 1995 21:03:44 GMT Organization: Computing Research Lab/New Mexico State University Message-ID: <ZHAO.95Sep28150344@sparta.crl.nmsu.edu> Is there any special requirements for C programs to print in NEXTSTEP? Sometime I wrote very short C utility programs which 'fopen' and 'fprintf' datafiles, but I could neither open and write the output files nor fprintf the output to the console. However, if I run the utilities in 'gdb', they would fopen and fprintf just fine. I tested them in sunos, there is no problem with the programs at all. Is there any trick to make my C programs behaving normally in NEXTSTEP? Thanks, zhao PS: I am using NS3.3 for intel.
From: ccwf@thales.klab.caltech.edu (Charles Fu) Newsgroups: comp.sys.next.programmer Subject: Re: const C++ vs Objective-C Date: 29 Sep 1995 00:14:36 GMT Organization: California Institute of Technology, Pasadena Message-ID: <44fdpc$fpm@gap.cco.caltech.edu> References: <44clle$9tb@gap.cco.caltech.edu> <44d1m3$be7@news.its.com> I wrote: >> For example, gcc 2.7.0 will compile the following C++ module [ ... ] In article <44d1m3$be7@news.its.com>, Chuck Swiger <chuck@its.com> wrote: >Try declaring the variable as "extern", or have a non-static function which >returns the address of the variable via "&". >In your example, the compiler is simply optimizing away a dead variable >that's local to the "translation unit", or source file. Used >appropriately, "&" will prevent that from occuring. That will certainly work for the gcc family of compilers existing today and for the forseeable future. I tried to find an example relevant to NEXTSTEP since this is a NeXT group--if you're interest is only in writing NeXT code, use this technique and it'll do what you want. Frankly, I use it myself. If you have an interest in other platforms or a theoretical interest, read on. :-) Basically, where the "extern" technique fails is when you have a compiler/linker capable of doing cross-module optimizations such as the dead-code analysis which Mr. Swiger mentioned. If you declare that a variable shoud have external linkage but your compiler/linker can determine that the variable is never actually used, is it legal to optimize it away and not allocated storage for it? Yes. Do compiler/linker systems exist that can do this cross-module analysis? I'm not aware of any under NEXTSTEP, but I know of one (1) on another platform. Suppose we go further and return the address of the variable via "&" in a non-static function. Can it still be eliminated? Well, yes, if we can determine that that function is never used in your program or that at least the return value is never used. Can NeXT's gcc compiler do this? No, but compilers do exist which can do this (although they are very rare). In fact, the compiler to which I referred above is capable of doing inlining and some dead-code analysis between compiled "object" files, including "object" files sitting in libraries. That means that storage may or may not be allocated depending upon the behavior of the other files making up the program. As far as I can tell from the C standard, all one can say more-or-less absolutely about whether or not addressable storage exists is that if you assign the address to a volatile variable, then that address will act is if it points to addressable storage at sequence points where the volatile variable is used (in a non-eliminatable fashion) to refer to the storage. Practically, C compilers are capable of far less. Practically, the "extern" and "&" hacks almost always work to guarantee allocation of storage. In particular, they work quite well under NEXTSTEP if you take into account Mr. Swiger's well-taken proviso about the possibility of dead-code removal. Practically, even with a very, very smart compiler, a human can always find some way into tricking the compiler into thinking the address is significant so as to inhibit dead-code removal. But simply using "extern" or the address operator doesn't work in _all_ cases; and, theoretically, these common and useful hacks cannot be guaranteed to work for all compliant C/C++ compilers. -ccwf
From: davisre@shellx.best.com (Robert Davis) Newsgroups: comp.sys.next.programmer Subject: Re: NXTrapIllegalFloatingPointOps Date: 28 Sep 1995 17:13:46 -0700 Organization: independent Message-ID: <44fdnq$j1f@shellx.best.com> References: <DFGInn.184@rat.se> Keywords: NXTrapIllegalFloatingPointOps <martin@rat.se> wrote: > >When I try to enable the trapping of illegal floating points NS logs >"Can't enable trapping of illegal floating point operations." to stderr. > >Why is that? > You must be running your app on an HP or Sun machine. For some reason it only seems to work on m68k or iX86 machines. Rob -- Robert Davis (davis@lighthouse.com, davis@coaster.com) "Look up, Hannah."
Newsgroups: comp.sys.next.programmer From: tm@burrow.muc.de (the mole) Subject: [Q] programmed power on and shut-down Message-ID: <DFMn75.LG@burrow.muc.de> Sender: news@burrow.muc.de Organization: hardly any. . . Date: Thu, 28 Sep 1995 17:57:05 GMT hi! does anybody know a way to program (perhaps in a shell script) power on and shut-down? i don't want my station to be running all the time but i would like to set specific times when it should turn itself on so it can do a uucp poll and then shut down again. any suggestions? aTdHvAaNnKcSe, tm -- / . . . . . . . . . . . . . . . . . . . . . the mole __ __/ __ __ . . . . . . . . . . . . . . . . . tm@burrow.muc.de / / / / . . . . . . . . . . . . http://www.muc.de/~mgloede/ __/ __/ __/ __/ . . . . . . . http://darkwing.uoregon.edu/~markusg/
From: mikecam@unixg.ubc.ca (Michael C. Cam) Newsgroups: comp.sys.next.programmer Subject: NSZone -> NXZone? Date: 29 Sep 1995 07:35:08 GMT Organization: The University of British Columbia Message-ID: <44g7jc$8ik@nntp.ucs.ubc.ca> Reply-To: mikecam@unixg.ubc.ca (Michael C. Cam) Distribution: world Hi, Has anyone used NXApp's loadNibFile ... fromZone: with a zone of type NSZone as opposed to NXZone. I get the following warning ... NetworkInterface.m:92: warning: passing arg 4 of `loadNibFile:owner:withNames:fromZone:' from incompatible pointer type but everything seems to load ok. Should I be worried? Thanks in advance. ..Mike. ___________________________________________________________________ | | | ___ ^ ... /\ BEAUTIFUL | | _|_::| ___o '|`^ .. o_ . .. /\ / \ BRITISH | | |:::|:| \ \, ^ '|`|` (`_|/____') / / /\ COLUMBIA | | |:::|:| (o)/ (o) '|`'|`|`` ,,/ . ... . .. / \ | |-------------------------------------------------------------------| | Michael C. Cam E-MAIL (NeXT & MIME) PHONE 604-263-7609 | | Open Object Solutions mikecam@unixg.ubc.ca FAX 604-263-7609 | |___________________________________________________________________| -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!/:&QF<SM]"EQM87)G M;#$R,`I<;6%R9W(Q,C`*7'!A<F1<='@Y-C!<='@Q.3(P7'1X,C@X,%QT>#,X M-#!<='@T.#`P7'1X-3<V,%QT>#8W,C!<='@W-C@P7'1X.#8T,%QT>#DV,#!< M9C!<8C!<:3!<=6QN;VYE7&9S,C!<9F,P7&-F,"!(:2Q<"EP*2&%S(&%N>6]N M92!U<V5D($Y807!P)W,@;&]A9$YI8D9I;&4@+BXN(&9R;VU:;VYE.B!W:71H M(&$@>F]N92!O9B!T>7!E($Y36F]N92!A<R!O<'!O<V5D('1O($Y86F]N92X@ M7`I<"DD@9V5T('1H92!F;VQL;W=I;F<@=V%R;FEN9R`N+BY<"DYE='=O<FM) M;G1E<F9A8V4N;3HY,CH@=V%R;FEN9SH@<&%S<VEN9R!A<F<@-"!O9B!@;&]A M9$YI8D9I;&4Z;W=N97(Z=VET:$YA;65S.F9R;VU:;VYE.B<@9G)O;2!I;F-O M;7!A=&EB;&4@<&]I;G1E<B!T>7!E7`I<"F)U="!E=F5R>71H:6YG('-E96US M('1O(&QO860@;VLN("!3:&]U;&0@22!B92!W;W)R:65D/UP*7`I4:&%N:W,@ M:6X@861V86YC92Y<"EP*+BXN36EK92Y<"EP*(%]?7U]?7U]?7U]?7U]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]?7U]<"GP@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@?%P*?"`@("!?7U\@("`@ M("`@("`@("`@("`@("!>("`@("`@("`@("`N+BX@("`@("`@("`@+UQ<("`@ M($)%055424953"`@?%P*?"`@7WQ?.CI\("`@("!?7U]O("`@("`@("=\8%X@ M("`N+B`@;U\@("`N("XN("`O7%P@+R`@7%P@("`@0E))5$E32"`@('Q<"GP@ M?#HZ.GPZ?"`@("`@7%P@(%Q<+"`@("!>("=\8'Q@("`@*&!??"]?7U]?)RD@ M("\@("\@("`@+UQ<("`@0T],54U"24$@?%P*?"!\.CHZ?#I\("`H;RDO("`H M;RD@("=\8"=\8'Q@8"`@("PL+R`@+B`N+BX@+B`N+B`@("`O("!<7"`@("`@ M("`@("`@?%P*?"TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2U\7`I\($UI8VAA96P@ M0RX@0V%M("`@("`@("`@12U-04E,("A.95A4("8@34E-12D@("`@4$A/3D4@ M-C`T+3(V,RTW-C`Y('Q<"GP@3W!E;B!/8FIE8W0@4V]L=71I;VYS("!M:6ME M8V%M0'5N:7AG+G5B8RYC82`@("!&05@@("`V,#0M,C8S+3<V,#D@?%P*?%]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? <7U]?7U]?7U]?7U]?7U]?7U]?7U]\7`I<"@I]"E]? `
From: mikecam@unixg.ubc.ca (Michael C. Cam) Newsgroups: comp.sys.next.programmer Subject: NSArray release ... does it release contents as well? Date: 29 Sep 1995 07:36:51 GMT Organization: The University of British Columbia Message-ID: <44g7mj$8ir@nntp.ucs.ubc.ca> Reply-To: mikecam@unixg.ubc.ca (Michael C. Cam) Distribution: world Hi, Does an NSArray automatically release its contents when it is released. Or put another way, is it necessary to send an array removeAllObjects before releasing it assuming that you do not need the objects inside the array. I couldn't find any mention in the docs. Thanks in advance. ..Mike. ___________________________________________________________________ | | | ___ ^ ... /\ BEAUTIFUL | | _|_::| ___o '|`^ .. o_ . .. /\ / \ BRITISH | | |:::|:| \ \, ^ '|`|` (`_|/____') / / /\ COLUMBIA | | |:::|:| (o)/ (o) '|`'|`|`` ,,/ . ... . .. / \ | |-------------------------------------------------------------------| | Michael C. Cam E-MAIL (NeXT & MIME) PHONE 604-263-7609 | | Open Object Solutions mikecam@unixg.ubc.ca FAX 604-263-7609 | |___________________________________________________________________| -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!/:&QF<SM]"EQM87)G M;#$R,`I<;6%R9W(Q,C`*7'!A<F1<='@Y-C!<='@Q.3(P7'1X,C@X,%QT>#,X M-#!<='@T.#`P7'1X-3<V,%QT>#8W,C!<='@W-C@P7'1X.#8T,%QT>#DV,#!< M9C!<8C!<:3!<=6QN;VYE7&9S,C!<9F,P7&-F,"!(:2Q<"EP*1&]E<R!A;B!. M4T%R<F%Y(&%U=&]M871I8V%L;'D@<F5L96%S92!I=',@8V]N=&5N=',@=VAE M;B!I="!I<R!R96QE87-E9"X@($]R('!U="!A;F]T:&5R('=A>2P@:7,@:70@ M;F5C97-S87)Y('1O('-E;F0@86X@87)R87D@<F5M;W9E06QL3V)J96-T<R!B M969O<F4@<F5L96%S:6YG(&ET(&%S<W5M:6YG('1H870@>6]U(&1O(&YO="!N M965D('1H92!O8FIE8W1S(&EN<VED92!T:&4@87)R87DN("!)(&-O=6QD;B=T M(&9I;F0@86YY(&UE;G1I;VX@:6X@=&AE(&1O8W,N(%P*7`I4:&%N:W,@:6X@ M861V86YC92Y<"EP*+BXN36EK92Y<"EP*(%]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]<"GP@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@("`@("`@?%P*?"`@("!?7U\@("`@("`@ M("`@("`@("`@("!>("`@("`@("`@("`N+BX@("`@("`@("`@+UQ<("`@($)% M055424953"`@?%P*?"`@7WQ?.CI\("`@("!?7U]O("`@("`@("=\8%X@("`N M+B`@;U\@("`N("XN("`O7%P@+R`@7%P@("`@0E))5$E32"`@('Q<"GP@?#HZ M.GPZ?"`@("`@7%P@(%Q<+"`@("!>("=\8'Q@("`@*&!??"]?7U]?)RD@("\@ M("\@("`@+UQ<("`@0T],54U"24$@?%P*?"!\.CHZ?#I\("`H;RDO("`H;RD@ M("=\8"=\8'Q@8"`@("PL+R`@+B`N+BX@+B`N+B`@("`O("!<7"`@("`@("`@ M("`@?%P*?"TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2U\7`I\($UI8VAA96P@0RX@ M0V%M("`@("`@("`@12U-04E,("A.95A4("8@34E-12D@("`@4$A/3D4@-C`T M+3(V,RTW-C`Y('Q<"GP@3W!E;B!/8FIE8W0@4V]L=71I;VYS("!M:6ME8V%M M0'5N:7AG+G5B8RYC82`@("!&05@@("`V,#0M,C8S+3<V,#D@?%P*?%]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? 97U]?7U]?7U]?7U]?7U]?7U]\7`I<"@I]"E]? `
From: mikecam@unixg.ubc.ca (Michael C. Cam) Newsgroups: comp.sys.next.programmer Subject: Application.rtf is ActionCell.rtf ??? Date: 29 Sep 1995 07:37:44 GMT Organization: The University of British Columbia Distribution: world Message-ID: <44g7o8$8iu@nntp.ucs.ubc.ca> Hi, To my surprise in the Documentation directory, Application.rtf on my hard drive as well as the NS3.3 Developer CD actually contains ActionCell.rtf. Can someone point me to where I can find the docs on Application. Also, the size of Application.rtf (which contains ActionCell.rtf) is 2KB larger than ActionCell.rtf itself. Any comments on which to keep. Thanks in advance. ..Mike. ___________________________________________________________________ | | | ___ ^ ... /\ BEAUTIFUL | | _|_::| ___o '|`^ .. o_ . .. /\ / \ BRITISH | | |:::|:| \ \, ^ '|`|` (`_|/____') / / /\ COLUMBIA | | |:::|:| (o)/ (o) '|`'|`|`` ,,/ . ... . .. / \ | |-------------------------------------------------------------------| | Michael C. Cam E-MAIL (NeXT & MIME) PHONE 604-263-7609 | | Open Object Solutions mikecam@unixg.ubc.ca FAX 604-263-7609 | |___________________________________________________________________| -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!/:&QF<SM]"EQM87)G M;#$R,`I<;6%R9W(Q,C`*7'!A<F1<='@Y-C!<='@Q.3(P7'1X,C@X,%QT>#,X M-#!<='@T.#`P7'1X-3<V,%QT>#8W,C!<='@W-C@P7'1X.#8T,%QT>#DV,#!< M9C!<8C!<:3!<=6QN;VYE7&9S,C!<9F,P7&-F,"!(:2Q<"EP*5&\@;7D@<W5R M<')I<V4@:6X@=&AE($1O8W5M96YT871I;VX@9&ER96-T;W)Y+"!!<'!L:6-A M=&EO;BYR=&8@;VX@;7D@:&%R9"!D<FEV92!A<R!W96QL(&%S('1H92!.4S,N M,R!$979E;&]P97(@0T0@86-T=6%L;'D@8V]N=&%I;G,@06-T:6]N0V5L;"YR M=&8N("!#86X@<V]M96]N92!P;VEN="!M92!T;R!W:&5R92!)(&-A;B!F:6YD M('1H92!D;V-S(&]N($%P<&QI8V%T:6]N+B`@06QS;RP@=&AE('-I>F4@;V8@ M07!P;&EC871I;VXN<G1F("AW:&EC:"!C;VYT86EN<R!!8W1I;VY#96QL+G)T M9BD@:7,@,DM"(&QA<F=E<B!T:&%N($%C=&EO;D-E;&PN<G1F(&ET<V5L9BX@ M($%N>2!C;VUM96YT<R!O;B!W:&EC:"!T;R!K965P+EP*7`I4:&%N:W,@:6X@ M861V86YC92Y<"EP*+BXN36EK92Y<"EP*(%]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]<"GP@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@("`@("`@?%P*?"`@("!?7U\@("`@("`@ M("`@("`@("`@("!>("`@("`@("`@("`N+BX@("`@("`@("`@+UQ<("`@($)% M055424953"`@?%P*?"`@7WQ?.CI\("`@("!?7U]O("`@("`@("=\8%X@("`N M+B`@;U\@("`N("XN("`O7%P@+R`@7%P@("`@0E))5$E32"`@('Q<"GP@?#HZ M.GPZ?"`@("`@7%P@(%Q<+"`@("!>("=\8'Q@("`@*&!??"]?7U]?)RD@("\@ M("\@("`@+UQ<("`@0T],54U"24$@?%P*?"!\.CHZ?#I\("`H;RDO("`H;RD@ M("=\8"=\8'Q@8"`@("PL+R`@+B`N+BX@+B`N+B`@("`O("!<7"`@("`@("`@ M("`@?%P*?"TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2U\7`I\($UI8VAA96P@0RX@ M0V%M("`@("`@("`@12U-04E,("A.95A4("8@34E-12D@("`@4$A/3D4@-C`T M+3(V,RTW-C`Y('Q<"GP@3W!E;B!/8FIE8W0@4V]L=71I;VYS("!M:6ME8V%M M0'5N:7AG+G5B8RYC82`@("!&05@@("`V,#0M,C8S+3<V,#D@?%P*?%]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? 97U]?7U]?7U]?7U]?7U]?7U]\7`I<"@I]"E]? `
From: kiwi@cs.tu-berlin.de (Axel Habermann) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Q: ??? fprintf wouldn't print sometimes Followup-To: comp.sys.next.programmer,comp.sys.next.misc Date: 29 Sep 1995 10:24:10 GMT Organization: Technical University of Berlin, Germany Message-ID: <44ghga$sa8@news.cs.tu-berlin.de> References: <ZHAO.95Sep28150344@sparta.crl.nmsu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Z. Zhao (zhao@crl.nmsu.edu) wrote: : Is there any special requirements for C programs to print in NEXTSTEP? : Sometime I wrote very short C utility programs which 'fopen' and : 'fprintf' datafiles, but I could neither open and write the output : files nor fprintf the output to the console. However, if I run the : utilities in 'gdb', they would fopen and fprintf just fine. I tested : them in sunos, there is no problem with the programs at all. Is there : any trick to make my C programs behaving normally in NEXTSTEP? I have not encountered any problem doing what you want. Is anything special about your code? Axel -- Axel Habermann kiwi@cs.tu-berlin.de \\|// Muellerstr. 145 kiwi@buran.fb10.tu-berlin.de )o o( D-13353 Berlin (Wedding) \ | / Fon: +49 30 45478986 (privat) 030 314 24 764 (uni) \~/
From: pe5a014@rrz.uni-hamburg.de Newsgroups: comp.sys.next.programmer Subject: Q: How to build shared libraries Date: 29 Sep 1995 13:38:53 GMT Organization: University of Hamburg -- Germany Message-ID: <44gstd$gd8@rzsun02.rrz.uni-hamburg.de> Hi, does anybody know how to build shared libraries? I could not find anything about it in die manuals nor in the FAQs (only that they consist of two parts - but how to create them?) Thanks in advance Detlef
Newsgroups: comp.sys.next.programmer From: pelletk@il.us.swissbank.com (Ken Pelletier) Subject: Re: Using NXBrowser - please help Message-ID: <1995Sep29.150103.4156@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <44eqfo$od3@grid.Direct.CA> Date: Fri, 29 Sep 1995 15:01:03 GMT kclark@direct.ca writes > Hi. I am using a NXBrowser to display a list of objects. The objects > have a string label among their properties. I subclass NCBrowserCell and > store a pointer to the object. > > My problem is that Interface Builder won't let me specify what cell > class to use for the browser. During a LoadNibSection, my delegate gets a > browser:fillMatrix:inColumn. But the browser's matrix is of the wrong > cell class, so I can't addRow without getting the wrong cell class. > > I know that in browser:fillMatrix:inColumn I could do a > > if (![browser cellPrototype]) > [browser setCellPrototype:MyBrowserCell]; > > but this seems like a really bad hack. Shouldn't the cell class be set up > once upon init? > > I feel like I am missing something really obvious; please help if you > know. > Rather than testing if the prototype has been set each time browser:fillMatrix:inColumn: is called, set it once, perhaps inside of your delegate's init method. Other than that, I'd say you're on the right track. You can also use: [browser setCellClass:[NCBrowserCell class]]; - Ken
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Using NXBrowser - please help Date: 29 Sep 1995 01:13:15 +0100 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <e20t066tw.fsf@steffi.accessone.com> References: <44eqfo$od3@grid.Direct.CA> In-reply-to: kclark@direct.ca's message of 28 Sep 1995 18:45:12 GMT To: kclark@direct.ca <kclark@direct.ca> writes: >Hi. I am using a NXBrowser to display a list of objects. The objects >have a string label among their properties. I subclass NCBrowserCell and >store a pointer to the object. >My problem is that Interface Builder won't let me specify what cell >class to use for the browser. During a LoadNibSection, my delegate gets a >browser:fillMatrix:inColumn. But the browser's matrix is of the wrong >cell class, so I can't addRow without getting the wrong cell class. >I know that in browser:fillMatrix:inColumn I could do a > if (![browser cellPrototype]) > [browser setCellPrototype:MyBrowserCell]; >but this seems like a really bad hack. Shouldn't the cell class be set up >once upon init? >I feel like I am missing something really obvious; please help if you >know. Look at the _instance method_ setCellClass of NXBrowser. So you probably want to set the cell class in the nibs FileOwner's awakeFromNib. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: x@localhost (Rick Vazquez) Newsgroups: comp.sys.next.programmer Subject: NeXT Time Date: 29 Sep 1995 17:35:06 GMT Organization: California State University, Northridge Message-ID: <44haoa$d66@dewey.csun.edu> Does anyone know how I can upgrade my NeXT Time? Rick UCLA Physics
From: x@localhost (Rick Vazquez) Newsgroups: comp.sys.next.programmer Subject: NeXT Time Date: 29 Sep 1995 17:35:32 GMT Organization: California State University, Northridge Message-ID: <44hap4$d66@dewey.csun.edu> Does anyone know how I can upgrade my NeXT Time? Rick UCLA Physics
From: x@localhost (Rick Vazquez) Newsgroups: comp.sys.next.programmer Subject: Help Date: 29 Sep 1995 22:44:13 GMT Organization: California State University, Northridge Message-ID: <44hsrt$c4q@dewey.csun.edu> I have a file, a files named libInterceptor_s.A.shlib which is ment to replace my older one. When I copy the file over it looks faded and when I run my software it returns message that it is not a well formed Mach file! Can some one please help Rick UCLA Physics
From: seanl@carmi.cs.umd.edu (Sean Luke) Newsgroups: comp.sys.next.programmer Subject: Re: LEX - generator of lexical analysis programs Date: 30 Sep 1995 22:07:42 GMT Organization: University of Maryland, College Park Message-ID: <44kf3e$f25@hecate.umd.edu> References: <Pine.NXT.3.91.950924112720.21939A-100000@nx43.mik.uky.edu> <812018506snz@cedar.demon.co.uk> Cedar Systems (Cedar@cedar.demon.co.uk) wrote: >We have found the following book very useful: >Title: lex & yacc >Authors: John R. Levine, Tony Mason & Doug Brown >Publisher: O'Reilly & Associates, Inc. >ISBN: 1-56592-000-7 And, of course, there's always the Dragon Book, with a small but useful introduction to lex, plus a very thorough introduction to lexers (which "Lex & Yacc" above are SERIOUSLY missing): Title: Compilers: Principles, Techniques, and Tools Authors: Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman Publisher: Addison-Wesley ISBN: 0-201-11088-6 Sean Luke seanl@cs.umd.edu
From: jbettis@cse.unl.edu (Jeremy Bettis) Newsgroups: comp.sys.next.programmer Subject: Re: identifying class objects Date: 30 Sep 1995 22:41:56 GMT Organization: University of Nebraska--Lincoln Message-ID: <44kh3k$m3p@crcnis3.unl.edu> References: <ALBERT.95Sep25204014@beowulf.gamp.hacom.nl> <44i67h$1th@nwestmail.nwest.mccaw.com> eric.hermanson@attws.com (Eric Hermanson) writes: >In article <ALBERT.95Sep25204014@beowulf.gamp.hacom.nl> >albert@beowulf.gamp.hacom.nl (Albert Mietus) writes: >> In article <444chd$9l5@boson.epita.fr> odp@meson.epita.fr (objets >distribues persistants) writes: >> >> > I'm working with class objects (under NS), and I want >> > to ask a class object if it is a subclass of another class; >> > but I can't find any message or objc function that can do that :-( > >> In Obj-C *all* messages that can be send to a instance of Object can >> also be send to a class. > >No. You cannot send an INSTANCE method to a CLASS object. You have not been paying attention. Yes you can. All instances of the Object object, are also class methods. This is because the the Object class is it's own meta class or something. So there is a +init method, it is just not very useful. But this does mean that if -isKindOf: is implemented by the Object class, than so is +isKindOf:. Where you have to be careful is where the method doesn't check to see if it has been called as an instance method or a class method and does the wrong thing in one case. (Doesn't happen often) -- Jeremy Bettis -*- PGP Public key available -*- University of Nebraska INET: jbettis@cse.unl.edu "Those who stand in the middle of the UUCP: jeremy@tddi.UUCP,jeremy@hksys.com road are often hit by passing cars." <a href="http://cse.unl.edu/~jbettis/">Click Here</a>
Newsgroups: comp.sys.next.programmer From: joerd@unicorn.it.wsu.edu (Wayne Joerding - Economics) Subject: Trouble with .gdbinit Sender: news@serval.net.wsu.edu (News) Message-ID: <DFHFJH.LFF@serval.net.wsu.edu> Date: Mon, 25 Sep 1995 22:23:40 GMT Organization: Washington State University I upgraded to 3.3 and gdb seems to have stopped reading my .gdbinit files. I checked the current documentation and don't see anything different about .gdbinit from 2.0. Can some kind person tell me if I've missed or forgotten something stupid? Thanks Wayne
From: premise@umich.edu (Sean Michael Willson) Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.advocacy Subject: WEB ADDRESS CHANGE Date: 30 Sep 1995 23:20:45 GMT Organization: University of Michigan Message-ID: <44kjcd$4po@lastactionhero.rs.itd.umich.edu> My home page on the net with the HTML OpenStep Specification and tons of NeXT info is changing addresses from: http://www.engin.umich.edu/~premise/ to http://www-personal.engin.umich.edu/~premise/ If you have any questions or comments about the pages or anything e-mail me. I am looking for more people to put on my people pages also......... Sean Willson -- _________________________________________________________________________ Sean M. Willson premise@umich.edu Foundation Software Solutions MIME, ASCII, NeXTMail Object Oriented Application Development Specializing in NeXT/OpenStep Internet Home Page http://www.engin.umich.edu/~premise/foundation/ 1800 Washtenaw Ave. Ann Arbor Mi, 48104 (313) 669-0565 _________________________________________________________________________
From: Stephen Arons <arons@panix.com> Newsgroups: comp.sys.next.programmer Subject: Re: LEX - generator of lexical analysis programs Date: 1 Oct 1995 03:59:32 GMT Organization: PANIX Public Access Internet and Unix, NYC Message-ID: <44l3n4$cjf@news1.panix.com> References: <Pine.NXT.3.91.950924112720.21939A-100000@nx43.mik.uky.edu> <812018506snz@cedar.demon.co.uk> <44kf3e$f25@hecate.umd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit A brief but thorough introduction to lex by its creator M.E. Lesk is "Lex - A Lexical Analyzer Generator", reprinted in the bsd docs and also in Unix Research System: Papers, 10th Ed., v. 2 (ISBN 0-03-047529-5). Hope this helps.
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: identifying class objects Date: 01 Oct 1995 01:23:23 +0100 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eivmadpc4.fsf@steffi.accessone.com> References: <ALBERT.95Sep25204014@beowulf.gamp.hacom.nl> <44i67h$1th@nwestmail.nwest.mccaw.com> In-reply-to: eric.hermanson@attws.com's message of 30 Sep 1995 01:24:01 GMT To: eric.hermanson@attws.com <eric.hermanson@attws.com> writes: >In article <ALBERT.95Sep25204014@beowulf.gamp.hacom.nl> >albert@beowulf.gamp.hacom.nl (Albert Mietus) writes: >>In article <444chd$9l5@boson.epita.fr> odp@meson.epita.fr (objets >distribues persistants) writes: >> >>> I'm working with class objects (under NS), and I want >>> to ask a class object if it is a subclass of another class; >>> but I can't find any message or objc function that can do that :-( >>In Obj-C *all* messages that can be send to a instance of Object can >>also be send to a class. >No. You cannot send an INSTANCE method to a CLASS object. >From the NeXT documentation on Core Objective-C: >Although a class object keeps the prototype of a class instance, it's not >an instance itself. It has no instance variables of its own and it can't >perform methods intended for instances of the class. However, a class ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >definition can include methods intended specifically for the class >object class methods as opposed to instance methods. A class object >inherits class methods from the classes above it in the hierarchy, just as >instances inherit instance methods. I believe this is an attempt to say that you cannot get at an intances state via a class object. BTW: #import <objc/Object.h> #import <objc/HashTable.h> main() { id obj1, obj2, obj3; obj1 = [Object class]; obj2 = [Object class]; obj3 = [HashTable class]; printf("%d\n",[obj1 isEqual:obj2]); printf("%d\n",[obj1 isEqual:obj3]); printf("%d\n",[obj1 hash]); printf("%d\n",[obj1 isKindOf:[Object class]]); printf("%d\n",[obj1 isMemberOf:[Object class]]); printf("%s\n",[obj1 name]); printf("%s\n",[[obj1 class] name]); printf("%s\n",[[[obj1 class] class] name]); printf("%d\n",[obj1 respondsTo:@selector(perform:)]); } root:/tmp>./try 1:22 1 0 16801912 1 0 Object Object Object 1 >Eric -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: mmalcolm crawford <m.crawford@dcs.shef.ac.uk> Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: Re: Strange Lack of NeXT SGML Tools ?? Date: Sun, 1 Oct 1995 10:18:11 GMT Organization: Institute for Language Speech and Hearing, Sheffield University Sender: mmalcolm Crawford <m.crawford@dcs.shef.ac.uk> Distribution: world Message-ID: <951001111811.1686AACUJ.malc@daneel> References: <44ittl$9at@sparcserver.lrz-muenchen.de> Mime-Version: 1.0 (Generated by Eloquent) Content-Type: text/plain; charset=US-ASCII If anyone is working on any SGML tools, I'd be interested to know about them too... Have fun, mmalc.
From: rdk@khaderp.vnet.net () Newsgroups: comp.sys.next.programmer Subject: Looking for 3D Diagram! shapes Date: 1 Oct 1995 13:03:47 GMT Organization: Vnet Internet Access BETA News Server Message-ID: <44m3jj$s9g@mindy.vnet.net> Hi there, I am looking for 3D shapes for a presentation. I seem to remember that there was a free 3D palette for Diagram on the internet. Any knows where can I find it. Or if there is other palettes. . Thanks rdk@khaderp.vnet.net
From: mpaque@aol.com (Mpaque) Newsgroups: comp.sys.next.programmer Subject: Re: NSArray release ... does it release contents as well? Date: 1 Oct 1995 12:00:23 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <44mdun$def@newsbf02.news.aol.com> References: <44g7mj$8ir@nntp.ucs.ubc.ca> In article <44g7mj$8ir@nntp.ucs.ubc.ca>, mikecam@unixg.ubc.ca (Michael C. Cam) writes: >Does an NSArray automatically release its contents when it is >released. Or put another way, is it necessary to send an array >removeAllObjects before releasing it assuming that you do not need >the objects inside the array. I couldn't find any mention in the >docs. NSarray retains things added to it, and, when the NSArray is finally deallocated, releases it's contents. There is no need to do a removeAllObjects: before releasing the array. Mike Paquette -- I don't speak for NeXT, and NeXT doesn't speak for me. Fair deal...
From: mpaque@aol.com (Mpaque) Newsgroups: comp.sys.next.programmer Subject: Re: NSZone -> NXZone? Date: 1 Oct 1995 12:00:23 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <44mdun$dee@newsbf02.news.aol.com> References: <44g7jc$8ik@nntp.ucs.ubc.ca> In article <44g7jc$8ik@nntp.ucs.ubc.ca>, mikecam@unixg.ubc.ca (Michael C. Cam) writes: >Has anyone used NXApp's loadNibFile ... fromZone: with a zone of type >NSZone as opposed to NXZone. > >I get the following warning ... >NetworkInterface.m:92: warning: passing arg 4 of >`loadNibFile:owner:withNames:fromZone:' from incompatible pointer >type > >but everything seems to load ok. Should I be worried? No. Only the names have been changed, to implement OPENSTEP... NSZone and NXZone are currently interchangable, to ease conversion headaches and promote interoperability between the new Foundation and old AppKit. Mike Paquette -- I don't speak for NeXT, and NeXT doesn't speak for me. Fair deal...
From: mpaque@aol.com (Mpaque) Newsgroups: comp.sys.next.programmer Subject: Re: Q: How to build shared libraries Date: 1 Oct 1995 12:00:36 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <44mdv4$dek@newsbf02.news.aol.com> References: <44gstd$gd8@rzsun02.rrz.uni-hamburg.de> In article <44gstd$gd8@rzsun02.rrz.uni-hamburg.de>, pe5a014@rrz.uni-hamburg.de writes: >does anybody know how to build shared libraries? I could not find anything >about it in die manuals nor in the FAQs (only that they consist of two >parts - but how to create them?) First the bad news... Shared libraries under Release 3.3 and earlier can't be built by people outside of NeXT itself. Heck, they can't even be built or updated by people inside NeXT Engineering without serious amounts of burnt offerings, chicken entrails, and invoking the intervention of Kev the ShlibMiester. In other words, they were way too hard to configure, and almost impossible to update. The Good News... In the next NEXTSTEP release, 4.0, constructing shared libraries is as easy as building conventional libraries. Kev and the rest of the Devtools gang have been seriously busy... Mike Paquette -- I don't speak for NeXT, and NeXT doesn't speak for me. Fair deal...
From: heberlei@cs.ucdavis.edu (Louis Todd Heberlein) Newsgroups: comp.sys.next.software,comp.sys.next.misc,comp.sys.next.programmer Subject: Re: Strange Lack of NeXT SGML Tools ?? Date: Sun, 01 Oct 1995 13:02:57 -0800 Organization: UC Davis, Computer Science Dept. Distribution: world Message-ID: <heberlei-0110951302570001@dissertation.cs.ucdavis.edu> References: <44ittl$9at@sparcserver.lrz-muenchen.de> > My question is desperately simple : are there any tools for NeXTSTEP that can produce correct SGML output ? ... > I would very much appreciate any hints I am afraid I cannot be of much help regarding tools to produce SGML results. However, some ambitious programer might want to check out http://www.jclark.com/sp.html SP (formally known as sgmls) is a free SGML-compliant parser. A number of pre-compiled versions are on Clark's web site, but I didn't see one for NEXTSTEP. You will have to take the source code and recompile it (it is in C++). I have not looked at it myself; I started reading about SGML and HTML only last week. Hope someone takes it and runs with it. Todd
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.programmer Subject: Workaround for POSIX append bug ? Date: 1 Oct 1995 22:14:58 GMT Organization: University of Heidelberg, Germany Message-ID: <44n3t2$9ab@sun0.urz.uni-heidelberg.de> Well, there is this nice, well-known append bug with POSIX support in NEXTSTEP 3.x, which Eric Scott describes as follows: If you use POSIX at all on the NeXT, there's a nasty bug you should know about. There is a fundamental bug in the way IO buffering is handled on the NeXT when using POSIX. Essentially, if you append to a file with a posix application, null bytes will be written to the file instead of the correct data. To reproduce the bug, just create a posix hello-world program and append it's output to an existing file. The file's size will be right, but it's contents will be null bytes. This has been a bug since 3.1 on all platforms. It isn't fixed in 3.2 and (I'm told) isn't fixed in 3.3 either. Is there any workaround if I really need POSIX support for a program ? mgetty doesn't like BSD sgtty, but POSIX termios is ok. The bad thing is that the log-file is useless, since it's garbled once you've read it. Gregor -- | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: sonic@leland.Stanford.EDU (Patrick Conway Donohue) Newsgroups: comp.sys.next.programmer Subject: Compiling GCC on Cube running 3.2 Date: 1 Oct 1995 16:52:24 -0700 Organization: Stanford University, CA 94305, USA Message-ID: <44n9jo$o3t@elaine6.Stanford.EDU> Hi, I've been trying to compile gcc 2.6.0 on a NeXT Cube running the 3.2 OS. I get a lot of missing files errors when I try to make it. My guess for what's wrong is that this NeXT used to be on an AFS network, and I believe they used common include and library files on a remote machine connected through AFS. So my question is, should I download a new copy of cc for the NeXT and install it, so I can compile gcc? If so which version should I get and will I be able to install it without having to compile it, cc that is? Or is there a way to install gcc without having to compile it? Thanks, Patrick *************************************************************************** *Patrick C. Donohue /\ sonic@leland.stanford.edu * *Stanford University < >--------------------------------------------* *Dept. of Comp. Science \/ Networking and Computing Consultant * *pdonohue@cs.stanford.edu /\ sonic@rescomp.stanford.edu * ***************************************************************************
From: hyongsop@dip.eecs.umich.edu (Hyong Sop Shim) Newsgroups: comp.sys.next.programmer Subject: Strange Problem with "- write:" -- PLEASE HELP! Date: 2 Oct 1995 03:33:55 GMT Organization: University of Michigan EECS Dept. Message-ID: <44nmj3$eec@news.eecs.umich.edu> Hi, While writing an object to a stream, I encountered a very strange behavior in "- write:(NXTypedStream *)stream." The first statement in the method is "[super write:stream]," and the problem is that the execution suddenly gets out of NXWriteRootObject () while executing this statement. "super" is the Window class. The application seems to behave normally otherwise; it just wouldn't do [super write:stream]. The funny thing is that I very often use the read: and write: methods in my applications and that this is the very first time that I encountered this problem. Any help on this matter would be greatly appreciated. I eagerly look forward to hearing from you all. --Shim (hyongsop@eecs.umich.edu)
Newsgroups: comp.sys.next.programmer From: gerti@BITart.com (Gerd Knops) Subject: How can a program add files to PB? Message-ID: <DFsyFt.2n4@BITart.com> Sender: usenet@BITart.com Organization: BITart, NEXTSTEP/OPENSTEP Consulting Date: Mon, 2 Oct 1995 03:45:29 GMT Hi, Does anyone know how a program adds files to a project in PB like IB does with nib files? gerti
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 2 Oct 1995 04:15:09 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <44np0d$qgn@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Q: ??? fprintf wouldn't print sometimes Date: 1 Oct 1995 22:29:32 GMT Organization: my own Message-ID: <44n4oc$jbv@gate.seicom.net> References: <ZHAO.95Sep28150344@sparta.crl.nmsu.edu> What is wrong with fprintf? #include <stdio.h> int main() { fprintf(stdout,"This goes to stdout\n"); return 0; } works perfectly! --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy
From: root@helser08.res.iastate.edu (Operator) Newsgroups: comp.sys.next.programmer Subject: Problem with NXCreateZone in Zephyr client... Date: 2 Oct 1995 05:04:20 GMT Organization: Iowa State University, Ames, Iowa Distribution: world Message-ID: <44nrsk$qkv@news.iastate.edu> Keywords: Zephyr NXCreateZone MIT Hello, I am having a problem with the client programs zwgc and zctl in the Athena distribution of Zephyr. I can get everything to compile (with a little tweaking) in NeXTSTEP, however, the previous mentioned programs have an odd run-time bug. It seems that whenever I run them, I get the following error: .. helser08:46# zctl Floating exception helser08:47# .. Now, when I compile the programs with debug info in them, I get this message: .. (gdb) run Starting program: /usr/local/zephyr-2.0-beta2/clients/zctl/zctl Program generated(3): Arithmetic exception. 0xc53f in NXCreateZone () (gdb) where Reading in symbols for crt0.c...done. #0 0xc53f in NXCreateZone () #1 0xc056 in malloc_init () #2 0xe789 in malloc () #3 0x1a4e7 in cproc_alloc () #4 0x1a59d in cproc_init () #5 0x19b1e in cthread_init () #6 0x379f in start () at crt0.c:102 (gdb) .. Can anyone tell me what is wrong? There are some wierd Zephyr/Athena/MIT libraries that are included: (in the Makefile) LDFLAGS=$(DEBUG) -L$(BUILDTOP)/lib/zephyr -L$(BUILDTOP)/lib/et -L$(BUILDTOP)/lib/ss LIBS=-lzephyr -lss -lcom_err -lposix .. However, I am not sure that these are the cause. Has anyone encountered this problem? Any help is appriciated... Matt Shores
Newsgroups: comp.sys.next,comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc From: 9222677@ul.ie Subject: RE: Audio conferencing programming help Message-ID: <DFtFsC.IBL@ul.ie> Sender: usenet@ul.ie Organization: University of Limerick Date: Mon, 2 Oct 1995 16:58:37 GMT Can you help me I'm doing a project on audio conferencing on a LAN and would appreciate any guidelines that would help me. (ie. ftp sites of useful programs or www sites etc.) If you can help in any way you can Email me or attach your reply to this message. Thanks again. Email - 9222677@ul.ie
From: barclay@king.trs.ntc.nokia.com (Alan Barclay) Newsgroups: comp.sys.next.programmer Subject: SLList in libg++ Date: 2 Oct 1995 07:56:51 GMT Organization: Nokia Group Message-ID: <44o603$j9a@axl02it.ntc.nokia.com> Keywords: SLList I am running NeXTstep Developer 3.2 on a Pentium machine. The following piece of code gives lots of errors in SLList.h - not at include time but only when a SLList is being instantiated. What is going on here? #include <SLList.h> int main() { SLList<int> list; // Errors occur here } Thanks, Alan Barclay ---- This item has nothing to do with Nokia.
From: Matija Exel <exel@lag.ensieg.fr> Newsgroups: comp.sys.next.programmer Subject: IB standard menu palette: missing target actions?! Date: 2 Oct 1995 14:14:39 GMT Organization: E.N.S.I.E.G./Service Informatique et L.A.G. Message-ID: <44os4f$m4j@cicg-communication.grenet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello, context: IB under NS 3.2 problem: missing target actions I would like to use the Edit>Find> submenu within my application. However, when you try to set the target's (1st Responder) actions for the cells of this submenu - say Find Panel... (the action should be showFindPanel), you fail miserably: the Actions list of the Menu cell inspector DOES NOT list the corresponding actions. The corresponding code should be somewhere as Edit.app uses it. I also searched under InterfaceBuilder.app where a table for the 1st responder is visible (firstResponder.table). However, just adding "showFindPanel" action to this table does'nt help. I hope the solution is trivial - i must be overlooking something... Thanx for help! ----------------------------------------------------------------- Matija Exel, E.N.S.I.E.G., Service Informatique et L.A.G., Tel : 76 82 71 12 Fax: 76 82 63 88 e-mail : exel@lag.ensieg.fr (NO NextMail please) -----------------------------------------------------------------
From: Steven Evans <sevans@andersen.co.uk> Newsgroups: comp.sys.next.programmer Subject: memory problem Date: 2 Oct 1995 14:46:51 GMT Organization: Andersen Consulting (UK Practice) Message-ID: <44ou0r$dqi@aclondon.andersen.co.uk> Hi All, We are currently developing a Next app using Sybase 10. We are using the Sybase 4.6 client lib as supplied in Nextdeveloper 3.2. We are encountering a memory error and wish to see if anyone else has a similar problem. We think the error only happens when accessing Sybase and after a number of successful Sybase calls. We have tried the malloc debugger and this prevents the error from arising so we cannot debug the error!! Does anyone have any suggestions? Many thanks in advance eddie chan An example GDB back trace follows below. Note that the app crashes randomly at different places but the lines 0-5 of the back trace are always the same and refer the sybase dblib calls. The following error and backtrace as reported by GDB: Program generated(1): Memory access exception on address 0x2776128 (invalid address). 0x5007f44 in nxzonefreenolock () #0 0x5007f44 in nxzonefreenolock () #1 0x5008660 in free () #2 0x3619f in rowfree () #3 0x35f92 in tidyproc () #4 0x31a59 in db__sqlxactsend () #5 0x31967 in dbsqlexec () #6 0x29245 in -[ImDBProcess runCommandStr:] (self=0x5d0fbc, _cmd=0x7d938, cmdStr=0x6cb524 "EXECUTE C_DCMapSecurityEPIC 'BARC' ") at ImDBProcess.m:228 #7 0x2b1e9 in +[ImDatabaseService runCommand:] (self=0x6cb68, _cmd=0x7dadc, sqlobj=0x6cad4c) at ImDatabaseService.m:540 #8 0x2b109 in +[ImDatabaseService execCommand:resultClass:commandType:] (self=0x6cb68, _cmd=0x7dae8, sqlobj=0x6cad4c, cls=0x6c078, cmdType=2) at ImDatabaseService.m:499 #9 0x2cd2f in -[ImObjectSource getUsing:] (self=0x69eb74, _cmd=0x7d7d4, sqlProcName=0x6c85b0 "C_DCMapSecurityEPIC 'BARC'") at ImObjectSource.m:362
From: par@MCS.COM (Peter Richardson) Newsgroups: comp.sys.next.programmer Subject: NXConnection Question Date: 2 Oct 1995 13:23:01 -0500 Organization: MCSNet Services Message-ID: <44pam5$ihk@Mercury.mcs.com> I am trying to use an NXConnection for the first time. I am trying to create something that will run 24x7 on a machine, have no interrface, accept connections from other processes and do all of the work for them. Thanks to the help of others before, I have this almost working. My current problem is that the program accepts a connection, processes everything, then exits. This leads me to the speculation, from what I've been able to find and read, that running a connection is good for 1 and only one connection. I can't figure out how the connecting program should gracefully release the connection so that some other program can get it. Is this a correct assumption? Is there something to connecting process should do so that the server does not get the connection invalidation? Thanks for any help Peter Richardson
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US - NY/DC/CO/FL/IL - NeXT/EOF Developers - Fulltime/PerDiem Date: 2 Oct 1995 20:02:44 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <44puj4$ie0@newsbf02.news.aol.com> Several of my top clients across the country are ramping up for major NeXT development projects that will be rolled out in 96/97, on several different hardware platforms. A common feature in these new development efforts is the use of new development and OO products such as NeXTStep 4.0, OpenStep, Hot Java, EOF, Windows NT, Solaris and Webtools. Which will run on NeXT, Intel and/or Sun I would like to hear from NeXT development professionals with experience in any environment (software vendor, banking, insurance, consulting, Fortune 500). You must have a minimum of 12 months NeXT experience (exposure to Sybase or Oracle would be a plus), and live or want to live in the following areas: New York City, Washington DC/Virginia, Florida, Chicago, or Colorado. Salaries are excellent, as well as the per diem and project rates. New York and Colorado are very hot right now!!!!. Call me for more information. Contact: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX) e-mail - dtg1@ix.netcom.com e-mail - briman101@aol.com
Newsgroups: comp.sys.next.programmer From: gerti@BITart.com (Gerd Knops) Subject: Re: IB standard menu palette: missing target actions?! Message-ID: <DFuvv7.8un@BITart.com> Sender: usenet@BITart.com Organization: BITart, NEXTSTEP/OPENSTEP Consulting References: <44os4f$m4j@cicg-communication.grenet.fr> Date: Tue, 3 Oct 1995 04:45:07 GMT In article <44os4f$m4j@cicg-communication.grenet.fr> Matija Exel <exel@lag.ensieg.fr> writes: > > hello, > > context: IB under NS 3.2 > problem: missing target actions > > I would like to use the Edit>Find> submenu within my > application. However, when you try to set the target's (1st > Responder) actions for the cells of this submenu - say > Find Panel... (the action should be showFindPanel), you fail > miserably: the Actions list of the Menu cell inspector DOES NOT > list the corresponding actions. > The corresponding code should be somewhere as Edit.app uses > it. > I also searched under InterfaceBuilder.app where a table for > the 1st responder is visible (firstResponder.table). However, > just adding "showFindPanel" action to this table does'nt help. > > I hope the solution is trivial - i must be overlooking > something... > Ja, like: there is no shared FindPanel! gerti
Newsgroups: alt.winsock.programming,comp.client-server,comp.os.ms-windows.networking.misc,comp.os.ms-windows.networking.tcp-ip,comp.os.ms-windows.networking.windows,comp.os.ms-windows.nt.software.compatibility,comp.os.ms-windows.programmer.networks,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.tools.winsock,comp.os.os2.programmer.porting,comp.os.os2.programmer.tools,comp.os.os2.tcpip,comp.os.vxworks,comp.soft-sys.dce,comp.sys.dec,comp.sys.hp.hpux,comp.sys.mac.programmer.tools,comp.sys.next.programmer,comp.sys.pyramid,comp.sys.sgi.misc,comp.sys.sun.misc,comp.unix.aix,comp.unix.amiga,comp.unix.osf.osf1,comp.unix.programmer,comp.unix.sco.programmer,comp.unix.solaris,comp.unix.sys5.r4,comp.unix.ultrix,comp.unix.unixware,vmsnet.networks.tcp-ip.cmu-tek,vmsnet.networks.tcp-ip.misc,vmsnet.networks.tcp-ip.multinet,vmsnet.networks.tcp-ip.tcpware,vmsnet.networks.tcp-ip.ucx,vmsnet.networks.tcp-ip.wintcp From: noblenet@world.std.com (NobleNet Inc.) Subject: Announce: NobleNet EZ-RPC Mailing List Message-ID: <DFv4H4.3z4@world.std.com> Followup-To: poster Keywords: Client-Server RPC XDR ONC IDL NobleNet EZ-RPC Organization: NobleNet, Inc. Date: Tue, 3 Oct 1995 07:51:04 GMT EZ-RPC MAILING LIST GOES ONLINE NobleNet, Inc. is pleased to announce the creation of an unmoderated mailing list for the discussion of EZ-RPC products on all platforms, client-server programming in general, RPCs, IDLs, XDR, and other related topics. The EZ-RPC mailing list is an unmoderated mailing list owned by NobleNet, Inc., the company that publishes EZ-RPC, WinRPC, OneDriver ODBC SDK, and other development tools that facilitate client-server programming. To subscribe to the mailing list, send an email message containing just the single word "subscribe" (no quotes) in the body to: ezrpc-request@world.std.com There is no digest version available, although one will be added if list volume warrants. If you'd like more information on NobleNet products, send an email message to sales@noblenet.com; visit our Web site at http://www.noblenet.com; or call us at +1 508/460-8222.
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <doug@thoughtful.com> Date: Tue, 3 Oct 95 11:13:02 -0600 From: doug@thoughtful.com (Douglas Simons) Message-ID: <9510031713.AA16366@thoughtful.com> Subject: How can I temporarily exclude mouse-moved events? Hello, Our application accepts mouse-moved events to keep track of the mouse location. This works fine, but if you move the mouse around during long operations when the program is busy (even if you've switched your focus to a different application) the mouse-moved events pile up and overflow the event queue, resulting in a *huge* stream of "Event Discarded" messages in the console. I've tried setting the window's event mask to NOT accept mouse-moved events during these lengthy operations, and then set the event mask back again, but this didn't seem to work. So I'm wondering if somehow the app needs to return to the event loop for the mask change to take effect, or what? Or maybe there is a secret application-wide event mask separate from the window's event mask? Does anyone know anything more about how events are processed and at what level the masking of events occurs? I suppose I could try clearing out all mouse-moved events from the queue periodically during my long operation, but that seems like a very inefficient approach. Setting an event mask seems to prevent the unwanted events from ever getting put in the queue which would be much better. Thanks for any help. Doug P.S. Please reply by email -- I normally receive this newsgroup in digest form, but something seems to have happened to the digest server -- I haven't received any news digests for almost 2 weeks (anyone know what the problem is??) -- thanks!
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <waffle!randyn@crt.com> Message-ID: <9510032131.AA00345@hurricanes> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Randy Nelson <randyn@crt.com> Date: Tue, 3 Oct 95 16:31:34 -0500 Subject: Driver for DeskJet 600C for ghostscript Hello, I am trying to use GhostScript to print to a DeskJet 600C on an Intel NeXT. (parallel) When I print, the print head makes noises, but never does put anything on the paper. I have been trying to use the DeskJet 550C driver (cdj550c) (the 550C driver under Windows 95 works for the 600C as well), but I guess it doesn't work on NeXT. So, does anyone know if there is a GhostScript driver for the HP DeskJet 600C? Thanks, Randy Nelson randyn@crt.com
From: rbose@io.com (Robert Bose) Newsgroups: comp.sys.next.programmer Subject: Odd postscript error Date: 3 Oct 1995 19:41:46 -0500 Organization: Illuminati Online Message-ID: <44sl8a$9jq@bermuda.io.com> I was playing with the NeXT example TextORama and after resizing the sample window a few times I encountered the following error (on the console): Oct 3 17:48:11 swift TextORama[235]: %%[ Error: undefinedresult; OffendingCommand: bin obj seq, type=129, elements=5, size=148 ]%% The doc view changed from white to gray and would not return. I'm trying to add emacs key binding to my WebWriter application and this seemed like the best example of how do do it. I'd appreciate any help... Robert Bose rbose@arcane.com Arcane Systems .
From: dave@turbocat.snafu.de (David Wetzel) Newsgroups: comp.sys.next.programmer Subject: Browser? Date: 4 Oct 1995 01:16:17 GMT Organization: Turbocat's Development, Germany Message-ID: <44sn91$qct@turbocat.snafu.de> Hi there! How do I fill a browser with some data? Thanks in advance -- _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Phone +49 33056 82151, Fax +49 33056 82152 (______) dave@turbocat.snafu.de (NeXTMail)
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Colin Spencer of Tower Training? Date: 03 Oct 1995 20:44:08 +0100 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eivm68i9j.fsf@steffi.accessone.com> If Colin Spencer of Tower Training in the UK is reading this would he please reply. If anybody has an email address for Tower in the UK it would be much appreciated. I apologise for this intrusion. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Re: Problem with NXCreateZone in Zephyr client... Message-ID: <DFv5EH.7u@hurka.UUCP> Keywords: posix Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <44nrsk$qkv@news.iastate.edu> Date: Tue, 3 Oct 1995 08:11:04 GMT Hi Matt, In article <44nrsk$qkv@news.iastate.edu> root@helser08.res.iastate.edu (Operator) writes: > Hello, I am having a problem with the client programs zwgc and > zctl in the Athena distribution of Zephyr. I can get everything > to compile (with a little tweaking) in NeXTSTEP, however, the > previous mentioned programs have an odd run-time bug. It seems > that whenever I run them, I get the following error: > .. > helser08:46# zctl > Floating exception > helser08:47# > .. > Now, when I compile the programs with debug info in them, I get this > message: > .. > (gdb) run > Starting program: /usr/local/zephyr-2.0-beta2/clients/zctl/zctl > Program generated(3): Arithmetic exception. > 0xc53f in NXCreateZone () > (gdb) where [stuff deleted]; > Can anyone tell me what is wrong? NEXTSTEP uses different start-up code posixcrt0.o instead of normal crt0.o if you compile posix source. The problem you are referring to, happen when you link the NEXTSTEP start-up code with posix library. Add -posix flag to you your compiler flags to tell the compiler to compile correctly the posix source and link it with the posix start-up code. > There are some weird Zephyr/Athena/MIT libraries that are included: > (in the Makefile) > LDFLAGS=$(DEBUG) -L$(BUILDTOP)/lib/zephyr -L$(BUILDTOP)/lib/et > -L$(BUILDTOP)/lib/ss > LIBS=-lzephyr -lss -lcom_err -lposix I hope it helps you. --- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted) -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: kelleycomp@aol.com (KELLEYcomp) Newsgroups: comp.sys.next.programmer Subject: Tech Question= Converting Keyboards Date: 4 Oct 1995 02:49:20 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <44tapg$lq8@newsbf02.news.aol.com> Need to convert Serial (Din 8) keyboards into ADB... is this possible? If so HOW. Thanks KELLEY computers 4323 Anthony Court Unit #1 Rocklin CA 95677 916-652-1880 * 916-652-1881 fax KELLEYcomp@AOL.com
From: Paul Lynch <paul@griffin.plsys.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Colin Spencer of Tower Training? Date: Wed, 4 Oct 1995 08:30:32 GMT Organization: P & L Systems, Ltd Sender: usenet@griffin.plsys.co.uk Message-ID: <DFx0yw.7I3@plsys.co.uk> References: <eivm68i9j.fsf@steffi.accessone.com> In article <eivm68i9j.fsf@steffi.accessone.com> robert@steffi.accessone.com (Robert Nicholson) writes: > If Colin Spencer of Tower Training in the UK is reading this would he > please reply. > > If anybody has an email address for Tower in the UK it would be much > appreciated. I apologise for this intrusion. I am not aware of an email address for Tower; Colin does NOT work for Tower, he is a freelancer. I believe that he has a Demon address, and I have that somewhere at home. Paul -- Paul Lynch (NeXTmail) paul@plsys.co.uk Tel: (01494)432422 P & L Systems Fax: (01494)432478 http://www.plsys.co.uk/~paul
From: otto@olcs.com (Otto Lind) Newsgroups: comp.sys.next.programmer Subject: Re: Workaround for POSIX append bug ? Date: 3 Oct 1995 19:48:24 GMT Organization: Otto Lind Consulting Services Message-ID: <44s428$p10@olcs.olcs.com> References: <44n3t2$9ab@sun0.urz.uni-heidelberg.de> Gregor Hoffleit (flight@mathi.uni-heidelberg.de) wrote: : Is there any workaround if I really need POSIX support for a program ? : mgetty doesn't like BSD sgtty, but POSIX termios is ok. The bad thing : is that the log-file is useless, since it's garbled once you've read : it. I just hacked mgetty to open the log file with write instead of instead of append. You could move the old log file each time you do this if you want to maintain a complete log file. This problem has bit me several timed (e.g. samba) and has required me to remove the posix code, or do hacks like the above. Any less painful workarounds would be greatly appreciated. Otto P.S. Can you believe that NeXT refuses to fix such a fundamental problem like this? -- Otto Lind Otto Lind Consulting Services otto@olcs.com 4890 Ashley Lane #311, Inver Grove Hts, MN 55077 skypoint!olcs!otto voice:(612)457-1080 fax:(612)457-0761
From: traynor@newton.texel.com (Christopher J. Traynor) Newsgroups: comp.sys.next.programmer Subject: Re: How can I temporarily exclude mouse-moved events? Date: 4 Oct 1995 10:06:33 GMT Organization: Texel International Message-ID: <44tmba$9fe@newton.texel.com> References: <9510031713.AA16366@thoughtful.com> Doug: You can set an event filter function for your application that can filter out the unwanted events. Use a global variable in the function's source file and an access function to set and clear the flag. The filter function will remove the unwanted events and they will never get to the queue. Look at the function documentation for DPSSetEventFunc(). You will know your way from there.. Cheers, Chris Douglas Simons (doug@thoughtful.com) wrote: : Hello, : Our application accepts mouse-moved events to keep track of the mouse : location. This works fine, but if you move the mouse around during : long operations when the program is busy (even if you've switched : your focus to a different application) the mouse-moved events pile up : and overflow the event queue, resulting in a *huge* stream of "Event : Discarded" messages in the console. : I've tried setting the window's event mask to NOT accept mouse-moved : events during these lengthy operations, and then set the event mask : back again, but this didn't seem to work. So I'm wondering if : somehow the app needs to return to the event loop for the mask change : to take effect, or what? Or maybe there is a secret application-wide : event mask separate from the window's event mask? : Does anyone know anything more about how events are processed and at : what level the masking of events occurs? : I suppose I could try clearing out all mouse-moved events from the : queue periodically during my long operation, but that seems like a : very inefficient approach. Setting an event mask seems to prevent : the unwanted events from ever getting put in the queue which would be : much better. : Thanks for any help. : Doug
From: Estascy@euphoria.com Newsgroups: comp.sys.next.programmer Subject: Euphoria Tape...Try it with a Lover! Date: 4 Oct 1995 12:42:05 GMT Organization: Internet Direct, Inc. Message-ID: <44tvet$chf@globe.indirect.com> Originator: marcus@bud.indirect.com I.C.P., Suite 578-101, 5360 E. Bay Dr., Clwr., FL 34624 The Euphoria Tape Do The Euphoria Tape alone the first time, and then with a lover. It's a phenomenon you will feel within the first 3 minutes of use -- what you feel the rest of the time is unbelievable. The Euphoria Tape. It was first whispered about on college campuses, and only experimented with in seclusion, or among close friends in private settings, but it has now become a cult rush and is considered the next passion of our Cyber lifestyles. The Euphoria Tape. Not a drug, not a chemical, but an audio stimulation of brain centers controlling pleasure. And agony. And ecstacy. The buzz. An audio mesmer signal strokes the base of the mind, choking out pain sensations and producing the violent flow of... euphoria. The Euphoria Tape. Copies have changed hands from friends to friends to other friends. It is not regulated, there are no laws yet restricting use of The Euphoria Tape. The Euphoria Tape is rushing the masses. ************************************************* Stereo audio cassette. Scientific treatment included. Shipped immediately upon receipt of $11.88 personal check or money order. Absolute satisfaction guaranteed (and experienced) or full purchase price refunded. Offered only to adults 18 years or older. ******************* IntraNet Cyber Products Suite 578-101 5360 E. Bay Dr. Clearwater, FL 34624 ******************* Tape Duplication prohibited. $2.00 for Scientific Treatment. Copyright 1995 Intranet Cyber Products, All Rights Reserved. -------------------------------------------------------
From: michael@ifr16.luftfahrt.uni-stuttgart.de (Michael Paus) Newsgroups: comp.sys.next.programmer Subject: Access to PC game-port from NS(Intel)? Date: 4 Oct 1995 16:32:21 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: <44ucul$1n4k@info4.rus.uni-stuttgart.de> Well, the subject says it all. Is it possible to access the PC game-port from NS(Intel)? Thanks Michael -- ------------------------------------------------------------------------ --Dipl.-Ing. Michael Paus (Member: Team Ada) --University of Stuttgart, Inst. of Flight Mechanics and Flight Control --Forststrasse 86, 70176 Stuttgart, Germany --Phone: (+49) 711-121-1434 FAX: (+49) 711-634856 --Email: Michael.Paus@ifr.luftfahrt.uni-stuttgart.de (NeXT-Mail welcome)
From: dave@turbocat.snafu.de (David Wetzel) Newsgroups: comp.sys.next.programmer Subject: Re: Why doesn't "prog > /dev/pp0" work? Date: 4 Oct 1995 10:11:10 GMT Organization: Turbocat's Development, Germany Message-ID: <44tmju$8n@turbocat.snafu.de> References: <Pine.A32.3.91.950914151616.38954D-100000@argent.tkg.com> <43sup8$177@turbocat.snafu.de> <447i2e$cqk@ppcger.inka.de> sepp@ppcger.inka.de (Josef Wolf) wrote: > In <43sup8$177@turbocat.snafu.de> Chris Snowdon writes: > [ ... ] > >The pp0 driver has a bug. It eats data. > >Has someone a new one yet? I do not like pp0cat. > That's funny... Do you know _any_ NS-driver which isn't buggy? > pp0 eat data On ftp.leo.org is an replacement. I used the version 1.1 and recompiled it under 3.3 and it works fine. > serial eat data Install PortServer and the new serial ports form NeXT. > network eat data (OK, TCP will correct it, so you'll see only time delays) What HW? > tape eat data (good thing for doing bad backups..) My HP DAT works on HP and i586. With gnutar. > and so on .... What? > -- > Josef Wolf -- sepp@ppcger.inka.de > Germersheim, Germany -- _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Phone +49 33056 82151, Fax +49 33056 82152 (______) dave@turbocat.snafu.de (NeXTMail)
Date: 4 Oct 1995 12:47:21 GMT From: Estascy@euphoria.com Newsgroups: comp.sys.next.programmer Message-ID: <cancel.44tvet$chf@globe.indirect.com> Control: cancel <44tvet$chf@globe.indirect.com> Subject: cmsg cancel <44tvet$chf@globe.indirect.com> EMP/ECP (aka SPAM) cancelled by clewis@ferret.ocunix.on.ca. See news.admin.net-abuse.announce, report 19951004.04 for further details
Newsgroups: comp.sys.next.programmer From: trung@world.std.com (Trung T Dung) Subject: [Question] looking for web browser/server source code Message-ID: <DFxuH9.73n@world.std.com> Organization: The World Public Access UNIX, Brookline, MA Date: Wed, 4 Oct 1995 19:07:57 GMT Hi, I would appreciate very much any pointer to web browser/server [public domain preferred] source code for NextStep plat form or any other Unix plat form. Please reply directly to my email if possible. Much Thanks!
From: gideon@csarc.otago.ac.nz (Gideon King) Newsgroups: comp.sys.next.programmer Subject: Text Object - drawFunc and scanFunc Date: 4 Oct 1995 19:36:28 GMT Organization: University of Otago, Dunedin, NZ Message-ID: <44unns$k54@celebrian.otago.ac.nz> Keywords: Text I am wanting to create a subclass (or category - I haven't decided which yet) of Text to do fully justified text (hopefully taking into account kerning too). From reading the documentation, it seems that the main thing I'm going to have to do is to write my own drawFunc and scanFunc and set them as the function at the appropriate place. I have several questions about this: First of all, has anyone else tried this before? Successfully? The documentation on the functions seems very skimpy - any help would be appreciated. Do my functions have to handle all the justification modes for redraws to work etc, or can I use different functions for different parts of the text - something like: - setAlignment:(int)mode { if (mode == NX_JUSTIFIED) { [self setDrawFunc:&justifiedDrawFunc]; [self setScanFunc:&justifiedScanFunc]; } else { [self setDrawFunc:&NXDrawALine]; [self setScanFunc:&NXScanALine]; } return [super setAlignment:mode]; } Do I need to change the setSelProp:to: method too, or does this just call setAlignment:? When I get the layInfo in the scan function, does that tell me where I am in the text object? Has calcLine already done its job? I would like to make a generic text object subclass/category which will fully justify test, but if need be, I could work at a lower level for this job (probably using Font objects because they have the kerning tables built in). Is it reasonable to do what I am proposing with the text object, or would it be better for me to work at a lower level? --- Gideon King | Phone +64-3-479 8347 University of Otago | Fax +64-3-479 8529 Computer Science Applied | e-mail gideon@csarc.otago.ac.nz Research Centre | NeXT mail, MIME ok Department of Computer Science | P.O. Box 56 | There are 3 kinds of people: those who Dunedin | can count & those who can't. New Zealand | Do witches run spell checkers? WWW access: http://www.csarc.otago.ac.nz:805/PersonalHomePages/Gideon.htmld/
Newsgroups: comp.sys.next.programmer From: andreas@esag.ch (Andreas Lutsch) Subject: Re: Is there such a selector: +canAlloc ? Message-ID: <DFvEM7.6H6@esag.ch> Sender: news@esag.ch Organization: Trinex AG, Sissach, CH References: <44b10i$ma2@nntp.ucs.ubc.ca> Date: Tue, 3 Oct 1995 11:30:07 GMT In my opinion, you can't instantiate own subclasses of NSObject in IB. I didn't find a way and didn't hear of anything. Now I declare all classes that I want to instantiate in IB as subclasses of Object. Andreas -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$Q-3)<='@R,S`T7'1X,S0U-EQT M>#0V,#A<='@U-S8P7'1X-CDQ,EQT>#@P-C1<='@Y,C$V7'1X,3`S-CA<='@Q M,34R,%QF,%QB,%QI,%QU;&YO;F5<9G,R-%QF8S!<8V8P($EN(&UY(&]P:6YI M;VXL('EO=2!C86XG="!I;G-T86YT:6%T92!O=VX@<W5B8VQA<W-E<R!O9B!. M4T]B:F5C="!I;B!)0BY<"DD@9&ED;B=T(&9I;F0@82!W87D@86YD(&1I9&XG M="!H96%R(&]F(&%N>71H:6YG+B!.;W<@22!D96-L87)E(&%L;%P*8VQA<W-E M<R!T:&%T($D@=V%N="!T;R!I;G-T86YT:6%T92!I;B!)0B!A<R!S=6)C;&%S <<V5S(&]F($]B:F5C="Y<"EP*06YD<F5A<PI]"B!I `
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: Why doesn't "prog > /dev/pp0" work? In-Reply-To: dave@turbocat.snafu.de's message of 4 Oct 1995 10:11:10 GMT Message-ID: <RDL.95Oct4224019@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <Pine.A32.3.91.950914151616.38954D-100000@argent.tkg.com> <43sup8$177@turbocat.snafu.de> <447i2e$cqk@ppcger.inka.de> <44tmju$8n@turbocat.snafu.de> Date: Thu, 5 Oct 1995 02:40:19 GMT Even the latest ISASerialPort/PortServer drivers have managed to cause system hangs on my Dell Dimension XPS P90 (16550 UARTS) Robert La Ferla Registered OPENSTEP / NEXTSTEP Consultant Boston, MA + 1 (617) 252-0088 In article <44tmju$8n@turbocat.snafu.de> dave@turbocat.snafu.de (David Wetzel) writes: Xref: world comp.sys.next.programmer:25183 Path: world!news.kei.com!news.mathworks.com!fu-berlin.de!zib-berlin.de!unlisys!harvey.snafu.de!turbocat.snafu.de!root From: dave@turbocat.snafu.de (David Wetzel) Newsgroups: comp.sys.next.programmer Date: 4 Oct 1995 10:11:10 GMT Organization: Turbocat's Development, Germany Lines: 37 References: <Pine.A32.3.91.950914151616.38954D-100000@argent.tkg.com> <43sup8$177@turbocat.snafu.de> <447i2e$cqk@ppcger.inka.de> NNTP-Posting-Host: turbocat.snafu.de X-Newsreader: Alexandra.app (Version 0.8b) sepp@ppcger.inka.de (Josef Wolf) wrote: > In <43sup8$177@turbocat.snafu.de> Chris Snowdon writes: > [ ... ] > >The pp0 driver has a bug. It eats data. > >Has someone a new one yet? I do not like pp0cat. > That's funny... Do you know _any_ NS-driver which isn't buggy? > pp0 eat data On ftp.leo.org is an replacement. I used the version 1.1 and recompiled it under 3.3 and it works fine. > serial eat data Install PortServer and the new serial ports form NeXT. > network eat data (OK, TCP will correct it, so you'll see only time delays) What HW? > tape eat data (good thing for doing bad backups..) My HP DAT works on HP and i586. With gnutar. > and so on .... What? > -- > Josef Wolf -- sepp@ppcger.inka.de > Germersheim, Germany -- _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Phone +49 33056 82151, Fax +49 33056 82152 (______) dave@turbocat.snafu.de (NeXTMail)
From: sonic@leland.Stanford.EDU (Patrick Conway Donohue) Newsgroups: comp.sys.next.programmer Subject: Linking errors Date: 4 Oct 1995 22:44:26 -0700 Organization: Stanford University, CA 94305, USA Message-ID: <44vrbq$psl@elaine43.Stanford.EDU> Hi, I'm having link errors when I try compiling on my NeXT Cube running 3.2. cc compiles everything fine, but when ld tries to link the object files I get the following error. ld: Can't locate file for: -lcrt0.o This NeXT had many of it's libraries on a common AFS server, but I've managed to copy most of them over (and even get AFS running, sort of), but does anyone have any idea what I'm missing? I'd really appreciate any feedback on this. Thanks, Patrick --- *************************************************************************** *Patrick C. Donohue /\ sonic@leland.stanford.edu * *Stanford University < >--------------------------------------------* *Dept. of Comp. Science \/ Networking and Computing Consultant * *pdonohue@cs.stanford.edu /\ sonic@rescomp.stanford.edu * ***************************************************************************
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Text Object - drawFunc and scanFunc Date: Thu, 05 Oct 95 08:27:41 GMT Organization: Cedar Systems Message-ID: <812881661snz@cedar.demon.co.uk> References: <44unns$k54@celebrian.otago.ac.nz> Gideon, We have been working with the NeXT Text object over the last 18 months on various projects, and we are currently preparing to release a native RTF word processor that uses our subclasses of the NeXT Text object. The good news is that yes, we have proven that it is possible to produce a fast, elegant subclass to the Text object that not only handles justified text and kerning, but also right, decimal and centre tabs, scaled text and graphics, pagination, ..... The bad news is the cost in time and effort to do this. As you have found, the documentation is very sparse in this area, and although the original author of the Text object did an extremely good job, it is a complex implementation that has taken us a long time to completely understand. Once we have released the word processor, we will palettise our Text subclasses and make them commercially available to other developers. NeXT have also been doing a lot of work on a new Text object which includes kerning and I believe will be released with NEXTSTEP 4.0 next Summer. I shall try and answer some of your questions: > Do my functions have to handle all the justification modes for redraws to > work etc, or can I use different functions for different parts of the text > - something like: > - setAlignment:(int)mode > { > if (mode == NX_JUSTIFIED) > { > [self setDrawFunc:&justifiedDrawFunc]; > [self setScanFunc:&justifiedScanFunc]; > } > else > { > [self setDrawFunc:&NXDrawALine]; > [self setScanFunc:&NXScanALine]; > } > return [super setAlignment:mode]; > } The scanFunc is called whenever any part of the Text needs to be drawn or recalculated. Hence, assuming your text would include a mix of justified and non justified paragraphs, you could check if the particular line is justified and if not call the NXScanALine function otherwise call your own. However, you did mention doing kerning - in which case you will want to handle all forms of alignment. > When I get the layInfo in the scan function, does that tell me where I am > in the text object? Has calcLine already done its job? The calcLine method calls the scanFunc to do it's job. > I would like to make a generic text object subclass/category which will > fully justify test, but if need be, I could work at a lower level for this > job (probably using Font objects because they have the kerning tables > built in). Is it reasonable to do what I am proposing with the text > object, or would it be better for me to work at a lower level? You will need to work at the Text level, but of course that will involve a lot of low level very efficient C, as well as working closely with the Font class. I would recommend you look at what we have done with CedarWord when it is released to see how much can be achieved with the NeXT Text class. Best of luck, Paul Heffernan, Product Development Manager. ------------------------------------------------ Cedar Systems email: Cedar@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 ------------------------------------------------
From: kiwi@cs.tu-berlin.de (Axel Habermann) Newsgroups: comp.sys.next.programmer Subject: Re: Access to PC game-port from NS(Intel)? Date: 5 Oct 1995 11:37:41 GMT Organization: Technical University of Berlin, Germany Message-ID: <450g25$1g7@news.cs.tu-berlin.de> References: <44ucul$1n4k@info4.rus.uni-stuttgart.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Michael Paus (michael@ifr16.luftfahrt.uni-stuttgart.de) wrote: : Well, the subject says it all. Is it possible to access the PC game-port : from NS(Intel)? Well, sure. Just write a driver for it. Axel -- Axel Habermann kiwi@cs.tu-berlin.de \\|// Muellerstr. 145 kiwi@buran.fb10.tu-berlin.de )o o( D-13353 Berlin (Wedding) \ | / Fon: +49 30 45478986 (privat) 030 314 24 764 (uni) \~/
Newsgroups: comp.sys.next.programmer Subject: preventin system beeps in text objects Message-ID: <1995Oct5.115627.45488@yogi.urz.unibas.ch> From: frank@ifi.unibas.ch Date: 5 Oct 95 11:56:27 MET Hello, Is there any easy way of preveinting a text object from beeping at me when I enter an invalid key? I'd like to suppress the beep for certain keystrokes. I have installed a filter which will grabthe keys, send them elsewhere and return 0 instead of the key pressed. Returning 0 will cause the text object to beep. Thanks for any pointers, - Robert -- Institut fuer Informatik tel +41 (0)61 321 99 67 Universitaet Basel fax. +41 (0)61 321 99 15 Robert Frank Mittlere Strasse 142 rfc822: frank@ifi.unibas.ch (NeXT,MIME mail ok) CH-4056 Basel X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch Switzerland
From: etienne@venus.univ-lr.fr (Etienne Gourdon) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: InformixAdaptor for EOF ? Date: 5 Oct 1995 13:04:01 GMT Organization: Universite de La Rochelle Message-ID: <450l41$8mn@hpuniv.univ-lr.fr> Keywords: InformixAdaptor EOF Hi, We heard about InformixAdaptor for EOF But, where can we find it ? Any help will be a pleasure.
From: woo@ornl.gov (John W. Wooten) Newsgroups: comp.sys.next.programmer Subject: Multiple browser panels Date: 5 Oct 1995 14:32:44 GMT Organization: Oak Ridge National Lab, Oak Ridge, TN Distribution: world Message-ID: <450qac$h1q@stc06.ctd.ornl.gov> I'm not sure it's the best design, but for a demo, I'm trying to put six browser fields on one panel with one controller object to manage them. Any ideas on how to handle knowing which panel sends the browser:: message? -- - - - - - - - - - J. W. Wooten
From: Gerald McMullon <gfg@info.bt.co.uk> Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: Re: InformixAdaptor for EOF ? Date: 5 Oct 1995 15:53:35 GMT Organization: BT Labs, Ipswich GBR Message-ID: <450v1v$btp@pheidippides.axion.bt.co.uk> References: <450l41$8mn@hpuniv.univ-lr.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit etienne@venus.univ-lr.fr (Etienne Gourdon) wrote: >Hi, > >We heard about InformixAdaptor for EOF >But, where can we find it ? > >Any help will be a pleasure. There is one, but when I asked Informix if they had a port to NeXTSTEP they asked me what is NeXTSTEP. Okay it was the UK office but I got no where. Gerald McMullon
From: friendly@hotspur.psych.yorku.ca (Michael Friendly) Newsgroups: comp.sys.next.programmer Subject: strdup function? Date: 5 Oct 1995 16:53:42 GMT Organization: York University, Ontario, Canada Message-ID: <4512im$pbs@sunburst.ccs.yorku.ca> I'm trying to compile a program, hgrind, an HTML-equivalent of vgrind, which fails to link on the use of a function strdup, which I cannot find anywhere in /usr/include headers. (I'm not a C programmer, and the program author included no email address.) html/hgrind [133] % make cc -g -o hfontedpr regexp.o hfontedpr.o vgrindefs.o /bin/ld: Undefined symbols: _strdup *** Exit 1 Stop. It is declared and used as shown below. Does anyone know an equivalent or replacement? char *strdup(); .... if (proclist) { proclist = (char **)realloc(proclist, sizeof(char**)*procsize); } else { proclist = (char **)malloc(sizeof(char**)); } proclist[procsize-1] = strdup(pname); if (psptr < PSMAX) { ++psptr; strncpy (pstack[psptr], pname, PNAMELEN); pstack[psptr][PNAMELEN] = NULL; plstack[psptr] = blklevel; } -- Michael Friendly Internet: friendly@hotspur.psych.yorku.ca (NeXTmail OK) Psychology Department York University Voice: 416 736-5118 4700 Keele Street http://www.math.yorku.ca/SCS/friendly.html Toronto, ONT M3J 1P3 CANADA
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: Re: strdup function? Date: 5 Oct 1995 18:46:15 GMT Organization: my own Message-ID: <45195n$gu7@gate.seicom.net> References: <4512im$pbs@sunburst.ccs.yorku.ca> char *strdup(char *str) { char *returnString=(char *)malloc(strlen(str)+1); strcpy(returnString,str); return (returnString); } should do. --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy
From: mike@starburst.cbl.cees.edu (Michael F. Santangelo) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: slirp 0.9 on NeXTstep/Intel 3.3, how to compile? Date: 5 Oct 1995 19:40:38 GMT Organization: University of Maryland, Chesapeake Biological Lab. Message-ID: <451cbm$r58@gamera.cbl.cees.edu> Keywords: slirp,NS/Intel 3.3 Trying to get slirp 0.9 to build... after running it's configure and fooling with it a little (including adding "-D_POSIX_SOURCE" to the CFLAGS in the makefile) I can get it to build but attempting to run it in any way yields a floating point exception. Matter of fact we get that alot compiling stuff off the net with NS/Intel 3.3. Any ideas? -- -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Mike F. Santangelo, Dept. Head-Computer & Network Systems, UMCEES/CBL Solomons
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <schaik@bonnie.meteocon.nl> Date: Thu, 5 Oct 95 19:09:05 GMT From: Wiro van Schaik <schaik@bonnie.meteocon.nl> Message-ID: <9510051909.AA26279@bonnie.meteocon.nl> Subject: HELP: Can't remove empty directory I'm having a problem removing an empty directory which has an erroneous size (of 74670080 bytes) after an system crash. A system crash (a Window Server death) seems to have garbled the '/usr/lib/NextStep/Workspace.app/WM.app/English.lproj' directory leading to an 'please logout' message just after loging into the Workspace. After reboot 'fsck' paniced and requested an manual 'fsck'. This time 'fsck' complained that this directory formed an extraneous link to somewhere into the colorpicker nib-files (I don't remember the exact directory/file) and suggested to remove it, which I permitted. This left me with an garbled directory. Afterwards I could list the content but 'pwd' en 'cd' gave an error concerning the inode and the size is also weird. After another 'fsck' (which listen no errors), I tried to remove the directory (with 'rm -r') which succeded for the contents but now I still get the message that it's not empty while 'ls -al' won't list any files (beside '.' and '..' of cause). After a rename with 'mv' the problems with 'pwd' and 'cd' are gone but I still can't remove the directory. So I'am lost. Any suggestion before I have to format the disk just to reinstall '/usr/lib/NextStep/Workspace/WM.app'. Please reply by mail, I only get the daily digest of this newsgroup (and I'am hoping to solve this evening (localtime=GMT+1)). Thanks in advance. Wiro. --- / Meteo Consult Wiro van Schaik (System Developer) / P.O. Box 617 / 6700 AP Wageningen >W.vanSchaik@MeteoCon.nl< / The Netherlands >NeXT Mail preferred< / fax: ..31 (0)8370 23164 ------------------------------------------/ voice: ..31 (0)8370 23300
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <schaik@bonnie.meteocon.nl> Date: Thu, 5 Oct 95 20:53:13 GMT From: Wiro van Schaik <schaik@bonnie.meteocon.nl> Message-ID: <9510052053.AA26813@bonnie.meteocon.nl> Subject: SORRY: for wrong posting, Ignore HELP: Can't remove empty directory Hi guys&girls, I'am sorry about my posting about a problem with an empty directory to this newsgroup. It should have gone (and has by now) to comp.sys.next.sysadmin. I clicked to fast. Wiro. --- / Meteo Consult Wiro van Schaik (System Developer) / P.O. Box 617 / 6700 AP Wageningen >W.vanSchaik@MeteoCon.nl< / The Netherlands >NeXT Mail preferred< / fax: ..31 (0)8370 23164 ------------------------------------------/ voice: ..31 (0)8370 23300
From: premise@news-server.engin.umich.edu (sean michael willson) Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software Subject: Software Ideas....... Date: 5 Oct 1995 22:57:16 GMT Organization: University of Michigan Engineering, Ann Arbor Message-ID: <451nsc$f9c@srvr1.engin.umich.edu> I am interested in getting some feedback from the next community about software. What software could you use.....personal productivity, financial, games. Would you want another calendar application, checkbook, newsreader, etc....... I basically want to get a feel for the state of the market as well as some software ideas. If I decide to use your idea who knows what we can work out. Sean M. Willson premise@engin.umich.edu
From: stanj@cs.stanford.edu (Stan Jirman) Newsgroups: comp.sys.next.programmer Subject: Source for "rn"? Date: 5 Oct 1995 23:22:32 GMT Organization: Stanford University Message-ID: <451pbo$d53@nntp.Stanford.EDU> Hi, does anyone have, or knows where to find, the source for the "rn" newsreader which could be compiled on NeXT? Thanks, - Stan -- +-------------------------------------------+-------------------------+ | Stan Jirman -- The Swiss CS Guy | | | stanj@cs.stanford.edu NeXTmail / MIME | When you find yourself | | http://www-leland.stanford.edu/~stanj/ | in a hole, stop digging | | Box 2642, Stanford, CA 94309, USA | | +-------------------------------------------+-------------------------+
From: John Kheit <jkheit@cnj.digex.net> Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software Subject: Re: Software Ideas....... Date: 6 Oct 1995 04:04:10 GMT Organization: Express Access Online Communications, USA Message-ID: <4529rq$psi@news4.digex.net> References: <451nsc$f9c@srvr1.engin.umich.edu> premise@news-server.engin.umich.edu (sean michael willson) wrote: > I am interested in getting some feedback from the next community > about software. What software could you use.....personal > productivity, financial, games. Would you want another calendar > application, checkbook, newsreader, etc....... I basically want > to get a feel for the state of the market as well as some software > ideas. If I decide to use your idea who knows what we can work > out. A very robust animation module for solidThinking, that would allow for accident reconstruction work would be welcome :) -- Thanks, take care, later, John Kheit )^> %^) monoChrome, Inc. | New York Law School NEXTSTEP Developer | Opinions expressed represent me only... Telepathy, It's coming | MIME & NeXTmail OK--PPP (3P) jkheit@cnj.digex.net | http://cnj.digex.net/~jkheit
From: schaub@tamu.edu Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software Subject: Re: Software Ideas....... Date: 6 Oct 1995 04:44:51 GMT Organization: Texas A&M University, College Station, TX Message-ID: <452c83$9sc@news.tamu.edu> On 10/05/95, John Kheit wrote: >premise@news-server.engin.umich.edu (sean michael willson) wrote: >> I am interested in getting some feedback from the next community >> about software. What software could you use.....personal >> productivity, financial, games. Would you want another calendar >> application, checkbook, newsreader, etc....... I basically want >> to get a feel for the state of the market as well as some software >> ideas. If I decide to use your idea who knows what we can work >> out. Some good adventure games for Nextstep would be nice. Nextstep is starting to have some very serious, competitive programs. But something on the lighter side, like a adventure game, would be very welcome. :-) HP -- Hanspeter Schaub Ph.D. Graduate Research Assistant Aerospace Engineering Department Texas A&M University http://http.tamu.edu:8000/~schaub schaub@tamu.edu (NeXTmail welcome) We can lift ourselves out of ignorance, we can find ourselves as creatures of excellence and intelligence and skill. We can be free! WE CAN LEARN TO FLY! -Jonathon Livingston Seagull
From: mikecam@unixg.ubc.ca (Michael C. Cam) Newsgroups: comp.sys.next.programmer Subject: ANSWER TO: Re: Is there such a selector: +canAlloc ? Date: 6 Oct 1995 06:25:52 GMT Organization: The University of British Columbia Distribution: world Message-ID: <452i5g$gb7@nntp.ucs.ubc.ca> References: <DFvEM7.6H6@esag.ch> In article <DFvEM7.6H6@esag.ch> andreas@esag.ch (Andreas Lutsch) writes: In my opinion, you can't instantiate own subclasses of NSObject in IB. I didn't find a way and didn't hear of anything. Now I declare all classes that I want to instantiate in IB as subclasses of Object. Andreas -- Hi, Before there are any more uncertainty and misguided thoughts on this thread, I thought I should post the answer (since I started it in the first place). I have had several responses to this and here is how to fix it. You need to add a category to NSObject to support 6 additional methods. Clip the following lines between the dashes and save it as NSObject-IBFixes.m Add this file to your classes folder in PB and recompile. You are now on your way to dynamically instantiating NSObject subclasses in IB. ..Mike. ___________________________________________________________________ | | | ___ ^ ... /\ BEAUTIFUL | | _|_::| ___o '|`^ .. o_ . .. /\ / \ BRITISH | | |:::|:| \ \, ^ '|`|` (`_|/____') / / /\ COLUMBIA | | |:::|:| (o)/ (o) '|`'|`|`` ,,/ . ... . .. / \ | |-------------------------------------------------------------------| | Michael C. Cam E-MAIL (NeXT & MIME) PHONE 604-263-7609 | | Open Object Solutions mikecam@unixg.ubc.ca FAX 604-263-7609 | |___________________________________________________________________| --------------------------------------------------------------------- ----- #import <foundation/NSObject.h> @implementation NSObject(IBFixes) + allocFromZone:(NXZone *)zone; { return [self allocWithZone: (NSZone *)zone]; } + (BOOL)_canAlloc { return YES; } - (BOOL)isKindOf:aClass { return [self isKindOfClass:aClass]; } - (BOOL)respondsTo:(SEL)aSelector { return [self respondsToSelector:aSelector]; } - perform:(SEL)aSelector with:anObject { return [self perform:aSelector withObject:anObject]; } - perform:(SEL)aSelector with:object1 with:object2 { return [self perform:aSelector withObject:object1 withObject:object2]; } @end --------------------------------------------------------------------- ------ -- NewsGrazer, a NeXTstep(tm) news reader, posting -- M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!/:&QF<SM<9C%<9FUO M9&5R;B!#;W5R:65R.WT*7&UA<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#DV M,%QT>#$Y,C!<='@R.#@P7'1X,S@T,%QT>#0X,#!<='@U-S8P7'1X-C<R,%QT M>#<V.#!<='@X-C0P7'1X.38P,%QF,%QB,%QI,%QU;&YO;F5<9G,R,%QF8S!< M8V8P(%P*7`I);B!A<G1I8VQE(#Q$1G9%33<N-D@V0&5S86<N8V@^(&%N9')E M87-`97-A9RYC:"`H06YD<F5A<R!,=71S8V@I('=R:71E<SI<"@I<<&%R9%QT M>#!<='@Y-C!<='@Q.3(P7'1X,C@X,%QT>#,X-#!<='@T.#`P7'1X-3<V,%QT M>#8W,C!<='@W-C@P7'1X.#8T,%QT>#DV,#!<='@Q,#4V,%QT>#$Q-3(P7'1X M,3(T.#!<='@Q,S0T,%QT>#$T-#`P7'1X,34S-C!<='@Q-C,R,%QT>#$W,C@P M7'1X,3@R-#!<9F,P7&-F,"!<"@I<<&%R9%QT>#$Q-#!<='@R,S`P7'1X,S0T M,%QT>#0V,#!<='@U-S8P7'1X-CDP,%QT>#@P-C!<='@Y,C`P7'1X,3`S-C!< M='@Q,34R,%QF,5QF<S(T7&9C,%QC9C`@26X@;7D@;W!I;FEO;BP@>6]U(&-A M;B=T(&EN<W1A;G1I871E(&]W;B!S=6)C;&%S<V5S(&]F($Y33V)J96-T(&EN M($E"+EP*22!D:61N)W0@9FEN9"!A('=A>2!A;F0@9&ED;B=T(&AE87(@;V8@ M86YY=&AI;F<N($YO=R!)(&1E8VQA<F4@86QL7`IC;&%S<V5S('1H870@22!W M86YT('1O(&EN<W1A;G1I871E(&EN($E"(&%S('-U8F-L87-S97,@;V8@3V)J M96-T+EP*7`I!;F1R96%S7`I<"BTM7`H*7'!A<F1<='@Y-C!<='@Q.3(P7'1X M,C@X,%QT>#,X-#!<='@T.#`P7'1X-3<V,%QT>#8W,C!<='@W-C@P7'1X.#8T M,%QT>#DV,#!<9F,P7&-F,"!<"EP*2&DL7`I<"D)E9F]R92!T:&5R92!A<F4@ M86YY(&UO<F4@=6YC97)T86EN='D@86YD(&UI<V=U:61E9"!T:&]U9VAT<R!O M;B!T:&ES('1H<F5A9"P@22!T:&]U9VAT($D@<VAO=6QD('!O<W0@=&AE(&%N M<W=E<B`H<VEN8V4@22!S=&%R=&5D(&ET(&EN('1H92!F:7)S="!P;&%C92DN M7`I<"DD@:&%V92!H860@<V5V97)A;"!R97-P;VYS97,@=&\@=&AI<R!A;F0@ M:&5R92!I<R!H;W<@=&\@9FEX(&ET+B`@66]U(&YE960@=&\@861D(&$@8V%T M96=O<GD@=&\@3E-/8FIE8W0@=&\@<W5P<&]R="`V(&%D9&ET:6]N86P@;65T M:&]D<RX@($-L:7`@=&AE(&9O;&QO=VEN9R!L:6YE<R!B971W965N('1H92!D M87-H97,@86YD('-A=F4@:70@87,@3E-/8FIE8W0M24)&:7AE<RYM7`I!9&0@ M=&AI<R!F:6QE('1O('EO=7(@8VQA<W-E<R!F;VQD97(@:6X@4$(@86YD(')E M8V]M<&EL92X@(%EO=2!A<F4@;F]W(&]N('EO=7(@=V%Y('1O(&1Y;F%M:6-A M;&QY(&EN<W1A;G1I871I;F<@3E-/8FIE8W0@<W5B8VQA<W-E<R!I;B!)0BY< M"EP*+BXN36EK92Y<"EP*"EQP87)D7'1X.38P7'1X,3DR,%QT>#(X.#!<='@S M.#0P7'1X-#@P,%QT>#4W-C!<='@V-S(P7'1X-S8X,%QT>#@V-#!<='@Y-C`P M7&9C,%QC9C`@(%]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]<"GP@("`@("`@("`@ M("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@ M("`@("`@("`@("`@?%P*?"`@("!?7U\@("`@("`@("`@("`@("`@("!>("`@ M("`@("`@("`N+BX@("`@("`@("`@+UQ<("`@($)%055424953"`@?%P*?"`@ M7WQ?.CI\("`@("!?7U]O("`@("`@("=\8%X@("`N+B`@;U\@("`N("XN("`O M7%P@+R`@7%P@("`@0E))5$E32"`@('Q<"GP@?#HZ.GPZ?"`@("`@7%P@(%Q< M+"`@("!>("=\8'Q@("`@*&!??"]?7U]?)RD@("\@("\@("`@+UQ<("`@0T], M54U"24$@?%P*?"!\.CHZ?#I\("`H;RDO("`H;RD@("=\8"=\8'Q@8"`@("PL M+R`@+B`N+BX@+B`N+B`@("`O("!<7"`@("`@("`@("`@?%P*?"TM+2TM+2TM M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM M+2TM+2TM+2TM+2TM+2U\7`I\($UI8VAA96P@0RX@0V%M("`@("`@("`@12U- M04E,("A.95A4("8@34E-12D@("`@4$A/3D4@-C`T+3(V,RTW-C`Y('Q<"GP@ M3W!E;B!/8FIE8W0@4V]L=71I;VYS("!M:6ME8V%M0'5N:7AG+G5B8RYC82`@ M("!&05@@("`V,#0M,C8S+3<V,#D@?%P*?%]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]? M7U]\7`I<"@I<<&%R9%QT>#DV,%QT>#$Y,C!<='@R.#@P7'1X,S@T,%QT>#0X M,#!<='@U-S8P7'1X-C<R,%QT>#<V.#!<='@X-C0P7'1X.38P,%QF8S!<8V8P M(%P*7`I<"EP*+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2U<"B-I;7!O M<G0@/&9O=6YD871I;VXO3E-/8FIE8W0N:#Y<"EP*7`I`:6UP;&5M96YT871I M;VX@3E-/8FIE8W0H24)&:7AE<RE<"EP**R!A;&QO8T9R;VU:;VYE.BA.6%IO M;F4@*BEZ;VYE.UP*7'M<"B`@("!R971U<FX@6W-E;&8@86QL;V-7:71H6F]N M93H@*$Y36F]N92`J*7IO;F5=.UP*7'U<"EP**R`H0D]/3"E?8V%N06QL;V-< M"EQ[7`H@(')E='5R;B!915,[7`I<?5P*7`I<"BT@*$)/3TPI:7-+:6YD3V8Z M84-L87-S7`I<>UP*("!R971U<FX@6W-E;&8@:7-+:6YD3V9#;&%S<SIA0VQA M<W-=.UP*7'U<"EP*7`HM("A"3T],*7)E<W!O;F1S5&\Z*%-%3"EA4V5L96-T M;W)<"EQ[7`H@(')E='5R;B!;<V5L9B!R97-P;VYD<U1O4V5L96-T;W(Z85-E M;&5C=&]R73M<"EQ]7`I<"EP*+2!P97)F;W)M.BA314PI85-E;&5C=&]R('=I M=&@Z86Y/8FIE8W1<"EQ[7`H@(')E='5R;B!;<V5L9B!P97)F;W)M.F%396QE M8W1O<B!W:71H3V)J96-T.F%N3V)J96-T73M<"EQ]7`I<"EP*+2!P97)F;W)M M.BA314PI85-E;&5C=&]R('=I=&@Z;V)J96-T,2!W:71H.F]B:F5C=#)<"EQ[ M7`H@(')E='5R;B!;<V5L9B!P97)F;W)M.F%396QE8W1O<B!W:71H3V)J96-T M.F]B:F5C=#$@=VET:$]B:F5C=#IO8FIE8W0R73M<"EQ]7`I<"EP*0&5N9"!< M"BTM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM G+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+5P*(%P*"GT* `
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: Re: strdup function? Message-ID: <1995Oct6.045157.22991@media.mit.edu> Sender: news@media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <4512im$pbs@sunburst.ccs.yorku.ca> Date: Fri, 6 Oct 1995 04:51:57 GMT In article <4512im$pbs@sunburst.ccs.yorku.ca> friendly@hotspur.psych.yorku.ca (Michael Friendly) writes: >> >>It is declared and used as shown below. Does anyone know an equivalent or >>replacement? You can just link against libg++.a (i.e. put -lg++ on your link line). strdup is really just the equivalent of the following, though: char *strdup(char *str) { if (str) { char *str2 = (char *)malloc(1 + strlen(str)); if (str2) { return strcpy(str2, str); } } return NULL; } -- --> Michael B. Johnson, SMVS, Ph.D. -- wave@media.mit.edu|wave@pixar.com --> http://wave.www.media.mit.edu/people/wave/ --> alumni, MIT Media Lab, Computer Graphics & Animation Group --> Media Arts Technologist, Pixar Animation Studios (East Coast Office)
Newsgroups: comp.sys.next.programmer Subject: Re: strdup function? Message-ID: <1995Oct6.122159.45497@yogi.urz.unibas.ch> From: frank@ifi.unibas.ch Date: 6 Oct 95 12:21:59 MET References: <4512im$pbs@sunburst.ccs.yorku.ca> <45195n$gu7@gate.seicom.net> Lines: 29 frank@this.net (Frank M. Siegert) wrote: > char *strdup(char *str) > { > char *returnString=(char *)malloc(strlen(str)+1); > strcpy(returnString,str); > return (returnString); > } > should do. > - > Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank > NeXTSTEP & PostScript Guy Or, if you are programmin a NEXTSTEP application: char *NXCopyStringBuffer(const char *buffer); or even char *NXCopyStringBufferFromZone(const char *buffer, NXZone *zone); -Robert -- Institut fuer Informatik tel +41 (0)61 321 99 67 Universitaet Basel fax. +41 (0)61 321 99 15 Robert Frank Mittlere Strasse 142 rfc822: frank@ifi.unibas.ch (NeXT,MIME mail ok) CH-4056 Basel X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch Switzerland
From: Matija Exel <exel@lag.ensieg.fr> Newsgroups: comp.sys.next.programmer Subject: IB: a TextField-like class with full editing capabilities??? Date: 6 Oct 1995 18:13:44 GMT Organization: E.N.S.I.E.G./Service Informatique et L.A.G. Message-ID: <453rko$o43@cicg-communication.grenet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello, i am really getting annoyed with this ILLOGICAL and scandalous lack of FULL text-editing possibilities (ie Edit.app -like) within IB : - using standard palettes you have apparently the following choices: * use TextField and you have no possibilities of editing individual subparts and no sub/superscripting * use ScrollView and you get the above but you keep the scroll bar! - i didn't find anything within MiscKit... - AND i don't want to program the stuff: if IB can't let you input some plain scientific text with minimal decorations what's its use? (I am not talking about full formula capabilities, I've got EquationBuilder for that!). If anybody knows a workaround, please let me know... (i am under NS 3.2 - if 3.3 is any better, let me know!) thanx everybody! ----------------------------------------------------------------- Matija Exel, E.N.S.I.E.G., Service Informatique et L.A.G., Tel : 76 82 71 12 Fax: 76 82 63 88 e-mail : exel@lag.ensieg.fr (NO NextMail please!) -----------------------------------------------------------------
From: Christian.Colin@emn.fr (Christian Colin) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: Render Man Date: Fri, 06 Oct 1995 20:35:25 +0100 Organization: Ecole des Mines de Nantes Message-ID: <Christian.Colin-0610952035250001@ccolin.info.emn.fr> Hi everybody, With NextStep we have some parts of RenderMan but it's not a complete version. Where can I find the complete version and what's the price of it ? Is there any vendors in France ? Thanks in advance Christian ____________________________________________________________________ Christian Colin Ecole des Mines de Nantes 4, rue Alfred Kastler - La Chantrerie 44070 NANTES cedex 03 FRANCE ____________________________________________________________________ Phone : (33) 51 85 82 07 Fax : (33) 51 85 82 49 E-mail : Christian.Colin@emn.fr ____________________________________________________________________ ____________________________________________________________________
From: Paul Lynch <Paul_Lynch@plsys.com> Newsgroups: comp.sys.next.programmer Subject: Re: strdup function? Date: Fri, 6 Oct 1995 07:28:57 GMT Organization: P & L Systems Sender: news@seer.demon.co.uk Message-ID: <1995Oct6.072857.10310@seer.demon.co.uk> References: <45195n$gu7@gate.seicom.net> In article <45195n$gu7@gate.seicom.net> frank@this.net (Frank M. Siegert) writes: > char *strdup(char *str) > { > char *returnString=(char *)malloc(strlen(str)+1); > strcpy(returnString,str); > return (returnString); > } > > should do. #define strdup NXCopyStringBuffer is a quick hack that works. Paul -- Paul Lynch (NeXTmail) http://www.plsys.co.uk/~paul (under construction)
From: jfranco@rommel (Jeff Franco) Newsgroups: comp.sys.next.programmer Subject: source for SwitchAssociation.o Date: 6 Oct 1995 20:12:23 GMT Organization: BDM International, Inc. Message-ID: <4542j7$8g0@news.mcl.bdm.com> Does anyone have the code for this. I've got the .o, but I do not have the code. I would like to modify it so it subsitutes an "N" for it's image if it encounters an EONull. Thanks, Jeff Franco jeff_franco@notes.pw.com
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <schaik@bonnie.meteocon.nl> Date: Fri, 6 Oct 95 16:16:05 GMT From: Wiro van Schaik <schaik@bonnie.meteocon.nl> Message-ID: <9510061616.AA08553@bonnie.meteocon.nl> Subject: Re: InformixAdaptor for EOF ? Cc: etienne@venus.univ-lr.fr > We heard about InformixAdaptor for EOF > But, where can we find it ? > I've heard of it already several months ago. I'm still trying to get Informix or our Next-reseller to tell me how much it will cost and how to get it. However no one seems to know??? I heard that the EOF-adapter has already been develop by Informix Germany (they live nextdoor to Next-Germany), as was the DBKit-adapter we're currently using with official no support and constant changes in the policy of this adapter becoming an official Informix-product. I'm very eager to switch from DBKit to EOF and Foundation-kit as I'm now constantly handcoding how to map objects to tables efficiently. This spring our Next-reseller offered us to develop this adaptor but we've declined because we we're promised that the EOF-adapter would be an official Informix-product Q2'95. My last information from our previous accountmanager at Informix (we get a new one every month, must be a nice company to work for :^) was that Informix was negotiating with Next and HP about which company should support it. I think that Informix would like Next to deliver the adapter free with NextDeveloper like the ones from Oracle and Sybase but let Next also handle the support. I personally also suspect Informix from stalling supporting the Next-platform because of their own object-oriented development environment NewEra. Although I'm technical content with our Informix online database, I regret we've choosen Informix instead of Oracle. At least on the Next-side it would have saved us a lot of trouble. But I can't image that the 'largest unix-database supplier' would want to leave all those Next-developer to Oracle, Sybase or Interbase. Maybe we can start a signaturelist to convince Informix that there are Next-developers who want to talk to a Informix database out there. Wiro. --- / Meteo Consult Wiro van Schaik (System Developer) / P.O. Box 617 / 6700 AP Wageningen >W.vanSchaik@MeteoCon.nl< / The Netherlands >NeXT Mail preferred< / fax: ..31 (0)8370 23164 ------------------------------------------/ voice: ..31 (0)8370 23300
From: dekelver@basil-mcrae.rchland.ibm.com (Jeff Dekelver) Newsgroups: comp.sys.next.programmer Subject: Re: Multiple browser panels Date: 6 Oct 1995 21:56:31 GMT Organization: IBM Distribution: world Message-ID: <4548mf$gq3@locutus.rchland.ibm.com> References: <450qac$h1q@stc06.ctd.ornl.gov> In article <450qac$h1q@stc06.ctd.ornl.gov>, woo@ornl.gov (John W. Wooten) writes: |> I'm not sure it's the best design, but for a demo, I'm trying to put |> six browser fields on one panel with one controller object to manage |> them. Any ideas on how to handle knowing which panel sends the |> browser:: message? If I understand the question right, just make a matrix of browsers. Then set an ID to point to the active browser(could even have a mouse action that handels that, goes to the browser that the mouse in currently in), and send the messages to the active browser id. Hope that is what you were asking.
From: viggo@diku.dk (Allan Kim Schougaard) Newsgroups: comp.sys.next.programmer Subject: C++ templates in 3.3 ? How ? Date: 6 Oct 1995 13:54:37 GMT Organization: Department of Computer Science, U of Copenhagen Sender: viggo@tyr.diku.dk Message-ID: <453cet$h80@odin.diku.dk> Howdy, I'm pretty sure that the 3.3 edition of cc has C++ templates, although the information is somewhat confusing. Has anyone succesfully tried it ? and how did you get the templates instantiated ? Any help appreciated. --Allan --viggo@diku.dk
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: wave@media.mit.edu (Michael B. Johnson) Subject: Re: Render Man Message-ID: <1995Oct7.072257.24917@media.mit.edu> Sender: news@media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <Christian.Colin-0610952035250001@ccolin.info.emn.fr> Date: Sat, 7 Oct 1995 07:22:57 GMT In article <Christian.Colin-0610952035250001@ccolin.info.emn.fr> Christian.Colin@emn.fr (Christian Colin) writes: >>Hi everybody, >> >>With NextStep we have some parts of RenderMan but it's not a complete >>version. Where can I find the complete version and what's the price of it >>? Is there any vendors in France ? >> What do you seem to think is missing (there are things that aren't bundled with NEXTSTEP that come with Pixar's PhotoRealistic RenderMan Toolkit, but the two main parts - the renderer and the shader compiler are there). Pixar sells PhotoRealistic RenderMan for a variety of platforms - let me know which you're interested in, I'll be happy to pass it on to the sales folks. -- --> Michael B. Johnson, SMVS, Ph.D. -- wave@media.mit.edu|wave@pixar.com --> http://wave.www.media.mit.edu/people/wave/ --> alumni, MIT Media Lab, Computer Graphics & Animation Group --> Media Arts Technologist, Pixar Animation Studios (East Coast Office)
From: Guy Richard <tradex@fla.net> Newsgroups: comp.sys.next.programmer Subject: A $99 Software Product Guarantee to Double Your Income! Date: 8 Oct 1995 00:59:00 GMT Organization: TradEX International Message-ID: <4577ok$gct@ipof.fla.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit PowerBuilder, PowerTOOL, software is now available without restriction. Includes sourcecode. Only $99 US! Ideal for learning. Move up to Client/Server technology and double your income. Please see our home page url: http://www.gate.net/~tradex/sale.htm
Newsgroups: comp.sys.next.programmer From: weiyao@ipswichcity.qld.gov.au Subject: Looking for NeXTSTEP progrmmer. in Brisbane Message-ID: <DG319o.9JK@ipswichcity.qld.gov.au> Date: Sat, 7 Oct 1995 14:22:36 GMT Organization: Global Infolinks Internet Server, Ipswich Qld Australia need a job? contect by e-mail... thanks..... -- BlueSky OPC Pty Ltd.
From: bl03@uwrf.edu (BENJAMIN A LINDSTROM) Newsgroups: comp.sys.next.programmer,comp.lang.perl.misc Subject: C + ObjC + Perl == Problems. Date: 8 Oct 1995 06:38:26 GMT Message-ID: <457rl2$bah@daffy.anetsrvcs.uwrf.edu> to: perldb-interest@vix.com,quickbase@gun.com I'm writing a loadable module for Perl DBI for QuickBase...And I'm having problems resolve some of the Objective-Cisms. This is what I'm doing... cc -c -DUSE_NEXT_CTYPE -O dbdimp.c -ObjC -I/usr/local/lib/perl5/i386-next/CORE cc -c -DUSE_NEXT_CTYPE -O QBase.c -ObjC -I/usr/local/lib/perl5/i386-next/CORE ld -o QBase.so -lNeXT_s -lMedia_s QBase.o dbdimp.o The ld returns: ld: Undefined symbols:ld: _stack_sp _markstack_ptr _stack_base _croak _sv_mortalcopy _dirty _perl_get_sv _Xpv _sv_2bool _sv_setiv _sv_setpv _newSViv _sv_2mortal _na _sv_2pv _sv_no _sv_yes _newSVpv _sv_undef _warn _sv_newmortal _op _dowantarray _stack_max _stack_grow _sv_2iv _newSV _newRV _newXS _printf _objc_msgSend _hv_store _sprintf _fprintf _hv_fetch _sv_setsv .objc_class_name_QuickBase Now, there are some Perl stuff in there that I don't care about because perl5 deals with it when it loads it...But .objc_class_name_QuickBase and _objc_msgSend are ObjCism that I need to get rid of... Is there ANY way of doing this in NeXT? Or what are my options?
From: m.crawford@dcs.shef.ac.uk (mmalcolm crawford) Newsgroups: comp.sys.next.programmer Subject: Re: [Q] Anybody know about status NeXTDeveloper for WindowsNT or Win95? Date: 8 Oct 1995 17:23:17 -0500 Organization: UTexas Mail-to-News Gateway Sender: nobody@cs.utexas.edu Message-ID: <951008232929.217AACUU.malc@daneel> References: <44c7t3$kgi@news.acns.nwu.edu> > Sometime ago I read an article in one of the trade papers announcing > that NeXT would port NeXTDeveloper (OpenStep Developer) to WindowsNT > & Windows95. Does anyone know anything about this? > Basically, yes, it's coming... ETA sometime in 96. From NeXT's WWW pages: http://www.next.com/ --- "OpenStep allows businesses to build, deploy, and maintain object-oriented, three-tier client/server applications for environments from a variety of vendors: NeXT, Sun, Hewlett-Packard, Digital, and Microsoft. OpenStep- compliant objects and applications communicate transparently with each other, regardless of the underlying operating system." THE OPENSTEP INITIATIVE In November 1993, NeXT decided to "open" NEXTSTEP and publish OpenStep, an API to an object layer standard based on NeXT's advanced object technology. The OpenStep specification is available on the ftp server: ftp. next. com. OpenStep-compliant environments will provide a distributed, object-oriented application environment, allowing objects and applications which use the OpenStep APIs to be portable across multiple implementations regardless of the underlying operating system. A preliminary version of the OpenStep specification was published June 30, 1994 and the final version was published on September 30, 1994. OpenStep applications will be portable to the entire range of OpenStep and NEXTSTEP platforms and will interoperate with NeXT's PDO and EOF object server and object persistence / database products. Versions of OpenStep have been announced for NeXT's MachOS, Sun's Solaris, Digital's UNIX, Microsoft's Windows NT and Windows 95. --- Have fun, mmalc.
From: rjrjr@lighthouse.com Newsgroups: comp.sys.next.programmer Subject: `MiniSQLAdaptorChannel' does not respond to `dictionaryWithObjects:forAttributes:zone Date: 8 Oct 1995 19:32:53 GMT Organization: Lighthouse Design, Ltd. Message-ID: <459915$7vl@lighthouse.lighthouse.com> I'm trying to get the very cool looking MiniSQLAdaptor for EOF running, but I'm having a pretty fundamental problem. When I compile MiniSQLAdaptorChannel.o, the compiler warns me: MiniSQLAdaptorChannel.m:667: warning: `MiniSQLAdaptorChannel' does not respond to `dictionaryWithObjects:forAttributes:zone:' And sure enough, when I try to do anything with it, I crash with the same error at runtime. I'm using what I found on cs.orst.edu the other day, and the patched msql that is kept at StepWise. Is there anything obvious that I'm doing wrong? One other question: does one pronounce MiniSQL as MiniSequel, MiniSeekle, or Miniscule? rjrjr -- Ray Ryan, Lighthouse Design, Ltd. +1-415-570-7736 rjrjr@lighthouse.com http://www.lighthouse.com/~rjrjr/
From: GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) Newsgroups: comp.sys.next.programmer Subject: Re: HELP: Can't remove empty directory Date: 8 Oct 1995 18:25:58 GMT Organization: Nanyang Technological University Message-ID: <45953m$2eh@ntuix.ntu.ac.sg> References: <9510051909.AA26279@bonnie.meteocon.nl> Wiro van Schaik (schaik@bonnie.meteocon.nl) wrote: : I'm having a problem removing an empty directory which has an erroneous : size (of 74670080 bytes) after an system crash. Maybe it works in single-user mode. Did you use chmod? Or try a rm -r on one level higher (after backing up the other files). Willem (the other van Schaik)
From: rsmallwo@islandnet.com Newsgroups: comp.sys.next.programmer Subject: Search for example telecom/financial apps Date: Sun, 8 Oct 1995 19:41:35 GMT Organization: Island Net in Victoria, B.C. Canada Message-ID: <951008124135.232AAD6G.rsmallwo@canada> Mime-Version: 1.0 (Generated by Eloquent) Content-Type: text/plain; charset=US-ASCII I need to try out a animation/testing tool on some typical NextStep apps preferably in the telecommunication (ie. customer care, billing, rating, etc.) and financial app (ie. trading, customer care, risk management, etc) area. At the very least, I need a description of the app's features and its analysis and design info (the more the better) in order to build a prototype of it. Even better would be if the source code is available on a server somewhere that I can download. Obviously, I am presuming the commercially developed products will not want to provide any of this info, so I am hoping there is an 'educational' site containing such info. Any ideas on assisting my search for these app types would be appreciated. Please respond to 'rsmallwo@islandnet.com'. Rhys
From: mike@starburst.cbl.cees.edu (Michael F. Santangelo) Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.hardware Subject: Spurious "floating exception" on NS/Intel 3.3 on 100Mhz Pentium PC Date: 9 Oct 1995 01:26:08 GMT Organization: University of Maryland, Chesapeake Biological Lab. Message-ID: <459tng$7kb@gamera.cbl.cees.edu> Keywords: floating exception Basically, some of the applications (GNU utilities, tcsh, etc) we have compiled off the net either die outright all the time with the aforementioned exception or do it "sometimes." This is highly irritating. The hardware we know works fine, it's a TRITON motherboard 100Mhz Pentium system with 256K cache, 32MB fast page mode RAM, DPT 2024/PCI SCSI controller, COGENT 960 PCI ethernet, and ATI GUP 64. I have the NextDeveloper 3.2 CD loaded but we have tried coimpiling with a freshly built GNU 2.7 compiler as well. When compiling we tend to use libposix as it is the only way it seems we can get most things to compile (and that can be problematic at times on some apps yielding ld errors during link for duplicate symbols). I'm wondering if we are going about compiling these utilities the wrong way. Any advice? -- -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Mike F. Santangelo, Dept. Head-Computer & Network Systems, UMCEES/CBL Solomons
From: zia@MCS.COM (Zia Bhatti) Newsgroups: comp.sys.next.programmer Subject: Improv like viewer ... ? Date: 8 Oct 1995 22:44:50 -0500 Organization: /usr/lib/news/organi[sz]ation Message-ID: <45a5ri$83@Venus.mcs.com> Question for AppKit gurus? What would be the right way of building an Improv like viewer where top labels stick with the bottom scroller and the left labels stick with the left scroller. I don't care about editing text but I do care about displaying text and images in the matrix cells. Any ideas? Zia Bhatti
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 9 Oct 1995 04:15:09 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <45a7kd$9q2@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: "Charles C. Hocker" <american@internetmci.com> Newsgroups: comp.sys.next.programmer Subject: "locking" down objects in IB Date: 9 Oct 1995 03:58:04 GMT Organization: InternetMCI Message-ID: <45a6kc$kdb@news.internetmci.com> Hi, I am doing some work in IB and just as I get everything just where I want it placed, I have to click on of the objects and it moves. Is there anyway of "locking" something down once its placed? I am getting sick and tired of having to realign the object after I click them. Thanks, Charles C. Hocker
Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.hardware From: vdemarco@whatnow.bou.shl.com (Vince Demarco) Subject: Re: Spurious "floating exception" on NS/Intel 3.3 on 100Mhz Pentium PC In-Reply-To: mike@starburst.cbl.cees.edu's message of 9 Oct 1995 01:26:08 GMT Message-ID: <VDEMARCO.95Oct9093350@whatnow.bou.shl.com> Sender: usenet@shlnews.shl.com (shlnews news) Organization: SHL Systemhouse Inc. References: <459tng$7kb@gamera.cbl.cees.edu> Date: Mon, 9 Oct 1995 15:33:50 GMT About compiling GNU utilties, tcsh etc under nextstep. You mentioned using libposix as the only way to get things to work. This shouldn't be necessary, i have tons of gnu stuff installed on my Sparc running 3.3 and it was all compiled without using the posix junk. all it should take for the gnu stuff is typing configure then make. vince
From: hill@physihp2.unil.ch (Sean Hill) Newsgroups: comp.sys.next.programmer Subject: NSThreads Date: 9 Oct 1995 19:55:39 GMT Organization: University of Lausanne CH (Switzerland) Message-ID: <45bunr$9fr@cisun2000.unil.ch> Does anyone have some nice examples of using NSThreads? Does it seem odd that when you fork off a thread you don't get a reference to it? Thanks for any tips- Sean --- Sean L. Hill Research in Computational Neuroscience Institut de Physiologie E-mail: Sean.Hill@iphysiol.unil.ch Rue du Bugnon, 7 Work: ++41 021 692.5516 CH-1005 Lausanne SWITZERLAND Fax: ++41 021 692.5505
From: ¡‹ Newsgroups: comp.sys.next.programmer Subject: 3DKit in 4.0 Date: 9 Oct 1995 19:58:05 GMT Organization: University of Lausanne CH (Switzerland) Message-ID: <45busd$9fr@cisun2000.unil.ch> There seem to be a bunch of rumours running around that 4.0 doesn't include 3Dkit. Is this so? Did anyone trying out the 4.0 alpha or beta see it included? We'll be porting some OpenInventor based programs to OpenStep and hopefully NeXT will at least provide an OpenStep compatible 3DKit. How about an update of QuickRenderman? Am I asking for too much? Thanks- Sean --- Sean L. Hill Research in Computational Neuroscience Institut de Physiologie E-mail: Sean.Hill@iphysiol.unil.ch Rue du Bugnon, 7 Work: ++41 021 692.5516 CH-1005 Lausanne SWITZERLAND Fax: ++41 021 692.5505
Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs From: bfbaker@netcom.com (Technom Enterprises Inc) Subject: EOF: multiple database connections? Message-ID: <bfbakerDG7ApF.HL5@netcom.com> Organization: Operations Technologies Date: Mon, 9 Oct 1995 21:36:50 GMT Sender: bfbaker@netcom17.netcom.com Greetings, We're having some major difficulties with EOF. We can't seem to talk to more than one database at a time. In the following code example, I've tried to create two EODatabaseDataSources, connected to two different databases, and fetch objects from each. When I try each section of code separately, they work fine. But if I try to use both, the second one fails during the fetch, with the following console output: ** otto> EOFTest ** Got 2 objects from data source 1 ** Oct 9 15:09:38 [578] Sybase Server:unknown Procedure:none Line:1 ** Message:Invalid object name 'CustodianInfo'. ** No array returned from data source 2 ** otto> 'CustodianInfo' is a valid object, since access to data source 2 works perfectly by itself. Both of these databases live on a Sybase server. I have run the same experiment with two QuickBase databases, with the same results. We are running NS3.3, and EOF 1.1. Any suggestions on what we can do to fix this will be most appreciated. Many thanks in advance, Brian Baker. bbaker@technom.com The code: #import <stdio.h> #import <foundation/NSString.h> #import <foundation/NSArray.h> #import <eoaccess/EODatabaseDataSource.h> #import <eoaccess/EOQualifier.h> void main(int argc, char *argv[]) { EODatabaseDataSource *dataSource1, *dataSource2; EOQualifier *qualifier1, *qualifier2; NSArray *array1, *array2; /* access data source one */ if (dataSource1 = [[EODatabaseDataSource alloc] initWithModelName: @"UMFData" entityName: @"Locations"]) { qualifier1 = [[EOQualifier alloc] initWithEntity: [dataSource1 entity] qualifierFormat: @"%A = '%@'", @"name", @"Input"]; [dataSource1 setQualifier: qualifier1]; if (array1 = [dataSource1 fetchObjects]) { printf("Got %d objects from data source 1\n", [array1 count]); } else { fprintf(stderr, "No array returned from data source 1\n"); } } else { fprintf(stderr, "Couldn't create data source 1\n"); } /* access data source two */ if (dataSource2 = [[EODatabaseDataSource alloc] initWithModelName: @"UMFInfo" entityName: @"CustodianInfo"]) { qualifier2 = [[EOQualifier alloc] initWithEntity: [dataSource2 entity] qualifierFormat: @"%A = %@", @"maxEngines", @"1"]; [dataSource2 setQualifier: qualifier2]; if (array2 = [dataSource2 fetchObjects]) { printf("Got %d objects from data source 2\n", [array2 count]); } else { fprintf(stderr, "No array returned from data source 2\n"); } } else { fprintf(stderr, "Couldn't create data source 2\n"); } exit(0); }
From: Joey Sum <jpsum00@mik.uky.edu> Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: slirp 0.9 on NeXTstep/Intel 3.3, how to compile? Date: 9 Oct 95 23:03:12 GMT Organization: University of Kentucky Computing Services Message-ID: <jpsum00.813279792@mik.uky.edu> References: <451cbm$r58@gamera.cbl.cees.edu> Keywords: slirp,NS/Intel 3.3 In <451cbm$r58@gamera.cbl.cees.edu> mike@starburst.cbl.cees.edu (Michael F. Santangelo) writes: >Trying to get slirp 0.9 to build... after running it's configure and >fooling with it a little (including adding "-D_POSIX_SOURCE" to the >CFLAGS in the makefile) I can get it to build but attempting to run >it in any way yields a floating point exception. Matter of fact >we get that alot compiling stuff off the net with NS/Intel 3.3. >Any ideas? I get that same error message "Floating exception" when compiling NcFTP v2.x and using the posix libraries. Any info would be greatly appreciated. Joey
From: yackd@xmission.com Newsgroups: comp.sys.next.programmer Subject: Re: 3DKit in 4.0 Date: 10 Oct 1995 05:25:16 GMT Organization: XMission Internet (801 539 0900) Message-ID: <45d03s$p1v@news.xmission.com> References: <45busd$9fr@cisun2000.unil.ch> Sean L. Hill wrote: > There seem to be a bunch of rumours running around that 4.0 doesn't > include 3Dkit. Is this so? Did anyone trying out the 4.0 alpha or > beta see it included? We'll be porting some OpenInventor based > programs to OpenStep and hopefully NeXT will at least provide an > OpenStep compatible 3DKit. I think that there will be a 3DKit clone available for OpenStep, based upon OpenGL as the underlying renderer (for "real time" stuff at any rate). But I have heard rumors here and elsewhere about the possibility of the 3DKit being dropped. If it is, I'll do what I can to see that it isn't lost forever, as I have done with the PhoneKit/IndexingKit petition. (The "petition" may be found in ftp://ftp.thoughtport.com/pub/next/misckit/ ) I know that not much news has been forthcoming on the results of that, and I can't say what the final results will be until they become final, but the petition has gone to NeXT and the response so far has been very positive. I feel that if they were to unbundle the 3D Kit then NeXT's response would be similar to what I've seen with respect to the other two kits... And at least some of the people at NeXT seem very happy to work with me on this, if for no other reason than the fact that it is a win-win for NeXT and it's customers. > How about an update of QuickRenderman? Am I asking for too much? Probably, yes. I'd suspect that if 3DKit were moved out of NEXTSTEP/OpenStep, then you'd have to hook in your own renderer, perhaps based upon OpenGL or some other such beast. --- Later, -Don Yacktman yackd@xmission.com don@misckit.com -- Later, -Don Yacktman yackd@xmission.com don@misckit.com
Newsgroups: comp.sys.next.programmer From: ad934@lafn.org (Chris Horton) Subject: JOB OPENING, Programmer in LA CA Message-ID: <1995Oct10.060403.17779@lafn.org> Sender: news@lafn.org Organization: The Los Angeles Free-Net Date: Tue, 10 Oct 1995 06:04:03 GMT Wanted: Software Engineers for animation software company based in Los Angeles working with prestigious Animation Film Studios. Cambridge Animation Systems is a fast growing company that develops and supplies state-of-the-art software to automate the production of cartoon animation. The software is used by the entertainment and games industries worldwide in the production of feature films, television series, commercials, and computer games. Customers include Warner Brother Feature Animation, Warner Brothers Television, and DreamWorks (Spielberg, Katzenberg, Geffen). The company's head office and the majority of the development team is based in Cambridge England. New developers will join the US office based in North Hollywood (soon to move to Glendale, CA). We are looking for several first class software engineers with excellent academic qualifications who are familiar with object oriented programming. Candidates should ideally be experienced in graphics, self starters, and capable of producing efficient industrial strength code. In addition, applicants should be prepared to take on responsibility, communicate well, and should enjoy working in a small high powered team. The position will require the candidate to spend 6-12 months working on site with one of the worlds leading animation studios. Programmer Requirements (several openings available): At least 1 year programming experience in C++ Good academic qualifications One or more of the following: UI design and implementation experience Graphics experience Experience developing with NeXTSTEP Experience developing on SGI Renumeration Negotiable. If you are interested, please send a resume and cover letter to Peter Florence by email, US mail, or fax. email: peter@cam-ani-us.com (please cc to andrew@cam-ani.co.uk) fax: (818) 762-6455 Address: Cambridge Animation Systems 11417 Moorpark St. North Hollywood CA 91602 Tel: (818) 762-6466 -- Chris Horton ad934@lafn.org
From: barclay@king.trs.ntc.nokia.com (Alan Barclay) Newsgroups: comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software Subject: Re: Software Ideas....... Date: 10 Oct 1995 09:16:09 GMT Organization: Nokia Group Message-ID: <45ddkp$t4k@axl02it.ntc.nokia.com> References: <452c83$9sc@news.tamu.edu> Hi Adventure People, I started writing an adventure system around 5 years ago on an Acorn Archimedes System (any of you people in USA ever heard of it - it had the faster RISC processor you could buy for less than $2000 - it was cool!). Anyway, when I upgraded to a NeXT system I ported the system to that but then forgot about it for a long time. Last year I recoded the whole thing in C++ (most of it) and have recently started reworking the Adventure description parser. Right now - its not usable, but it is on my list of tasks for later this year. I would like to hear from anybody wishing to provide encouragement, ideas or testing (by writing some adventures). Alan Barclay The Electric Scribe Co. Ltd. escribe@wintermute.co.uk ----- This posting has nothing to do with Nokia Telecomms.
From: cedman@phoenix.princeton.edu (Carl F. Edman) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: POSIX compilation (was: slirp 0.9 on NeXTstep/Intel 3.3) Date: 10 Oct 1995 15:28:04 GMT Organization: Princeton University Message-ID: <45e3e4$fo3@cnn.Princeton.EDU> References: <451cbm$r58@gamera.cbl.cees.edu> <jpsum00.813279792@mik.uky.edu> Keywords: slirp,NS/Intel 3.3 In article <jpsum00.813279792@mik.uky.edu>, Joey Sum <jpsum00@mik.uky.edu> wrote: > In <451cbm$r58@gamera.cbl.cees.edu> mike@starburst.cbl.cees.edu (Michael F. Santangelo) writes: > >Trying to get slirp 0.9 to build... after running it's configure and > >fooling with it a little (including adding "-D_POSIX_SOURCE" to the > >CFLAGS in the makefile) I can get it to build but attempting to run > >it in any way yields a floating point exception. Matter of fact > >we get that alot compiling stuff off the net with NS/Intel 3.3. > >Any ideas? > > I get that same error message "Floating exception" when compiling NcFTP > v2.x and using the posix libraries. Any info would be greatly appreciated. This has been pointed out 1,000,000 times before in this forum, but why not make it 1,000,001 ? Maybe this time somebody will remember it. First of all, don't compile posix, unless you have to. Posix support under NS is still not entirely stable and tends to bloat the size of even the smallest executables. Most programs on the net using posix features can be compiled posix-free, possibly after munging the configuration slightly. Second, if you do have to compile posix, do _NOT_ (!) -D_POSIX_SOURCE or '#define _POSIX_<FOOBAR>' or -lposix. The effect will be to compile in an environment which has been only partially posixified with entirely unpredictable effects. The correct way to compile posix is to add the '-posix' switch to all invocations of cc. The most simple and reliable way to do that is to define 'CC' in the makefile to be 'cc -posix' (and you may want to throw in the -pipe switch at the same place). And, yes, ncftp 2.x will work just fine when compiled in this manner. Carl Edman
Newsgroups: comp.sys.next.programmer From: p25231@email.mot.com Subject: Map Projections? Organization: MOTOROLA Distribution: usa Date: Tue, 10 Oct 1995 16:28:30 GMT Message-ID: <1995Oct10.162830.20116@schbbs.mot.com> Sender: news@schbbs.mot.com (SCHBBS News Account) I am looking for some software to help me plot projections on the earth. In particular, I am in need of transforming the x-y coordinate system to get latitude and longitude lines that are curved as shown on 2-d maps of parts of the earth. Any other other additions would be welcome also. Third party software is OK as long as I can use it with my own code. - Thanks for any help, Mark p25231@email.mot.com
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: Two Questions to get demo working Message-ID: <zazulaDG8uLy.46J@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <45e1h4$g5f@stc06.ctd.ornl.gov> Date: Tue, 10 Oct 1995 17:44:21 GMT Sender: zazula@netcom15.netcom.com Hi - In article <45e1h4$g5f@stc06.ctd.ornl.gov> woo@ornl.gov writes: >I'm building a prototype for a quick demo. I've got everything working >like I want when I run it under Debug from the Project Builder Panel. >If I run it as the application directly, then when I click on New from >the Document panel and select a file from the Open Panel, I get the >message that the file can't be opened. The filename that shows up has >the correct path. Also, the OpenPanel starts at my home directory >rather than the application as it does under the debug package. If I do >the same thing from inside the debug package, the file opens. The same >thing happens with a menu item that is to be enabled when a set of >things get accomplished. Inside the debugger, it works just fine, >outside, it doesn't get highlighted. Any clues? > The open panel is going to begin at your current working directory which, in the case of a debug session, is the app-wrapper. However, when you double-click on an app to run it, it is your home directory. I wonder if you are accessing other files using a relative path and not the complete path to your application? To create an application-relative path, use NXBundle to find out where the .app (or .debug) lives: [[NXBundle mainBundle] directory]; >I also built two icons for the app. An application icon and a document >icon. Both have 2 bit and 12 bit representations. I've drug them to >the PB panel and given the document one the extension sci > >The application shows up with the right icon, but documents with sci >don't. Again why? > You need to install your application where the WorkspaceManager will see it, and therefore, know about your icons. You can do this by: using workspace to copy it to /LocalApps using workspace to copy it to ~/Apps dragging the application to the dock Z --- Ralph Zazula zazula@netcom.com
From: woo@ornl.gov (John W. Wooten) Newsgroups: comp.sys.next.programmer Subject: Two Questions to get demo working Date: 10 Oct 1995 14:55:32 GMT Organization: Oak Ridge National Lab, Oak Ridge, TN Distribution: world Message-ID: <45e1h4$g5f@stc06.ctd.ornl.gov> I'm building a prototype for a quick demo. I've got everything working like I want when I run it under Debug from the Project Builder Panel. If I run it as the application directly, then when I click on New from the Document panel and select a file from the Open Panel, I get the message that the file can't be opened. The filename that shows up has the correct path. Also, the OpenPanel starts at my home directory rather than the application as it does under the debug package. If I do the same thing from inside the debug package, the file opens. The same thing happens with a menu item that is to be enabled when a set of things get accomplished. Inside the debugger, it works just fine, outside, it doesn't get highlighted. Any clues? I also built two icons for the app. An application icon and a document icon. Both have 2 bit and 12 bit representations. I've drug them to the PB panel and given the document one the extension sci The application shows up with the right icon, but documents with sci don't. Again why? - - - - - - - - - J. W. Wooten
From: dwiest@math.uic.edu (damian wiest) Newsgroups: comp.sys.next.programmer Subject: 3DKit programming guide Date: 10 Oct 1995 15:09:33 GMT Organization: University of Illinois at Chicago Message-ID: <45e2bd$243u@tigger.cc.uic.edu> Hello, I was wondering if anyone could recommend a book that discusses programming for the 3DKit. I'm interested in designing a virtual world, but don't know where to look for assistance and instruction. Any pointers to example programming dealing with 3DKit concepts would also be appreciated. -Damian-
From: par@MCS.COM (Peter Richardson) Newsgroups: comp.sys.next.programmer Subject: NXConnect Question Date: 10 Oct 1995 13:32:10 -0500 Organization: MCSNet Services Message-ID: <45ee7a$ajk@Mercury.mcs.com> I posted this a week ago and haven't gotten any helpful answers. I am still having the same problem and nothing I have tried has worked. I am trying to use an NXConnection for the first time. I am trying to create something that will run 24x7 on a machine, have no interrface, accept connections from other processes and do all of the work for them. Thanks to the help of others before, I have this almost working. My current problem is that the program accepts a connection, processes everything, then exits. This leads me to the speculation, from what I've been able to find and read, that running a connection is good for 1 and only one connection. I can't figure out how the connecting program should gracefully release the connection so that some other program can get it. Is this a correct assumption? Is there something to connecting process should do so that the server does not get the connection invalidation? Thanks for any help Peter Richardson
From: woo@ornl.gov (John W. Wooten) Newsgroups: comp.sys.next.programmer Subject: Re: Two Questions to get demo working Date: 10 Oct 1995 18:33:54 GMT Organization: Oak Ridge National Lab, Oak Ridge, TN Distribution: world Message-ID: <45eeai$1sm@stc06.ctd.ornl.gov> References: <zazulaDG8uLy.46J@netcom.com> In article <zazulaDG8uLy.46J@netcom.com> zazula@netcom.com (Ralph Zazula) writes: > Hi - > > In article <45e1h4$g5f@stc06.ctd.ornl.gov> woo@ornl.gov writes: > >I'm building a prototype for a quick demo. I've got everything working > >like I want when I run it under Debug from the Project Builder Panel. > >If I run it as the application directly, then when I click on New from > >the Document panel and select a file from the Open Panel, I get the > >message that the file can't be opened. The filename that shows up has > >the correct path. Also, the OpenPanel starts at my home directory > >rather than the application as it does under the debug package. If I do > >the same thing from inside the debug package, the file opens. The same > >thing happens with a menu item that is to be enabled when a set of > >things get accomplished. Inside the debugger, it works just fine, > >outside, it doesn't get highlighted. Any clues? > > > > The open panel is going to begin at your current working directory which, > in the case of a debug session, is the app-wrapper. However, when you > double-click on an app to run it, it is your home directory. I wonder > if you are accessing other files using a relative path and not the > complete path to your application? To create an application-relative > path, use NXBundle to find out where the .app (or .debug) lives: > > [[NXBundle mainBundle] directory]; I've been using if ([savepanel runModalForDirectory:directory file:name]) which I thought returned the directory and file. I then build a complete path to the file and use ts = NXOpenTypedStreamForFile(openFile, NX_READONLY); The char str openFile contains a correct complete user path, e.g. /Users/woo/projects/scipuff/file1.dom It then says it can't open it (i.e. ts is returned as nil when app is run , but works when run in debugger). -- - - - - - - - - - J. W. Wooten
Newsgroups: comp.sys.next.programmer From: trung@world.std.com (Trung T Dung) Subject: [HELP] what is the equivalent of mmap on NextStep Message-ID: <DG92C5.1rr@world.std.com> Organization: The World Public Access UNIX, Brookline, MA Date: Tue, 10 Oct 1995 20:31:17 GMT Hi everyone, Could you please tell me what is the equivalent of mmap on NextStep 3.2 Thanks! Trung.
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin From: t93810am@sfc.keio.ac.jp (miyos) Subject: SMC ethercard Message-ID: <1995Oct10.220702.6719@sfc.keio.ac.jp> Sender: news@sfc.keio.ac.jp Organization: Keio University Shonan Fujisawa Campus, Fujisawa Japan Date: Tue, 10 Oct 1995 22:07:02 GMT Hello, I am running NEXTSTEP3.3 on a Intel machine. I am using SMC's Ether Elite16 Combo. And I have been having trouble with my ether-card and it is driving me crazy!! When, I try to boot and my computer recognizes my ether-card, it spits out an message repeatedly, over over again.... rhdr2 rstat ff next ffff rhdr2 rstat ff next ffff rhdr2 rstat ff next ffff rhdr2 rstat ff next ffff I found out that the message comes from SMC.m in .../DriverKit/SMC16/SMC16_reloc.tproj/SMC16.m ____________________________________________________________ /* * Display a slightly different, equally cryptic message * if the pointer to the next buffer in this header is outside * the range configured buffers. If this is the case, force a * reset by invoking -timeoutOccurred. */ if (rhdr->next >= rstop || rhdr->next < rstart) { IOLog("rhdr2 rstat %02x next %02x len %x\n", *(unsigned char *)&rhdr->rstat, rhdr->next, rhdr->len); [net work incrementInputErrors]; [self timeoutOccurred]; return; } ____________________________________________________________ I don't have a clue what it means... Has anyone had this problem?? Or, does anyone know how to solve this?? Please, send e-mail to miyos@omron3.sp.cs.cmu.edu Thank you very much . Akihiko Miyoshi miyos@omron3.sp.cs.cmu.edu
From: wilkie@narya. (Alexander Wilkie) Newsgroups: comp.sys.next.programmer Subject: Re: 3DKit in 4.0 Date: 11 Oct 1995 08:11:31 GMT Organization: Vienna University of Technology, Austria Message-ID: <45fu7j$hep@news.tuwien.ac.at> References: <45busd$9fr@cisun2000.unil.ch> <45d03s$p1v@news.xmission.com> yackd@xmission.com wrote: > Sean L. Hill wrote: > > There seem to be a bunch of rumours running around that 4.0 doesn't > > include 3Dkit. Is this so? Did anyone trying out the 4.0 alpha or > > beta see it included? We'll be porting some OpenInventor based > > programs to OpenStep and hopefully NeXT will at least provide an > > OpenStep compatible 3DKit. > I think that there will be a 3DKit clone available for OpenStep, > based upon OpenGL as the underlying renderer (for "real time" stuff > at any rate). Please, please, dear NeXT Inc, make this happen (along with an SGI port for the whole OS)... The 3DKit is too vital an extension to the concept of NS to drop it. The rule "PS for 2D, RIB for 3D" should hold, even if the main OS customers like banks etc. don't need it. Besides, keeping it would be a chance to define something like an object-oriented standard for off-the-shelf (i.e. general purpose) 3D programming. Just improve the 3DKit that tiny little bit to make it really worthwhile... Alexander Wilkie wilkie@narya.cg.tuwien.ac.at Computer Graphics student @ Vienna University of Technology NeXT & MIME mail preferred
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: File Viewer Implementation Date: 11 Oct 1995 11:12:40 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <45g8r8$ivj@hippo.shef.ac.uk> Hi: Does anyone know exactly how NeXTSTEP Workspace File Viewer is implemented? For example, How those icons in the Shelf and Icon Path are displayed ? Are these icons NXIMAGE object? or just simple buttons and editable text ? How to implement the file viewer such that user can swap from icon view browser to textual file browser ? I am currently trying to implement something that look similar to the File Viewer but do not know how to start. If anyone knows there exist some ftp sides where I can find some source codes that may help me, could you inform me. Or if you know how to solve the above problem and are willing to tell me, please mail me c.yap@dcs.shef.ac.uk Thanks in advance. C.Yap
From: eek93@I_should_put_my_domain_in_etc_NNTP_INEWS_DOMAIN (Eren Kotan) Newsgroups: comp.sys.next.programmer Subject: HELP: RenderMan under NEXTSTEP 3.3 Date: 11 Oct 1995 12:05:34 GMT Organization: I need to put my ORGANIZATION here. Message-ID: <45gbue$iqp@bright.ecs.soton.ac.uk> Hi, can anyone tell me of sources for information on how to program custom NEXTSTEP apps using 3DKit and RenderMan under 3.3? Any help is appreciated, Eren Kotan eek93@ecs.soton.ac.uk
Newsgroups: comp.sys.next.programmer From: pmy@virginia.edu (Pete Yadlowsky) Subject: Intel ksh? Message-ID: <DGAEqH.75G@murdoch.acc.Virginia.EDU> Sender: usenet@murdoch.acc.Virginia.EDU Organization: University of Virginia Date: Wed, 11 Oct 1995 13:56:41 GMT Is anyone running the Korn shell on their Intel/NS system? After much slashing and banging, I finally got the thing to build, but it crashes with a floating point exception. I've been working with ATT's ksh source. Can anyone send me or point me to a working binary or NeXTified source? -- Pete Yadlowsky | The old programmer, ITC | Unalterably intent... University of Virginia | Another missed lunch. pmy@Virginia.EDU | - after Buson
Newsgroups: comp.sys.next.programmer From: gerti@BITart.com (Gerd Knops) Subject: Re: 3DKit in 4.0 Message-ID: <DGACyx.A4G@BITart.com> Sender: usenet@BITart.com Organization: BITart, NEXTSTEP/OPENSTEP Consulting References: <45fu7j$hep@news.tuwien.ac.at> Date: Wed, 11 Oct 1995 13:18:33 GMT In article <45fu7j$hep@news.tuwien.ac.at> wilkie@narya. (Alexander Wilkie) writes: > The 3DKit is too vital an extension to the concept of NS to drop it. The > rule "PS for 2D, RIB for 3D" should hold, even if the main OS customers > like banks etc. don't need it. I would not be too sure about this! (Risc analysis, topologic maps thereof etc). gerti
Newsgroups: comp.sys.next.programmer From: tim@aplcenmp.apl.jhu.edu (Tim Pugh) Subject: bootup problem Message-ID: <DGADzz.2FK@aplcenmp.apl.jhu.edu> Organization: Johns Hopkins Continuing Professional Programs Date: Wed, 11 Oct 1995 13:40:47 GMT I have a NeXT Dimension System running NS3.3. At one time it was networked to a NeXT Cube. Subsequently, I did a complete, including disk formatting, installation of NS3.3. However, I find that about 50% of the time upon powering up and rebooting, the system hangs waiting for a network connection. Usually, I can do a hard reset (Alt-Cmd *) and, after a long-long time, it finishes fsck on my 1.3 GB HD and sucessfully completes the boot process. To the best of my knowledge, no network configuration files have been altered to accomodate a net connection. Question: what am I doing wrong? Is this a hardware problem? Is this a bug in NS3.3? Thanks for your help, Tim -- Tim Pugh |MicroCALL Services tim@aplcenmp.apl.JHU.EDU |8713 Briarcroft Lane |Laurel, MD 20708-1355 ------------------------------------------------------------------------------
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: vdemarco@whatnow.bou.shl.com (Vince Demarco) Subject: Re: POSIX compilation (was: slirp 0.9 on NeXTstep/Intel 3.3) In-Reply-To: cedman@phoenix.princeton.edu's message of 10 Oct 1995 15:28:04 GMT Message-ID: <VDEMARCO.95Oct11081401@whatnow.bou.shl.com> Sender: usenet@shlnews.shl.com (shlnews news) Organization: SHL Systemhouse Inc. References: <451cbm$r58@gamera.cbl.cees.edu> <jpsum00.813279792@mik.uky.edu> <45e3e4$fo3@cnn.Princeton.EDU> Date: Wed, 11 Oct 1995 14:14:01 GMT >Second, if you do have to compile posix, do _NOT_ (!) -D_POSIX_SOURCE or >'#define _POSIX_<FOOBAR>' or -lposix. The effect will be to compile in an >environment which has been only partially posixified with entirely >unpredictable effects. The correct way to compile posix is to add the >'-posix' switch to all invocations of cc. The most simple and reliable >way to do that is to define 'CC' in the makefile to be 'cc -posix' (and >you may want to throw in the -pipe switch at the same place). > >And, yes, ncftp 2.x will work just fine when compiled in this manner. Just to second Carl. I got ncftp working without any posix support at all. The problem with ncftp is all of the termio stuff that the configure script thinks the next has (because it finds the header files). vince
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: Fabien_Roy@free.fdn.org Subject: Ingres EOF adaptor? Message-ID: <1995Oct11.130224.5168@free.fdn.org> Sender: news@free.fdn.org Organization: Fabien Roy Consultant, Paris, France Date: Wed, 11 Oct 1995 13:02:24 GMT Any clues? Thanks Fabien -- --------------------------------------------------------------------- Fabien_Roy@free.fdn.org (NextMail/MIME accepted) Fabien Roy Consultant NEXTSTEP/OPENSTEP/EOF Consultant, SYBASE DBA 10 rue de la DEFENSE 93100 MONTREUIL, France Tel: 33 1 45 28 32 23 Fax: 33 1 48 55 09 90
From: giddings@menominee.menominee.chem.wisc.edu (Michael Giddings) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: What's involved in writing video driver? Date: 11 Oct 1995 15:38:14 GMT Organization: University of Wisconsin, Madison Distribution: world Message-ID: <45god6$9f0@news.doit.wisc.edu> Keywords: video driver nextstep In a search for NS compatible notebooks, I've been noticing that the Chips & Tech 65545 video chipset is very commonly used in them. NeXT does not have a driver for this. However, such a driver would open up the possibility of using all sorts of generic Notebook systems with NS in color. This has left me wondering how hard it is to write a video driver for NS 3.3? Not that I have time to do it, but I am curious. . . . (hint: anyone else out there have time and want to write a driver?) I really am curious about this. NeXT claims driver kit makes writing drivers much easier (than what?) How easy is it (for a simple, working, hacked together driver)? Thanks, Michael Giddings
From: brzez@d0tokensun.fnal.gov (Time will fly.. tonight...) Newsgroups: comp.sys.next.programmer Subject: Programming the ET4000W32p and NextStep Date: 11 Oct 1995 17:04:39 GMT Organization: FERMILAB, Batavia, IL Message-ID: <45gtf7$q2j@fnnews.fnal.gov> I've installed NextStep for Intel release 3.2 on my 486 VLB system and it all works well in Normal VGA mode. However, when I try to use the system at SVGA resolutions using my Hercules Dynamite Power VLB 2 meg DRAM card, I can't get the system to display things properly. The system boots up but the screen usually is just a shade of grey. It does not work at any resolution that is supported by the driver. I've tried with different multisync and SVGA monitors and the same problem results, so I think it is a problem with the driver or the card. My card has an acumos ADAC1 and I've noticed that the supported ramdacs in the ET4000w32p driver are the ATT20cxxx and the STG1702 so this may be the problem. I've also noticed that this driver has different configuration files for different resolutions. It seems that one can program the cards registers for different setting and resolutions but I have no idea how to do this. So I'm wondering if there is a fix or update for this driver or is my card not supported at all even though I have the necessary chipset. Also, is there any info on how to program different card registers using the driver configuration (*.vc) files? Here's what a configuration file looks like. Can anyone make any sense out of it? /* * NOTE: Do not put tabs or newline characters inside the * value assigned to the keys in this file since the driver * WILL choke on them. */ "Display Info" = "1024 768 1024 2048 70 RGB:555/16"; /* Standard NEXTSTEP Driver stuff */ "Driver Name" = "ET4000W32i"; "Title" = "ET4000/W32i/W32p Driver"; "Location" = ""; "Family" = "Video"; "Version" = "1.0"; "Server Name" = "ET4000W32i"; "Linear Frame Buffer Length" = "0x200000"; "Memory Maps" = "0x7000000-0x71fffff 0xa0000-0xbffff 0xc0000-0xcffff"; "DMA Channels" = ""; "I/O Ports" = "0x3b0-0x3e0"; "Linear Frame Buffer Address" = "0x7000000"; "Instance" = "0"; "Display Mode Number" = "0"; "IRQ Levels" = ""; /* VGA registers: * * "Miscellaneous Register" has the value for MISC (0x3c2) * "VGA Sequencer Registers" has values for SR0-SR4 * "VGA CRT Controller Registers" has values for CR00-CR18 * "VGA Attibute Controller Registers" has values for AR00-AR13 * "VGA Graphics Controller Registers" has values for GR00-GR08 */ "Miscellaneous Register" = "0xef"; "VGA Sequencer Registers" = "0x03 0x01 0x0f 0x00 0x0e"; "VGA CRT Controller Registers" = "0xa1 0x7f 0x7f 0x85 0x85 0xb6 0x24 0xf5 0x00 0 x60 0x00 0x00 0x00 0x00 0x02 0x01 0x02 0x88 0xff 0x00 0x40 0xff 0x25 0xa3 0xff"; "VGA Attribute Controller Registers" = "0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x01 0x00 0x0f 0x00 0x00"; "VGA Graphics Controller Registers" = "0x00 0x00 0x00 0x00 0x00 0x40 0x05 0x0f 0 xff"; /* Other registers needed to program this graphics mode. * All the keys that read "Other ..." have been * assigned index-value pairs, so for example the * first two numbers assigned to Other CRT Controller * Registers are 0x31 0x8f. This means that CR31 * should be set to 0x8f. */ "Other Sequencer Registers" = "0x06 0x00 0x07 0xbc"; "Other CRT Controller Registers" = "0x30 0x00 0x31 0x00 0x32 0xc8 0x33 0x00 0x34 0x8a 0x35 0x00 0x36 0xab 0x37 0x8f 0x3f 0x80"; "Other Attribute Controller Registers" = "0x16 0xa0 0x17 0x00"; /* RAMDAC name and command register value */ "RAMDAC Name" = "STG1702"; "DAC Command Registers" = "0x18 0x02 0x00"; "Pixel Port Clock" = "16 bits/clock"; /* The following key is used to tell the driver that this mode * does not work with some revisions of the W32i/W32p. */ "Does not work with" = "W32iA W32iB W32pA"; Thanks for any info or help.. -- John
From: Peter.D.Clark@eng.sun.com (Pete Clark) Newsgroups: comp.sys.next.programmer Subject: Re: 3DKit in 4.0 Date: 11 Oct 1995 17:16:33 GMT Organization: Sun Microsystems Inc., Mountain View, CA Distribution: world Message-ID: <45gu5h$91k@engnews2.Eng.Sun.COM> References: <DGACyx.A4G@BITart.com> In article <DGACyx.A4G@BITart.com> gerti@BITart.com (Gerd Knops) writes: > In article <45fu7j$hep@news.tuwien.ac.at> wilkie@narya. (Alexander Wilkie) > writes: > > The 3DKit is too vital an extension to the concept of NS to drop it. The > > rule "PS for 2D, RIB for 3D" should hold, even if the main OS customers > > like banks etc. don't need it. > > I would not be too sure about this! (Risc analysis, topologic maps thereof > etc). Gerd has a point, and arguably the largest name in visualization, SGI, dove into the financial market software business back in June with this press release: NEW YORK, June 27 /PRNewswire/ via First! -- In conjunction with the opening of the Securities Industries Association Information Management Conference, Silicon Graphics, Inc. (NYSE: SGI) today unveiled the Silicon Exchange(TM) initiative, an integrated solution set of software and hardware for financial service institutions. Silicon Exchange combines third-party graphical software and innovative financial risk management technologies with Silicon Graphics'(R) visual computing systems, database servers and advanced software tools. The Silicon Exchange initiative builds upon Silicon Graphics' long-standing leadership in interactive 3D graphics and digital media technologies to offer the financial services industry breakthrough tools for competing in today's global economy. A friend of mine from Wall Street (who if he's reading this, should send me his new email address) said: >I think SGI is spot-on the future of RM tools. >Risk is hyper-dimensional and computationally intensive (of course). SGI >bests everyone at visualization, and they're smart to leverage that advantage >(Network, here boy! Fetch me that real-time interactive multidimensional >currency arbitrage wave renderer! No, no! Not a web browser! Sit!) I also think some of the NS ISVs and SIs have done some interesting work with 3DKit, but it hasn't been well publicized. Best, Pete -- *************************************************************************** Pete Clark | The thinking man looks at the world and SunSoft Object Products Group | sees a comedy. The feeling man looks Peter.D.Clark@eng.sun.com (NeXTMail) | at the world and sees a tragedy. ***************************************************************************
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: gemoe@proximus.north.de (Gerhard =?iso-8859-1?Q?M=F6ller?=) Subject: Re: InformixAdaptor for EOF ? References: <450l41$8mn@hpuniv.univ-lr.fr> <450v1v$btp@pheidippides.axion.bt.co.uk> Organization: German NeXT User Group, Oldenburg. Date: Wed, 11 Oct 1995 10:50:01 GMT Message-ID: <1995Oct11.105001.10252@proximus.north.de> In article <450v1v$btp@pheidippides.axion.bt.co.uk>, Gerald McMullon <gfg@info.bt.co.uk> wrote: >etienne@venus.univ-lr.fr (Etienne Gourdon) wrote: >>Hi, >> >>We heard about InformixAdaptor for EOF >>But, where can we find it ? >> >>Any help will be a pleasure. > >There is one, but when I asked Informix if they had a port to NeXTSTEP >they asked me what is NeXTSTEP. Okay it was the UK office but I got no >where. Ask again. Maybe ask Informix, US. Or ask NeXT, Inc. for who you have to ask. Informix is used by Disney and they have certainly an Adoptor for it. Gerhard. -- N < principiis obsta! >------------------< PGP Key available on request > N e Gerhard Moeller, Amselweg 16, 26122 Oldenburg (FRG) [*: 02/21/1968] e X Private: gemoe@proximus.north.de Phone (voice): +49-441-507856 X T Uni: Gerhard.Moeller@Informatik.Uni-Oldenburg.DE NeXTmail & MIME T NoGeNUG - Northern German NeXT User Group: NoGeNUG@proximus.north.DE
From: edx@cc.usu.edu Newsgroups: comp.sys.next.programmer Subject: DBTableView without a DB? Message-ID: <1995Oct11.215942.63473@cc.usu.edu> Date: 11 Oct 95 21:59:42 MDT Organization: Utah State University Two questions: 1) Which appkit subclass of TextField or Form or whatever allows a user to reorder a list of fields by control dragging them as does the Project Builder's Libraries section? 2) Is there a quick and dirty example of using the DBTableView without having to use a real database back-end? I just want to be able to reorder the fields by dragging them. Thanks a bunch to any and all who might be able to point me in a productive direction. - HRC - edx@cc.usu.edu or hcole@spanky.idec.sdl.usu.edu
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Thu, 12 Oct 95 03:18:43 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9510120218.AA04274@flexus> Subject: -[View displayFromOpaqueAncestor:::] Hello experts, It's Stupid Question time again (really, and about such a trivial---yet central---issue). Can anyone give me a reasonable explanation of why -[View displayFromOpaqueAncestor:::] is the exception? Why doesn't -[View display:::] do all that? Isn't it a View's task to know whether it is opaque, rather than that of whatever asks it to display itself? Or to update itself? Now, those nice abbreviations/update machinery are out of reach for those Views which correspond to the default (not being opaque). What display::: now does would then be called incrementalDisplay::: or something, and would not be of much use, except perhaps internally. Am I blind, or is the emperor indeed without clothes? And how to handle this: let an imposter redefine display::: as displayFromOpaqueAncestor::: and poseAs View, or just redefine implementations of display and display::? Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: jason.zhang@lamrc.com (Jason Zhang) Newsgroups: comp.sys.next.programmer Subject: What's the cause of kernel panic exception(6,3,1) ? Date: 11 Oct 1995 21:19:01 -0500 Organization: UTexas Mail-to-News Gateway Sender: nobody@cs.utexas.edu Message-ID: <9510120220.AA24537@atlantis.softeng.lamrc.com> Hi, Folks, I have got this system panic message: Expanding Zone Messages Expanding Zone Messages Zone "messages" rempty Panic: Next Mach 3.2 .....; root(rcbuilder): mk-149.30.15.obj~2/RC_i386/RELEASE_I386 Kernel panic exception(6,3,1) Does anybody know what is exception(6, 3, 1)? In the program, I use mach functions quite extensively to de/allocate ports, send/receive messages. Any thing may cause this problem? Thanks in advance. - jason
Newsgroups: comp.sys.next.programmer From: gelato@netcom.com (Steve James) Subject: Re: -[View displayFromOpaqueAncestor:::] Message-ID: <gelatoDGC7nA.2sp@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <9510120218.AA04274@flexus> Date: Thu, 12 Oct 1995 13:18:46 GMT Sender: gelato@netcom16.netcom.com Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> writes: >Can anyone give me a [...] explanation of why displayFromOpaqueAncestor::: >is the exception? Why doesn't -[View display:::] do all that? That's a good question and one that I've wondered about myself for a long time. I find myself writing the following code whenever I write a View subclass that is always transparent (i.e. that doesn't do a NXRectFill or somesuch in drawSelf::): -display { return [self displayFromOpaqueAncestor:NULL :0 :NO]; } Every time I copy/paste that code in, I say to myself "why isn't that in the base class method?" The only plausible answer I can come up with is that, for this code to be in View, the view would have to ask itself if it was opaque, using [self isOpaque], in order to know whether to call displayFromOpaqueAncestor. I have found that [self isOpaque] isn't always answered correctly by all the view classes contained in the AppKit (in particular false negatives) so the above logic couldn't be handled correctly in the base class if isOpaque wasn't reliable. Conjecture, pure conjecture. By the way, yes, I could make a simple View subclass called TransparentView that contains just the above -display method, thus avoiding copy/paste of that display method in other classes; however, with single inheritance, you're stuck if you aren't subclassing from View, am I frequently am not.
Newsgroups: comp.sys.next.programmer Subject: NXWorkspaceRequestProtocol/performFileOperation question Message-ID: <1995Oct12.113011.1597@ittpub> From: jurgen@ittpub.nl (Jurgen Hildebrand) Date: 12 Oct 95 11:30:11 WET Distribution: world Keywords: NXWorkspaceRequestProtocol,performFileOperation,AppKit About: - (int)performFileOperation:(const char *)operation source:(const char *)source destination:(const char *)destination files:(const char *)files options:(const char *)options; Does anybody know how to call this method so that the operations are done asynchronously. General ref. vol. 1 page 2-908 does mention this possibility, but it does not tell me how.... The options argument is undocumented, i would like more information on this as well. Thanks. +--------------------------------------------------------------+ | email: jurgen@ittpub.nl (Jurgen Hildebrand) | | AT&T PersonaLink: A5053644680@attpls.net | | work phone: +31(0)20-5676697 @ ITT Publitec, Amsterdam | +--------------------------------------------------------------+
From: vgasic@news.enet.net (apogee@enet.net) Newsgroups: comp.sys.next.programmer Subject: US-Mid CA Area:SQL Server & Sybase data modeling/administrator Recruiter: Date: 12 Oct 1995 04:08:37 -0700 Organization: Evergreen Communications, Phoenix, Arizona Message-ID: <45isvl$4mf@pinyon.enet.net> US-Mid CA Area:SQL Server & Sybase data modeling/administrator Recruiter: ------------------------------------------------------------------------ 6 month contract assignment with possible hire or extension Looking for consultant with strong data modeling & maintenance skills to model & create physical database, managing existing SQL servers, building interfaces with data sources, working to transition MS/SQL databases to data warehouse, assisting application programmers with query performance issues & creating- managing various procedures & triggers. Skills required include : 1. BS in CS/MIS or equivalent. 2. 3-5 years experience working with relational tech. as a DBA. 3. Knowledge of MS SQL Server and/or Sybase System 10. 4. Knowledge of Transact SQL. 5. Data modeling experience. Hourly Rate: TOP DOLLARS PAID!!! WILL SPONSOR THE RIGHT PERSON!! for further consideration send your resume to: -- apogee@enet.net voice: (602) 502-0545, fax: (602) 502-0534/ (602)275-3343 13610 N. Scottsdale Road, #10, Scottsdale, AZ 85254 NeXT Mail Welcomed!
From: sepp@ppcger.inka.de (Josef Wolf) Newsgroups: comp.sys.next.programmer Subject: Re: Why doesn't "prog > /dev/pp0" work? Date: 11 Oct 1995 17:48:16 +0100 Organization: PPCGer mail and news system (Germersheim, Germany) Message-ID: <45gsgg$jeu@ppcger.inka.de> References: <Pine.A32.3.91.950914151616.38954D-100000@argent.tkg.com> <43sup8$177@turbocat.snafu.de> <447i2e$cqk@ppcger.inka.de> <44tmju$8n@turbocat.snafu.de> In <44tmju$8n@turbocat.snafu.de> dave@turbocat.snafu.de (David Wetzel) writes: >sepp@ppcger.inka.de (Josef Wolf) wrote: >> In <43sup8$177@turbocat.snafu.de> Chris Snowdon writes: >> [ ... ] >> >The pp0 driver has a bug. It eats data. >> pp0 eat data >On ftp.leo.org is an replacement. I used the version 1.1 and recompiled it >under 3.3 and it works fine. Not tried this replacement... >> serial eat data >Install PortServer and the new serial ports form NeXT. What do you need an OS for when you need replacements for everything you want to use? >> network eat data (OK, TCP will correct it, so you'll see only time >delays) >What HW? SMC Elite 16 Combo (or some such). I had Intel Etherexpress before that. Then I had to swich from cheapernet to twisted pair. Etherexpress PRO Combo didn't work. So I tried NE2000. No luck, had the Winbond-chip on the card.. Now I have the hanging SMC, because thats the only one which work :-/ >> tape eat data (good thing for doing bad backups..) >My HP DAT works on HP and i586. With gnutar. My Wangtec worked with SCO, with Linux and even with Atari (OS9) but it _will_ crash on NS when you write to it with a blocksize>=1KB (bs=1k will be horrobly slow..) >> and so on .... >What? What?!? You have to place the question the other way: Which HW _don't_ have problems with NS? Greetings with hope for better days -- Josef Wolf -- sepp@ppcger.inka.de Germersheim, Germany
From: ken@direct.ca (Ken Clark) Newsgroups: comp.sys.next.programmer Subject: Implementing Inspectors - please help Date: 12 Oct 1995 18:54:29 GMT Organization: Global Election Systems Message-ID: <45jo95$anq@grid.Direct.CA> Hi. I am looking for pointers on the Right Way(tm) to implement inspectors. I have a browser of objects and want the user to (optionally) look at the attributes of the object. I have a browser controller to handle the browser window and an inspector controller to handle the inspector panel. My app basically has multiple browsers for different object types and a single inspector panel for looking at the objects and modifying their attributes (kinda like IB). There seem to be two schools: (1) Keep the inspector controller object around even if the inspector is not requested by the user. OrderFront the inspector panel when the user requests the inspector. I don't like this option because updating the inspector in my app is expensive (the attributes take considerable resources to compute and a non trivial memory overhead), and the "usual" case will be that it is not displayed. (2) Create the inspector controller when the user requests an inspector. I don't like this option because (a) I can't hook up the target of the NXBrowser in IB to anything since the inspector controler object doesn't exist yet (the browser window also has new and delete buttons, etc); (b) the browser controller then needs to be notified when the inspector closes (or another browser gains control of the inspector), so that the browser controller can free the inspector controller and unlink the target of the NXBrowser. I have tried (2) because my gut tells me (1) is a solution of the "easier to program but less efficient" variety. (2) however seems to bog down in the details when it actually comes down to keeping track of multiple inspector types for multiple active browsers, so I am stuck. Any hints from those who have "been there done that" are very appreciated. - Ken
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: Fabien_Roy@free.fdn.org Subject: What is stty -extproc Message-ID: <1995Oct12.124205.376@free.fdn.org> Sender: news@free.fdn.org Organization: Fabien Roy Consultant, Paris, France Date: Thu, 12 Oct 1995 12:42:05 GMT stty -extproc mode is not documented in the manuals nor in DigitalLibrarian NextDev. I wonder if there are more undocumented fetures like that one in stty. Thanks Fabien -- --------------------------------------------------------------------- Fabien_Roy@free.fdn.org (NextMail/MIME accepted) Fabien Roy Consultant NEXTSTEP/OPENSTEP/EOF Consultant, SYBASE DBA 10 rue de la DEFENSE 93100 MONTREUIL, France Tel: 33 1 45 28 32 23 Fax: 33 1 48 55 09 90
Newsgroups: comp.sys.next.programmer From: wave@media.mit.edu (Michael B. Johnson) Subject: Re: 3DKit in 4.0 Message-ID: <1995Oct11.065119.10594@media.mit.edu> Sender: news@media.mit.edu (USENET News System) Organization: MIT Media Laboratory References: <45busd$9fr@cisun2000.unil.ch> <45d03s$p1v@news.xmission.com> Date: Wed, 11 Oct 1995 06:51:19 GMT In article <45d03s$p1v@news.xmission.com> yackd@xmission.com writes: >>Sean L. Hill wrote: >>> There seem to be a bunch of rumours running around that 4.0 doesn't >>> include 3Dkit. Is this so? Did anyone trying out the 4.0 alpha or >>> beta see it included? We'll be porting some OpenInventor based >>> programs to OpenStep and hopefully NeXT will at least provide an >>> OpenStep compatible 3DKit. >> >>I think that there will be a 3DKit clone available for OpenStep, >>based upon OpenGL as the underlying renderer Interesting. Where did you hear this? One would think I would have been told, but alas... :-) Don't hold your breath. I am working very hard to get the prman that ship with NS to be current for the 4.0 release, but it's really not on anyone who matters short list (mine included), so... As for qrman, while it's clearly the right thing, other than a few folks like Guido (solidThinking) and that wacko academic wave (WavesWorld) no one has done anything to justify the continued existence of the 3DKit. Sad, but true. If you want the 3DKit to survive 4.0, use it. If you want qrman to prosper, use it. Things die for many reasons, but the many reasons for the 3DKit to (potentially) die are not political, they're pragmatic. How many seats does it sell? Do you use it? Do you care? If you do, use it and tell NeXT about it. Tell NeXT it matters, and be able to show them why. If you can, I honestly believe it will survive, but it has to sell seats, it has to be important. It is to me, but I'm a mutant... :-) -- --> Michael B. Johnson, SMVS, Ph.D. -- wave@media.mit.edu|wave@pixar.com --> http://wave.www.media.mit.edu/people/wave/ --> alumni, MIT Media Lab, Computer Graphics & Animation Group --> Media Arts Technologist, Pixar Animation Studios (East Coast Office)
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <stes@can.nl> From: <stes@can.nl> Date: Thu, 12 Oct 95 18:43:58 +0100 Message-ID: <9510121743.AA01641@quartz.can.nl> Subject: Compromise Hello, I have been programming with NextStep since '91 and I'm an advocate of object-technology in my own particular domain (Computer Algebra). I'm really worried about the NeXT statements about OpenStep, especially by the fact that it will supposedly replace the "old" (but, stable and proven) appkit and that NextStep 4.0 will only provide binary (not source) compatibility with previous versions of NextStep. To me, (personal opinion !) the decrease in quality of the OpenStep software (including the related Foundation Kit, EOF etc.) compared to the "old" NextStep is so obvious, that I can't understand why NeXT is even thinking about doing this, but I admit that I have met people that sincerely believe that the "new", complete rewrite (with more static typing, with more protocols, more additions to the objc language etc, with new allocation conventions, and with the use of objects "throughout", even where C functions did the job just fine), will improve quality and portability of the system. So, rather than starting a flame war about it, I'd like to suggest something of a compromise. Isn't it possible in 4.0 (and beyond?) to keep source compatibility and to add OpenStep as an "option" for those that like OpenStep and want to start developing OpenStep software using NextStep 4.0 ? For example, the NSWindow header file could be placed in <openstep/NSWindow.h> and the Window header would just stay where it is right now <appkit/Window.h>. I mean: let's keep the good old NextStep around for a while, and also give us a possibility to "try out" or evaluate OpenStep (by importing <openstep/openstep.h> !), and please give us a choice on whether to convert NextStep software or not. I have the impression that the OpenStep people would prefer a complete removal of the "old" appkit, even before we have had a chance to evaluate the replacement, and would like to deliver a few tools to semi-automatically convert source code towards the "new" API, probably hoping of course that this would spur the development of more OpenStep compatible software. That's a dangereous bet. If I'd be forced into this kind of position where I have to choose between converting (not to mention rewriting) my software, or just quit, I'd myself be more likely to quit and drop OpenStep at all. On the other hand, there's definitely a lot of potential in OpenStep, and I'm very willing to take a look at it, but on a voluntary basis of course. So why not just bundling it as an extra or option with 4.0 ? If OpenStep is good, there's nothing to be feared, we'll all migrate towards OpenStep. If it doesn't work out as planned, there's still a way back at least. Anyhow, let's see what happens to the WebObjects project, because that's where there's an opportunity on some really innovative, object-oriented software ! It would be awesome to have an IB-like application (based upon a kit of portable objects perhaps like HyperServer, HyperDocument etc. instead of Application,View and so on) that you could use to build interactive web-servers, and where you could "plug in" custom Objective C "target/action methods" as easily as in IB... David Stes e-mail: stes@can.nl www: http://www.can.nl/~stes
Newsgroups: comp.sys.next.programmer From: Henry Flurry <henry_flurry@mediastation.com> Subject: Getting images to the screen FAST Message-ID: <DGCvC4.9FM@mediastation.com> Keywords: NXImage image Sender: usenet@mediastation.com Organization: Media Station, Inc., Ann Arbor, MI, USA Date: Thu, 12 Oct 1995 21:50:27 GMT I am using NS Developer 3.2. I wish to get portions of an image (as they are updated) to the screen as quickly as possible. My image is a palettized image. Questions: a) Are there quick ways to get a palettized image to the screen? b) If not, what is the quickest way to get an image which has been formatted to the destination window depth to the screen? (I can write a routine which will convert the palette into true color...). I seem to remember that there were some issues of what type of format the data should be (planar or not?), on what memory boundaries it should be (quad boundary?), and what the number of bytes per row should be. Also, wasn't there something about what pixel you should start writing to? This is all hazy in my memory, and I'd appreciate some pointers to the details or some reminders. Thanks! - Henry Flurry
From: scal0011@rz03.FH-Karlsruhe.DE (Alexander Schmidt) Newsgroups: comp.sys.next.programmer Subject: Q: how to connect PDO to SUN cc generated code Date: 12 Oct 1995 19:56:22 GMT Organization: Fachhochschule of Karlsruhe, Germany Message-ID: <45jrt6$1l5@nz12.rz.uni-karlsruhe.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I plan to use PDO on a Solaris 2 machine. The data generating program has to be linked with the native SUN compiler for several reasons. Is there any way to use PDO directly in the same executable with the SUN code or do I have to use some kind of inter process communication? Before spiting out RTFMs: I havn't got the Solaris PDO package yet, so I don't know if this topic is probably described in detail there. Is it? Thanx in advance, Alex. -- Alexander Schmidt, FhG IITB Karlsruhe Germany scal0011fh-karlsruhe.de
From: fred.stemp@sid.net (Fred Stemp) Newsgroups: comp.sys.next.programmer Subject: Visual Basic Programmer Wanted Date: 12 Oct 1995 17:44:03 GMT Organization: Southeastern Information Deport Message-ID: <45jk53$pp@nntp.atlanta.com> Mime-Version: 1.0 Full-time Visual Basic programmer wanted. This programmer will be developing Client/Server applications for a Atlanta area on-line service. Networking knowledge helpful but not required. Examples of your programming will be required. Interested persons please call Fred Stemp at (770) 984-9444 ext. 322 or e-mail me at fred.stemp@sid.net. You may fax a resume to (770) 612-0780.
From: Ali_Ozer@NeXT.com (Ali Ozer) Newsgroups: comp.sys.next.programmer Subject: -[View displayFromOpaqueAncestor:::] Date: 13 Oct 1995 01:37:53 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <45kfth$seh@news.next.com> References: <9510120218.AA04274@flexus> In article <9510120218.AA04274@flexus> Raf Schietekat writes: > Can anyone give me a reasonable explanation of why -[View > displayFromOpaqueAncestor:::] is the exception? I think the original design decision was performance motivated. There are a lot of non-opaque views, and having them all display from ancestor and having it be efficient is a lot of extra work. > Why doesn't -[View display:::] do all that? In OpenStep this is the way it works. Ali, Ali_Ozer@NeXT.com
From: lc30@cornell.edu (Lewis Cheng) Newsgroups: comp.sys.next,comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc Subject: Re: Audio conferencing programming help Date: Fri, 13 Oct 1995 10:39:24 -0500 Organization: Cornell University Sender: sk68@cornell.edu (Verified) Message-ID: <lc30-1310951039240001@128.253.203.97> References: <DFtFsC.IBL@ul.ie> I found some interesting programs like Talkback, etc., in the Peanuts ftp site. Hope you can find something useful there. In article <DFtFsC.IBL@ul.ie>, 9222677@ul.ie wrote: > Can you help me > > I'm doing a project on audio conferencing on a LAN and would > appreciate any guidelines that would help me. (ie. ftp sites of useful > programs or www sites etc.) > > If you can help in any way you can Email me or attach your reply to > this message. > > Thanks again. > Email - 9222677@ul.ie
From: besler@mdd.comm.mot.com (Steve Besler) Newsgroups: comp.sys.next.programmer Subject: Re: -[View displayFromOpaqueAncestor:::] Date: 12 Oct 1995 17:08:14 -0700 Organization: Motorola - Wireless Data Group Distribution: na Message-ID: <45kalf$3fm@nova.mdd.comm.mot.com> References: <gelatoDGC7nA.2sp@netcom.com> In article 2sp@netcom.com, gelato@netcom.com (Steve James) writes: > however, with single inheritance, >you're stuck if you aren't subclassing from View, am I frequently am not. Why not make a category of View... -- Steven Besler, Coop Student "I do not speak for Motorola." Motorola Wireless Data Group besler@mdd.comm.mot.com
Newsgroups: comp.sys.next.programmer From: karl@trapac.com (Karl Kraft) Subject: Re: Implementing Inspectors - please help Message-ID: <DGE096.Jwo@trapac.com> Organization: Trans Pacific Container Service Corporation References: <45jo95$anq@grid.Direct.CA> Date: Fri, 13 Oct 1995 12:34:17 GMT In article <45jo95$anq@grid.Direct.CA> ken@direct.ca (Ken Clark) writes: >Hi. I am looking for pointers on the Right Way(tm) to implement inspectors. > ... > My app basically has multiple browsers for different object >types and a single inspector panel for looking at the objects and >modifying their attributes (kinda like IB). There seem to be two schools: > >(1) Keep the inspector controller object around even if the inspector is >not requested by the user. OrderFront the inspector panel when the user >requests the inspector. I don't like this option because updating the >inspector in my app is expensive (the attributes take considerable resources >to compute and a non trivial memory overhead), and the "usual" case will >be that it is not displayed. > >I have tried (2) because my gut tells me (1) is a solution of the >"easier to program but less efficient" variety. (2) however seems to >bog down in the details when it actually comes down to keeping track >of multiple inspector types for multiple active browsers, so I am stuck. >Any hints from those who have "been there done that" are very appreciated. > If (2) is bogged down in the details, look at possible ways to improve (1). The only problem with (1) is that you don't want to update the inspector if it's not visible. That's easy to solve with two methods. -[Window isVisible] You can use this method to tell whether the inspector window is open. Code Snippet: -updateInspector; { if (![[someUIObject window] isVisible) return self; [someUIObject setStringValue:blah]; return self; } Also, if your inspector is multi-pane, you probably want to only update the visible inspector. Only when the user changes to another pane should you update the non-visible pane. If that's not possible, you could code using the second method: -[View getVisibleRect:] This method takes a passed reference to a rectangle, and fills it with the amount of the view that is visible. It also returns NO if the element is outside the bounds of the window. -- Karl Kraft Karl_Kraft@trapac.com Karl_Kraft@ensuing.com [My opinions are my own]
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Re: What is stty -extproc Message-ID: <jpanicoDGE6AH.Ar4@netcom.com> Followup-To: comp.sys.next.software,comp.sys.next.programmer Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <1995Oct12.124205.376@free.fdn.org> Date: Fri, 13 Oct 1995 14:44:41 GMT Sender: jpanico@netcom.netcom.com From "man stty" (NS 3.3) STTY(1) UNIX Programmer's Manual STTY(1) NAME stty - set terminal options SYNOPSIS stty [ option ... ] DESCRIPTION Stty sets certain I/O options on the current output termi- nal, placing its output on the diagnostic output. With no argument, it reports the speed of the terminal and the set- [snip] -extproc process characters external to the terminal driver. This option is used when there is a loss of characters or improper handling of special characters (e.g., carriage returns and line feeds) during a telnet(1C) session from a non-NEXTSTEP local host to a NEXTSTEP remote host. Fabien_Roy@free.fdn.org wrote: : stty -extproc mode is not documented in the manuals nor in : DigitalLibrarian NextDev. : I wonder if there are more undocumented fetures like that one in stty. : Thanks : Fabien : -- : --------------------------------------------------------------------- : Fabien_Roy@free.fdn.org (NextMail/MIME accepted) : Fabien Roy Consultant : NEXTSTEP/OPENSTEP/EOF Consultant, SYBASE DBA : 10 rue de la DEFENSE 93100 MONTREUIL, France : Tel: 33 1 45 28 32 23 Fax: 33 1 48 55 09 90 -- Joe Panico NeXTStep/OpenStep Developer BLaCKSMITH Inc. jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: meb@cen.com (Mehdi Bousaidi) Newsgroups: comp.sys.next.programmer Subject: TextField delegate Date: 13 Oct 1995 15:34:32 GMT Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Distribution: world Message-ID: <45m0u8$ltl@post.gsfc.nasa.gov> HI, I am trying to check for a change of display values of a textField. So I created a delegate for that, and I have used the textDidChange:textfield method. This only works if there is a user interactio; that is if I change the value in the textField manually. The value itself changes dynamically by another process that writes to thextfield. Any ideas on how to accomplish that will be greatly appreciated. Thank you. -- --------------------------------------------------------------------- Mehdi Bousaidi email: mbousaidi@cen.com Century Computing web: http://www.cen.com 8101 Sandy Spring phone: (301) 953-3330 ext. 129 Laurel, MD 20707 Fax: (301) 953-2368 ---------------------------------------------------------------------
From: Joey Sum <jpsum00@mik.uky.edu> Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: POSIX compilation (was: slirp 0.9 on NeXTstep/Intel 3.3) Date: 13 Oct 95 16:06:26 GMT Organization: University of Kentucky Computing Services Message-ID: <jpsum00.813600386@mik.uky.edu> References: <451cbm$r58@gamera.cbl.cees.edu> <jpsum00.813279792@mik.uky.edu> <45e3e4$fo3@cnn.Princeton.EDU> Keywords: slirp,NS/Intel 3.3 In <45e3e4$fo3@cnn.Princeton.EDU> cedman@phoenix.princeton.edu (Carl F. Edman) writes: >In article <jpsum00.813279792@mik.uky.edu>, Joey Sum ><jpsum00@mik.uky.edu> wrote: >> In <451cbm$r58@gamera.cbl.cees.edu> mike@starburst.cbl.cees.edu (Michael F. Santangelo) writes: >> >Trying to get slirp 0.9 to build... after running it's configure and >> >fooling with it a little (including adding "-D_POSIX_SOURCE" to the >> >CFLAGS in the makefile) I can get it to build but attempting to run >> >it in any way yields a floating point exception. Matter of fact >> >we get that alot compiling stuff off the net with NS/Intel 3.3. >> >Any ideas? >> >> I get that same error message "Floating exception" when compiling NcFTP >> v2.x and using the posix libraries. Any info would be greatly appreciated. >This has been pointed out 1,000,000 times before in this forum, but why not >make it 1,000,001 ? Maybe this time somebody will remember it. >First of all, don't compile posix, unless you have to. Posix support >under NS is still not entirely stable and tends to bloat the size of even >the smallest executables. Most programs on the net using posix features >can be compiled posix-free, possibly after munging the configuration >slightly. >Second, if you do have to compile posix, do _NOT_ (!) -D_POSIX_SOURCE or >'#define _POSIX_<FOOBAR>' or -lposix. The effect will be to compile in an >environment which has been only partially posixified with entirely >unpredictable effects. The correct way to compile posix is to add the >'-posix' switch to all invocations of cc. The most simple and reliable >way to do that is to define 'CC' in the makefile to be 'cc -posix' (and >you may want to throw in the -pipe switch at the same place). >And, yes, ncftp 2.x will work just fine when compiled in this manner. Carl, I have done this and now, NcFTP does not give me the "floating exception", but compiles without warning, and even executes. But upon execution, I cannot page files and itr craps out on me suddenly. If you have it, please upload it to ftp.orst.edu or any of the other NeXT archives. Thanks, Joey
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <schaik@bonnie.meteocon.nl> Date: Fri, 13 Oct 95 15:58:59 GMT From: Wiro van Schaik <schaik@bonnie.meteocon.nl> Message-ID: <9510131558.AA08303@bonnie.meteocon.nl> Subject: Re: Map Projections? > I am looking for some software to help me plot projections > on the earth. In particular, I am in need of transforming > the x-y coordinate system to get latitude and longitude > lines that are curved as shown on 2-d maps of parts of the > earth. Any other other additions would be welcome also. > Third party software is OK as long as I can use it with my > own code. > We learned a lot from the GCTPC-package. It's availabe from several FTP and WWW-sites. Wiro. --- / Meteo Consult Wiro van Schaik (System Developer) / P.O. Box 617 / 6700 AP Wageningen >W.vanSchaik@MeteoCon.nl< / The Netherlands >NeXT Mail preferred< / fax: ..31 (0)317 423164 (new) ------------------------------------------/ voice: ..31 (0)317 423300 (new) (new nrs. since 10/10/'95) This is from the original documentation: ******** Disclaimer ******** The General Cartographic Transformation Package (GCTP) is a system of software routines designed to permit the transformation of coordinate pairs from one map projection to another. The GCTP is the standard computer software used by the National Mapping Division for map projection computations. Because of requirements internal to the EROS Data Center, the GCTP software was converted from FORTRAN to the C programming language, and several new projections were added. During the conversion process, the software was tested on Data General, SUN, and Silicon Graphics UNIX systems. In addition, the software has also been verified against the current National Mapping Division (NMD) GCTP software. This new version, GCTPc, is being made available informally on a 'user-beware' basis. EDC assumes no responsibility for the accuracy of the routines in this package. Because of decreasing budgets and impacts on software development staff, EDC will not be responsible for supporting this software package. The user is responsible for using the package correctly. A set of validation data is provided so that each user/facility may perform its' own testing of the programs. A description of this data set and instructions for its use are in the test/README file. EDC will welcome any questions, comments, or suggestions, and will respond on a time-available basis based on our interests and requirements. Communications concerning the GCTPc package may be directed to this email address: gctpc@edcserver1.cr.usgs.gov The GCTPc Directory Structure is as follows: gctpc - README - Announce.txt contains information on retrieving and installing GCTPc gctpc/doc: - Documentation for GCTPc gctpc/source: - Code for the GCTPc library. A Makefile exists that has been tested on Data General, SUN, and Silicon Graphics systems. gctpc/test: - Test procedures Note: README files contain more information on each individual directory. Periodic updates and corrections will be put in this directory for access by the science community. Descriptions of these updates will be added to this file. Change Log: Version Date Comments ------- ----- ---------------------------------------------------------- c.1.0 11/93 Initial C version. Includes all previous GCTP projections and Space Oblique Mercator (SOM), Robinson, and Alaska Conformal. The projections Hammer, Interrupted Goode Homolosine, Mollweide, Interrupted Mollweide, Wagner IV, Wagner VII, and Oblated Equal Area have been added.
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: Fabien_Roy@free.fdn.org Subject: Re: What is stty -extproc Message-ID: <1995Oct13.201253.4390@free.fdn.org> Sender: news@free.fdn.org Organization: Fabien Roy Consultant, Paris, France References: <1995Oct12.124205.376@free.fdn.org> <jpanicoDGE6AH.Ar4@netcom.com> Date: Fri, 13 Oct 1995 20:12:53 GMT jpanico@netcom.com (Joe Panico) wrote: > From "man stty" (NS 3.3) > STTY(1) UNIX Programmer's Manual STTY(1) > NAME > stty - set terminal options > SYNOPSIS > stty [ option ... ] > DESCRIPTION > Stty sets certain I/O options on the current output termi- > nal, placing its output on the diagnostic output. With no > argument, it reports the speed of the terminal and the set- > [snip] > -extproc process characters external to the terminal > driver. This option is used when there is a loss > of characters or improper handling of special > characters (e.g., carriage returns and line feeds) > during a telnet(1C) session from a non-NEXTSTEP > local host to a NEXTSTEP remote host. This is a complete printout of my stty manual page. I am starting to not trust my man pages :-( I did a 3.2 to 3.3 upgrade and I will check on the 3.3 CDRom. Thanks Fabien ------------------------------cut here ---------------------- fabien@free> man stty Reformatting page. Wait... done STTY(1) UNIX Programmer's Manual STTY(1) NAME stty - set terminal options SYNOPSIS stty [ option ... ] DESCRIPTION Stty sets certain I/O options on the current output termi- nal, placing its output on the diagnostic output. With no argument, it reports the speed of the terminal and the set- tings of the options which are different from their defaults. Use of one of the following options modifies the output as described: all All normally used option settings are reported. everything Everything stty knows about is printed. speed The terminal speed alone is printed on the stan- dard output. size The terminal (window) sizes are printed on the standard output, first rows and then columns. The option strings are selected from the following set: even allow even parity input -even disallow even parity input odd allow odd parity input -odd disallow odd parity input raw raw mode input (no input processing (erase, kill, interrupt, ...); parity bit passed back) -raw negate raw mode cooked same as `-raw' cbreak make each character available to read(2) as received; no erase and kill processing, but all other processing (interrupt, suspend, ...) is per- formed -cbreak make characters available to read only when new- line is received -nl allow carriage return for new-line, and output CR-LF for carriage return or new-line nl accept only new-line to end lines echo echo back every character typed -echo do not echo characters lcase map upper case to lower case -lcase do not map case tandem enable flow control, so that the system sends out the stop character when its internal queue is in danger of overflowing on input, and sends the start character when it is ready to accept further input -tandem disable flow control -tabs replace tabs by spaces when printing tabs preserve tabs ek set erase and kill characters to # and @ For the following commands which take a character argument c, you may also specify c as the ``u'' or ``undef'', to set the value to be undefined. A value of ``^x'', a 2 character sequence, is also interpreted as a control character, with ``^?'' representing delete. erase c set erase character to c (default `#', but often reset to ^H.) kill c set kill character to c (default `@', but often reset to ^U.) intr c set interrupt character to c (default DEL or ^? (delete), but often reset to ^C.) quit c set quit character to c (default control \.) start c set start character to c (default control Q.) stop c set stop character to c (default control S.) eof c set end of file character to c (default control D.) brk c set break character to c (default undefined.) This character is an additional character causing wakeup. cr0 cr1 cr2 cr3 select style of delay for carriage return (see ioctl(2)) nl0 nl1 nl2 nl3 select style of delay for linefeed tab0 tab1 tab2 tab3 select style of delay for tab ff0 ff1 select style of delay for form feed bs0 bs1 select style of delay for backspace tty33 set all modes suitable for the Teletype Corpora- tion Model 33 terminal. tty37 set all modes suitable for the Teletype Corpora- tion Model 37 terminal. vt05 set all modes suitable for Digital Equipment Corp. VT05 terminal dec set all modes suitable for Digital Equipment Corp. operating systems users; (erase, kill, and inter- rupt characters to ^?, ^U, and ^C, decctlq and ``newcrt''.) tn300 set all modes suitable for a General Electric Ter- miNet 300 ti700 set all modes suitable for Texas Instruments 700 series terminal tek set all modes suitable for Tektronix 4014 terminal 0 hang up phone line immediately 50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 exta extb Set terminal baud rate to the number given, if possible. (These are the speeds supported by the DH-11 interface). rows n The terminal size is recorded as having n rows. columns n The terminal size is recorded as having n columns. cols n is an alias for columns. A teletype driver which supports the job control processing of csh(1) and more functionality than the basic driver is fully described in tty(4). The following options apply only to it. new Use new driver (switching flushes typeahead). crt Set options for a CRT (crtbs, ctlecho and, if >= 1200 baud, crterase and crtkill.) crtbs Echo backspaces on erase characters. prterase For printing terminal echo erased characters back- wards within ``\'' and ``/''. crterase Wipe out erased characters with ``backspace- space-backspace.'' -crterase Leave erased characters visible; just backspace. crtkill Wipe out input on like kill ala crterase. -crtkill Just echo line kill character and a newline on line kill. ctlecho Echo control characters as ``^x'' (and delete as ``^?''.) Print two backspaces following the EOT character (control D). -ctlecho Control characters echo as themselves; in cooked mode EOT (control-D) is not echoed. decctlq After output is suspended (normally by ^S), only a start character (normally ^Q) will restart it. This is compatible with DEC's vendor supplied sys- tems. -decctlq After output is suspended, any character typed will restart it; the start character will restart output without providing any input. (This is the default.) tostop Background jobs stop if they attempt terminal out- put. -tostop Output from background jobs to the terminal is allowed. tilde Convert ``~'' to ```'' on output (for Hazeltine terminals). -tilde Leave poor ``~'' alone. flusho Output is being discarded usually because user hit control O (internal state bit). -flusho Output is not being discarded. pendin Input is pending after a switch from cbreak to cooked and will be re-input when a read becomes pending or more input arrives (internal state bit). -pendin Input is not pending. pass8 Passes all 8 bits through on input, in any mode. -pass8 Strips the 0200 bit on input except in raw mode. mdmbuf Start/stop output on carrier transitions (not implemented). -mdmbuf Return error if write attempted after carrier drops. litout Send output characters without any processing. -litout Do normal output processing, inserting delays, etc. nohang Don't send hangup signal if carrier drops. -nohang Send hangup signal to control process group when carrier drops. etxack Diablo style etx/ack handshaking (not imple- mented). The following special characters are applicable only to the new teletype driver and are not normally changed. susp c set suspend process character to c (default control Z). dsusp c set delayed suspend process character to c (default control Y). rprnt c set reprint line character to c (default control R). flush c set flush output character to c (default control O). werase c set word erase character to c (default control W). lnext c set literal next character to c (default control V). SEE ALSO ioctl(2), tabs(1), tset(1), tty(4) fabien@free> ls -l /usr/man/man1/stty.1 -r--r--r-- 1 root 8671 Jan 7 1995 /usr/man/man1/stty.1 fabien@free> hostinfo Mach kernel version: NeXT Mach 3.3: Mon Oct 24 13:56:37 PDT 1994; root(rcbuilder):mk-171.9.obj~2/RC_m68k/RELEASE_M68K Kernel configured for a single processor only. 1 processor is physically available. Processor type: MC680x0 (68040) Processor speed: 25 MHz Processor active: 0 System type: 3 Board revision: 0x0 Primary memory available: 32.00 megabytes. Default processor set: 65 tasks, 100 threads, 1 processors Load average: 0.06, Mach factor: 0.98 fabien@free> ----------------------------------------------------------------- -- --------------------------------------------------------------------- Fabien_Roy@free.fdn.org (NextMail/MIME accepted) Fabien Roy Consultant NEXTSTEP/OPENSTEP/EOF Consultant, SYBASE DBA 10 rue de la DEFENSE 93100 MONTREUIL, France Tel: 33 1 45 28 32 23 Fax: 33 1 48 55 09 90
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <schaik@bonnie.meteocon.nl> Date: Fri, 13 Oct 95 16:28:56 GMT From: Wiro van Schaik <schaik@bonnie.meteocon.nl> Message-ID: <9510131628.AA08384@bonnie.meteocon.nl> Subject: Re: InformixAdaptor for EOF ? gemoe@proximus.north.de (Gerhard =?iso-8859-1?Q?M=F6ller?=) wrote: > Gerald McMullon <gfg@info.bt.co.uk> wrote: > >etienne@venus.univ-lr.fr (Etienne Gourdon) wrote: > >>Hi, > >> > >>We heard about InformixAdaptor for EOF > >>But, where can we find it ? > >> > >>Any help will be a pleasure. > > > >There is one, but when I asked Informix if they had a port to NeXTSTEP > >they asked me what is NeXTSTEP. Okay it was the UK office but I got no > >where. > > Ask again. Maybe ask Informix, US. Or ask NeXT, Inc. for who you have to > ask. Informix is used by Disney and they have certainly an Adoptor for > it. > Yesterday, I finaly got a message from our account-manager at informix that the EOF-adapter is available. We will get one asap to test it out. He did not yet know how much it will cost. He also told me that version 2.0 of the adaptor will be released by Next itself in Q1'96. Also other stuff of Informix (like E/SQL) will be ported to Nextstep. So it seems Informix finaly accepted the Next-platform. Wiro. --- / Meteo Consult Wiro van Schaik (System Developer) / P.O. Box 617 / 6700 AP Wageningen >W.vanSchaik@MeteoCon.nl< / The Netherlands >NeXT Mail preferred< / fax: ..31 (0)317 423164 (new) ------------------------------------------/ voice: ..31 (0)317 423300 (new) (new nrs. since 10/10/'95)
From: osg@onramp.net Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Invitation Date: Wed, 11 Oct 95 13:43:49 PDT Organization: On-Ramp; Individual Internet Connections; Dallas/Ft Worth/Houston, TX USA Message-ID: <45mc52$c9m@news.onramp.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII OBJECT SYSTEMS GROUP HOSPITALITY SUITE LOCATIONS Austin, Texas During OOPSLA'95 Sunday 10/15 Four Seasons -Presidential Suite 6 p.m.-12 p.m. Monday 10/16 Four Seasons-San Jacinto Room 6 p.m.-12 p.m. Tuesday 10/17 Maggie Mae’s-6th St.&Trinity 6:30 p.m.-12 p.m. Wednesday 10/18 Four Seasons-Waterloo Room 6 p.m.-12 p.m. Thursday 10/19 Four Seasons-Presidential Suite 6 p.m.-12 p.m.
From: colen@teleport.com (Colen Garoutte-Carson) Newsgroups: comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.programmer,comp.soft-sys.nextstep Subject: [HELP] How do I make my new(used) NeXT work? Date: 13 Oct 1995 21:05:31 GMT Organization: Metrowerks Inc. Distribution: inet Message-ID: <colen-1310951404320001@ip-pdx09-27.teleport.com> Anyone who can help, Please forgive my ignorance. Any help would be _extremely_ appreciated. I've just aquired a Color NeXTstation. When I boot, it says "Testing system...", opens a NeXT ROM monitor 2.4 (v65) window. Testings some more stuff (all the tests pass). Then gives me a "NeXT>" prompt. I figured "b sd" was the only intelligent option at this point. It boots me into unix, in a "NeXT Mach Operating System" window. It tries to set up network access, but fails (it's not connection to one yet). It gives me a "#" prompt, from which I can list files. I can execute basic unix commands. But I can't see to get any programs working. How do I boot into the NeXT OS? How do I get anything to display in color? Why, whenever I try to execute most of the programs, does it just access the HD, then freeze up? How can I make the programs run properly? The person I bought this from said he has tried to install the latest update to the NeXT OS, but wasn't able to get it working properly. I'm not sure what he's done, or at what stage he left off. What software should I have installed to make things work properly? (I'm trapped in a well! PLEASE HELP ME!) Please respond cc responses to my email address, - Colen Garoutte-Carson
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Fri, 13 Oct 95 20:49:13 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9510131949.AA02734@flexus> Subject: Re: -[View displayFromOpaqueAncestor:::] Steve James <gelato@netcom.com> writes: > The only plausible answer I can come up with is that, > for this code to be in View, the view would have to ask > itself if it was opaque, using [self isOpaque], in order It could just consult the relevant bit directly (for those who worry about performance). > to know whether to call displayFromOpaqueAncestor. I -display(::) could use -displayFromOpaqueAncestor::: directly, regardless. That method would then do all the testing, and if the view was itself opaque, only a few machine instructions would be ``wasted'', in any case a negligible amount compared to the effort of drawing anything. > have found that [self isOpaque] isn't always answered > correctly by all the view classes contained in the AppKit > (in particular false negatives) so the above logic > couldn't be handled correctly in the base class if > isOpaque wasn't reliable. False negatives are harmless to display integrity, and if performance is perceived to be problematic, the bit of each View can easily be set correctly. Steve James <gelato@netcom.com> writes: > By the way, yes, I could make a simple View subclass > called TransparentView that contains just the above > -display method, thus avoiding copy/paste of that display > method in other classes; however, with single inheritance, > you're stuck if you aren't subclassing from View, am I > frequently am not. I don't quite understand what you are saying here. Any object acting like a View surely must subclass from View even if indirectly... Both a category, or a poseAs view subclass will do the trick. Ali Ozer <Ali_Ozer@NeXT.com> writes: > I think the original design decision was performance > motivated. There are a lot of non-opaque views, and having > them all display from ancestor and having it be efficient > is a lot of extra work. How odd. Why do you think any custom code written by the user (necessary to circumvent the display integrity problems) will be more performant than a general good solution? Well, I've done some further testing. I switched off my solution described below, and now not only was garbage left behind non-opaque Views (the problem being discussed here), but subling Views were overwritten even without -[Window useOptimizedDrawing:YES]. Question to Ali Ozer: What explanation can you give for that? I've written a KBNS entry about this, which I've included below. If you're interested, the currently published version of KBNS (``Known Bugs in NeXT Software'') is 33.0, and can be found at: ftp://ftp.cs.orst.edu/software/NeXT/documents/KBNS.33.0.rtf Note that this must be a very controversial beast, because it's boycotted by Mr. comp.sys.next.announce (Scott Anguish). Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. *** >>>>> KBNS.33.1.032_o3.2o Specification bug for -display(FromOpaqueAncestor)::: Description: It is obvious from selector string length, and from the behaviour of -display(::) and -update, that display::: is uniquely favoured among both methods in the title. Yet it is also obvious that -display::: is not the right method for non-opaque views (which is, unless a View declares itself opaque, the default!): garbage can be left behind. It would have been better if -display::: and -displayFromOpaqueAncestor::: would have been called -incrementalDisplay::: (or somesuch) and -display::: (sic), respectively. How to verify: I have verified by disassembling the m68k NS_3.2 NeXT_s code that -display and -display:: are implemented exactly as documented: -display{ return [self display:NULL :0 :NO]; } -display:(const NXRect*)rects :(int)rectCount{ return [self display:rects :rectCount :NO]; } Send any non-opaque View an -update or -display message (after it has changed), to see what's the problem. Urgency: Does no damage, immediately obvious, workaround possible. Specification bug. Confirmed: Raf_Schietekat (o3.2o, reported) Workaround: Use an imposter that will poseAs View and redefine the following methods: @interface View_KBNS_33_1_032:View{} -display; -display:(const NXRect*)rects :(int)rectCount; @end @implementation View_KBNS_33_1_032 -display{ return [self displayFromOpaqueAncestor:NULL :0 :NO]; } -display:(const NXRect*)rects :(int)rectCount{ return [self displayFromOpaqueAncestor:rects :rectCount :NO]; } @end That means only -display::: will do the non-obvious thing, but it is probably important not to change it (if only for any internal use by the View machinery). Cure (for NeXT): See workaround (I don't think it will do any harm to make this change?). Report history: c.s.n.programmer 1995-10-11 Comment: Note that -displayFromOpaqueAncestor::: (I have not tested display:::) seems also to preserve sibling Views that are in front of self (...even if Window was sent -useOptimizedDrawing:YES!). That's nice... (Would be even better if all this were clearly documented.) XXX But display::: does not preserve sibling Views, even without [theWindow useOptimizedDrawing:YES]!: a bug? <<<<<
Newsgroups: comp.sys.next.programmer From: rpomeroy@tpoint.net (Ronald Pomeroy) Subject: Re: 3DKit in 4.0 Message-ID: <DGD36p.239.0.-s@tpoint.net> Sender: news@tpoint.net Organization: Turning Point Information Services References: <45fu7j$hep@news.tuwien.ac.at> <DGACyx.A4G@BITart.com> Date: Fri, 13 Oct 1995 00:40:01 GMT In <DGACyx.A4G@BITart.com> Gerd Knops wrote: > In article <45fu7j$hep@news.tuwien.ac.at> wilkie@narya. (Alexander Wilkie) > writes: > > The 3DKit is too vital an extension to the concept of NS to drop it. The > > rule "PS for 2D, RIB for 3D" should hold, even if the main OS customers > > like banks etc. don't need it. > > I would not be too sure about this! (Risc analysis, topologic maps thereof > etc). > > gerti > When this kit was intro'd I had daydreams of every spreadsheet/charting package using it to create wonderfully rendered 3D charts. What happened ?...nothing. -- Ronald Pomeroy rpomeroy@tpoint.net rpomeroy@rwi.com
From: herschberg@gnn.com (Todd F. Herschberg) Newsgroups: comp.sys.next.programmer Subject: Shareware Author List Date: Sat, 14 Oct 1995 15:00:12 GMT Organization: Megaweb Message-ID: <45o8gm$1ob@news-e1a.megaweb.com> I am attempting to create a freeware listing of shareware authors and how to contact them. If you are a shareware author and would like to be included in this document, please reply via e-mail (no sense cluttering up the newsgroups more than necesssary) with the following information: Author name: Company: Products: E-Mail address: Mailing address: Business Phone: Types of payment accepted: Web Page: Where to find your programs: A BRIEF description of your products: (Try to keep it under 256 characters) Thank you. Todd F. Herschberg herschberg@gnn.com
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: TextField delegate Date: 14 Oct 1995 10:54:44 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <ed9c0hrx8.fsf@steffi.accessone.com> References: <45m0u8$ltl@post.gsfc.nasa.gov> In-reply-to: meb@cen.com's message of 13 Oct 1995 15:34:32 GMT To: meb@cen.com (Mehdi Bousaidi) <meb@cen.com> writes: >HI, >I am trying to check for a change of display values of a textField. So >I created a delegate for that, and I have used the textDidChange:textfield >method. This only works if there is a user interactio; that is if I change >the value in the textField manually. The value itself changes dynamically by >another process that writes to thextfield. >Any ideas on how to accomplish that will be greatly appreciated. >Thank you. I'd say that you need to wire some notification mechanism into setStringValue if you want to do this. That's my guess. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: flock questions under NS3.2 and 3.3 Date: 14 Oct 1995 12:51:28 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eag73j133.fsf@steffi.accessone.com> Does flock work under NS 3.2 and 3.3? Is there any magic in flock that causes an implicit LOCK_UN when the file descriptors are closed by an exit? So far somebody on 3.3 is reporting that with an NFS mounted file flock is unlocking ie. removing the lockfile implicitly... Where as under NS 3.2 with a non-NFS mounted file it's not going that. What's the scoop? -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: cmsg cancel <eag73j133.fsf@steffi.accessone.com> Control: cancel <eag73j133.fsf@steffi.accessone.com> Date: 14 Oct 1995 13:27:02 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <e20sfhkvd.fsf@steffi.accessone.com> This is a cancel message from robert@steffi.accessone.com (Robert Nicholson). -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: File Viewer Implementation Date: 15 Oct 1995 07:20:10 GMT Organization: University of Heidelberg, Germany Message-ID: <45qcna$l4j@sun0.urz.uni-heidelberg.de> References: <45g8r8$ivj@hippo.shef.ac.uk> In article <45g8r8$ivj@hippo.shef.ac.uk> cnyap@dcs.shef.ac.uk (Chih Nam Yap) writes: > > Does anyone know exactly how NeXTSTEP Workspace File Viewer is implemented? [...] You should spend an hour or so playing with IconKit. One could find it on any NS ftp site. -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: Implementing Inspectors - please help Date: 15 Oct 1995 07:30:33 GMT Organization: University of Heidelberg, Germany Message-ID: <45qdap$l8h@sun0.urz.uni-heidelberg.de> References: <45jo95$anq@grid.Direct.CA> In article <45jo95$anq@grid.Direct.CA> ken@direct.ca (Ken Clark) writes: [...] > (2) Create the inspector controller when the user requests an inspector. I > don't like this option because (a) I can't hook up the target of the > NXBrowser in IB to anything since the inspector controler object doesn't > exist yet (the browser window also has new and delete buttons, etc); > (b) the browser controller then needs to be notified when the > inspector closes (or another browser gains control of the inspector), so > that the browser controller can free the inspector controller and unlink > the target of the NXBrowser. [...] I had the same problem before the Foundation kit was introduced. Now I'm using the NSNotifcationCenter class. If you still have no access to the Foundation kit, MiscKit and IconKit both provide classes (MiscAnnouncer and IKAnnouncer) partially capturing the Notification center functionality. -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: marcos@dogen.imana.com (Marcos Javier Polanco) Newsgroups: comp.sys.next.programmer Subject: HTML Programming Project Date: 15 Oct 1995 09:47:11 GMT Organization: TLGnet, a division of RGNet, Inc. Message-ID: <45qlav$hqe@kadath.zeitgeist.net> Hello, I am looking for a programmer to develop a piece of code, parsing HTML code. This is a small project, and should be fairly straightforward. For more details, please contact me. Thanks. - marcos j. polanco - marcos@imana.com
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Re: Spurious "floating exception" on NS/Intel 3.3 on 100Mhz Pentium PC Message-ID: <DGHqLy.2vB@hurka.UUCP> Keywords: posix Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <459tng$7kb@gamera.cbl.cees.edu> Date: Sun, 15 Oct 1995 12:56:22 GMT In article <459tng$7kb@gamera.cbl.cees.edu> mike@starburst.cbl.cees.edu (Michael F. Santangelo) writes: [stuff deleted] > When compiling we tend to use libposix as it is the only way it > seems we can get most things to compile (and that can be problematic > at times on some apps yielding ld errors during link for duplicate > symbols). I'm wondering if we are going about compiling these > utilities the wrong way. Yes, you do. If you compile posix code and you are linking with posix library you must specify the '-posix' flag in addition to -lposix. Moreover the posix implementation under 3.2 is not good. Upgrade to 3.3 or avoid compiling posix code at all. I hope it helps you. Best regards, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Strange problems Date: 15 Oct 1995 15:46:30 GMT Organization: University of Heidelberg, Germany Message-ID: <45racm$s3b@sun0.urz.uni-heidelberg.de> Hi, These are my top two strange problems for today ;-) 1) Somewhere in NeXT Answers (or Docs, or OpenStep Journal) there is a category: @interface NSObject (NXConnectionDebugFix) + (const char *)name; @end @implementation NSObject (NXConnectionDebugFix) + (const char *)name { NSString *str = NSStringFromClass(self); return [str cString]; } @end Well, NSStringFromClass is defined somewhere in Foundation, but the linker cannot find the symbol for that function (this happens on my HP, and on SPARC). On another HP it seams to work (the software versions are identical ... believe me!). I implemented the function: NSString *NSStringFromClass(Class aClass) { return [NSString stringWithCString:object_getClassName(aClass)]; } .. and now the program runs happily on all three boxes (no redefined symbol!!!!). Any explanations? 2) I just got the following link warning on SPARC: libtool: warning same member name (FoundationExtens) in output file used for input files: sparc_obj/FoundationExtensions.o and: sparc_obj/FoundationExtensionsPrivate.o (due to use of basename, truncation, blank padding or duplicate input files) I was naive to think, that the SPARC and HP versions are identical ;-) -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: Norbert Heger <norbert.heger@telecom.at> Newsgroups: comp.sys.next.programmer Subject: Re: File Viewer Implementation Date: Sun, 15 Oct 1995 12:36:05 GMT Organization: TELECOM Network Provider, Austria Message-ID: <951015133605.227AAAAE.bertl@black13> References: <45g8r8$ivj@hippo.shef.ac.uk> Mime-Version: 1.0 (BlackThunder) Content-Type: text/plain; charset=US-ASCII Originator: bertl@black13 cnyap@dcs.shef.ac.uk (Chih Nam Yap) wrote: > I am currently trying to implement something that look similar to the > File Viewer but do not know how to start. If anyone knows there exist > some ftp sides where I can find some source codes that may help me, > could you inform me. What about using IconKit? There are all classes included necessary to build up a File Viewer. ftp://ftp.informatik.uni- muenchen.de/pub/comp/platforms/next/Developer/objc/iconkit/... ____________________________________________________________________ Norbert Heger <norbert.heger@telecom.at> NeXTmail preferred, MIMEmail welcome
From: don@misckit.com Newsgroups: comp.sys.next.programmer Subject: Re: File Viewer Implementation Date: 15 Oct 1995 22:10:55 GMT Organization: XMission Internet (801 539 0900) Message-ID: <45s0tf$a91@news.xmission.com> References: <45g8r8$ivj@hippo.shef.ac.uk> <951015133605.227AAAAE.bertl@black13> Norbert Heger <norbert.heger@telecom.at> wrote: > cnyap@dcs.shef.ac.uk (Chih Nam Yap) wrote: > > I am currently trying to implement something that look similar to the > > File Viewer but do not know how to start. If anyone knows there exist > > some ftp sides where I can find some source codes that may help me, > > could you inform me. > > What about using IconKit? There are all classes included necessary > to build up a File Viewer. > > ftp://ftp.informatik.uni- > muenchen.de/pub/comp/platforms/next/Developer/objc/iconkit/... Add in the MiscKit (which has a simple file viewer example app) and combine the two and it should be a breeze. The MiscKit handles the file side of things nicely; the IconKit for the GUI side. The MiscKit is at: ftp://ftp.thoughtport.com/pub/next/misckit/ --- Later, -Don Yacktman yackd@xmission.com don@misckit.com -- Later, -Don Yacktman yackd@xmission.com don@misckit.com
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: HELP: Can't remove empty directory In-Reply-To: GWILLEM@alpha.ntu.ac.sg's message of 8 Oct 1995 18:25:58 GMT Message-ID: <RDL.95Oct16003034@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <9510051909.AA26279@bonnie.meteocon.nl> <45953m$2eh@ntuix.ntu.ac.sg> Date: Mon, 16 Oct 1995 04:30:34 GMT Before he does that, I strongly recommend that he boot his system with a floppy and manually run fsck on the disk. Robert La Ferla Registered OPENSTEP / NEXTSTEP Consultant Boston, MA + 1 (617) 252-0088 In article <45953m$2eh@ntuix.ntu.ac.sg> GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) writes: Xref: world comp.sys.next.programmer:25218 Path: world!news.kei.com!news.mathworks.com!ntuix.ntu.ac.sg!alpha.ntu.ac.sg!GWILLEM From: GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) Newsgroups: comp.sys.next.programmer Date: 8 Oct 1995 18:25:58 GMT Organization: Nanyang Technological University Lines: 9 References: <9510051909.AA26279@bonnie.meteocon.nl> NNTP-Posting-Host: alpha.ntu.ac.sg X-Newsreader: TIN [version 1.2 PL2v [VAX/VMS]] Wiro van Schaik (schaik@bonnie.meteocon.nl) wrote: : I'm having a problem removing an empty directory which has an erroneous : size (of 74670080 bytes) after an system crash. Maybe it works in single-user mode. Did you use chmod? Or try a rm -r on one level higher (after backing up the other files). Willem (the other van Schaik)
From: richard@tiptree. (Richard Frith-Macdonald) Newsgroups: comp.sys.next.programmer Subject: Extending text object for graphics? Date: 16 Oct 1995 07:09:49 GMT Organization: EUnet-GB distributed news service, +44 227 266466 Message-ID: <45t0fu$pi@bsdi002.britain.eu.net> I can't find ANY wysywyg html editors which handle full html2, let alone the html3 draft. So I thought, perhaps I should try to write my own. Looking at the text class as a starting place, I find I need to do several things it can't handle - 1. Images with text wrapping round them. 2. Tiled graphics as a background to a document. 3. html3 figures - require text and images to overlay previous ones. Reading the documentation, it looks like I would need to replace NXScanALine() and NXDrawALine() in order to have any hope of implementing the three features above. This does not look like a trivial task. The class gives us the ability to change these functions, suggesting that we might want to re-write thenm to re-position graphics, but then hides all the paragraph formatting information from us behind a pointer to void, and calls it i mplementation dependent. Should I even attempt it? Is there a better approach? Does anyone perhaps have source for a reference implementation of these functions that I could work from? Any help would be greatly appreciated (even if its "you'd be mad to try because ..."). Richard Frith-Macdonald
From: afied1@pblea.uni-paderborn.de (Alfred Fiedler) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.software,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer Subject: Printing from 68040 to HP850C Date: 16 Oct 1995 06:56:57 GMT Organization: Universitaet Paderborn, Germany Message-ID: <45svnp$s7q@news.uni-paderborn.de> Hi all, I have a - NeXTstation Color runnning NS 3.2 - HP JetDirect Ex - HP 850 C and try to print but nothin happend. I did the following: 1. Connect the computer and the HP JetDirect Ex via BNC, T-connectors and termination resistances. 2. Connect the HP JetDirect Ex and the printer via parallel cabel 3. Add a new host with HostManager.app called "hp850c". 4. Delete all properties in NetInfoDomain "/hp850c" except name -> hp850c ip_address -> 131.234.172.201 en_address -> 8:0:9:62:2b:da bootfile -> nothing.needed 5. Turn off and turn on computer, HP JetDirect Ex and printer After that I am able to establish a "ping" connection from the computer to the HP JetDirect Ex. I am also able to print a statuspage on the printer by pressing the "TEST"-button on the front side of the HP JetDircet Ex. This page shows: HOST NAME: 131.234.172.201 CONFIG BY: BOOTP IP ADDRESS 131.234.172.201 SUBNET MASK: NOT SPECIFIED DEF. GATEWAY: 0.0.0.0 SYSLOG SERVER: NOT SPECIFIED IDLE TIMEOUT (SECONDS): 90 SNMP GET CMTY NAME: ALL SNMP SET CMTY NAME: NONE BOOTP SERVER: 131.234.172.200 CONFIG FILE: ============================== ETHERTALK STATUS: READY So, I am sure form the "ping"-command that the connection from the computer to the HP JetDirect EX is established, and I am sure from the statuspage that the connection from the HP JetDirect Ex to the printer is established. Next I installed "JetPilot" and with the PrintManger.app a new printer of type "JP HP DeskJet 850 C" with communication via "seriell port A" (remember this is NS 3.2). Afterwards I installed "JetDirectDriver.0.92" following the instructions in the "INSTALLATION"-file. Even if power is cycled to all components absolutely nothing happend if I try to print testpages or other staff. No prints, no error messages, no sparkle of a LED, no print job occur in the PrintManager panel. Any help is welcome, Alfred.
From: cedman@phoenix.princeton.edu (Carl F. Edman) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: POSIX compilation (was: slirp 0.9 on NeXTstep/Intel 3.3) Date: 14 Oct 1995 15:57:26 GMT Organization: Princeton University Message-ID: <45oml6$4ak@cnn.Princeton.EDU> References: <451cbm$r58@gamera.cbl.cees.edu> <jpsum00.813279792@mik.uky.edu> <45e3e4$fo3@cnn.Princeton.EDU> <jpsum00.813600386@mik.uky.edu> Keywords: slirp,NS/Intel 3.3 In article <jpsum00.813600386@mik.uky.edu>, Joey Sum <jpsum00@mik.uky.edu> wrote: > I have done this and now, NcFTP does not give me the "floating > exception", but compiles without warning, and even executes. But upon > execution, I cannot page files and itr craps out on me suddenly. If you > have it, please upload it to ftp.orst.edu or any of the other NeXT archives. Well, yes, I do. I hate uploading binaries for generic UN*X packages, but as a lot of people seem to have problems with this... The only problem is that my local version uses ncurses and for some addled reason I forgot to compile my libncurses fat, so I can currently only create NS/FIP binaries of ncftp. And uploading thin binaries is not comme il faut. But the next time I build ncurses and ncftp here, I'll be sure to upload binaries for both to the archives. Carl Edman
From: Patrick Stein <jolly@cis.uni-muenchen.de> Newsgroups: comp.os.mach,comp.sys.next.bugs,comp.sys.next.programmer Subject: Q: Bug ? exec() and multithreading weirdness Date: 16 Oct 1995 10:13:12 GMT Organization: Institut fuer Informatik der Universitaet Muenchen Distribution: world Message-ID: <45tb7o$9ng@arcadia.informatik.uni-muenchen.de> Keywords: mach, thread, multithreaded, systemcall, foundationkit Hiho ! I have a program using multiple threads. At one time I want to quit the program and start another one using the UNIX exec(2) ( in this case execle ) system call. At that point I have all other remaining threads waiting in a : thread_switch(THREAD_NULL,SWITCH_OPTION_WAIT,sometime); mach call. The exec just works fine, but the new program context has still the threads waiting and whenever one of them awakes the program exits ( without getting a unix signal(3C) ). So I finally found out about that behaviour and killed the other threads in prior to the exec call. My question now is, if that's the right behaviour or shouldn't a new program begin with just one thread, cause it doesn't make any sense to me to keep them running. Btw. I killed the threads using the following hack ( knowing that running threads don't fork ): { int i; thread_array_t thread_list; unsigned int thread_count; task_threads(task_self(),&thread_list,&thread_count); for(i=0;i<thread_count;i++) { if(thread_list[i]!=thread_self()) { thread_suspend(thread_list[i]); thread_abort(thread_list[i]); thread_terminate(thread_list[i]); } } } what happens when a thread exit's before it get's aborted ? Do I just get a !kern_success ? Thanx for you time. System used: NeXTSTEP 3.3, Foundation Kit -- gimme a smile :) - jolly =================================================================== Jolly alias Patrick Stein jolly@cis.uni-muenchen.de office : ++49 +89 -211 06 70 Centrum fuer Informations private: ++49 +89 -950 57 34 und Sprachverarbeitung der Ludwig-Maximilians Universitaet Muenchen =================================================================== " Hickory, dickory, dock, The mouse ran up the clock. The clock struck one, The mouse ran down, Hickory, dickory, dock. " - nursery rhyme ===================================================================
From: mpaque@aol.com (Mpaque) Newsgroups: comp.sys.next.programmer Subject: Re: Getting images to the screen FAST Date: 16 Oct 1995 06:13:26 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <45tb86$7rq@newsbf02.news.aol.com> References: <9510121743.AA01641@quartz.can.nl> In article <DGCvC4.9FM@mediastation.com>, Henry Flurry <henry_flurry@mediastation.com> writes: >a) Are there quick ways to get a palettized image to the screen? >b) If not, what is the quickest way to get an image which has been formatted > >to the destination window depth to the screen? (I can write a routine which > >will convert the palette into true color...). > >I seem to remember that there were some issues of what type of format the >data should be (planar or not?), on what memory boundaries it should be >(quad boundary?), and what the number of bytes per row should be. Also, >wasn't there something about what pixel you should start writing to? There's no quick way to get a palettized image directly to the display. There are, however, ways to pump bitmaps in display format to the screen quickly. You'll want to use interleaved data, not planar. The data should match the display format if possible. The two canonical 'good formats' for doing this are 16 BPP RGBA and 32 BPP RGBA, with the alpha channel set to be opaque, or all ones. Red data goes in the most significant nybble or byte of each pixel as represented in a register, followed by green, then blue, then all ones (0xF or 0xFF). You'll want to put the data in a buffer with each scanline starting on a quadword (64 bit) boundry, and padded to have a rowBytes count that is a quadword multiple. Note that you don't actually have to have a quadword multiple of pixels in each line. Padding is OK. Construct an NXBitmapImageRep object pointing to your buffer, and put it on the display using COPY or SOVER compositing as appropriate. (COPY is faster, but you have to promise to set those alpha bits to be opaque!) Assuming you already had the pixels in one of the formats described above, just doing the quadword padding can get you a 30 speedup over unpadded data on a 68040 NextStation Color. Mike Paquette
From: richard@brainstorm.co.uk Newsgroups: comp.sys.next.programmer Subject: Advanded use of graphics in text class for HTML 3? Date: 16 Oct 95 11:33:12 Organization: EUnet-GB distributed news service, +44 227 266466 Message-ID: <richard.95Oct16113312@tiptree> Mime-Version: 1.0 Content-Type: text/plain I can't find ANY wysywyg html editors which handle full html2, let alone the html3 draft. So I thought, perhaps I should try to write my own. Looking at the text class as a starting place, I find I need to do several things it can't handle - 1. Images with text wrapping round them. 2. Tiled graphics as a background to a document. 3. html3 figures - require text and images to overlay previous ones. Reading the documentation, it looks like I would need to replace NXScanALine() and NXDrawALine() in order to have any hope of implementing the three features above. This does not look like a trivial task. The class gives us the ability to change these functions, suggesting that we might want to re-write thenm to re-position graphics, but then hides all the paragraph formatting information from us behind a pointer to void, and calls it i mplementation dependent. Should I even attempt it? Is there a better approach? Does anyone perhaps have source for a reference implementation of these functions that I could work from? Any help would be greatly appreciated (even if its "you'd be mad to try because ..."). Richard Frith-Macdonald
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <ttakeo@amtec.co.jp> From: ttakeo@amtec.co.jp (tetuya takeo) Message-ID: <9510160843.AA04853@amtec001.amtec.co.jp> Date: Mon, 16 Oct 95 17:43:58 +0900 Subject: How to render images on NXBitmapImageRep Hi, steppers. I'm developping application that will be used for specific printer. So, I can't use NEXTSTEP's original printing mechanism. Communication with printer is based on ESC/Page which some printer maker specified specification. Since the specification uses bitmap image, I must convert EPS image into bitmap image for printing. But, I don't know how to render Display PostScript image on NXBitmapImageRep. I wrote some code for proving my thought, but all my efforts are in vain. some code like this: View *aView; // assume this exists. NXBitmapImageRep *imRep; // assume this exists. NXStream *epsStream = NXOpenMemory( NULL, 0, NX_READWRITE ); NXImage *epsImage; NXPoint origin = { 0.0, 0.0 }; [aView getBounds:&bounds]; [aView copyPSCodeInside:&bounds to:epsStream]; epsImage = [[NXImage alloc] initFromStream:epsStream]; [epsImage lockFocusOn:imRep]; [epsImage composite:NX_SOVER to:&origin]; [epsImage unlockFocus]; NXCloseMemory( epsStream, NX_FREEBUFFER ); // here, imRep vapored!! Perhaps, NXCacheImageRep will be candidated for imaging use, but I don't know how to make NXCacheImageRep into NXBitmapImageRep. Or, I make a totally misunderstanding about rendering DPS. --- "How thousands of miles are left for Mecca?" Tetuya TAKEO ttakeo@tcp-ip.or.jp (NeXTmail welcomed!) ttakeo@oasis.nexus (NeXus-net) phone +81-532-63-1253(office), +81-532-55-5517(home)
Date: 16 Oct 1995 10:59:04 GMT From: herschberg@gnn.com (Todd F. Herschberg) Newsgroups: comp.sys.next.programmer Message-ID: <cancel.45o8gm$1ob@news-e1a.megaweb.com> Control: cancel <45o8gm$1ob@news-e1a.megaweb.com> Subject: cmsg cancel <45o8gm$1ob@news-e1a.megaweb.com> EMP/ECP (aka SPAM) cancelled by clewis@ferret.ocunix.on.ca. See news.admin.net-abuse.announce, report 19951016.03 for further details
From: ignatios@cauchy.cs.uni-bonn.de (Ignatios Souvatzis) Newsgroups: alt.winsock.programming,comp.client-server,comp.os.ms-windows.networking.misc,comp.os.ms-windows.networking.tcp-ip,comp.os.ms-windows.networking.windows,comp.os.ms-windows.nt.software.compatibility,comp.os.ms-windows.programmer.networks,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.tools.winsock,comp.os.os2.programmer.porting,comp.os.os2.programmer.tools,comp.os.os2.tcpip,comp.os.vxworks,comp.soft-sys.dce,comp.sys.dec,comp.sys.hp.hpux,comp.sys.mac.programmer.tools,comp.sys.next.programmer,comp.sys.pyramid,comp.sys.sgi.misc,comp.sys.sun.misc,comp.unix.aix,comp.unix.amiga,comp.unix.osf.osf1,comp.unix.programmer,comp.unix.sco.programmer,comp.unix.solaris,comp.unix.sys5.r4,comp.unix.ultrix,comp.unix.unixware,vmsnet.networks.tcp-ip.cmu-tek,vmsnet.networks.tcp-ip.misc,vmsnet.networks.tcp-ip.multinet,vmsnet.networks.tcp-ip.tcpware,vmsnet.networks.tcp-ip.ucx,vmsnet.networks.tcp-ip.wintcp Subject: cmsg cancel <DFv4H4.3z4@world.std.com> Control: cancel <DFv4H4.3z4@world.std.com> Date: 16 Oct 1995 16:13:38 GMT Organization: Rheinische Friedrich-Wilhelms-Universit"at Bonn, Institut Distribution: inet Message-ID: <45u0bi$l6p@apoll.informatik.uni-bonn.de> References: <DFv4H4.3z4@world.std.com> spam cancelled.
From: jfranco@rommel (Jeff Franco) Newsgroups: comp.sys.next.programmer Subject: ScrollViews and EOF edits Date: 16 Oct 1995 18:57:27 GMT Organization: BDM International, Inc. Message-ID: <45u9un$6p6@news.mcl.bdm.com> We have an Oracle long raw that we are maintaining with a Scroll View. The Scroll View displays information from the Data Base (oracle 7) just fine, however when we hit tab or return, an edit is not performed on the EO. Why is this the case when text objects do respond with an edit? What is the easiest way to get the scroll view to give an edit to my controller? Any help is appreciated. Thanks, Jeff Franco jeff_franco@notes.pw.com
Newsgroups: comp.sys.next.programmer From: gerald@kurt.in-berlin.de (Gerald Erdmann) Subject: How to get the original path of a linked file Content-Type: text/plain; charset=iso-8859-1 Message-ID: <1995Oct16.200143.1046@kurt.in-berlin.de> Sender: news@kurt.in-berlin.de Content-Transfer-Encoding: 8bit Mime-Version: 1.0 Date: Mon, 16 Oct 1995 20:01:43 GMT Hello together! Does someone has a good ­ and a simple ­ idea how to get the original file path of a queue of soft links. Example: aLinkFile ---> anotherLinkFile ---> fooBarFile ---> thatsItFile origfile (aLinkFile) == thatsItFile Ok, loops are not allowed ..... Gerald -- --------------------------------------------------------------------- | GERALD ERDMANN | email: gerald @ kurt.in-berlin.de (NeXTmail welcome) | voice: +49 30 372 43 10 (Germany - Berlin) | crypt: pgp2 public key available |
From: Joey Sum <jpsum00@mik.uky.edu> Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: POSIX compilation (was: slirp 0.9 on NeXTstep/Intel 3.3) Date: 16 Oct 95 20:50:05 GMT Organization: University of Kentucky Computing Services Message-ID: <jpsum00.813876605@mik.uky.edu> References: <451cbm$r58@gamera.cbl.cees.edu> <jpsum00.813279792@mik.uky.edu> <45e3e4$fo3@cnn.Princeton.EDU> <jpsum00.813600386@mik.uky.edu> <45oml6$4ak@cnn.Princeton.EDU> Keywords: slirp,NS/Intel 3.3 In <45oml6$4ak@cnn.Princeton.EDU> cedman@phoenix.princeton.edu (Carl F. Edman) writes: >In article <jpsum00.813600386@mik.uky.edu>, Joey Sum ><jpsum00@mik.uky.edu> wrote: >> I have done this and now, NcFTP does not give me the "floating >> exception", but compiles without warning, and even executes. But upon >> execution, I cannot page files and itr craps out on me suddenly. If you >> have it, please upload it to ftp.orst.edu or any of the other NeXT archives. >Well, yes, I do. I hate uploading binaries for generic UN*X packages, but >as a lot of people seem to have problems with this... The only problem is >that my local version uses ncurses and for some addled reason I forgot to >compile my libncurses fat, so I can currently only create NS/FIP binaries >of ncftp. And uploading thin binaries is not comme il faut. But the >next time I build ncurses and ncftp here, I'll be sure to upload binaries >for both to the archives. OK, thanks. And next time you do, e-mail Mike Gleason as he says that it's a problem with the compiler (why ncftp does not seem to compile under NS v3.x). Joey
From: mike@starburst.cbl.cees.edu (Michael F. Santangelo) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: Bizarre "Floating Exception" on execution of compiled code Date: 16 Oct 1995 22:45:12 GMT Organization: University of Maryland, Chesapeake Biological Lab. Message-ID: <45un9p$mgr@gamera.cbl.cees.edu> Keywords: floating exception,NS3.3/Intel Am running NeXTstep 3.3/Intel with NeXTDeveloper 3.3 installed. On compiling some software off-the-net (some GNU utils, shells, etc) it either A) works all the time B) every so once in a while upon program termination get "floating exeception" before returning to the shell or C) get "floating exception" as we attempt to run the code for the first time and we never get past this point. One noteworhy example is the PD package 'SLiRP' (a freeware redoing of the TIA program that does psuedo IP SLIP dynamically) which seems to make great use of the POSIX routines (only way it will compile). Here is a 'gdb' traceback... it seems to be failing on some kind of initial malloc within the NS loader: starburst.cbl.cees.edu# gdb -se ./slirp ./slirp GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.7 (NeXT 3.1), Copyright 1992 Free Software Foundation, Inc... Reading symbols from /usr/local/src/slirp-0.95h/src/slirp...done. (gdb) run Starting program: /usr/local/src/slirp-0.95h/src/slirp Program generated(3): Arithmetic exception. 0x1987f in NXCreateZone () (gdb) bt Reading in symbols for crt0.c...done. #0 0x1987f in NXCreateZone () #1 0x193b3 in NXDefaultMallocZone () #2 0x1ba15 in malloc () #3 0x295ff in sigsetmask () #4 0x296a9 in cproc_init () #5 0x286d6 in cthread_init () #6 0x33b7 in start () at crt0.c:106 (gdb) I am at my wits end here. I have even tried gutting the main() code so that it is just empty brackets and still all the time this code gets a floating exception, no code on behalf of this program is being executed!!! Again, this happens spuriously in other programs... but this one does it all the time (and nothing else). Any useful advice, ideas, etc... appreciated. -Mike -- -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Mike F. Santangelo, Dept. Head-Computer & Network Systems, UMCEES/CBL Solomons
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US - CO - Senior NeXT Project Leader - to 100k+ Date: 16 Oct 1995 18:58:32 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <45uo2o$k81@newsbf02.news.aol.com> My client, a well known leader in the use of NeXTSTEP as a leading development environment for mission-critical projects, is currently searching for a very experienced NeXT developer with some project leader or management skills. You must have a very strong NeXT development background, preferably in a medium to large development environment. The group is planning to go with OPENSTEP in the next six months, so some exposure to Windows NT would be a big plus. You must also have some management experience, preferably with 4 to 10 people reporting to you or under your supervision. The renumeration package consists of an excellent base salary, plus bonus, plus benefits, plus relocation. Contact: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX) e-mail - briman101@aol.com e-mail - dtg1@ix.netcom.com
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US - CO/NY/TX - NeXT Developers - Openstep/Sybase/EOF/WebOb Date: 16 Oct 1995 19:05:12 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <45uof8$kc8@newsbf02.news.aol.com> Two of my top NeXT development clients are still looking for NeXT developers in New York, Colorado and Texas. These positions involve developing new generation NeXT based applications using NeXT/OpenSTEP, Windows NT, Sybase, EOF, and WebObjects. All applicants must possess a solid background in NeXT development, and be willing to learn new tools such as WinNT, EOF and WedObjects. These positions offer a strong career path, with companies who are commited to the NeXT environment. Salaries are excellent, coupled with bonuses and relocation. Contact: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX) e-mail - briman101@aol.com e-mail - dtg1@ix.netcom.com
From: "Charles C. Hocker" <american@internetmci.com> Newsgroups: comp.sys.next.programmer Subject: How to accessing a printer directly? Date: 16 Oct 1995 23:53:57 GMT Organization: InternetMCI Message-ID: <45ural$eo0@news.internetmci.com> Hello, Right now I am in the process of writing a program that requires me to send information directly to the printer. The problem that I am facing is that I cannot find away to do it. What I am trying to do is send some HP PCL commands to the printer to set certain printer specific modes. When I include them in a modified PPD file, the command do not work the way they are suppose to. If I try to print them using "lpr" the escape sequences get eaten up the postscript front end. Is there away to print the the printer directly with out going through the postscript front end? Thanks... Charles C. Hocker
From: ahorvath@deltanet.com (Andrew Horvath) Newsgroups: comp.sys.next.programmer Subject: Quality Electronic Manual Writing Date: 17 Oct 1995 00:00:13 GMT Organization: American Business Solutions Message-ID: <45urmd$jl1@news1.deltanet.com> EPUBLISHER: your manual writer Advanced Control Data introduces EPUBLISHER, your electronic manual writer for Windows. The idea: EPUBLISHER, a professional editor/drawer/painter program for Windows (like CorelDRAW,Pagemaker, Ventura Publisher, QuarkXPRESS), allows you to create documents with fonts, drawings, colors, but unlike conventional desktop publishing packages, Epublisher generates a very special output: a very short ASCII command set. The length of a full color screen is less than 1000 Bytes, so a full 1000 screen size manual with jumps, graphics, and fonts is less than 1MByte. On the client side, (WWW browsers, or your program manual on disk, etc.) users use a free viewer, EPUBVIEW, to execute the commands generated by EPUBLISHER. In programming terms: EPUBVIEW is a graphical interpreter. This unique technology allows you to generate many documents with full desktop publishing features and allows you to send them over the wires within seconds or if you write a manual, it occupies only a few kilobytes on your floppy disk that you distribute. The screen oriented output offers you new features: * inserting buttons and icons into your document where readers can click and jump,just like in an online service Your manual is practically a small BBS engine on a floppy disk. * using colors for coding text in your document is a new feature that has just been introduced and that has never been possible before. Example for color coding: you can build up your document in red color for main text, blue for comments to go along with the document, and green for headings and titles. users can extract text of any color from your document and save it in a new file. Please visit our WWW site for more information: http://www.restonline.com/acd/info.html Information specific to manual-writing: http://www.restonline.com/acd/epbmanl.html Sincerely: Laslo Chaki Advanced Control Data Voice: (714)8379659 EMAIL: lchaki@deltanet.com PS: We introduced EPUBLISHER for the NET a couple days ago. Here are a couple of EMAIL we received: From: an America Online engineer Hi, Laslo: I just took a look at your Web site . . . very interesting! Your best next step to be considered.... Thanks, From: a print publisher consultant Hi Laslo, I think you are on the right track. My company works with many print publishers who want to move to web publishing. Good luck,
Newsgroups: comp.sys.next.programmer From: gerti@BITart.com (Gerd Knops) Subject: Perl + NEXTSTEP Message-ID: <DGL2Ls.6Iv@BITart.com> Sender: usenet@BITart.com Organization: BITart, NEXTSTEP/OPENSTEP Consulting Date: Tue, 17 Oct 1995 08:08:16 GMT For an alpha test I am looking for a few programmes that use both perl and NEXTSTEP, and have some time to spare to test an exciting product. Please EMail. gerti gerti@BITart.com
From: specht@hamlet.dbag.ulm.DaimlerBenz.com (Ralf Specht) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: NeXT-Library to control SCSI-scanner Date: 17 Oct 1995 09:43:23 GMT Organization: debis Network Services GmbH Message-ID: <45vtrr$5dg@news.sns-felb.debis.de> Hi all, i was wondering if there exists a NeXT-LLibrary which offers control over a scanner connected to the scsi-bus of a NeXT-Workstation... The idea behind this is, that I want to scan an image within a self-made program and I don't want to start the scanner-software every time... Thanks... ...Ralf -- Ralf Specht Daimler-Benz AG, Research Center Ulm Department of Text Understanding Systems P.O. Box 23 60 89013 Ulm, Germany e-mail: specht@dbag.ulm.DaimlerBenz.COM phone: +49 731 505-2356 fax: +49 731 505-4113
From: rjh@ecs.soton.ac.uk (Rupert Hollom) Newsgroups: comp.sys.next.programmer Subject: Getting & Setting URL's in OmniWeb Date: 17 Oct 1995 10:40:48 GMT Organization: Electronics and Computer Science, University of Southampton Message-ID: <46017g$9fa@bright.ecs.soton.ac.uk> Sorry if this an extremely simple question but as I am just starting out programming NS I'm still trying to work out what's possible and what isn't. I'm writing a small program that will take a selection from OmniWeb, do a bit of processing on it and depending upon the result get OmniWeb to load a new URL. So what I need to do is to get the selection - for which I presume I use one of the NS pasteboards - then I need to get the current URL from OmniWeb. So how do i get the current URL out of OmniWeb, is there some object that I can just have a look at, a function that can be called, or is it not possible ? Cheers Rupert E-Mail : rjh@ecs.soton.ac.uk
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: POSIX compilation (was: slirp 0.9 on NeXTstep/Intel 3.3) Followup-To: comp.sys.next.software,comp.sys.next.programmer Date: 17 Oct 1995 10:38:21 GMT Organization: University of Heidelberg, Germany Message-ID: <46012t$qvg@sun0.urz.uni-heidelberg.de> References: <451cbm$r58@gamera.cbl.cees.edu> <jpsum00.813279792@mik.uky.edu> <45e3e4$fo3@cnn.Princeton.EDU> <jpsum00.813600386@mik.uky.edu> Joey Sum (jpsum00@mik.uky.edu) wrote: : In <45e3e4$fo3@cnn.Princeton.EDU> cedman@phoenix.princeton.edu (Carl F. Edman) writes: : >And, yes, ncftp 2.x will work just fine when compiled in this manner. : Carl, : I have done this and now, NcFTP does not give me the "floating : exception", but compiles without warning, and even executes. But upon : execution, I cannot page files and itr craps out on me suddenly. If you : have it, please upload it to ftp.orst.edu or any of the other NeXT archives. Well, to add to this topic: ncftp 2.x has two modes, a 'visual', full-screen mode, and the normal line mode, as known from ncftp 1.9x. If you configure and compile ncftp in the usual manner on NEXTSTEP, it's unable to use visual mode (AFAIK), since you need a decent curses package for visual mode (which NEXTSTEP lacks). Then, you could try and get ncurses (1.9.5 is the most recent). Sadly, ncurses 1.9.x compiles for NEXTSTEP only with -posix. Therefore any application which will be linked against libncurses.a has to be compiled with -posix, too. Therefore you have to compile ncftp with -posix if you want visual mode. IMHO the best would be to port ncurses 1.9.x over to generic NEXTSTEP (i.e. without posix), as the old ncurses 1.8 on orst and peanuts was. Or am I wrong ? Gregor -- | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: Greg_Anderson@afs.com (Gregory H. Anderson) Newsgroups: comp.sys.next.programmer Subject: Re: How to get the original path of a linked file Date: 17 Oct 1995 14:32:59 GMT Organization: Anderson Financial Systems Inc. Message-ID: <460eqr$455@shelob.afs.com> References: <1995Oct16.200143.1046@kurt.in-berlin.de> Gerald Erdmann writes > Hello together! > > Does someone has a good and a simple idea how to get the original > file path of a queue of soft links. Isn't this what readlink() does? See manual section 2. -- Gregory H. Anderson | "Honey, there're few programming Gaffer/Best Boy/Key Grip | problems that can't be solved Anderson Financial Systems | with duct tape." -- 'Father' Duke greg@afs.com (NeXTmail OK) | (paraphrased), Doonesbury, 2/17/95
Newsgroups: comp.sys.next.programmer From: glen@prosoft.com (Glen Biagioni) Subject: Re: How to get the original path of a linked file Message-ID: <DGLn6n.3py@prosoft.com> Sender: glen@prosoft.com (Glen Biagioni) Organization: ProSoft Solutions, Inc. References: <1995Oct16.200143.1046@kurt.in-berlin.de> Date: Tue, 17 Oct 1995 15:32:46 GMT Gerald Erdmann writes > Hello together! > > Does someone has a good and a simple idea how to get the original file > path of a queue of soft links. > > Example: > > aLinkFile ---> anotherLinkFile ---> fooBarFile ---> thatsItFile > > origfile (aLinkFile) == thatsItFile > > Ok, loops are not allowed ..... > > Gerald > -- NSString from the Foundation Kit has a number of path manipulation methods. stringByResolvingSymlinksInPath is one of them. (I've never actually used it.) > > --------------------------------------------------------------------- > | GERALD ERDMANN > | email: gerald @ kurt.in-berlin.de (NeXTmail welcome) > | voice: +49 30 372 43 10 (Germany - Berlin) > | crypt: pgp2 public key available > | -- Glen Biagioni ProSoft Solutions Inc. glen@prosoft.com (NeXTmail Welcome) Bus:(604)324-3311 Fax:(604)324-9431
Date: 17 Oct 1995 12:54:46 GMT From: ahorvath@deltanet.com (Andrew Horvath) Newsgroups: comp.sys.next.programmer Message-ID: <cancel.45urmd$jl1@news1.deltanet.com> Control: cancel <45urmd$jl1@news1.deltanet.com> Subject: cmsg cancel <45urmd$jl1@news1.deltanet.com> EMP/ECP (aka SPAM) cancelled by clewis@ferret.ocunix.on.ca. See news.admin.net-abuse.announce, report 19951017.07 for further details
Newsgroups: comp.sys.next.programmer From: bfbaker@netcom.com (Technom Enterprises Inc) Subject: PDO: problem using subprojects Message-ID: <bfbakerDGLsMn.3tJ@netcom.com> Organization: Operations Technologies, LLC Date: Tue, 17 Oct 1995 17:30:22 GMT Sender: bfbaker@netcom9.netcom.com Greetings, We are moving some of our products to PDO, and are having some trouble building libraries. After changing 'libtool' to 'ar' in library.make, the libraries will build, but each subproject gets built multiple times, the number of builds of each increasing with the total number of subprojects. If anyone has worked around this problem, we'd very much like to hear from you. Thanks in advance, Brian Baker. bbaker@technom.com
From: Mark_Dadgar@NeXT.COM (Mark Dadgar) Newsgroups: comp.sys.next.programmer Subject: Re: PDO: problem using subprojects Date: 17 Oct 1995 23:30:33 GMT Organization: NeXT Computer, Inc. Message-ID: <461eap$rr3@news.next.com> References: <bfbakerDGLsMn.3tJ@netcom.com> In article <bfbakerDGLsMn.3tJ@netcom.com> bfbaker@netcom.com (Technom Enterprises Inc) writes: > Greetings, > > We are moving some of our products to PDO, and are having some trouble > building libraries. After changing 'libtool' to 'ar' in library.make, > the libraries will build, but each subproject gets built multiple > times, the number of builds of each increasing with the total number > of subprojects. > Create a custom printcap entry for the printer, and add a filter to the printcap. The filter can be as simple as: #!/bin/csh echo your-escape sequence here cat - That'll do it. - Mark -- Mark Dadgar | "If English was good enough for Jesus Network/Systems Admin. | Christ, then it's good enough for me." NeXT Computer, Inc. | - Arkansas congressman to Joint Mark_Dadgar@NeXT.COM | National Committee on Language Here I am, NOT speaking for NeXT.
From: Mark_Dadgar@NeXT.COM (Mark Dadgar) Newsgroups: comp.sys.next.programmer Subject: Re: PDO: problem using subprojects Date: 18 Oct 1995 02:27:27 GMT Organization: NeXT Computer, Inc. Message-ID: <461omf$sji@news.next.com> References: <461eap$rr3@news.next.com> Damn, I followed-up to the wrong article. Sorry about that. ;) - Mark In article <461eap$rr3@news.next.com> Mark_Dadgar@NeXT.COM (Mark Dadgar) writes: > In article <bfbakerDGLsMn.3tJ@netcom.com> bfbaker@netcom.com (Technom > Enterprises Inc) writes: > > Greetings, > > > > We are moving some of our products to PDO, and are having some trouble > > building libraries. After changing 'libtool' to 'ar' in library.make, > > the libraries will build, but each subproject gets built multiple > > times, the number of builds of each increasing with the total number > > of subprojects. > > > > Create a custom printcap entry for the printer, and add a filter to the > printcap. > > The filter can be as simple as: > > #!/bin/csh > echo your-escape sequence here > cat - > > That'll do it. > > - Mark > -- > Mark Dadgar | "If English was good enough for Jesus > Network/Systems Admin. | Christ, then it's good enough for me." > NeXT Computer, Inc. | - Arkansas congressman to Joint > Mark_Dadgar@NeXT.COM | National Committee on Language > Here I am, NOT speaking for NeXT. -- Mark Dadgar | "If English was good enough for Jesus Network/Systems Admin. | Christ, then it's good enough for me." NeXT Computer, Inc. | - Arkansas congressman to Joint Mark_Dadgar@NeXT.COM | National Committee on Language Here I am, NOT speaking for NeXT.
From: Mark_Dadgar@NeXT.COM (Mark Dadgar) Newsgroups: comp.sys.next.programmer Subject: Re: How to accessing a printer directly? Date: 18 Oct 1995 02:27:42 GMT Organization: NeXT Computer, Inc. Message-ID: <461omu$sjj@news.next.com> References: <45ural$eo0@news.internetmci.com> In article <45ural$eo0@news.internetmci.com> "Charles C. Hocker" <american@internetmci.com> writes: > Hello, > Right now I am in the process of writing a program that requires > me to send information directly to the printer. The problem that I > am facing is that I cannot find away to do it. What I am trying > to do is send some HP PCL commands to the printer to set certain > printer specific modes. > When I include them in a modified PPD file, the command do not > work the way they are suppose to. If I try to print them using > "lpr" the escape sequences get eaten up the postscript front end. > Is there away to print the the printer directly with out going > through the postscript front end? > Create a custom printcap entry for the printer, and add a filter to the printcap. The filter can be as simple as: #!/bin/csh echo your-escape sequence here cat - That'll do it. - Mark -- Mark Dadgar | "If English was good enough for Jesus Network/Systems Admin. | Christ, then it's good enough for me." NeXT Computer, Inc. | - Arkansas congressman to Joint Mark_Dadgar@NeXT.COM | National Committee on Language Here I am, NOT speaking for NeXT.
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: POSIX compilation (was: slirp 0.9 on NeXTstep/Intel 3.3) Date: 17 Oct 1995 10:01:04 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <ed9bw9h9s.fsf@steffi.accessone.com> References: <451cbm$r58@gamera.cbl.cees.edu> <jpsum00.813279792@mik.uky.edu> <45e3e4$fo3@cnn.Princeton.EDU> <jpsum00.813600386@mik.uky.edu> <46012t$qvg@sun0.urz.uni-heidelberg.de> In-reply-to: flight@mathi.uni-heidelberg.de's message of 17 Oct 1995 10:38:21 GMT To: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Both ncurses and ncftp can be built an linked without posix. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Text Objects internal data structures? Date: 17 Oct 1995 21:43:28 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <e4tx79zbj.fsf@steffi.accessone.com> Is there a document that describes how all the Text Objects data structures relate to each other? Based on the character position how does one go about locating the corresponding coordinate in the Text Object itself? Do this require that you determine the lineHeights for all lines prior to the one of the character position? If so I'd like to understand more about how I do that with "theRuns" In particular where the height for a particular run is located also allowing for images and the like. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Text Objects internal data structures? Date: 17 Oct 1995 21:47:20 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <e3fcr9z53.fsf@steffi.accessone.com> Is there a document that describes how all the Text Objects data structures relate to each other? Based on the character position how does one go about locating the corresponding coordinate in the Text Object itself? Do this require that you determine the lineHeights for all lines prior to the one of the character position? If so I'd like to understand more about how I do that with "theRuns" In particular where the height for a particular run is located also allowing for images and the like. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: robert.nielsen@everest.com (Robert D. Nielsen) Newsgroups: comp.sys.next.programmer Subject: etags for Objective C Date: 18 Oct 1995 05:17:48 GMT Organization: TLGnet, a division of RGNet, Inc. Message-ID: <4622ls$jk8@kadath.zeitgeist.net> Greetings, Does anyone have an etags (ctags for emacs) that works for Objective C. The etags that shipped with emacs 19.28 works partially, but has no explicit support for Objective C, so it can not handle methods that do not have parentheses. I would be partially satisfied if etags would index only up to the first colon in methods that take arguments, since it might be hard to parse the remainder of the method. Cheers, Robert D. Nielsen robert.nielsen@everest.com P.S. Please respond directly to me since I do not read this list regularly.
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <e3fcr9z53.fsf@steffi.accessone.com> Control: cancel <e3fcr9z53.fsf@steffi.accessone.com> Date: 17 Oct 1995 22:38:16 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <ezqez8i7r.fsf@steffi.accessone.com> This is a cancel message from robert@steffi.accessone.com (Robert Nicholson). -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: MTL@AMAV.COM (AMAV Industries) Newsgroups: comp.sys.next.programmer Subject: Wanted: Educational Software!! Date: Wed, 18 Oct 95 08:59:28 GMT Organization: CiteNet Telecom - Commercial Internet Service Message-ID: <462g01$77d@cti01.citenet.net> We are a leading toy distributor in the U.S and Canada and are interested in distributing a line of educational software to our clients. We are looking to buy the rights to various educational software products for cash or on a royalty basis.By "educational software" we mean software that will help young children (pre-K to grade 10) learn new skills, such as reading and math, and help these children to practice these skills. We are looking for software that is above shareware quality, with good graphics and good sound quality. The software should be able to actually teach the new skill and to help the child practice it. If you have anything that you think might be of interest to us or if you have any ideas where we might look, please contact us at AMAV Industries Ltd: by phone: (514) 344-1234 by fax: (514) 344-1235 by e-mail: MTL@AMAV.COM (attn: Yehuda) Any help would be greatly appreciated Thank-you!
Newsgroups: comp.sys.next.programmer From: gerti@BITart.com (Gerd Knops) Subject: Re: How to get the original path of a linked file Message-ID: <DGKuIL.2r6@BITart.com> Sender: usenet@BITart.com Organization: BITart, NEXTSTEP/OPENSTEP Consulting References: <1995Oct16.200143.1046@kurt.in-berlin.de> Date: Tue, 17 Oct 1995 05:13:33 GMT In article <1995Oct16.200143.1046@kurt.in-berlin.de> gerald@kurt.in-berlin.de (Gerald Erdmann) writes: > Hello together! > > Does someone has a good and a simple idea how to get the original file > path of a queue of soft links. > > Example: > > aLinkFile ---> anotherLinkFile ---> fooBarFile ---> thatsItFile > > origfile (aLinkFile) == thatsItFile > In the past I have been using a function called realpath. There used to be a manpage, but that seems to have vanished with 3.3. There was never a prototype, so you would have to write one yourself: // the following prototyp is missing in <sys/param.h>: char *realpath(char *file_name,char *resolved_name); Has been working from 2.1 to 3.3. gerti
Newsgroups: comp.sys.next.programmer From: tomi@shinto.nbg.sub.org (Thomas Engel) Subject: Re: File Viewer Implementation Message-ID: <DGM3L9.ML@shinto.nbg.sub.org> Sender: tomi@shinto.nbg.sub.org (Thomas Engel) Organization: STEPeople's home (A NUGI member) References: <45s0tf$a91@news.xmission.com> Date: Tue, 17 Oct 1995 21:27:08 GMT In article <45s0tf$a91@news.xmission.com> don@misckit.com writes: > Norbert Heger <norbert.heger@telecom.at> wrote: > > What about using IconKit? There are all classes included necessary > > to build up a File Viewer. > > > > ftp://ftp.informatik.uni- > > muenchen.de/pub/comp/platforms/next/Developer/objc/iconkit/... > > Add in the MiscKit (which has a simple file viewer example app) and > combine the two and it should be a breeze. The MiscKit handles the > file side of things nicely; the IconKit for the GUI side. > And add in the free source for some free dock extender (e.g. Fiend.1.0) and you have a Shelf like OPENSTEP 4.0/MachOS will have it. I really love the MiscKit and the IconKit. Stay tuned for more :-) Aloha Tomi -- _________________________________________________________ (tomi@shinto.nbg.sub.org) Thomas Engel Neptunstr. 9 NeXTMail welcome D - 90522 Oberasbach Germany
Newsgroups: comp.sys.next.programmer From: tomi@shinto.nbg.sub.org (Thomas Engel) Subject: Re: How to get the original path of a linked file Message-ID: <DGM3xK.nG@shinto.nbg.sub.org> Keywords: Symlink, MiscFile, OPENSTEP 4.0 Sender: tomi@shinto.nbg.sub.org (Thomas Engel) Organization: STEPeople's home (A NUGI member) References: <1995Oct16.200143.1046@kurt.in-berlin.de> Date: Tue, 17 Oct 1995 21:34:31 GMT In article <1995Oct16.200143.1046@kurt.in-berlin.de> gerald@kurt.in-berlin.de (Gerald Erdmann) writes: > Hello together! > > Does someone has a good and a simple idea how to get the original file > path of a queue of soft links. > > Example: > > aLinkFile ---> anotherLinkFile ---> fooBarFile ---> thatsItFile > > origfile (aLinkFile) == thatsItFile > > Ok, loops are not allowed ..... > I would suggest that you take a look at the MiscKit. The File classes might either already include that feature (does it Todd ?) or it should be a good place to include it. The filesystem tells you...and by checking those inode entries you should be able to compare them for identity. With softlinks you should get an entry in on of those strange UNIX-C strucutres (don't we ?) OPENSTEP 4.0 will (as we have been told at ObjectWorld) include NeXTs currently private Filesystem classes. Those seem to know how to deal with sym-links etc.pp. (You find out if you open a file from ProjectBuilder; every file will be opened by the absolute path...and not by the one you would extect it to) Aloha Tomi -- _________________________________________________________ (tomi@shinto.nbg.sub.org) Thomas Engel Neptunstr. 9 NeXTMail welcome D - 90522 Oberasbach Germany
Newsgroups: comp.sys.next.programmer From: tomi@shinto.nbg.sub.org (Thomas Engel) Subject: Re: [View displayFromOpaqueAncestor:::]...transparent Windows ? Message-ID: <DGM485.o7@shinto.nbg.sub.org> Keywords: AppKit, ViewClass, displayFromOpaqueAncestor::: Sender: tomi@shinto.nbg.sub.org (Thomas Engel) Organization: STEPeople's home (A NUGI member) References: <9510120218.AA04274@flexus> Date: Tue, 17 Oct 1995 21:40:52 GMT In article <9510120218.AA04274@flexus> Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> writes: > Hello experts, > > It's Stupid Question time again (really, and about such a trivial---yet > central---issue). > > Can anyone give me a reasonable explanation of why -[View > displayFromOpaqueAncestor:::] is the exception? Why doesn't -[View display:::] > do all that? Isn't it a View's task to know whether it is opaque, rather than > that of whatever asks it to display itself? Or to update itself? Now, those > nice abbreviations/update machinery are out of reach for those Views which Yeap.. I was wondering about that too. Since the view know if it is opaque or not (at least we can tell him). I played with that and found it strange too. The docu gives no clue why display should work differently. Aloha Tomi Btw...does anybody know how to get transparent windows ? I don't wnat to waste days playing with DPS. -- _________________________________________________________ (tomi@shinto.nbg.sub.org) Thomas Engel Neptunstr. 9 NeXTMail welcome D - 90522 Oberasbach Germany
Newsgroups: comp.sys.next.programmer From: tomi@shinto.nbg.sub.org (Thomas Engel) Subject: Re: 3DKit in 4.0..G3DKit Message-ID: <DGM4q7.p0@shinto.nbg.sub.org> Keywords: RenderMan, G3DKit, OPENSTEP 4.0 Sender: tomi@shinto.nbg.sub.org (Thomas Engel) Organization: STEPeople's home (A NUGI member) References: <45gu5h$91k@engnews2.Eng.Sun.COM> Date: Tue, 17 Oct 1995 21:51:43 GMT In article <45gu5h$91k@engnews2.Eng.Sun.COM> Peter.D.Clark@eng.sun.com (Pete Clark) writes: > > I also think some of the NS ISVs and SIs have done some interesting work with > 3DKit, but it hasn't been well publicized. > > Best, > Pete > -- > Not only ISV seem to have used the 3DKit quitely...but different scientific applications use it too. But we have to agree on the one side: - slow realtime 3D is not very useful -> 3D hardware necessary when we come to a really professional level. - NeXT won't sell too many new releases because of incredible fast 3D...at least not at the moment. And 3D optimization takes a lot of work...especially if they want to get QuickRM with a hardware driver layer etc. I (we) hope that NeXT will continue to at least keep the 3DKit at the current level..and will really move it to OPENSTEP 4.0. Its nice to see that Wave takes the time to work on prman. No matter what happens. The GNU 3DKit will be developed in parallel anyway. You should get OpenGL for NeXTSTEP...and the 3DKit for all the other OPENSTEP platforms. The RenderMan spec is an interesting 3D Postscript an we want to keep it alive. If NeXT decides to drop the 3DKit then we would like to see a "MusicKit"solution. Wave was completely right...tell NeXT that you care about the 3DKit/RenderMan. Aloha Tomi P.S: More on GNU3DKit http://www9.informatik.uni-erlangen.de/~tsengel/G3DKit/G3DKit.html _________________________________________________________ (tomi@shinto.nbg.sub.org) Thomas Engel Neptunstr. 9 NeXTMail welcome D - 90522 Oberasbach Germany
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <schaik@bonnie.meteocon.nl> Date: Wed, 18 Oct 95 11:52:37 GMT From: Wiro van Schaik <schaik@bonnie.meteocon.nl> Message-ID: <9510181152.AA04350@bonnie.meteocon.nl> Subject: Re: Informix-EOF-Adaptor Cc: comp-sys-next-programmer@antigone.com > "We will get one asap to test it out ." <-- I don't anderstand > (i am a poor french ...) > > And do you now today where to get the EOF-adaptor ? > > I am thanking you in advance looking forward a reply, > because all my developements depend on this adaptor ! > We will get it from our accountmanager at Informix Netherlands. He went all the way to the top executives of Informix Europe and Informix USA to get the adapter. As I assume the adapter will not be free, your best bet will be to talk to your own contact at Informix France and press hard! I understand that from release 2.0 of the Informix EOF-adapter, Next will do the sales. The adapter was originaly developed by Informix Germany by the way. No wonder the people at Informix get confused themselves. Good luck, Wiro --- / Meteo Consult Wiro van Schaik (System Developer) / P.O. Box 617 / 6700 AP Wageningen >W.vanSchaik@MeteoCon.nl< / The Netherlands >NeXT Mail preferred< / fax: ..31 (0)317 423164 (new) ------------------------------------------/ voice: ..31 (0)317 423300 (new) (new nrs. since 10/10/'95)
From: dave@turbocat.snafu.de (David Wetzel) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: cmsg cancel <4629k5$2no@turbocat.snafu.de> Control: cancel <4629k5$2no@turbocat.snafu.de> Date: 18 Oct 1995 07:17:07 GMT Organization: Turbocat's Development, Germany Message-ID: <4629lj$2rn@turbocat.snafu.de> cancel
From: dave@turbocat.snafu.de Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin Subject: ncftp? Date: 18 Oct 1995 07:18:39 GMT Organization: Turbocat's Development, Germany Message-ID: <4629of$2rp@turbocat.snafu.de> Hi! I compiled NCFTP "2.2.1". But when I start it, I get this error: dave@turbocat> ./ncftp Floating exception dave@turbocat> Has someone got ncftp 2.2.1 or newer running on NEXTSTEP? If yes, how? Thanks. -- _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Phone +49 33056 82151, Fax +49 33056 82152 (______) dave@turbocat.snafu.de (NeXTMail)
Date: 18 Oct 1995 10:15:14 GMT From: MTL@AMAV.COM (AMAV Industries) Newsgroups: comp.sys.next.programmer Message-ID: <cancel.462g01$77d@cti01.citenet.net> Control: cancel <462g01$77d@cti01.citenet.net> Subject: cmsg cancel <462g01$77d@cti01.citenet.net> EMP/ECP (aka SPAM) cancelled by clewis@ferret.ocunix.on.ca. See news.admin.net-abuse.announce, report 19951018.04 for further details
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Wed, 18 Oct 95 12:27:54 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9510181127.AA00989@flexus> Subject: Re: -[View displayFromOpaqueAncestor:::] (Note that my mail relay was down---full file system---during the weekend, so any mail in or out may have been lost, possibly without a trace. My c.s.n.programmer digests were lost that way, and therefore any message anyone posted in this thread. My previous contribution was a reply to Steve James and Ali Ozer, which may or may not have got through, I don't know: tell me if it didn't.) I want to correct something I said. If you send a View -displayFromOpaqueAncestor:::, the sibling Views are *not* automatically displayed as needed. This is just if the receiving View does not declare itself opaque (the default is not opaque), so that the first opaque ancestor View does a -display::: (I presume), and it has nothing to do with -[Window useOptimizedDrawing:] until that -display::: (again, I presume). My problem is now that -useOptimizedDrawing: state (no method for querying) is apparently fixed to YES, even if you send -useOptimizedDrawing:NO. I mean, the documentation says that this is about displaying sibling Views in the correct order, but there is no difference (display::: never respects sibling Views). Surely this can't be just for a display of the whole Window (what optimisation would come from a reorganisation of which View is displayed first?)? Has anyone ever seen any difference when setting this state in a particular way? Is this a bug? I don't feel like disassembling that much of the AppKit to find out what's going on. Ali Ozer? Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: william@beirut.berkeley.edu (Andy Grosso) Newsgroups: comp.sys.next.programmer Subject: Re: PDO: problem using subprojects Date: 18 Oct 1995 16:59:07 GMT Organization: Worm-Eaters Anonymous Message-ID: <463bor$2in@agate.berkeley.edu> References: <bfbakerDGLsMn.3tJ@netcom.com> <461eap$rr3@news.next.com> Will somebody explain the relationship between printcap entries and PDO ? Please ? Andy
Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin From: vdemarco@whatnow.bou.shl.com (Vince Demarco) Subject: Re: ncftp? In-Reply-To: dave@turbocat.snafu.de's message of 18 Oct 1995 07:18:39 GMT Message-ID: <VDEMARCO.95Oct18104929@whatnow.bou.shl.com> Sender: usenet@shlnews.shl.com (shlnews news) Organization: SHL Systemhouse Inc. References: <4629of$2rp@turbocat.snafu.de> Date: Wed, 18 Oct 1995 16:49:29 GMT Robert Nicholson <robert@steffi.accessone.com> and i spend a few hours one weekend (mailing back and forth) and got it working without requiring the posix library. Send me some mail and i'll email you a copy of it. vince
From: brzez@d0tokensun.fnal.gov (Time will fly.. tonight...) Newsgroups: comp.sys.next.programmer Subject: NextStep Intel Disk Performance Date: 18 Oct 1995 18:58:04 GMT Organization: FERMILAB, Batavia, IL Message-ID: <463ins$se7@fnnews.fnal.gov> I know that NeXTStep SCSI disk performance is pretty bad since it does not use Synchronous operation of todays controller cards and drives. I was wondering if IDE or EIDE disk performance under NextStep is any better. I know that (E)IDE is bad for having multiple devices being accessed but if you just have one hard drive and a SCSI CDROM then you won't be experinceing these problems. I also know that SCSI can do multiple commands at once while IDE cannot so in that respect SCSI is better but I think asynchronous only operation under NextStep cancles that benefit out with respect to IDE. So I'm wondering if anyone has done any disk performance testing with DriverPerformance.app or nwbench.app and what kind of results they have gotton for (E)IDE and SCSI. I'm using an Adaptec 154x compatible VLB controller and since Next has released the driver source for this controller, I was wondering if it would be possible to modify it to work synchronously and and perform better. Or is this a kernel level/file system problem and there really isn't much hope. As a reference, I have a 500 meg Seagate ST3600N drive and can do about 500K/sec reads and writes to it using my controller. I've done other tests on the driver under DOS and have gotton scores ranging from 1 to 2 megabytes/sec under various sequential and random tests. Thanks for any info or ideas.. -- John
Newsgroups: comp.sys.next.programmer From: dse@dse.ho.att.com (att.workplace) Subject: Adding page breaks to an RTF file Message-ID: <DGnsn8.27y@nntpa.cb.att.com> Sender: news@nntpa.cb.att.com (Netnews Administration) Organization: AT&T Date: Wed, 18 Oct 1995 19:25:55 GMT e are planning on generating a report using an RTF file format. What is the best way to introduce page breaks into this file. I'd like to be able to print the file by sending printPSCode: to a normal Text object. One way seems to be to create one rtf file for each page and then have the shouldRunPrintPanel: method return NO for pages 2 through N. Is there a more direct method? Thanks, Don
Newsgroups: comp.sys.next.programmer From: lloyd@world.std.com (Christopher Lloyd) Subject: New IB doesn't allow empty menu's. arg. Message-ID: <DGo09C.66E@world.std.com> Organization: The World Public Access UNIX, Brookline, MA Date: Wed, 18 Oct 1995 22:10:24 GMT Does anyone know how to force the new IB (3.3/eof) to delete the last item in a menu, so you can have a menu with no items. It gives this stupid warning "A menu must have at least one item." when trying to delete the last item. Older IB's did this just fine, dunno why they added this restriction. -- Christopher Lloyd lloyd@world.std.com http://world.std.com/~lloyd
From: dmank@hydra (David Mank) Newsgroups: comp.sys.next.programmer Subject: Problems with embeded text cells within Text objects Date: 19 Oct 1995 03:31:11 GMT Organization: Paradigm Systems Message-ID: <464gpv$m1j@sunrise.pscwa.psca.com> -- Systems Engineer Paradigm Systems Corp. of America Tel: 454-3014 E-mail: David_Mank@psca.com
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Keeping PB.project and Makefile in sync in team projects? Date: 18 Oct 1995 23:39:58 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <erb0a7z9d.fsf@steffi.accessone.com> CC: next-prog@omnigroup.com When using CVS in team projects how do people keep both the PB.project and Makefile in sync? Unfortunately, you get people who decide to edit the Makefile but forget to check in the PB.project which reflects the changes or sometimes visa versa. I'm wondering how feasible it is to .cvsignore Makefiles altogether and devise a tool that generates Makefiles from PB.projects when each release is built both final and on going. A serious problem can arise when these two files are out of sync. Particularly when the Makefile is correct and the PB.project isn't. The next developer to add resources to a project is going to generate a new Makefile from the old incorrectly configured PB.project. The point being that an out of sync PB.project can go undetected for quite some time whilst the Makefile is correct. Let's assume that everybody is generating new Makefiles when the Project is saved in PB but in some cases builders build from the command line rather than via Project Builder. It's inconvientent to require that builders go through the project sub-project at a time and save in PB. Of course this won't trap incorrectly configured PB.projects but the aim here is the become aware of problems as soon as they are introduced rather than later in the life of the project. I believe this is a common problem when using version control systems and I'd like to hear about how you've solved it or at least minimized the risk involved. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <eg2gq7xxp.fsf@steffi.accessone.com> Control: cancel <eg2gq7xxp.fsf@steffi.accessone.com> Date: 19 Oct 1995 00:27:14 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <e20sahr1p.fsf@steffi.accessone.com> This is a cancel message from robert@steffi.accessone.com (Robert Nicholson). -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <ed9bu7xtx.fsf@steffi.accessone.com> Control: cancel <ed9bu7xtx.fsf@steffi.accessone.com> Date: 19 Oct 1995 00:27:23 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <ezqeygch0.fsf@steffi.accessone.com> This is a cancel message from robert@steffi.accessone.com (Robert Nicholson). -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: kingkeo@gamma.prakinf.tu-ilmenau.de (Kingkeo Doungsavanh) Newsgroups: comp.sys.next.programmer Subject: EOF-Adaptor for Ingres Date: 19 Oct 1995 15:18:43 GMT Organization: Technische Universitaet Ilmenau Message-ID: <465q8j$cct@link.rz.tu-ilmenau.de> Hi, does anyone know wether an EOF-Adaptor for Ingres exists? I need it very immediately for my big thesis. Yours, Kingkeo
From: bbum@friday.com Newsgroups: comp.sys.next.programmer Subject: Emacs for NEXTSTEP Date: 19 Oct 1995 14:37:24 GMT Organization: The ThoughtPort Authority, Inc. Message-ID: <465nr4$9h@chinx4.thoughtport.COM> Carl Edman did a rather amazing job of integrating Emacs into NEXTSTEP-- it is available from all the popular web sites. But that's only half the battle! To effectively use emacs [the best code editor ever created, imho], you need to optimize your emacs environment. I have put a lot of work into creating a code editing environment that is highly optimized for my needs as a NEXTSTEP programmer and WWW hacquer. It's full color, has a bunch of cool features, and this is an open invitation to hack on it-- please send any bugs/improvements to <bbum@friday.com> If you are interested, visit: http://www.friday.com/~bbum/emacs-stuff/ b.bum -- <bbum@friday.com> | In cyberspace.... Friday Software & Consulting | ...no one can hear you laugh.
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: Horizontal ScrollView ??? Date: 19 Oct 1995 16:58:24 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <46603g$a3t@hippo.shef.ac.uk> Hi, Can anyone tell me how to create a horizontal ScrollView like the one in the WorkSpace FileViewer that show the directory path ? The Interface Builder's palette window (TextViews) only allow me to produce Vertical ScorllView. Thank in advance. C.Yap 19 Oct.
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer From: nwc@orc-ny.com (Nick Christopher) Subject: PPD print options ignored on non-NSXTSTEP remote printers Message-ID: <DGp9nJ.86@orc-ny.com> Sender: nwc@orc-ny.com (Nick Christopher) Organization: Organization Resources Counselors, Inc. Date: Thu, 19 Oct 1995 14:30:54 GMT We have a problem with controlling a remote printer here. The current setup is analogous to the NEXTSTEP boxes printing to a printer hanging off a non-NEXTSTEP machine (I'll describe the exact setup at the posts end if details are what you want). We have a PPD file for the printer and it allows us to select cool things like double sided printing etc. Setting these options and printing does nothing. I would guess the PPD was bogus but if you use the Print Panel's save "PostScript For Chosen Printer" option and then print that file all the options work. In the NEXTSTEP 3.2 release notes there is a comment that addresses this: Reference 30117 Problem Process PostScript comments at host Description Device-specific PostScript for setting resolution, page size, etc. is included in a job at print time based on information contained in a PPD file. This inclusion is normally handled by the NeXT machine to which the printer is directly connected (the print server). In Release 3.1, if you put a property called "_finalform" in the printer entry, the PostScript inclusion process is handled by the machine submitting the print job for spooling. Reading this I added the "_finalform" property but this made no difference. Has this option gone away since 3.1? Any ideas? Anybody doing this? EXACT SETUP The printer is actually a rather spastic printer and doesn't support any UNIX style of queuing. You can FTP jobs to it however and query its ready status so the vendor provided a program that submits a job and waits for its completion to return. So we use this as the input filter in a local printcap entry and remote entries refer to that machine. So the remote printer entry is identical to any normal remote entry. Here are the two printcap entries: # Remote entry in NetInfo's / domain Lionheart: \ :sd=/usr/spool/NeXT/Lionheart:rm=seaside:_finalform: \ :rp=Local_Lionheart:lp=:ty=KODAK 1392 Model 44: \ :note=KODAK lionheart in Printer Room:lo=lock: # Local entry on machine seaside in its Netinfo Local_Lionheart: \ :lp=/dev/null:if=/usr/local/etc/iprsend.if: \ :sd=/usr/spool/NeXT/Local_Lionheart:lo=lock: \ :ty=KODAK 1392 Model 44: \ :note=Postscript Printer in Printing Room: \ :mx#0:_finalform: I put the _finalform in both places in desperation it really based on NeXT's note should only be in the remote entry. Note the local entry uses the input filter to fire off "iprsend.if" which is a script calling a program that actually ships off the PostScript and waits on completion. \n -- Nicholas Christopher nwc@gun.com,nwc@orc-ny.com
Newsgroups: comp.sys.next.bugs,comp.sys.next.sysadmin,comp.sys.next.programmer From: nwc@orc-ny.com (Nick Christopher) Subject: SOLUTION: PPD And remote printer control problem fixed Message-ID: <DGpBGr.Bo@orc-ny.com> Sender: nwc@orc-ny.com (Nick Christopher) Organization: Organization Resources Counselors, Inc. Date: Thu, 19 Oct 1995 15:10:02 GMT Call of the hounds...if there were any. The documented "_finalform" property is elsewhere (*one* other reference) documented as "_nxfinalform"! Add those two little letters and it all works! \n -- Nick "Document the Arcana" Christopher
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Keeping PB.project and Makefile in sync in team projects? Date: 19 Oct 1995 10:26:34 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eybuhgzau.fsf@steffi.accessone.com> References: <erb0a7z9d.fsf@steffi.accessone.com> In-reply-to: robert@steffi.accessone.com's message of 18 Oct 1995 23:39:58 -0700 To: robert@steffi.accessone.com I think one way to minimize the risk with this is to use commitinfo to ensure whenever PB.project is committed that Makefile is too and vica-versa. If you make a change to a PB.project then a change should occur to the Makefile when you save in Project Builder (I say should implying that that's the way PB should be configured in Preferences) So you could just reject any commits that attempt to commit only one of these files. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: mmalcolm crawford <m.crawford@dcs.shef.ac.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Horizontal ScrollView ??? Date: Thu, 19 Oct 1995 17:58:37 GMT Organization: Institute for Language Speech and Hearing, Sheffield University Sender: mmalcolm Crawford <m.crawford@dcs.shef.ac.uk> Message-ID: <951019185837.222AACUI.malc@daneel> References: <46603g$a3t@hippo.shef.ac.uk> Mime-Version: 1.0 (Generated by Eloquent) Content-Type: text/plain; charset=US-ASCII > Can anyone tell me how to create a horizontal ScrollView like > the one in the WorkSpace FileViewer that show the directory > path ? The Interface Builder's palette window (TextViews) only > allow me to produce Vertical ScorllView. > Umm, the "ScrollView" you get from the TextViews pallette is a Text object within a ScrollView, not a ScrollView. If you want to put something in a ScrollView in InterfaceBuilder you must use the Format->Group->Group in ScrollView menu entry. You can then set which Scrollers are visible in the application initialisation with [scrollView setVertScrollerRequired:NO]; HF, mmalc.
Newsgroups: comp.sys.next.programmer From: rfenney@directnet.com (Robert J. Fenney) Subject: EOF Adapter for DB2/2 Message-ID: <rfenney-191095153216@rfenney.slip.netcom.com> Followup-To: comp.sys.next.programmer Sender: netnews@mork.netcom.com Organization: FenTek Date: Thu, 19 Oct 1995 22:29:20 GMT Does it exist? Robert
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Thu, 19 Oct 95 23:18:03 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9510192218.AA05719@flexus> Subject: Re: -[View displayFromOpaqueAncestor:::] Cc: Ali_Ozer@NeXT.com Well, let's tame this beast. Start of digression: Part of the charm of NEXTSTEP is the intellectual challenges that it poses. You see something that seems strange, you think a bit about it, you come up with something better, and hey! there is that gratifying feeling of ``I can do this too!''. Well, actually, you think a lot about it. You think that there must be something wrong with your judgement, because surely NeXT has designed this from rich expertise and experience? You start looking at the big picture, trying to find the architectural lines, the invariants that were observed, because surely NeXT hasn't just created some small and manageable core of beauty, only to paste some incoherent extras on top of that? The documentation doesn't help you here. And anyhow, once you come up with an idea that seems beneficial, NeXT is going to ignore it completely. (How nice if NeXT would now try to prove I'm mistaken about this.) End of digression, back to the beast. So, -display::: is actually -incrementalDisplay::: of sorts, and good for internal use by the AppKit or for wizzards with special purposes (from TeX, a ``wizzard'' is someone who understands the code, except that NeXT's code is proprietary). -display(::) should use -displayFromOpaqueAncestor::: instead (the real display:::). That much we've got. But this method isn't implemented correctly either, because it forgets about sibling Views that may be in front of that opaque ancestor. In computer science parlance, the View hierarchy is a tree, that is displayed in pre-order (recursively, first self is drawn, then the subviews). Just draw a small tree and label its nodes in preorder. Pick a node (the View being -update'd), go up one or two steps (finding the opaque ancestor), and look where the nodes are with a higher ordinal. Those are the tree rooted at the opaque ancestor, plus the trees rooted in the right-hand siblings of that opaque ancestor. But -displayFromOpaqueAncestor::: only -display:::'s its own subtree. Surely, the ``From'' in ``displayFromOpaqueAncestor'' should mean in the back-to-front ordering of all the Views in a Window? The direct chain to self would also make linguistic (not functional) sense, but not just that tree. So, Ali Ozer, would you please tell us what -displayFromOpaqueAncestor::: now does, so we can devise a nice cure? Off-hand, I would just do something like this: >>>>> -displayFromOpaqueAncestor:(const NXRect *)rects :(int)rectCount :(BOOL)flag{ /*var*/ pView_t pView; /*opaque ancestor (searched once, then held constant)*/ id *ptr; unsigned num; /*opaque ancestor and its right-hand siblings*/ int i; /*used to step through rects and through a derived array*/ NXRect rects1[3],rects2[3]; /*see below*/ /*todo should consult Window's useOptimizedDrawing: status, or better yet, maintain a flag that records whether there are any right-hand siblings that intersect self's bounds (even if only one pixel)*/ for(pView=(pView_t)self; (NULL!=pView)&&(!pView->vFlags.opaque); pView=(pView_t)pView->superview); if((NULL==pView)||(NULL==pView->superview)){ /*pView is now the opaque superview, if any. It should also have a superview, to get access to siblings. If any of this is not available, just give up. todo Or maybe do [window display]?*/ return [super displayFromOpaqueAncestor:rects :rectCount :flag]; } for(ptr =((List*)((pView_t)pView->superview)->subviews)->dataPtr, num=((List*)((pView_t)pView->superview)->subviews)->numElements; (0<num)&&(*ptr!=(id)pView); ++ptr,--num); /*now ptr and num describe the array of Views that should be display:::'ed: the opaque ancestor and its right-hand siblings*/ if(0<rectCount && (NULL!=rects)){ for(i=0;i<rectCount;++i) rects1[i]=rects[i]; }else{ rectCount=1; rects1[0]=bounds; } for(i=0;i<rectCount;++i){ [pView->superview convertRect:&rects1[i] fromView:self]; } [window disableFlushWindow]; /*NeXT could recycle -display:::'s code and remove the flushWindow's from it instead of doing these things*/ for(;0<num;++ptr,--num){ /* Why is this test required, i.e., why doesn't -display::: test itself whether it should draw anything at all? (Evidence: Look at a non-Buffered Window, with clip flag NO. Perhaps it does this if the clip flag is YES, but then only source code inspection can indicate whether performance is wasted.) todo first convert to pixel boundaries? and same for clipping?*/ if(NXIntersectsRect(&((pView_t)(*ptr))->frame,&rects1[0])){ for(i=0;i<rectCount;++i){ rects2[i]=rects1[i]; [*ptr convertRectFromSuperview:&rects2[i]]; } [*ptr display:rects2 :(int)rectCount :YES]; /*todo the clips should not be distributed over the siblings*/ } } [window reenableFlushWindow]; [window flushWindowIfNeeded]; return self; } <<<<< That seems to work, although there is still room for improvement (too much clipping going on, and maybe replace opaque sibling displays with clips instead). Updating Nonretained windows (a different story altogether, I have a KBNS.33.1.035 ready about that) is slightly improved now, but still has display integrity problems, probably because it uses display::, which uses NO for the clipFlag. If a View is moved to a different position in the View hierarchy, the old superview is not updated. Why is that not documented? A fine mess. Seems someone should take a close look at that AppKit. Any comments? Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: stefanos@Vir.com (Stefanos Kiakis) Newsgroups: comp.sys.next.programmer Subject: Re: Emacs for NEXTSTEP Date: 20 Oct 1995 02:51:09 -0400 Organization: Communications Vir, Internet Access Montreal. Message-ID: <467gst$kik@Vir.com> References: <465nr4$9h@chinx4.thoughtport.COM> bbum@friday.com wrote: : Carl Edman did a rather amazing job of integrating Emacs into NEXTSTEP-- it is available : from all the popular web sites. : But that's only half the battle! To effectively use emacs [the best code editor ever : created, imho], you need to optimize your emacs environment. emacs for NS is good, but I have the following problem. When I set the screen resolution to 1280 by 1024 and then start emacs I get the following error 'Screen has an unknown visual class' and my .emacs file is not read. This does not happen when I set the screen resolution to 1152 by 864. Does anyone know why this is happening? Thanx, stef
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US- Nationwide - NeXTSTEP Developers - Leverage Your Skills Date: 19 Oct 1995 20:33:24 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <466qok$ioc@newsbf02.news.aol.com> Full-time opportunities are available across the country for experienced NeXTSTEP developers. My clients are situated in some of the best locations to live and work in America. Due to the increased investment in NeXT/OpenSTEP by my clients I would like to talk to any NeXT developers who are interested in leveraging their skills for better salary and working conditions/location. Involve yourself in development projects using the latest NeXT tools, EOF, PDO, OpenStep, NeXTSTEP 4.0, WebObjects/HotJava, Sybase 10/11, Oracle 7, Informix and Solaris. Positions are currently available in Colorado, Texas, New York, Florida, Bay Area, Chicago, North Carolina, Seattle, Indianapolis and Philidelphia. Due to the high probability that most developers will need to relocate, a full relocation package is available, as well as, excellent salary and benefits packages. If you are currently thinking of leveraging your NeXT skills, please contact me today: Brian D. Mitchell Senior Technical Recruiter Datacom Technology Group Inc 212-629-5720 212-629-3374(FAX) e-mail - dtg1@ix.netcom.com e-mail - briman101@aol.com DTG Inc has been in the technical recruiting business for 26 years, and heavily involved in NeXT recruiting for the past 3 years. DTG are Strategic Partners with :- Sun MicroSystems/Powersoft/Microsoft/VMark
Newsgroups: comp.sys.next.programmer From: tomi@shinto.nbg.sub.org (Thomas Engel) Subject: Who knows Vrijmoed Chi ? Mr. ScriptingLanguage.app Message-ID: <DGq49E.175@shinto.nbg.sub.org> Sender: tomi@shinto.nbg.sub.org (Thomas Engel) Organization: STEPeople's home (A NUGI member) Date: Fri, 20 Oct 1995 01:32:01 GMT Hi! Does anybody know him... Vrijmoed Chi. I'd like to talk to him about his ScriptingLanguag.app. It's cool. Aloha tomi -- _________________________________________________________ (tomi@shinto.nbg.sub.org) Thomas Engel Neptunstr. 9 NeXTMail welcome D - 90522 Oberasbach Germany
From: i812905@s867.thu.edu.tw () Newsgroups: comp.sys.next.programmer Subject: stact size Date: 20 Oct 1995 12:17:04 GMT Organization: Dep. Computer Sci. & Information Eng., Chiao Tung Univ., Taiwan, R.O.C Message-ID: <468400$qn0@news.csie.nctu.edu.tw> Hello! I wrote a test program that will multiply two 512x512 matrix, a and b, and one 512x512 matrix for solution, BUT the system always told me "segmentation fault" when declaration step. I used "unlimit" to set the resources, but the stack size can't be changed!!(nor the root) WHY??? This station has 32MB memory and 160MB free disk. It seems impossible.... If you can help me, please mail to i812905@s867.thu.edu.tw OR i812905@sun1.cis.thu.edu.tw THANKS VERY MUCH !! 8>
From: herschberg@gnn.com (Todd F. Herschberg) Newsgroups: alt.comp.shareware,alt.comp.shareware.programmer,alt.msdos.programmer,comp.os.ms-windows.programmer,comp.os.msdos.programmer,comp.os.os2.programmer,comp.unix.sco.programmer,comp.sys.atari.programmer,comp.sys.newton.programmer,comp.sys.next.programmer,comp.sys.next.software,comp.sys.amiga.programmer,comp.sys.apple2.programmer,rec.games.programmer Subject: Shareware Author Listing Date: Fri, 20 Oct 1995 15:28:26 GMT Organization: Megaweb Message-ID: <468etm$bui@news-e1a.megaweb.com> I am attempting to create a freeware listing of shareware authors and how to contact them. If you are a shareware author and would like to be included in this document, please reply via e-mail (no sense cluttering up the newsgroups more than necesssary) with the following information: Author name: Company: Products: E-Mail address: Mailing address: Business Phone: Types of payment accepted: Web Page: Where to find your programs: Platform: A BRIEF description of your products: (Try to keep it under 256 characters) Thank you. Todd F. Herschberg herschberg@gnn.com P.S.- Due to popular demand, I will also be including Freeware and PD Authors
Newsgroups: comp.sys.next.programmer From: tomi@shinto.nbg.sub.org (Thomas Engel) Subject: NeXTSTEP 4.0..Will it have a notion of people/users ?..like Taligent/Apple ? Message-ID: <DGq08K.zA@shinto.nbg.sub.org> Keywords: Pasteboards, Addresses, People, Etc. Sender: tomi@shinto.nbg.sub.org (Thomas Engel) Organization: STEPeople's home (A NUGI member) Date: Fri, 20 Oct 1995 00:05:07 GMT Hi all. Now NeXTSTEP 4.0 will have an intersting shelf where you can drop many differnt Pasteboard types. NS 4.0 will have some classes to work with users and hosts. But will it have a generic pasteboardtype for addresses ? Taligent has pushed the idea of people, things and places. Its not new. Apple has introduced business card "drag-GUI-objects" some time ago. Since NeXT is so much focues on big customers I just can't understand why there is no generic "basic" pasteboard type for people-bussiness cards etc. One could just take a NSDictionary and stuff all the know entries into it and let it archive on the pastboard. Then one only has to specify some keys for the required or recommended data. Some general icon for that would be cool too (I really like the taligent idea....but Taligent will take 2 Years until it runs fast enough to really use it..and then its C++...I don't wnat to use it) If NeXT can't decide to kick out such a structure (IMHO they could....the dilemma of all those different address formats which are used by the system itself, does not reflect the eleganc of NeXTSTEP) ...why don't those programmers (PencilMeIn, SBook, Phone, Email apps, etc.) get together and define a defacto standard ? It worked with the WebURL stuff...why not with addresses and busines cards. I know I asked that question about a year ago too....but nothing has happened since then. I just can't give up that idea. Aloha Tomi -- _________________________________________________________ (tomi@shinto.nbg.sub.org) Thomas Engel Neptunstr. 9 NeXTMail welcome D - 90522 Oberasbach Germany
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: stact size Date: 20 Oct 1995 17:00:18 GMT Organization: Information Technology Solutions, Inc. Message-ID: <468kj2$j3m@news.its.com> References: <468400$qn0@news.csie.nctu.edu.tw> i812905@s867.thu.edu.tw () wrote: > I wrote a test program that will multiply two 512x512 matrix, > a and b, and one 512x512 matrix for solution, BUT the system > always told me "segmentation fault" when declaration step. > > I used "unlimit" to set the resources, but the stack size can't > be changed!!(nor the root) WHY??? Why don't you post the code so we can take a look? For example, how are you declaring your matrices, and what's in them (are they integers, doubles, structures, etc)...? -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: hendryj@Mercury.mcs.com (Jonathan W. Hendry) Newsgroups: comp.sys.next.programmer Subject: Re: NeXTSTEP 4.0..Will it have a notion of people/users ?..like Taligent/Apple ? Date: 20 Oct 1995 19:18:07 GMT Organization: MCSNet Internet Services Message-ID: <468slf$bgo@News1.mcs.net> References: <DGq08K.zA@shinto.nbg.sub.org> Thomas Engel (tomi@shinto.nbg.sub.org) wrote: : NS 4.0 will have some classes to work with users and hosts. : But will it have a generic pasteboardtype for addresses ? : Taligent has pushed the idea of people, things and places. Its not new. : Apple has introduced business card "drag-GUI-objects" some time ago. : Since NeXT is so much focues on big customers I just can't understand why : there is no generic "basic" pasteboard type for people-bussiness cards : etc. NeXT's aready 90% of the way there. Look at Library/Addresses/- Example.addresses. It contains a file called Addresses.table, which seems to contain an array of dictionary-like things. If you open Example.addresses as a Folder, you get a 'fake' File Viewer which displays each entry as a rolodex card. If you drag a card onto a Mail or Edit window, the person's information gets pasted in. All NeXT has to do is break Addresses.table into separate files for each record. OR make the pseudo-viewer capable of writing the information into a file, which would be drag & droppable anywhere.
Newsgroups: comp.sys.next.programmer From: dmm0t@rayleigh.mech.Virginia.EDU (David Meyer) Subject: How to make Text object draw text lines closer together? Message-ID: <DGrq3r.HIB@murdoch.acc.Virginia.EDU> Followup-To: poster Sender: usenet@murdoch.acc.Virginia.EDU Organization: University of Virginia Date: Fri, 20 Oct 1995 22:21:27 GMT Does anyone know of a reasonable way to make the Text object draw lines of text closer together? The lineHeight can be used to increase the distance between lines, but it doesn't seem to work for decreasing that distance. I'm looking for something simpler than subclassing and overriding drawFunc, though if someone is willing to share some example code I could make a run at it. Thanks, Dave -- David M. Meyer dmmeyer@tasc.com
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: NextStep Intel Disk Performance In-Reply-To: brzez@d0tokensun.fnal.gov's message of 18 Oct 1995 18:58:04 GMT Message-ID: <RDL.95Oct20214541@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <463ins$se7@fnnews.fnal.gov> Date: Sat, 21 Oct 1995 01:45:41 GMT NS supports synchronous SCSI on selected drivers. Try the Adaptec 2940 which comes in both VLB and PCI. However, if performance is what you are seeking, you should be using PCI and not VESA local bus. Robert La Ferla Registered OPENSTEP / NEXTSTEP Consultant Boston, MA + 1 (617) 252-0088 In article <463ins$se7@fnnews.fnal.gov> brzez@d0tokensun.fnal.gov (Time will fly.. tonight...) writes: Xref: world comp.sys.next.programmer:25337 Path: world!news.kei.com!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!fnnews.fnal.gov!d0tokensun.fnal.gov!brzez From: brzez@d0tokensun.fnal.gov (Time will fly.. tonight...) Newsgroups: comp.sys.next.programmer Date: 18 Oct 1995 18:58:04 GMT Organization: FERMILAB, Batavia, IL Lines: 26 NNTP-Posting-Host: d0tokensun.fnal.gov X-Newsreader: TIN [version 1.1 PL8] I know that NeXTStep SCSI disk performance is pretty bad since it does not use Synchronous operation of todays controller cards and drives. I was wondering if IDE or EIDE disk performance under NextStep is any better. I know that (E)IDE is bad for having multiple devices being accessed but if you just have one hard drive and a SCSI CDROM then you won't be experinceing these problems. I also know that SCSI can do multiple commands at once while IDE cannot so in that respect SCSI is better but I think asynchronous only operation under NextStep cancles that benefit out with respect to IDE. So I'm wondering if anyone has done any disk performance testing with DriverPerformance.app or nwbench.app and what kind of results they have gotton for (E)IDE and SCSI. I'm using an Adaptec 154x compatible VLB controller and since Next has released the driver source for this controller, I was wondering if it would be possible to modify it to work synchronously and and perform better. Or is this a kernel level/file system problem and there really isn't much hope. As a reference, I have a 500 meg Seagate ST3600N drive and can do about 500K/sec reads and writes to it using my controller. I've done other tests on the driver under DOS and have gotton scores ranging from 1 to 2 megabytes/sec under various sequential and random tests. Thanks for any info or ideas.. -- John
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: NeXTSTEP 4.0..Will it have a notion of people/users ?..like Taligent/Apple ? In-Reply-To: tomi@shinto.nbg.sub.org's message of Fri, 20 Oct 1995 00:05:07 GMT Message-ID: <RDL.95Oct20214707@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <DGq08K.zA@shinto.nbg.sub.org> Date: Sat, 21 Oct 1995 01:47:07 GMT That is an excellent idea. Robert In article <DGq08K.zA@shinto.nbg.sub.org> tomi@shinto.nbg.sub.org (Thomas Engel) writes: Xref: world comp.sys.next.programmer:25354 Newsgroups: comp.sys.next.programmer Path: world!news.kei.com!simtel!chi-news.cic.net!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!blackbush.xlink.net!noris.net!shinto!tomi From: tomi@shinto.nbg.sub.org (Thomas Engel) Keywords: Pasteboards, Addresses, People, Etc. Sender: tomi@shinto.nbg.sub.org (Thomas Engel) Organization: STEPeople's home (A NUGI member) Date: Fri, 20 Oct 1995 00:05:07 GMT Lines: 43 Hi all. Now NeXTSTEP 4.0 will have an intersting shelf where you can drop many differnt Pasteboard types. NS 4.0 will have some classes to work with users and hosts. But will it have a generic pasteboardtype for addresses ? Taligent has pushed the idea of people, things and places. Its not new. Apple has introduced business card "drag-GUI-objects" some time ago. Since NeXT is so much focues on big customers I just can't understand why there is no generic "basic" pasteboard type for people-bussiness cards etc. One could just take a NSDictionary and stuff all the know entries into it and let it archive on the pastboard. Then one only has to specify some keys for the required or recommended data. Some general icon for that would be cool too (I really like the taligent idea....but Taligent will take 2 Years until it runs fast enough to really use it..and then its C++...I don't wnat to use it) If NeXT can't decide to kick out such a structure (IMHO they could....the dilemma of all those different address formats which are used by the system itself, does not reflect the eleganc of NeXTSTEP) ...why don't those programmers (PencilMeIn, SBook, Phone, Email apps, etc.) get together and define a defacto standard ? It worked with the WebURL stuff...why not with addresses and busines cards. I know I asked that question about a year ago too....but nothing has happened since then. I just can't give up that idea. Aloha Tomi -- _________________________________________________________ (tomi@shinto.nbg.sub.org) Thomas Engel Neptunstr. 9 NeXTMail welcome D - 90522 Oberasbach Germany
From: ckane@next.com (Christopher Kane) Newsgroups: comp.sys.next.programmer Subject: Re: Anyone have code to convert between NSDate and time_t ? Date: 21 Oct 1995 01:03:01 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <469gs6$h6a@news.next.com> References: <jcr.814149012@idiom.com> In article <jcr.814149012@idiom.com> jcr@idiom.com (John C. Randolph) writes: > I'm sure someone must have written it by now. I'd appreciate it if > someone who has it would mail or post it to this group. #define NSDATE_TO_TIMET(NSDATE) \ ((time_t)(floor([(NSDATE) timeIntervalSince1970]))) #define TIMET_TO_NSDATE(TIMET) \ [NSDate dateWithTimeIntervalSince1970:(NSTimeInterval)(TIMET)] Or, if your Foundation is an older one that doesn't have those methods: #define TimeIntervalSince1970 978307200.0L #define NSDATE_TO_TIMET(NSDATE) \ ((time_t)(floor([(NSDATE) timeIntervalSinceReferenceDate] + TimeIntervalSince1970))) #define TIMET_TO_NSDATE(TIMET) \ [NSDate dateWithTimeIntervalSinceReferenceDate: \ ((NSTimeInterval)(TIMET) - TimeIntervalSince1970)] Those floor()s are optional. Dates before 1970 produce negative time_t which may produce incorrect results in some functions (or, might not). > -John Randolph Christopher Kane NeXT Computer, Inc.
From: cedman@phoenix.princeton.edu (Carl F. Edman) Newsgroups: comp.sys.next.programmer Subject: Re: Emacs for NEXTSTEP Date: 20 Oct 1995 16:15:32 GMT Organization: Princeton University Message-ID: <468hv4$dmc@cnn.Princeton.EDU> References: <465nr4$9h@chinx4.thoughtport.COM> <467gst$kik@Vir.com> In article <467gst$kik@Vir.com>, Stefanos Kiakis <stefanos@Vir.com> wrote: > bbum@friday.com wrote: > : Carl Edman did a rather amazing job of integrating Emacs into NEXTSTEP-- it is available > : from all the popular web sites. > > : But that's only half the battle! To effectively use emacs [the best code editor ever > : created, imho], you need to optimize your emacs environment. > > emacs for NS is good, but I have the following problem. When I set > the screen resolution to 1280 by 1024 and then start emacs I get the > following error 'Screen has an unknown visual class' and my .emacs file is > not read. This does not happen when I set the screen resolution to 1152 > by 864. The problem is not 1280x1024 resolution. The problem is that you are running in 8-bit mode which didn't exist when Emacs.app 4.0 was released years ago and hence confuses it. This (and many, many other problems) was fixed in 4.1 which was released half a year ago. For that reason I encourage everybody to upgrade to 4.1 as soon as possible. I really don't want to hear that "unknown visual class" bug another time, if it can at all be helped. :) Carl Edman
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: OMNI GROUP/OHIO-NOW--OMNI SEARCH Date: 21 Oct 1995 10:57:10 GMT Organization: Norden 1 Communications Message-ID: <46ajm6$8c1@tofu.alt.net> OMNI GROUP/OHIO-a search firm-willnow be known as OMNI SEARCH. OMNI DEVELOPMENT, a high quality software development company, located in the state of Washington, will continue to DBA the OMNI GROUP. If anyone has been confused by the common use of the name in the past,we apoligize. Tom Gugger Omni Search -- ehutch@norden1.com (419) 893-6367 [fax] Omni Search (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) Newsgroups: alt.comp.shareware,alt.comp.shareware.programmer,alt.msdos.programmer,comp.os.ms-windows.programmer,comp.os.msdos.programmer,comp.os.os2.programmer,comp.unix.sco.programmer,comp.sys.atari.programmer,comp.sys.newton.programmer,comp.sys.next.programmer,comp.sys.next.software,comp.sys.amiga.programmer,comp.sys.apple2.programmer,rec.games.programmer Subject: Re: Shareware Author Listing Followup-To: alt.comp.shareware,alt.comp.shareware.programmer,alt.msdos.programmer,comp.os.ms-windows.programmer,comp.os.msdos.programmer,comp.os.os2.programmer,comp.unix.sco.programmer,comp.sys.atari.programmer,comp.sys.newton.programmer,comp.sys.next.programmer,comp.sys.next.software,comp.sys.amiga.programmer,comp.sys.apple2.programmer,rec.games.programmer Date: 21 Oct 1995 15:00:25 GMT Organization: a black NeXT Message-ID: <46b1u9$m26@news.vanderbilt.edu> References: <468etm$bui@news-e1a.megaweb.com> Todd F. Herschberg (herschberg@gnn.com) wrote: : I am attempting to create a freeware listing of : shareware authors and how to contact them. If you are : a shareware author and would like to be included in : this document, please reply via e-mail (no sense : cluttering up the newsgroups more than necesssary) : with the following information: For everyone who doesn't want to wait for that try: http://www.leo.org/ LEO (Link Everything Online) Software for Unix, NeXT, PC, Amiga, Atari, Macintosh, OS/2, Linux, FreeBSD, NetBSD, BSDI, X11, ... Cat. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/ _/_/ _/_/ Thomas Katzlberger _/_/ _/_/ katzlbt@vuse.vanderbilt.edu _/_/ _/_/ @aBlackNeXT.called.garfield _/_/ _/_/ http://www.vuse.vanderbilt.edu/~katzlbt/ _/_/ _/_/ _/_/ _/_/ "You can tune a file system, but you can't tune a fish." _/_/ _/_/ UNIX man page for tunefs. _/_/ _/_/ _/_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
From: wuj9@wfu.edu (joe wu) Newsgroups: comp.sys.next.programmer Subject: NeXT help->Windows help? Date: 20 Oct 1995 12:07:59 GMT Organization: Wake Forest University Message-ID: <4683ev$474@eis.wfunet.wfu.edu> Summary: How can one make such conversion? Keywords: Windows HLP. Is there a way to convert NeXT online help to Windows HLP format? What utility do I need to get? How can I create these HLP files without using Windows? Please email response to <wuj9@wfu.edu>. What utility do I need to make the creation of NeXT help file easy? If I received enough interest, I will summarize the responses. Thank you very much.
From: jcr@idiom.com (John C. Randolph) Newsgroups: comp.sys.next.programmer Subject: Anyone have code to convert between NSDate and time_t ? Date: 19 Oct 1995 17:32:54 -0700 Organization: Idiom Consulting Message-ID: <jcr.814149012@idiom.com> I'm sure someone must have written it by now. I'd appreciate it if someone who has it would mail or post it to this group. advTHANKSance, -John Randolph
From: jcr@idiom.com (John C. Randolph) Newsgroups: comp.sys.next.programmer Subject: Re: Anyone have code to convert between NSDate and time_t ? Date: 19 Oct 1995 18:27:43 -0700 Organization: Idiom Consulting Message-ID: <jcr.814152287@idiom.com> References: <jcr.814149012@idiom.com> I've found what I needed. It uses ctime() and NSCalendarDate's -initWithString:calendarFormat: method. -jcr
From: cnorton@primenet.com Newsgroups: comp.sys.next.programmer Subject: POET and NeXTStep 3.3 Date: 18 Oct 1995 00:33:19 GMT Organization: Primenet Message-ID: <461i0g$cu4@nnrp2.nfs.primenet.com> I am runing NeXTStep on an a PC and I am thinking about using an OODB called POET. Does anyone have any advice to share about using POET on NeXTStep 3.3. It would save me about $500.00 if POET is not a get OODB for NeXTStep. I will collect the results and post it, maybe. Thanks in advance, Chris
From: katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: LISP on NeXT ? anyone got it to compile Date: 22 Oct 1995 02:29:24 GMT Organization: a black NeXT Message-ID: <46caa4$t47@news.vanderbilt.edu> I am trying to compile gcl-1.1 or gcl-2.1 on a NeXT without sucess - one of these versions is from ftp.cs.orst.edu but breaks with link errors: ld: Undefined symbols: _in_signal_handler _sLcons _fSaset1 _fSaref1 the other version gcl-2.1 dies after compiling with: GCL (GNU Common Lisp) April 1994 32768 pages loading ../lsp/export.lsp Initializing ../lsp/defmacro.o Initializing ../lsp/evalmacros.o Initializing ../lsp/top.o Initializing ../lsp/module.o loading ../lsp/autoload.lsp sh: 5568 Bus error *** Exit 138 Stop. *** Exit 1 Stop. garfield> unixport/raw_gcl GCL (GNU Common Lisp) April 1994 32768 pages loading ../lsp/export.lsp Cannot open the file ~A. Lisp initialization failed. :( Thanks for help, Cat. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/ _/_/ _/_/ Thomas Katzlberger _/_/ _/_/ katzlbt@vuse.vanderbilt.edu _/_/ _/_/ @aBlackNeXT.called.garfield _/_/ _/_/ http://www.vuse.vanderbilt.edu/~katzlbt/ _/_/ _/_/ _/_/ _/_/ "You can tune a file system, but you can't tune a fish." _/_/ _/_/ UNIX man page for tunefs. _/_/ _/_/ _/_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
From: hyongsop@dip.eecs.umich.edu (Hyong Sop Shim) Newsgroups: comp.sys.next.programmer Subject: Draw for Multiple Users Date: 21 Oct 1995 23:20:55 GMT Organization: University of Michigan EECS Dept. Message-ID: <46bv8n$ipc@news.eecs.umich.edu> Hello, Some time ago, I saw a version of the "Draw" app (in /NextDeveloper/Demo/AppKit/Draw) that can be used by multiple users. Does any of you know where I can get it? Is it still available? Thanks for your help. --Hyong (hyongsop@eecs.umich.edu)
From: soren@datashopper.dk (Søren Mathiasen) Newsgroups: comp.sys.next.programmer Subject: IB Toturial Date: 22 Oct 1995 22:34:57 GMT Organization: DataShopper Danmark Message-ID: <46eguh$f6r@hades.datashopper.dk> If anyone have the above for NS 3.2 please mail it to me. or give me a FTP site.. Thanks.
From: rputtkam@iiic.ethz.ch (Roman Puttkammer) Newsgroups: comp.sys.next.programmer Subject: literature Date: 23 Oct 1995 10:28:25 GMT Organization: Dept. Informatik, Swiss Federal Institute of Technology Message-ID: <46fqo9$gl6@neptune.ethz.ch> hello I'm have begun to work with NS 3.3 and want to start programming small apps. I know what's programming in C quite well and also of unix. But I don't know how apps are managed under NS, as well as how the builder works. NeXT and Addition Wesley have some books about it. Any advices what to buy ??? thanks in advance putt -- ----------------------------------------------------------------------------- Roman Puttkammer, CS-Student @ Swiss Federal Institute of Technology, Zuerich E-Mail: rputtkam@iiic.ethz.ch
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 23 Oct 1995 04:15:11 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <46f4sf$8uj@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: adamnet@ix.netcom.com (Jared Shope ) Newsgroups: alt.comp.shareware,alt.comp.shareware.programmer,alt.msdos.programmer,comp.os.ms-windows.programmer,comp.os.msdos.programmer,comp.os.os2.programmer,comp.unix.sco.programmer,comp.sys.atari.programmer,comp.sys.newton.programmer,comp.sys.next.programmer,comp.sys.next.software,comp.sys.amiga.programmer,comp.sys.apple2.programmer,rec.games.programmer Subject: Re: Shareware Author Listing Date: 23 Oct 1995 14:59:48 GMT Organization: Netcom Message-ID: <46gal4$63n@ixnews5.ix.netcom.com> References: <468etm$bui@news-e1a.megaweb.com> <46b1u9$m26@news.vanderbilt.edu> In <46b1u9$m26@news.vanderbilt.edu> katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) writes: > >Todd F. Herschberg (herschberg@gnn.com) wrote: >: I am attempting to create a freeware listing of >: shareware authors and how to contact them. If you are >: a shareware author and would like to be included in >: this document, please reply via e-mail (no sense >: cluttering up the newsgroups more than necesssary) >: with the following information: > >For everyone who doesn't want to wait for that try: > >http://www.leo.org/ > >LEO (Link Everything Online) > Software for Unix, NeXT, PC, Amiga, Atari, Macintosh, OS/2, > Linux, FreeBSD, NetBSD, BSDI, X11, ... <snipped Thomas' sig> Thank you, Thomas! Here is another site for shareware, but the search engine was broken, and I'm not sure if it is working yet: http://www.jumbo.com -- Dale Smith, Ph.D. Phone: 800-753-2326 Quantitative Analyst Email: adamnet@ix.netcom.com ADAM Investment Services (Put my name in the Subject field!) Atlanta GA Home Email: dtsmith@mindspring.com Opinions I express here are my own and not my employer's.
From: timo@swabsib.s.bawue.de (Timo Hennerich) Newsgroups: comp.sys.next.programmer Subject: problems encoding/decoding nested distributed objects Date: 23 Oct 1995 17:44:47 +0100 Organization: Swabian Siberian Software Solutions Message-ID: <46ggpv$c7u@swabsib.s.bawue.de> Keywords: distributed objects, encoding, decoding Hi folX, I try to bycopy an object (like a window) across a connection but the econding/decoding scheme fails. The problem is that a window knows its views and a view knows its window. If the window encodes the view with a [portal encodeObjectBycopy:view] an the view also encode the window with a [portal encodeObjectBycopy:window] I get a loop, the portal is not recognizing that window is an object (the root object) just being encoded. Why? I think this should work like typedstreams. What's the right way to bycopy an object with such nested objects? ThanX in advance Timo -- || \\__/ '> \_ / Timo Hennerich timo@swabsib.s.bawue.de __][__
From: dicosmo@verveine.ens.fr (Roberto DiCosmo) Newsgroups: comp.sys.next.programmer Subject: Re: Emacs for NEXTSTEP Date: 23 Oct 1995 18:20:55 GMT Organization: Ecole Normale Superieure Message-ID: <DICOSMO.95Oct23192055@verveine.ens.fr> References: <465nr4$9h@chinx4.thoughtport.COM> <467gst$kik@Vir.com> In-reply-to: stefanos@Vir.com's message of 20 Oct 1995 02:51:09 -0400 I just wanted to take this occasion to publicly thank again Carl for his wonderful work on Emacs for NS :-) I have been using it from day one, and it is as cute as it can be (let's just hope the port will stay "up-to-date", but I do not know whether the FSF got a second thought about it ) -- Roberto Di Cosmo <dicosmo@dmi.ens.fr>, http://www.ens.fr/users/dicosmo/index.html LIENS Ecole Normale Superieure 45, Rue d'Ulm 75005 Paris FRANCE
From: hayden@whitewater.chem.wisc.edu (Jessica Hayden) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.software,comp.sys.next.programmer Subject: Adding more PaperSizes to the pagelayout panel? Date: 23 Oct 1995 19:03:07 GMT Organization: University of Wisconsin, Madison Message-ID: <46gotb$kqi@news.doit.wisc.edu> I'm interested in properly using some of the envelope sizes defined in various printer PPD files. How do I go about adding new entries into the PageLayout panel so that the various envelope types are properly handled between the program and various printers. For example an HP_laserJet_4_plus has these paperTypes defined in it's ppd but they do not show up in the PageLayoutPanel *PaperDimension Comm10/Env Com-10: "297 684" *PaperDimension Monarch/Env Monarch: "279 540" *PaperDimension DL/Env DL: "312 624" *PaperDimension C5/Env C5: "459 649" *PaperDimension B5/Env ISO B5: "499 708" I know I can get this kind of information about the printer through the NXPrinter object, but I don't know how to make thes PaperTypes show up in the PageLayout panel. I don't want to just set the type to other and just enter in the proper page size, because other information like ImageableArea and where the envelope is (center, left edge, right edge) is lost. Thank You --- Jessica Hayden hayden@whitewater.chem.wisc.edu (608) 262-0296 Programmer / Analyst Dr. Lloyd Smith's Lab Dept Chemistry University of Wisconsin - Madison
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Mon, 23 Oct 95 22:56:59 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9510232156.AA03483@flexus> Subject: setstrokeadjust and fill Hello experts, Suppose I have a diamond or ellipse that is to be filled with a light colour (say, white) and to have a black border. That would be done as follows: (construct path) gsave (set light colour) fill grestore 0 setgray stroke The result is to be shown on an NX_LTGRAY background. Now, for both 1-pixel-wide setstrokeadjust-true strokes (the default in NEXTSTEP), and 0-wide setstrokeadjust-false strokes, some, or even many, white pixels are visible outside the black border (quite conspicuously for someone with good vision and on a MegaPixel). The workaround is to switch setstrokeadjust to false, and to use 0.01-pixel-wide strokes. This gives a stroke whose blocks of pixels slightly overlap instead of touching only diagonally, and surely, the escaped white pixels are now covered completely. Of course, now it becomes necessary to draw conditionally depending on the state of NXDrawingStatus, because such a fine stroke on a printer would not look right. Did I overlook anything? Have you encountered this as well? Can this be called a (specification) bug, that fill's are not appropriately affected by setstrokeadjust-true (but what about the 0-wide case)? Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: sonic@leland.Stanford.EDU (Patrick Conway Donohue) Newsgroups: comp.sys.next.programmer Subject: Missing Link Libraries Date: 23 Oct 1995 16:32:35 -0700 Organization: Stanford University, CA 94305, USA Message-ID: <46h8mj$onq@elaine19.Stanford.EDU> Hi, I'm running a NeXT Cube with the 3.2 OS, and I seem to be missing some critical link libraries for ld. The libraries I seemed to be missing from my /lib directory were crt0.o, gcr0.o, libsys_s.a, libsys_p.a. Another computer here running 3.0 had the files I was looking for and I copied them into my /lib directory. However, when I try to compile, I get errors saying the .a files are out of date (which I figured might happen), and to run ranlib to update it. When I run ranlib on it, I get all these errors saying that "cputype is zero (reserved value)". So three questions, first, is there something I should know about running ranlib, or is it just not going to work with the 3.0 libraries. second, if I can't get ranlib to update the 3.0 libraries, is there ANYWHERE that I can get the 3.2 versions? (the people using this NeXT before me aren't sure where I can it, or what happened to the libraries (former administrator may have taken off)) Finally, I might be able to get a hold of the 3.3 libraries, would those work on 3.2? Thanks, Patrick -- *************************************************************************** *Patrick C. Donohue /\ sonic@leland.stanford.edu * *Stanford University < >--------------------------------------------* *Dept. of Comp. Science \/ Networking and Computing Consultant * *pdonohue@cs.stanford.edu /\ sonic@rescomp.stanford.edu * *****************************\ http://www-leland.stanford.edu/~sonic * ***********************************************
From: i812905@s867.thu.edu.tw () Newsgroups: comp.sys.next.programmer Subject: About rexec Date: 24 Oct 1995 07:35:55 GMT Organization: Dep. Computer Sci. & Information Eng., Chiao Tung Univ., Taiwan, R.O.C Message-ID: <46i50r$gqi@news.csie.nctu.edu.tw> Hello! I wrote a program that using "rexec" to execute other hosts' processes. But I got some problems... I can't get much more manuals about this call !! I used it only with one page unix online manual!! I also read the STEVENS' UNIX network programming, but not much more than the online manual. When using, I always got "segmentation fault" after 5 hosts spawned. Do you know what's the matter ?? Or where can I get the detail manual. And I don't know why the first argument is a double pointer? what is the format of the string set (or string)? May it be my program's problem... Please mail to i812905@sun1.cis.thu.edu.tw OR i812905@s867.thu.edu.tw..............Thanks 8> Jeffrey C.
Newsgroups: comp.sys.next.programmer From: dse@dse.ho.att.com (att.workplace) Subject: Page numbers in TROFF Message-ID: <DGyGMo.9vK@nntpa.cb.att.com> Sender: news@nntpa.cb.att.com (Netnews Administration) Organization: AT&T Date: Tue, 24 Oct 1995 13:40:00 GMT Does anyone know how one prints out page numbers using ptroff. Thanks, Don
From: Jeff Dekelver <dekelver@vnet.ibm.com> Newsgroups: comp.sys.next.programmer Subject: Re: literature Date: Tue, 24 Oct 1995 17:29:53 -0500 Organization: IBM Rochester MN Message-ID: <308D68E1.41C6@vnet.ibm.com> References: <46fqo9$gl6@neptune.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The standard book that everyone is recommended is the Garfinkle and Mahoney(sp) book. Most major book stores, will either have it, or can order it... Another that I have been recommended is the 'Developing NeXETSTEP Applications' by Gene Backlin, though I havn't found it in the book stores yet... -- Jeff DeKelver dekelver@vnet.ibm.com http://w3.rchland.ibm.com/~dekelver/
From: mark_bessey@next.com (Mark Bessey) Newsgroups: comp.sys.next.programmer Subject: Re: New IB doesn't allow empty menu's. arg. Date: 25 Oct 1995 00:37:21 GMT Organization: NeXT Computer, Inc. Message-ID: <46k0s1$akr@news.next.com> References: <DGo09C.66E@world.std.com> Christopher Lloyd writes > Does anyone know how to force the new IB (3.3/eof) to delete the > last item in a menu, so you can have a menu with no items. It gives this > stupid warning "A menu must have at least one item." when trying to > delete the last item. > > Older IB's did this just fine, dunno why they added this restriction. > > -- > Christopher Lloyd lloyd@world.std.com http://world.std.com/~lloyd What would you *do* with a menu with no items, assuming we let you make them? -Mark -- Mark Bessey NeXT Computer, Inc Software Quality Assurance -->I DON'T SPEAK FOR NeXT <--
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Weird key equivalent behavior Date: 25 Oct 1995 01:42:14 GMT Organization: Sense Networking Seattle (www.oz.net) Distribution: world Message-ID: <46k4lm$bgq@emerald.oz.net> I use key equivalents to activate a popUpList on a modal Panel in our app. This has always worked fine until I just tested the app without its Help.store file (NS 3.3 Black User and Developer). With the Panel open and key, each time I press the key equivalents for the various popUpMenu cells (Command-1 through Command-5), an Alert panel opens with a message about Help not being available. Yeah, I already knew that :-) But what does pressing a key equivalent (other than Command-?) have to do with Help? I thought I had broken something, but before delving into the problem, I merely moved an old Help.store file into English.lproj, and now the popUpMenu key equivalents work correctly!! Can anyone explain this? --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: Jeff_Sickel@sickel.com Newsgroups: comp.sys.next.programmer Subject: Perl5.001m and dbm Date: 25 Oct 1995 01:30:24 GMT Organization: Sehjas, Inc. Message-ID: <46k3vg$5sj@canton.charm.net> Has anyone else had problems with perl and the dbm libs? jas
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-Chicago - 10 NeXT Developers - New Project - 60k to 90k+ Date: 24 Oct 1995 23:31:45 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <46kb31$50c@newsbf02.news.aol.com> My Multi Billion $, Fortune 50 client, is currently searching for 10 NeXT developers for a huge new project in the Chicago area. You will be part of a new project team, responsible for the development of new financial applications for company wide roll-out across America. These mission critical applications will be built in a NeXTSTEP/OpenStep/Sybase environment, and will include use of state-of-the-art object methodologies, NeXT based tools, and run on 3 major platforms (Intel, SunSparc/Solaris, WindowsNT). Candidates must have a strong background in NeXTSTEP development, with exposure to AppKit, Objective-C, EOF, Sybase/Oracle and any other NeXT tools. I would like to talk to candidates with a strong background in NeXT development projects, who are also looking for a career opportunity in NeXT development as a senior programmer or project leader. Salaries are excellent, as well as, great benefits, a bonus, and relocation if necessary. Note: This client has only recently established a NeXT development group in the Chicago area, and is not a bank or financial institution currently known as a NeXT site in the Chicago area. Contact: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX) e-mail - dtg1@ix.netcom.com e-mail - briman101@aol.com
From: rjh@ecs.soton.ac.uk (Rupert Hollom) Newsgroups: comp.sys.next.programmer Subject: PERL 5 for NeXTSTEP ? Date: 25 Oct 1995 10:10:24 GMT Organization: Electronics and Computer Science, University of Southampton Message-ID: <46l2eg$3na@bright.ecs.soton.ac.uk> Does anyone know where I can get a packaged version of PERL to install onto my INTEL NeXTSTEP machine. If version 5 is not available then a previous version would be good. I have looked on orst, muenchen and a couple of other sites with no results. Thanks in advance Rupert E-Mail : rjh@ecs.soton.ac.uk
From: zia@MCS.COM (Zia Bhatti) Newsgroups: comp.sys.next.programmer Subject: Spreadsheet/TableView like object? Date: 24 Oct 1995 21:29:12 -0500 Organization: MCSNet Services Distribution: na Message-ID: <46k7do$nd7@Mercury.mcs.com> I have looking for a spreadsheet object that would be somewhat similar to DBTableView but would allow me to feed it data from internal objects ... something like a table viewer. It would allow me to show text and tiff images. Now the problem? I looked up some vendors from the Stepstone WEB page and tried to contact them. It seems that the ones that claimed to have something like this are out of business! Is NEXTSTEP third party business that bad? Any guru out there who can help in pointing out a vendor, or a public object that I could use to do this? Or would I have go the Windows 95 Visual C++ route ... I have a Next box running 3.0. Zia Bhatti
From: Bernhard Scholz <scholz@informatik.tu-muenchen.de> Newsgroups: comp.sys.next.programmer Subject: Re: Why doesn't "prog > /dev/pp0" work? Date: Wed, 25 Oct 1995 15:23:16 +0100 Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <Pine.HPP.3.91.951025151825.6186C-100000@hphalle0.informatik.tu-muenchen.de> References: <Pine.A32.3.91.950914151616.38954D-100000@argent.tkg.com> <43sup8$177@turbocat.snafu.de> <447i2e$cqk@ppcger.inka.de> <44tmju$8n@turbocat.snafu.de> <45gsgg$jeu@ppcger.inka.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <45gsgg$jeu@ppcger.inka.de> I think there is a general problem in NeXT's pipelining concept, too! Ever tried this: dump 0f /dev/rst0 vs. dump 0f - | compress >/dev/rst0 My P90 doesn't get much load by the compress tool (you even might try cat!) but the output drops from 10MB to 2MB per minute for me! dump internally works with threads, but I see no way to enlarge the pipeline buffer. Mybe I'm completely wrong, but as far as I remember redirecting the output is implemented using the same pipelining mechanisms. Regards, Boerny. -- Bernhard Scholz (IRC: Boerny) scholz@informatik.tu-muenchen.de http://peanuts.leo.org/ scholz@ve1.rm.op.dlr.de http://www.leo.org/~scholz/
From: schaefer@syrtis.geology.yale.edu (Martha W. Schaefer) Newsgroups: comp.sys.next.programmer Subject: fortran Date: 25 Oct 1995 15:53:33 GMT Organization: Yale University Distribution: world Message-ID: <46lmht$suc@news.ycc.yale.edu> Is there a fortran for NEXSTEP/HP anywhere out there? Free, shareware, or commercial? I tried to complile GNU fortran several months ago, with no success. TIA, Martha Schaefer
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: New IB doesn't allow empty menu's. arg. Date: 25 Oct 1995 09:35:06 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eohv58qti.fsf@steffi.accessone.com> References: <DGo09C.66E@world.std.com> <46k0s1$akr@news.next.com> In-reply-to: mark_bessey@next.com's message of 25 Oct 1995 00:37:21 GMT To: mark_bessey@next.com (Mark Bessey) <mark_bessey@next.com> writes: >Christopher Lloyd writes >>Does anyone know how to force the new IB (3.3/eof) to delete the >>last item in a menu, so you can have a menu with no items. It gives this >>stupid warning "A menu must have at least one item." when trying to >>delete the last item. >> >>Older IB's did this just fine, dunno why they added this restriction. >> >>-- >>Christopher Lloyd lloyd@world.std.com http://world.std.com/~lloyd >What would you *do* with a menu with no items, assuming we let you make >them? I'd assume he'd statically create the menu but dynamically populate it at run time. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: Ron Wood <ron> Newsgroups: comp.sys.next.programmer Subject: Re: PERL 5 for NeXTSTEP ? Date: 25 Oct 1995 16:54:06 GMT Organization: CE-CERT Message-ID: <46lq3e$sm8@galaxy.ucr.edu> References: <46l2eg$3na@bright.ecs.soton.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit rjh@ecs.soton.ac.uk (Rupert Hollom) wrote: >Does anyone know where I can get a packaged version of PERL to install >onto my INTEL NeXTSTEP machine. If version 5 is not available then a >previous version would be good. I have looked on orst, muenchen and a >couple of other sites with no results. > >Thanks in advance > >Rupert > >E-Mail : rjh@ecs.soton.ac.uk > I have the source at ftp://www.bville.com, or via anonymous ftp to bigtop.bville.com, in the directory pub/archive. The file is perl-5.000-ss-9.01.tar.gz, it compiled with out errors on my Black hardware, running NS 2.1, it should (I guess) compile fine on an Intel box. -- Ron Wood, Systems Administrator CE-CERT, UCR
From: mpaque@aol.com (Mpaque) Newsgroups: comp.sys.next.programmer Subject: Re: problems encoding/decoding nested distributed objects Date: 25 Oct 1995 13:42:10 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <46lsti$r3q@newsbf02.news.aol.com> References: <46ggpv$c7u@swabsib.s.bawue.de> In article <46ggpv$c7u@swabsib.s.bawue.de>, timo@swabsib.s.bawue.de (Timo Hennerich) writes: [Trying to encode a window and it's nested views for D.O. by copy] >I get a loop, the portal is not recognizing that window is >an object (the root object) just being encoded. Why? I think >this should work like typedstreams. What's the right way to >bycopy an object with such nested objects? Every object in the hierarchy to be moved over the connection must implement the NXTransport protocol. Every object that is not a leaf node in the hierarchy must, in it's encodeRemotelyFor:freeAfterEncoding:isBycopy: method, invoke this method of subsidiary objects. The 3.x AppKit doesn't implement NXTransport for it's Window and View classes and subclasses, and in many cases, the classes won't work properly when referring to proxy objects instead of actual View subclasses. (Think about things like connections to the Window Server, and state kept in the Window Server, outside of the object.) Yes, it should work just like typed streams, but... The typed stream and AppKit API predates distributed objects by a few years. D.O. is a more recent addition to NEXTSTEP. Mike Paquette -- I don't speak for NeXT, and NeXT doesn't speak for me. Fair deal...
Newsgroups: comp.sys.next.programmer From: Joakim Johansson <jocke@rat.se> Subject: Re: New IB doesn't allow empty menu's. arg. Message-ID: <DH0Jrp.7B3@rat.se> Sender: jocke@rat.se (Joakim Johansson) Organization: Research & Trade, AB. References: <46k0s1$akr@news.next.com> Date: Wed, 25 Oct 1995 16:43:00 GMT In article <46k0s1$akr@news.next.com> mark_bessey@next.com (Mark Bessey) writes: > > What would you *do* with a menu with no items, assuming we let you make > them? Add menu items dynamically at runtime without having to bother removing the unnecessary IB-allocated static menu item? -- Joakim Johansson Software Developer @ Research & Trade jocke@rat.se <NeXTmail, MIME> -- Joakim Johansson Software Developer @ Research & Trade jocke@rat.se <NeXTmail, MIME>
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <doug@thoughtful.com> Date: Wed, 25 Oct 95 08:00:55 -0600 From: doug@thoughtful.com (Douglas Simons) Message-ID: <9510251400.AA02342@thoughtful.com> Subject: Synchronous workspace file operations? How? Hello, I believe there was some discussion of the "options:" argument to the NXWorkspaceRequestProtocol's "performFileOperation:..." method recently, but I can't find it. I also have some related questions: Basically, is there any way to get the workspace to perform an operation _synchronously_ ? The documentation hints that some operations are synchronous -- is this just a characteristic of certain operations, or can I control it? I'd like to use the Workspace to perform file operations, in order to start getting away from operating-system dependencies, but having operations performed asynchronously is not always helpful. In my case, I want to copy file X to directory Y. I first check whether Y/X already exists and ask the user if they want to replace it. If so, I ask workspace to delete the old X. Then I ask workspace to copy X to directory Y. Finally, I open file Y/X for my own processing. Specific questions I need answers to: 1. Does anyone have a good solution for doing an ordered sequence of file operations? The only ideas I have at the moment are (a) to wait for a couple of seconds after each operation (obviously a lousy approach) or (b) to follow each operation by a loop which repeatedly examines the file system to see if files exist or not (at least this should work, but doesn't thrill me), or (c) to somehow wait for the "app:fileOperationCompleted:" message from the Workspace, but I don't see any good way to do this in the middle of a procedural operation. Any ideas? 2. For planning toward the future, does anyone know if this sort of thing is better-supported under OpenStep? How can I best shape my code in order to make a smooth transition in the (relatively near) future? Thanks in advance, Doug
From: bkeller@galstar.com (Bill Keller) Newsgroups: comp.sys.next.programmer Subject: inbound faxing Date: Wed, 25 Oct 1995 21:47:50 GMT Organization: Galaxy Star - Northeastern Oklahoma Internet Message-ID: <46mbi0$474@mercury.galstar.com> I need to find out if inbound faxing is a system resource in the same way that outbound faxing is. I'm writing a custom app that needs to recieve a fax, twiddle it, and fax it back out. The second to steps are trivial. Its the first that gets me. Does the inbound fax system that nextstep currently uses support services? Would it be possible to simply hook its process? Or, failing that, is there a third-party palette or API that you are aware of? Thanks for any help...... -Bill
From: Paul Lynch <Paul_Lynch@plsys.com> Newsgroups: comp.sys.next.programmer Subject: Re: New IB doesn't allow empty menu's. arg. Date: Wed, 25 Oct 1995 22:46:29 GMT Organization: P & L Systems Sender: news@seer.demon.co.uk Message-ID: <1995Oct25.224629.7213@seer.demon.co.uk> References: <46k0s1$akr@news.next.com> In article <46k0s1$akr@news.next.com> mark_bessey@next.com (Mark Bessey) writes: > Christopher Lloyd writes > > Does anyone know how to force the new IB (3.3/eof) to delete the > > last item in a menu, so you can have a menu with no items. It gives this > > stupid warning "A menu must have at least one item." when trying to > > delete the last item. > > > > Older IB's did this just fine, dunno why they added this restriction. > > What would you *do* with a menu with no items, assuming we let you make > them? Programatically add items to it? For example, one menu item per bundle in my app? Seems reasonable to me. Paul -- Paul Lynch (NeXTmail) http://www.plsys.co.uk/~paul (under construction)
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: Re: New IB doesn't allow empty menu's. arg. Date: 25 Oct 1995 23:45:42 GMT Organization: my own Message-ID: <46mi77$lbn@gate.seicom.net> References: <DGo09C.66E@world.std.com> <46k0s1$akr@news.next.com> mark_bessey@next.com (Mark Bessey) wrote: > Christopher Lloyd writes > > Does anyone know how to force the new IB (3.3/eof) to delete the > > last item in a menu, so you can have a menu with no items. It gives this > > stupid warning "A menu must have at least one item." when trying to > > delete the last item. > > > > Older IB's did this just fine, dunno why they added this restriction. > What would you *do* with a menu with no items, assuming we let you make > them? How about adding some Menu items at runtime? - Frank (still using the 3.2 IB) --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy "In cantonese C++ is called C ga ga"
Newsgroups: comp.sys.next.programmer From: c008213@next498.pcp.com (Royce Howland) Subject: Re: New IB doesn't allow empty menu's. arg. Message-ID: <1995Oct25.233910.5182@pcp.ca> Sender: news@pcp.ca Organization: PanCanadian Petroleum Ltd. References: <DGo09C.66E@world.std.com> <46k0s1$akr@news.next.com> Date: Wed, 25 Oct 95 23:39:10 GMT mark_bessey@next.com (Mark Bessey) wrote: > Christopher Lloyd writes > > Does anyone know how to force the new IB (3.3/eof) to delete the > > last item in a menu, so you can have a menu with no items. > What would you *do* with a menu with no items, assuming we let you make > them? Populate them at run-time, of course. I have the same problem with DBTableView. As a convenience, I'd like to drop one on a window in IB, and set it up for size, autosizing, etc., but not have any vectors in it until I populate them at run-time. Unfortunately, IB (or something) forces at least one vector to be present, which makes for an (admittedly mildly) annoying special case when building the vectors at run-time. Royce -- Royce Howland, Object Systems Group howlandr@cadvision.com (home, NeXT mail OK) Howland_Royce@pcp.ca (PanCanadian Petroleum, NeXT & MIME mail OK) I speak, but not necessarily for OSG or PCP.
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Wed, 25 Oct 95 23:43:57 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9510252243.AA02590@flexus> Subject: Re: New IB doesn't allow empty menu's. arg. Mark Bessey <mark_bessey@next.com> writes: > What would you *do* with a menu with no items, assuming > we let you make them? What a *patronising* attitude! Don't you think anyone deleting the last command in a menu does so intentionally and for a purpose that is his/her good business (maybe generating those commands programmatically, say, from a file that an ordinary user can edit)?! Why don't you throw out this misfeature and devote your attention and resources to Software Quality Assurance instead. For starters, fetch KBNS (see c.s.n.announce) for a list of InterfaceBuilder.app bugs (and suggestions). Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: New IB doesn't allow empty menu's. arg. Date: 26 Oct 1995 01:40:50 GMT Organization: Sense Networking Seattle (www.oz.net) Distribution: world Message-ID: <46mov2$n8c@emerald.oz.net> References: <DH0Jrp.7B3@rat.se> In article <DH0Jrp.7B3@rat.se> Joakim Johansson <jocke@rat.se> writes: > In article <46k0s1$akr@news.next.com> mark_bessey@next.com (Mark Bessey) > writes: > > What would you *do* with a menu with no items, assuming we let you make > > them? > Add menu items dynamically at runtime without having to bother removing > the unnecessary IB-allocated static menu item? If you're going to add menu items dynamically at runtime, why not just add a submenu when you need to add the first menuCell? Seems unnecessarily confusing to have an empty submenu for users to try to grok. --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Weird key equivalent behavior Date: 26 Oct 1995 01:45:20 GMT Organization: Sense Networking Seattle (www.oz.net) Distribution: world Message-ID: <46mp7g$nga@emerald.oz.net> References: <46k4lm$bgq@emerald.oz.net> In article <46k4lm$bgq@emerald.oz.net> art@cubicsol.com (Art Isbell) writes: > I thought I had broken something, but before delving into the problem, > I merely moved an old Help.store file into English.lproj, and now the > popUpMenu key equivalents work correctly!! > Well, they *appear* to work correctly, but in fact, the first time a key equivalent is pressed, Help.store is read into memory, but no Help panel is displayed, just a fair amount of disk activity and delay before the popUpList is activated!! Maybe this is a feature to accelerate the opening of the Help panel when it is actually requested :-) --- Art Isbell NeXTmail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <gbacklin@marizack.com> Message-ID: <9510260202.AA00326@marizack> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Gene Backlin <gbacklin@marizack.com> Date: Wed, 25 Oct 95 21:02:53 -0500 Subject: Re: literature >From: Jeff Dekelver > Another that I have been recommended is the > 'Developing NeXETSTEP Applications' by Gene Backlin, > though I havn't found it in the book stores yet... If your bookstore doesn't carry it, it can be ordered on-line at MacMillan WWW. http://www.mcp.com Gene Backlin gbacklin@marizack.com
From: tpowell@law.emory.edu (Tim) Newsgroups: comp.sys.next.programmer Subject: Need compile problem diagnosed Date: 26 Oct 1995 07:55:49 GMT Organization: Emory University Message-ID: <46neu5$79u@moe.cc.emory.edu> I am attempting to compile ircii-2.8.2 but getting more warning messages than I am comfortable with. Here is a screen capture of my compile, and following that is the Makefile I used. If someone could make some optimization recommendations I would appreciate it. -Tim serv1$ make cc -g -O -pipe -bsd -DHAVE_CONFIG_H -I../include -DDEFAULT_HELP_PATH=\"/usr/loc al/lib/IRC/help\" -c help.c help.c: In function `help_me': help.c:515: warning: assignment makes pointer from integer without a cast help.c:541: warning: assignment makes pointer from integer without a cast help.c:725: warning: assignment makes pointer from integer without a cast cc -g -O -pipe -bsd -DHAVE_CONFIG_H -I../include -DIRCLIB=\"/usr/local/lib/IRC/ \" -DIRCPATH=\"~/.irc:/usr/local/lib/IRC/script:.\" -c irc.c irc.c: In function `parse_args': irc.c:401: warning: pointer/integer type mismatch in conditional expression irc.c:513: warning: assignment makes pointer from integer without a cast irc.c: In function `main': irc.c:961: warning: passing arg 2 of `my_signal' from incompatible pointer type irc.c:973: warning: passing arg 2 of `my_signal' from incompatible pointer type irc.c:976: warning: passing arg 2 of `my_signal' from incompatible pointer type cc -g -O -pipe -bsd -DHAVE_CONFIG_H -I../include -DWSERV_PATH=\"/usr/local/bin/ wserv\" -c screen.c cc -g -O -pipe -bsd -DHAVE_CONFIG_H -I../include -DIRCSERV_PATH=\"/usr/local/bi n/ircserv\" -c server.c server.c: In function `do_server': server.c:218: warning: pointer/integer type mismatch in conditional expression server.c: In function `connect_to_server_direct': server.c:627: warning: pointer/integer type mismatch in conditional expression server.c: In function `connect_to_server_process': server.c:682: warning: assignment makes pointer from integer without a cast server.c:708: warning: passing arg 2 of `my_signal' from incompatible pointer ty pe cc -g -O -pipe -bsd -DHAVE_CONFIG_H -I../include -DTRANSLATION_PATH=\"/usr/loca l/lib/IRC/translation/\" -c translat.c cc -g -O -pipe -bsd -DHAVE_CONFIG_H -I../include -DDEFAULT_HELP_PATH=\"/usr/loc al/lib/IRC/help\" -c vars.c cc -g -O -pipe -bsd -DHAVE_CONFIG_H -o irc alias.o crypt.o ctcp.o dcc.o debug.o edit.o exec.o flood.o funny.o help.o history.o hold.o hook.o if.o ignore.o inpu t.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o menu.o names.o newio.o notice.o notify.o numbers.o output.o parse.o queue.o reg.o scandir.o scr een.o server.o stack.o status.o term.o translat.o vars.o whois.o window.o -lter mcap -lsys_s -lposix `ircserv' is up to date. `ircflush' is up to date. `wserv' is up to date. serv1$ --here is my makefile-- # Generated automatically from Makefile.in by configure. # IRC II - written by Michael Sandrof # Copyright (c) 1991 - All Rights Reserved # Modified by Matthew Green, 1993. # # @(#)$Id: Makefile.in,v 1.27 1995/01/05 06:40:23 mrg stable $ # targets recognised by this makefile: # all, everything - compiles ircii, ircserv, ircflush and wserv # ircserv - compiles ircserv # ircflush - compiles ircflush # wserv - compiles wserv # install - installs ircii, ircserv, ircflush and wserv the scripts # and the translation tables. # installirc - installs ircii # installserv - installs ircserv # installwserv - installs wserv # installflush - installs ircflush # installscript - installs the scripts # installtranslation - installs the translation tables # installeverything - all of the above # clean - remove all .o files, core, and binaries # disclean - remove all files geneated by compilation/installation. prefix = /usr/local exec_prefix = ${prefix} bindir = ${exec_prefix}/bin # Where the ircII binary will be installed. # 'make install' will compile and install the program INSTALL_IRC = $(bindir)/irc # Where the ircII library will be. Generally this is the place that # you put the scripts, help pages and translation tables. It is # very important that you set this correctly. IRCLIB = ${prefix}/lib/IRC # Set this to the lex you want to use, and if they lex uses a library. LEX = lex LEXLIB = -ll CC = cc DEFS = -DHAVE_CONFIG_H LIBS = -ltermcap -lsys_s -lposix # Set this to -g if you want to be able to debug the client, otherwise # use -O to have the compiler do some optimization instead. CFLAGS = -g -O -pipe -bsd # Set this to -s if you want the binary to be striped. LDFLAGS = # these are legacy things from ircii 2.2 that haven't yet been # handled with autoconf. # For Apollo systems (10.2 and upwards) use the following with BSD defaults: # DEFS = -Asys,bsd4.3 # Use one of the following for mips systems: # Choice 1, if your system has the wait3() call # DEFS = -systype bsd43 # Choice 2, if your system has the wait2() call # DEFS = -systype bsd43 -Duse_wait2 # # Or, if you only have sysv installed, use one of the following: # DEFS = -DMIPS_SYSV # DEFS = -DMIPS_SYSV -Duse_wait2 ## You probably don't need to change anything below this line # Uncomment the following if you want a secure IRC which binds to a # privileged port. This feature is completely useless in the current # IRC environment, but in the future some servers may use privileged # port systems to verify users connecting to them. The value of # PRIV_PORT determines the minimum port number to use. # If you modify these (including uncommenting them) you will need to # touch config.h # # If you are on a system where test-suid works, you can simply define # PP_DEFS to be PRIV_PORT_ULC and irc will change effective UID back # to a normal user immediately, and change to root when binding a port. # This feature is undocumented, but is known to work on Sun, MIPS and # Apollo (Cos we've tested them already). # PP_DEFINES = -DPRIV_PORT=667 # PP_OBJS = file.o # PP_DEFINES = -DPRIV_PORT_ULC # Full path of the directory for ircII help files. # The help files are not within the source distribution, if you don't have # them and want them, check out your nearest ircII archive. # You may comment HELP_DIR, then the ircIIhelp service will be used. # If you don't comment it out and want to use the IRCIIHelp service anyway, # you must make sure that the directory doesn't exist. HELP_DIR = $(IRCLIB)/help # Full path of the directory in which to copy the # IRCII scripts supplied with the code. These scripts # may be loaded by using the LOAD command in IRCII. INSTALL_SCRIPT = $(IRCLIB)/script # Default setting for IRC_PATH where irc will look for # its script files if the environment variable is undefined. # Usually, this should contain the same path as used for INSTALL_SCRIPT in # the Makefile, but it can contain multiple path elements # separated by colons. The path MUST lead to an existing directory, # because the 'global' script is expected to be found there. IRC_PATH = ~/.irc:$(INSTALL_SCRIPT):. # Path for TRANSLATION variable. TRANS_PATH = $(IRCLIB)/translation # Set the next line to the full path for installation of the ircserv program # if you wish to use it. INSTALL_IRCSERV = $(bindir)/ircserv # This little program is necessary to have an interactive shell # in a window of ircII. The 'shell' script uses it, so also update # the path in there, if you want to enable this. INSTALL_IRCFLUSH = $(bindir)/ircflush # This program allows you to use screen/xterm's to put new irc windows # on new screen/xterm windows. INSTALL_WSERV = $(bindir)/wserv ## You shouldn't have to change anything below here srcdir = . RM = rm -f LN = ln -s CP = cp MV = mv INSTALL = ./bsdinstall -c -m 755 INSTALL_DATA = ../bsdinstall -c -m 644 VERSION = 2.8.2 SHELL = /bin/sh MAKE = make $(MFLAGS) MFLAGS ='CC=$(CC)' \ 'CFLAGS=$(CFLAGS)' \ 'DEFS=$(DEFS)' \ 'HELP_DIR=$(HELP_DIR)' \ 'INSTALL_IRC=$(INSTALL_IRC)' \ 'INSTALL_IRCSERV=$(INSTALL_IRCSERV)' \ 'INSTALL_WSERV=$(INSTALL_WSERV)' \ 'IRCLIB=$(IRCLIB)' \ 'IRCPATH=$(IRC_PATH)' \ 'LDFLAGS=$(LDFLAGS)' \ 'LEX=$(LEX)' \ 'LEXLIB=$(LEXLIB)' \ 'LIBS=$(LIBS)' \ 'LN=$(LN)' \ 'PP_DEFS=$(PP_DEFS)' \ 'PP_OBJS=$(PP_OBJS)' \ 'PPS_DEFS=$(PPS_DEFS)' \ 'RM=$(RM)' \ 'TRANS_DIR=$(TRANS_PATH)' all: irc ircserv ircflush wserv install: all installbin installscript installtranslation irc: source/Makefile Makefile @cd source; $(MAKE) all installeverything: install installflush installserv installwserv \ installscript installtranslation everything: all ircflush ircserv wserv ircserv: source/Makefile @cd source; $(MAKE) ircserv ircflush: source/ircflush.c source/Makefile @cd source; $(MAKE) ircflush wserv: source/wserv.c source/term.c source/Makefile @cd source; $(MAKE) wserv installbin: installirc installserv installflush installwserv installirc: irc installdirs $(INSTALL) source/irc $(INSTALL_IRC)-$(VERSION) @if test -f $(INSTALL_IRC).old; then $(RM) $(INSTALL_IRC).old; fi @if test -f $(INSTALL_IRC); then $(MV) $(INSTALL_IRC) $(INSTALL_IRC).old; fi $(RM) $(INSTALL_IRC) $(LN) $(INSTALL_IRC)-$(VERSION) $(INSTALL_IRC) installscript: installdirs -chmod -x script/* -@( \ if test -f $(INSTALL_SCRIPT)/local; then \ if test -f script/local; then \ $(MV) script/local script/local.orig; \ fi; \ fi \ ) cd script; for i in *; do $(INSTALL_DATA) $$i $(INSTALL_SCRIPT); done installtranslation: installdirs -chmod -x translation/* cd translation; for i in *; do $(INSTALL_DATA) $$i $(TRANS_PATH); done installserv: ircserv installdirs $(INSTALL) source/ircserv $(INSTALL_IRCSERV) installflush: ircflush installdirs $(INSTALL) source/ircflush $(INSTALL_IRCFLUSH) installwserv: wserv installdirs $(INSTALL) source/wserv $(INSTALL_WSERV) installhelp: @echo Help files are no more within this package. You @echo can probably get them from the same place you got @echo this source from. installdirs: umask 022; ./mkinstalldirs $(IRCLIB) $(bindir) $(TRANS_PATH) $(INSTALL_SCRIPT) clena clean: @-if test -f source/Makefile; then cd source; $(MAKE) clean; fi distclean cleandir realclean: clean $(RM) Makefile source/Makefile source/sig.inc config.status config.cache config.log easyinst.status include/defs.h lint: @if test -f source/Makefile; then cd source; $(MAKE) lint; fi autoconf: configure configure: configure.in acconfig.h autoconf autoheader: include/defs.h.in include/defs.h.in: configure.in acconfig.h autoheader config_h: $(RM) include/config.h ln include/config.h.dist include/config.h export: distclean autoconf autoheader config_h dist: export ( \ cd ..; \ tar --exclude .CVS -z -c -f ircii-$(VERSION).tar.z ircii; \ )
From: borek (Borek Lupomesky) Newsgroups: comp.sys.next.programmer Subject: Use of Text object Date: 25 Oct 1995 23:52:15 GMT Organization: Czech Technical University Distribution: world Message-ID: <46mijf$dn0@ns.felk.cvut.cz> Keywords: text appkit After a lot of browsing documentation and references, I still don't know how to append text to an existing Text object. I understand how I fill one with text, that erases the previous content, but it is not clear to me how can I modify it (change words, append text, erase parts of text etc.). Any help appreciated. Bye Borek -- =-=-=[ Borek's NeXTSTEP Internet-connected home workstation ]-=-=-= Borek Lupomesky | lupomesk@sun.ujep.cz | Fido: 2:423/71 Usti nad Labem | http://www.ujep.cz/~lupomesk | NeST: 90:1200/1 CZECH REPUBLIC | IRC: BorekL (#cs) | BBS: +42-47-40051 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Use of Text object Date: Thu, 26 Oct 95 11:55:43 GMT Organization: Cedar Systems Distribution: world Message-ID: <814708543snz@cedar.demon.co.uk> References: <46mijf$dn0@ns.felk.cvut.cz> In article <46mijf$dn0@ns.felk.cvut.cz> lupomesk@sun.ujep.cz "Borek Lupomesky" writes: > > After a lot of browsing documentation and references, I still don't know > how to append text to an existing Text object. I understand how I fill one > with text, that erases the previous content, but it is not clear to me how > can I modify it (change words, append text, erase parts of text etc.). Any > help appreciated. > Try the following: - appendText:(const char *)aString to:(Text *)theText { int endOfText = [theText textLength]; [theText setSel:endOfText :endOfText]; [theText replaceSel:aString]; [theText scrollSelToVisible]; return self; } Regards, Paul Heffernan. ----------------------------------------------- Cedar Systems email: Cedar@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
From: jq@phcs.phcs.com (James E. Quick) Newsgroups: comp.sys.next.programmer Subject: Re: About rexec Date: 26 Oct 1995 09:08:03 -0400 Organization: PHCS Message-ID: <46o17j$iv@papoose.quick.com> References: <46i50r$gqi@news.csie.nctu.edu.tw> In article <46i50r$gqi@news.csie.nctu.edu.tw>, <i812905@s867.thu.edu.tw> wrote: >Hello! > I wrote a program that using "rexec" to execute other hosts' >processes. But I got some problems... > I can't get much more manuals about this call !! I used it >only with one page unix online manual!! I also read the STEVENS' >UNIX network programming, but not much more than the online manual. > When using, I always got "segmentation fault" after 5 hosts >spawned. Do you know what's the matter ?? Or where can I get >the detail manual. And I don't know why the first argument is a >double pointer? what is the format of the string set (or string)? >May it be my program's problem... It sounds like the problem is with your program. The first argument is defined as 'char **ahost;' because the rexec function may need to store the canonical hostname of the host to which you are connecting. Here is a code fragment showing the proper use of this command. You must make sure, that you pass the address of a buffer that is not only writable, but is large enough to store the longest name that the gethostbyname function can handle. #include <sys/param.h> /* MAXHOSTNAMELEN defined in here. */ . . . . . . char ahost[MAXHOSTNAMELEN+1]; strcpy(ahost, "host"); sockfd = rexec(&ahost, inport, user, passwd, cmd, fd2p); If you look in the ahost buffer after the call, the hostname 'host' may have been replace with the string 'host.foo.com' the standard (canonical) hostname returned by the gethostbyname lookup. Here's another strcpy(ahost, "127.0.0.1"); sockfd = rexec(&ahost, inport, user, passwd, cmd, fd2p); In this example the gethostbyname was passed a dotted IP address rather than a name. The contents of the buffer ahost has now been overwritten by the name 'localhost' which is the name of the loopback address 127.0.0.1. Does the man page for rexec make more sense to you now? -- ___ ___ | James E. Quick jq@phcs.com / / / | Private HealthCare Systems NeXTMail O.K. \_/ (_\/ | Systems Integration Group (617) 895-3343 ) | - My other car has a mouse.
From: www@blackbox.techno.net (World Wide Web User) Newsgroups: comp.sys.next.programmer Subject: Problem: can't compile statform / getstats Date: 26 Oct 1995 16:26:34 GMT Organization: Contrib.Net News Berlin sponsored by bbtt electronic networks GmbH Distribution: world Message-ID: <46ocrq$q1s@news.b-1.de.contrib.net> hi all, I downloaded the getstats / statform stuff to make web server statistics and can't compile the statform or rather can't link it to the libcgi that came with it (yes I recompiled that, too) so does anybody have a running version for black 3.3 ? getstats: http://www.eit.com/software/getstats/getstats.html or is there a groovyer web useage statistics app ? check it out: www.techno.net thanks, ossip
From: pdell@nano.bu.edu.bu.edu (Paul Dell) Newsgroups: comp.sys.next.programmer Subject: HELP!!!-NXReadObject: inconsistency Date: 26 Oct 1995 16:23:16 GMT Organization: Boston University Message-ID: <46oclk$9c6@news.bu.edu> I have been struggling over a week with this. I had a project that worked, but now it does not. It even gets screwed up when I go back to older versions and reparse the previously working class "GScontroller". The code crashes durring the loading of the nib with this error: (gdb) r Starting program: /LocalDeveloper/Source/TERRIERS-Software/Old_Code/GS199509226/TERGround0595 a.app/TERGround0595a An uncaught exception was raised Typed streams library error: NXReadObject: inconsistency between written data and read: Program exited with code 0377. (gdb) Please, if you have any solutions or ideas let me know. Paul Dell pdell@cs.bu.edu
From: giddings@menominee.menominee.chem.wisc.edu (Michael Giddings) Newsgroups: comp.sys.next.programmer,comp.sys.next.hardware Subject: Next and Power Management (portables)? Date: 26 Oct 1995 21:37:43 GMT Organization: University of Wisconsin, Madison Distribution: world Message-ID: <46ov37$11cm@news.doit.wisc.edu> Keywords: next apm power management bios portable computer advanced Ok, so Next claims to have power management in NS 3.3. Some of the glossy type documents (e.g. "What's new in 3.3") say so, and the little battery monitor and preferences module running on the portable here seem to back up this claim. And, while booting, the portable even says "Power Management Enabled". Nifty. However, I cannot find ANY technical documentation on this anywhere. I would really like to improve the power management functions of NS on the Thinkpad I have running here (like having a working suspend and hibernate mode). In fact, if I accomplished this, it might benefit everyone else out using the thinkpad as well. I have even gone so far as to order IBM's technical specifications book (red-book) for the Thinkpad. But all this does me little good right now because I have no idea how to interface with NeXT's implementation of power management. I don't even know if it's at the kernel level (it probably is), or in some driver that gets loaded early on. I would guess that there are some classes somewhere dealing with power management. Adding to the mystery, in /NextDeveloper/Examples/DriverKit/AMDPCSCSIDriver, I found references to a type called PMPowerManagementState, and an include for aheader file <driverkit/IOPower.h>. However, I cannot locate any such header file on my system. If anyone has any clue as to the details of NS 3.3's power management, or where I could find this mysterious header file (IOPower.h) your help would be appreciated. -- ---------------------------------------------------------------------------- - Michael Giddings \ Tcl definitions that apply: UW Madison Dept. of Chemistry \ set job "Consultant and Graduate Student" Madison, Wisconsin \ set specialty "Scientific Computation" (608) 692-2851 \ set InRealLife "Whitewater kayaker and\ giddings@whitewater.chem.wisc.edu or\ outdoor enthusiast" giddings@students.wisc.edu \ ---------------------------------------------------------------------------- --
From: Paul Lynch <Paul_Lynch@plsys.com> Newsgroups: comp.sys.next.programmer Subject: Re: Use of Text object (long) Date: Fri, 27 Oct 1995 00:10:25 GMT Organization: P & L Systems Sender: news@seer.demon.co.uk Message-ID: <1995Oct27.001025.10909@seer.demon.co.uk> References: <814708543snz@cedar.demon.co.uk> In article <814708543snz@cedar.demon.co.uk> Cedar Systems <Cedar@cedar.demon.co.uk> writes: > - appendText:(const char *)aString to:(Text *)theText > { > int endOfText = [theText textLength]; > > [theText setSel:endOfText :endOfText]; > [theText replaceSel:aString]; > [theText scrollSelToVisible]; > > return self; > } Even better, this is mostly from code posted here by EPS: @interface Text(Printf) - appendText:(const char *)aString; - printf:(const char *)format,...; - (char *)stringValue; - setStringValue:(char *)string; @end @implementation Text(Printf) - appendText:(const char *)aString { int e; if ((e=[self textLength])<=0) [self setText:aString]; else [[self setSel:e:e] replaceSel:aString]; [self scrollSelToVisible]; return self; } - printf:(const char *)format,... { NXStream *s; char *streambuf; int len, maxlen; va_list ap; va_start(ap, format); s=NXOpenMemory(NULL, 0, NX_WRITEONLY); NXVPrintf(s, format, ap); (void)NXPutc(s, '\0'); NXFlush(s); NXGetMemoryBuffer(s, &streambuf, &len, &maxlen); [self appendText:streambuf]; NXCloseMemory(s, NX_FREEBUFFER); va_end(ap); return 0; } - (char *)stringValue; { char *buf; buf = NXZoneMalloc([NXApp zone], [self textLength]+1); [self getSubstring:buf start:0 length:[self textLength]+1]; return buf; } - setStringValue:(char *)string; { [self setText:string]; return self; } @end Paul -- Paul Lynch (NeXTmail) http://www.plsys.co.uk/~paul (under construction)
From: shaffer@durer (C. David Shaffer) Newsgroups: comp.sys.next.programmer Subject: Cross compiling to M68000 series Date: 27 Oct 1995 02:32:13 GMT Organization: University of Pittsburgh Message-ID: <SHAFFER.95Oct26223213@durer> Is it possible to build gcc on a machine running NextStep as a cross compiler to M68000 series? I've done it from SunOS but am considering migrating. Seems like it should work but I'd like to know... -David Shaffer -Department of Physics -The University of Pittsburgh -Pittsburgh, PA 15260 -shaffer@phyast.pitt.edu
From: dtg1@ix.netcom.com (Patrizia Cerminara ) Newsgroups: comp.sys.next.programmer Subject: US-Nationwide - Red Hot NeXT Developer Job Market - 25 Positions Date: 27 Oct 1995 02:39:52 GMT Organization: Netcom Message-ID: <46pgpo$2p5@ixnews3.ix.netcom.com> * HIGH PRIORITY* The job market for experienced NeXT developers is currently very hot. I have 6 major NeXTSTEP clients who need NeXTSTEP professionals across the country. Get involved in state-of-the-art NeXT development projects using: NeXTSTEP/OpenStep/EOF/WebObjects/Sybase/Informix/WindowsNT/Solaris I currently need 20 full-time developers in several locations: NY/IL/CO/TX/CA/NC I need developers, senior developers, hands-on project leaders. Salary range 50k to 120k + Bonus + Relocation. If you are looking for an exciting full-time opportunity for 1996, contact me today. Brian Mitchell Datacom Technology Group NeXT Recruitment Division 212-629-5720 212-629-3374(FAX)
From: xepo@alumni.cs.uwm.edu (Scott R Violet) Newsgroups: comp.sys.next.programmer Subject: Dependencies in multi-directory projects Date: 26 Oct 1995 21:53:38 GMT Organization: University of Wisconsin - Milwaukee Distribution: usa Message-ID: <46p012$kuj@uwm.edu> Summary: can't get it to work Keywords: how to? Hi, I've been doing some multi-directory projects lately and have not been able to get Makefile.dependencies to work. I have a class that other classes in the subdirectories inherit from. When I change the superclass I'ld like for the classes that inherit from it to recompile. I did a make depend and it properly created the Makefile.dependencies in the bundles as it should, but they don't work. Touching a file will not cause the dependents to recompile. Has anyone else experienced this problem? Any idea how to get it work properly? Here is an example of a Makefile.dependencies in one of the bundles: blah.o : ../fred.h Changing fred.h does not cause blah to recompile:( -Scott Violet (scott@nacm.com)
From: kay@kauri.vuw.ac.nz (Cameron Kay) Newsgroups: comp.sys.next.programmer Subject: OODBs available for NEXTSTEP Date: 27 Oct 1995 07:22:13 GMT Organization: Victoria Uni. of Wellington, NZ. Distribution: world Message-ID: <KAY.95Oct27202213@kauri.vuw.ac.nz> Hi. Does anyone know of any free or commercial OODBMS that have been ported to NEXTSTEP. Thanks - Cameron -- Email Cameron.Kay@kauri.vuw.ac.nz Post Computer Science Department Phone + 64 4 472 1000 x7032 (Work) Victoria University + 64 4 237 5895 (Home) P.O.Box 600 Fax + 64 4 495 5232 Wellington, New Zealand
From: barclay@king.trs.ntc.nokia.com (Alan Barclay) Newsgroups: comp.sys.next.programmer Subject: File System Example Date: 27 Oct 1995 07:42:07 GMT Organization: The Electric Scribe Co. Ltd. Message-ID: <46q2gf$ifa@axl02it.ntc.nokia.com> Hi, Does any body know where I could find an example of how to write a file system under NeXTstep? I have looked through all NeXT Examples which I have and on a couple of Net Archive CDs but can find only examples about 'loadable kernel servers' - as drivers. This area does not appear to be documented in NeXTdeveloper at all. There is 1 header file with some info about loadable_fs but would still like an example to see how it all goes together. Thanks in advance, Alan Barclay The Electric Scribe Co. Ltd. escribe@wintermute.co.uk alan@escribe.co.uk
From: Paul Lynch <paul@griffin.plsys.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Next and Power Management (portables)? Date: Fri, 27 Oct 1995 10:00:54 GMT Organization: P & L Systems, Ltd Sender: usenet@griffin.plsys.co.uk Message-ID: <DH3qHJ.MF@plsys.co.uk> References: <46ov37$11cm@news.doit.wisc.edu> In article <46ov37$11cm@news.doit.wisc.edu> giddings@menominee.menominee.chem.wisc.edu (Michael Giddings) writes: > Ok, so Next claims to have power management in NS 3.3. Some of the glossy > type documents (e.g. "What's new in 3.3") say so, and the little battery > monitor and preferences module running on the portable here seem to back up > this claim. And, while booting, the portable even says "Power Management > Enabled". Nifty. I, too, would like some more information on this. On my laptop, the power management option is started, but the battery indicator icon doesn't operate. It is also not clear what else it should do, apart from display "Power Management enabled" at startup (which may be its sole function :-). Paul -- Paul Lynch (NeXTmail) paul@plsys.co.uk Tel: (01494)432422 P & L Systems Fax: (01494)432478 http://www.plsys.co.uk/~paul
From: elii@netvision.net.il Newsgroups: comp.sys.next.programmer Subject: PROFFESIONAL PROGRAMMERS FOR HIRE Date: Fri, 27 Oct 95 13:46:24 PDT Organization: NetVision LTD. Message-ID: <NEWTNews.814826803.25120.eli@Ofer> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII PureSoft is a young software developement company which wants to help you!!! If you need a program written, instead of learning and programming it yourself, give it to the pros. PureSoft has experience in Visual Basic, VBA, C++ and Access. Contact us at our Ra'anana office: Tel.: 09-774-7090 Fax: 09-771-7091 E-mail: elii@netvision.net Or at our Tel-Aviv office: Tel.: 03-534-3635 Fax: 03-635-3385 E-mail: ef-rph@elronet.co.il PureSoft Corp. Put the Pure in your software
Newsgroups: comp.sys.next.programmer From: Joakim Johansson <jocke@rat.se> Subject: Re: New IB doesn't allow empty menu's. arg. Message-ID: <DH3pH8.nG@rat.se> Sender: jocke@rat.se (Joakim Johansson) Organization: Research & Trade, AB. References: <46mov2$n8c@emerald.oz.net> Date: Fri, 27 Oct 1995 09:39:11 GMT In article <46mov2$n8c@emerald.oz.net> art@cubicsol.com (Art Isbell) writes: > In article <DH0Jrp.7B3@rat.se> Joakim Johansson <jocke@rat.se> writes: > > In article <46k0s1$akr@news.next.com> mark_bessey@next.com (Mark Bessey) > > writes: > > > What would you *do* with a menu with no items, assuming we let you > > > make them? > > Add menu items dynamically at runtime without having to bother removing > > the unnecessary IB-allocated static menu item? > If you're going to add menu items dynamically at runtime, why not just > add a submenu when you need to add the first menuCell? Because I might know that there _will_ be menu items there when the application is running (like actions loaded from bundles... ;-) Of course it's just plain laziness, but then again that's what IB's there for (avoiding unnecessary work...) > Seems unnecessarily confusing to have an empty submenu for users to > try to grok. I agree. Cheers, Joakim -- Joakim Johansson Software Developer, Research & Trade jocke@rat.se <NeXTmail, MIME>
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: HELP!!!-NXReadObject: inconsistency Date: 27 Oct 1995 09:14:03 -0700 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <e7n1q9a5x.fsf@steffi.accessone.com> References: <46oclk$9c6@news.bu.edu> In-reply-to: pdell@nano.bu.edu.bu.edu's message of 26 Oct 1995 16:23:16 GMT To: pdell@nano.bu.edu.bu.edu (Paul Dell) Are you making use of NXTypedStreamClassVersion in your archiving? -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
Newsgroups: comp.sys.next.programmer From: dfevans@bbcr.uwaterloo.ca (David Evans) Subject: Re: About rexec Sender: news@novice.uwaterloo.ca (Mr. News) Message-ID: <DH4HAG.ArD@novice.uwaterloo.ca> Date: Fri, 27 Oct 1995 19:39:52 GMT References: <46i50r$gqi@news.csie.nctu.edu.tw> <46o17j$iv@papoose.quick.com> Organization: University of Waterloo In article <46o17j$iv@papoose.quick.com>, James E. Quick <jq@phcs.phcs.com> wrote: >The first argument is defined as 'char **ahost;' because the rexec >function may need to store the canonical hostname of the host >to which you are connecting. Here is a code fragment showing >the proper use of this command. You must make sure, that you >pass the address of a buffer that is not only writable, but is >large enough to store the longest name that the gethostbyname >function can handle. > > >#include <sys/param.h> /* MAXHOSTNAMELEN defined in here. */ >. . . > >. . . > char ahost[MAXHOSTNAMELEN+1]; > > strcpy(ahost, "host"); > sockfd = rexec(&ahost, inport, user, passwd, cmd, fd2p); >If you look in the ahost buffer after the call, the hostname 'host' >may have been replace with the string 'host.foo.com' the standard >(canonical) hostname returned by the gethostbyname lookup. > Do the guts of rexec require this buffer to hang around until the remote process exits? -- David Evans (NeXTMail OK) dfevans@bbcr.uwaterloo.ca Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/ University of Waterloo "Default is the value selected by the composer Ontario, Canada overridden by your command." - Roland TR-707 Manual
From: mark_bessey@next.com (Mark Bessey) Newsgroups: comp.sys.next.programmer Subject: Re: New IB doesn't allow empty menu's. arg. Date: 27 Oct 1995 21:56:29 GMT Organization: NeXT Computer, Inc. Message-ID: <46rkid$erg@news.next.com> References: <9510271753.AA01914@flexus> Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> writes > I wrote: > [censored] > > There I go again. Is there a NeXT employee being so nice to participate > on the net, and I bite his nose off right away. > > Apologies to Mark Bessey, > > Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), > Flanders, Belgium > If I don't answer: my mail relay can't handle !, % or .uucp, I think > > *** The year 2000 will be the last year of the 20th century. *** Does this mean I don't get to flame you? Darn. :-) In any case, I'd like to clarify what I said earlier, so there won't be any (more) misunderstanding. I understand that someone might want to add menu items to a menu at run time, but I'm not quite sure I see that as a good reason to have an empty menu in the nib file. A menu with no items in it is something the user should *never* have to deal with. It just plain looks bad, and it's rather confusing. You're going to have to to enable/disable the main menu item that calls up that submenu, so you have to special-case the first addition to the submenu anyway. What's the problem with simply creating the submenu at that point, or changing the title/target of the first menucell when you enable the menu? Or am I missing something? Maybe I should just go write an app that does this, and see what issues come up... p.s. Thanks to everybody who sent me mail explaining the other side of the argument. -Mark -- Mark Bessey NeXT Computer, Inc Software Quality Assurance -->I DON'T SPEAK FOR NeXT <--
From: pab@cen.com (Patty Bailey) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP Programming Course Date: 27 Oct 1995 20:36:50 GMT Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Distribution: usa Message-ID: <46rft2$5uv@post.gsfc.nasa.gov> Is anyone interested in attending a NEXTSTEP developer class in the Washington D.C. area? We are trying to organize an NS3 class and have tentatively arranged for NeXT to come to the D.C. area to give the class December 18-22. We have at least 6 slots available and are looking for other participants to share in the cost. Please send me email directly if you are interested. We have to lock-in these dates by 11-3. Class: NEXTSTEP Development 3 (NS 2 is a recommended pre-requisite) When: December 18-22 Where: Reston, VA Cost: $1500.00 max. If interested, send email to: pbailey@cen.com -- ----------------------------------------------------------------------- Patty Bailey ,_~o Email: pbailey@cen.com Century Computing _-\_<, Voice: (301) 953-3330 8101 Sandy Spring Drive (*)/'(*) Fax: (301) 953-2368
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Fri, 27 Oct 95 18:53:22 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9510271753.AA01914@flexus> Subject: Re: New IB doesn't allow empty menu's. arg. I wrote: [censored] There I go again. Is there a NeXT employee being so nice to participate on the net, and I bite his nose off right away. Apologies to Mark Bessey, Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: croehrig@sns.cs.ubc.ca (Chris Roehrig) Newsgroups: comp.sys.next.programmer Subject: Writing a loadable IP protocol handler (IP-in-IP encapsulation) Date: 27 Oct 1995 18:08:53 GMT Organization: Computer Science, University of B.C., Vancouver, B.C., Canada Message-ID: <46r77l$pf9@nnrp.cs.ubc.ca> I'd like to write a loadable IP-in-IP protocol handler for NeXTSTEP (3.2) and was wondering if anyone has written anything similar that I might use as a basis for getting started. --- Chris Roehrig (croehrig@House.ORG or croehrig@sns.cs.ubc.ca) Neuroscience and Computer Science at University of British Columbia, Vancouver http://www.House.ORG/chris http://www.sns.cs.ubc.ca/chris
From: murphy@wsc.com (Paul Murphy) Newsgroups: comp.sys.next.programmer Subject: Re: New IB doesn't allow empty menu's. arg. Date: 28 Oct 1995 08:42:37 -0500 Organization: WSC Investment Services, Inc. Sender: murphy@eos Message-ID: <x4envxzpv6.fsf@eos> References: <DGo09C.66E@world.std.com> <46k0s1$akr@news.next.com> In-reply-to: mark_bessey@next.com's message of 25 Oct 1995 00:37:21 GMT > Mark Bessey writes: > Christopher Lloyd writes > > Does anyone know how to force the new IB (3.3/eof) to delete the > > last item in a menu, so you can have a menu with no items. It gives > > this stupid warning "A menu must have at least one item." when > > trying to delete the last item. > > > > Older IB's did this just fine, dunno why they added this restriction. > > What would you *do* with a menu with no items, assuming we let you make > them? A placeholder for menu items that get added by dynamically loaded bundle. We do that all the time. Paul Murphy
From: amf@ntt.com (Alan Frabutt) Newsgroups: comp.sys.next.programmer Subject: Workspace Tape integration Date: 28 Oct 1995 15:06:22 GMT Organization: Msen Message-ID: <46tgte$grp@pravda.aa.msen.com> Keywords: NEXTSTEP, tape Hello, I've been working with tapes a bit lately, on a mess-o-platforms (SUN,HP,IBM,DEC,NeXT,and more), and I'd like to get a reality check on an idea I have. I realize that tapes, like modems, were surely created by the devil, causing endless suffering. Still, I can't help but wonder how tapes could be integrated into the NEXTSTEP/OpenStep desktop. Could the device files associated with a SCSI tape unit be symbolically linked to some file in, say, a /tape directory, that had names describing the device files characteristics, and a suffix that would be associated with a tape icon? When a tape mount was sensed, a tape icon would appear in the workspace. The information in the file name might be used by any utility or application using tape, which could also be associated with the suffix. A tape mount would need to be auto-detected, like SCSI CD's. Volume management is always a sticky issue, best left to the utility/application software. It would be nice to display any tape label with the icon on the workspace, though. I'm sure there are plenty of things I haven't thought of, but is there a reason something like this can't or shouldn't be done? Regards, Alan Frabutt (amf@ntt.com)
Newsgroups: comp.sys.next.programmer From: dfevans@bbcr.uwaterloo.ca (David Evans) Subject: Re: Workspace Tape integration Sender: news@novice.uwaterloo.ca (Mr. News) Message-ID: <DH62nt.IIG@novice.uwaterloo.ca> Date: Sat, 28 Oct 1995 16:19:05 GMT References: <46tgte$grp@pravda.aa.msen.com> Organization: University of Waterloo Keywords: NEXTSTEP, tape In article <46tgte$grp@pravda.aa.msen.com>, Alan Frabutt <amf@ntt.com> wrote: >Hello, >I've been working with tapes a bit lately, on a mess-o-platforms >(SUN,HP,IBM,DEC,NeXT,and more), >and I'd like to get a reality check on an idea I have. I realize that >tapes, like modems, were surely created by the devil, causing endless >suffering. Tapes are truly demonic devices. >A tape mount would need to be auto-detected, like SCSI CD's. Volume >management is always a sticky issue, best left to the utility/application >software. It would be nice to display any tape label with the icon on the >workspace, though. > >I'm sure there are plenty of things I haven't thought of, but is there a >reason something like this can't or shouldn't be done? > I'm not quite understanding you here...you want a filesystem on the tape? Some sort of direct interface to a tar archive in the tape? The former would be super-painfully-slow ("damn....clicked on the tape...guess I might as well go get lunch"), but the latter might be interresting. -- David Evans (NeXTMail OK) dfevans@bbcr.uwaterloo.ca Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/ University of Waterloo "Default is the value selected by the composer Ontario, Canada overridden by your command." - Roland TR-707 Manual
Newsgroups: comp.sys.next.programmer From: dfevans@bbcr.uwaterloo.ca (David Evans) Subject: VT-100 Emulation Class Sender: news@novice.uwaterloo.ca (Mr. News) Message-ID: <DH6Dt9.n4z@novice.uwaterloo.ca> Date: Sat, 28 Oct 1995 20:19:57 GMT Organization: University of Waterloo I know someone mentioned one about here a while ago, but of course I lost the posting... Is there a VT-100 emulator class somewhere? Would be grateful... -- David Evans (NeXTMail OK) dfevans@bbcr.uwaterloo.ca Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/ University of Waterloo "Default is the value selected by the composer Ontario, Canada overridden by your command." - Roland TR-707 Manual
From: amf@ntt.com (Alan Frabutt) Newsgroups: comp.sys.next.programmer Subject: Re: Workspace Tape integration Date: 29 Oct 1995 04:15:11 GMT Organization: Msen Message-ID: <46uv4f$68u@pravda.aa.msen.com> References: <DH62nt.IIG@novice.uwaterloo.ca> In article <DH62nt.IIG@novice.uwaterloo.ca> dfevans@bbcr.uwaterloo.ca (David Evans) writes: > In article <46tgte$grp@pravda.aa.msen.com>, Alan Frabutt <amf@ntt.com> wrote: > >Hello, > >I've been working with tapes a bit lately, on a mess-o-platforms > >(SUN,HP,IBM,DEC,NeXT,and more), > >and I'd like to get a reality check on an idea I have. I realize that > >tapes, like modems, were surely created by the devil, causing endless > >suffering. > > Tapes are truly demonic devices. > Yes, I actually have held, in my hands, one of the infamous HP reverse wound 1/4" cartridge tapes. Value Added indeed :) . Still, the most evil tape related thing I'm dealing with now is trying to read a tar tape from an IBM AIX box. I can read it on an exabyte attached to a NeXTStation, but the customer can't read it on _their_ IBM AIX box...!? > >A tape mount would need to be auto-detected, like SCSI CD's. Volume > >management is always a sticky issue, best left to the utility/application > >software. It would be nice to display any tape label with the icon on the > >workspace, though. > > > >I'm sure there are plenty of things I haven't thought of, but is there a > >reason something like this can't or shouldn't be done? > > > > I'm not quite understanding you here...you want a filesystem on the tape? > Some sort of direct interface to a tar archive in the tape? The former would > be super-painfully-slow ("damn....clicked on the tape...guess I might as well > go get lunch"), but the latter might be interresting. > The idea, such as it is, is to have some kind of interface object, like a workspace icon, showing a tape has been mounted. I can't see treating it as a filesystem, wouldn't the entire tape have to be read and interpreted (and any subsequent tapes if files spanned volumes) to present it so? An inspector panel bundle might interrogate the device file to provide some kind of information... the file symbolically linked to {/dev/rst0} with the (.tape ?) suffix whose icon would appear in the workspace could be double clicked, and an application associated with ".tape" file types would launch and try to figure out what was on the tape. The complicated and annoying issues of dealing with tape blocksizes, densities, etc. kick in about now... It just seems to me that something should happen in the interface when a tape is loaded. A scheme to at least wedge the tape into the interface could provide enough of a framework to also integrate all the clever tools many people have written to deal with tapes. Alan Frabutt (NeXTMail encouraged at amf@ntt.com)
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: Re: Workspace Tape integration Date: 29 Oct 1995 22:07:31 GMT Organization: my own Message-ID: <470tv3$bl5@gate.seicom.net> References: <DH62nt.IIG@novice.uwaterloo.ca> <46uv4f$68u@pravda.aa.msen.com> There was a posting in comp.sources.misc (or .unix my memory is a bit vague) from a guy who did a NFS Server on top of the tapedriver on a SYSV machine. The whole thing was posted as wormdat.shar. The autor was jhpb@sarto.gaithersburg.md.us (Joseph H Buehler) posted Sat, 10 Dec 1994. Please note that this does not work on NeXTSTEP yet, I post it only to point out a possible working solution for accessing the Tape device without much hazzle. Needless to say that using a similar solution one could access a remove drive just as normal NFS exported filesystem. Here a bit from the readme, sorry for the bad formatting but lazy as I am I took this out of the shar file: ------- wormdat - NFS mountable filesystem using RAM or WangDAT 2000 tape drive SYNOPSIS wormdat [-d <string>] [-p <int>] [-r] [-D <string>] [-R] [-T] DESCRIPTION The wormdat program is an NFS server daemon that supports two different filesystem implementations. One is a RAM filesystem, the other is a WangDAT 2000 tape drive filesystem. Both have semantics similar to the UFS filesystem, including symbolic links and long file names. Both filesystems allocate their internal data structures dynamically, so maximum filesystem size is not set when the filesystem is created, unlike typical disk filesystems. The RAM filesystem can be loaded from and unloaded to disk. A user-supplied shell script (F<@WORMDATUNLOADDIR@/load_unload.sh>) can be executed at various points in the load or unload process to perform operations like compression or encryption on the data to be loaded or unloaded. The DAT filesystem uses a DAT tape formatted in two partitions. The primary partition is used to store file data blocks, the secondary partition is used to store all other data, including directory information, indirect blocks and inodes. The secondary partition is only accessed during mount/unmount operations. Tape blocks cannot be randomly rewritten, so a block mapping scheme is used to allow file blocks to be rewritten; modified and newly-created blocks are written to the end of the tape. However, a side-effect of this is that the tape can eventually fill up. Inode and directory information is stored in the daemon's memory space during normal operation and changes to these items do not cause tape accesses. A sophisticated cache is used to minimize tape motion and ensure that blocks are written to tape in optimal sequential read access order. The load and unload formats for both filesystems use DR to ensure machine independent load/unload data. When a RAM filesystem is provided by the daemon, the load/unload shell script F<@WORMDATUNLOADDIR@/load_unload.sh>, if it exists, is executed by the wormdat daemon just before and just after a mount or unmount operation. The first argument to the script is B<preload>, B<preunload>, B<postload> or B<postunload>, depending on the phase of the operation in progress. The second argument is the name of the data file (no directory part) used in the mount/unmount operation. The current directory is the F<@WORMDATUNLOADDIR@> directory when the script runs. The preload code in the script should result in the creation of a file named as per the second argument, so the daemon can load it. The postload code should do any cleanup required after the daemon completes the mount operation. The preunload code should do any preparation required before the daemon unmounts the RAM filesystem. The postunload code should perform any processing desired on the file (named according to the second argument) the daemon created during the unmount operation. .... BUGS While running the daemon in DAT mode, SCSI check conditions cause the pass-through driver to hang, requiring a reboot to regain access to the tape drive. This is generally only a problem if an unrecoverable tape read or write error is encountered, or if the daemon is started without a tape in the drive, or the tape is changed while the daemon is running. ----- I think something similar could be done in NeXTSTEP too. If anyone has interest in bringing this to NeXTSTEP please let me know. Bye Frank --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy "In cantonese C++ is called C ga ga"
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Re: PERL 5 for NeXTSTEP ? Message-ID: <jpanicoDH8GE5.4yr@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <46l2eg$3na@bright.ecs.soton.ac.uk> Date: Sun, 29 Oct 1995 23:10:53 GMT Sender: jpanico@netcom8.netcom.com PERL 5 binaries *are* on ORST. I dowloaded them from there, and they work fine. Look under .../binaries/programming. Rupert Hollom (rjh@ecs.soton.ac.uk) wrote: : Does anyone know where I can get a packaged version of PERL to install : onto my INTEL NeXTSTEP machine. If version 5 is not available then a : previous version would be good. I have looked on orst, muenchen and a : couple of other sites with no results. : Thanks in advance : Rupert : E-Mail : rjh@ecs.soton.ac.uk -- Joe Panico NeXTStep/OpenStep Developer BLaCKSMITH Inc. jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: wjabi@umich.edu (Wassim M. Jabi) Newsgroups: comp.sys.next.programmer Subject: QUESTION: PSsetalpha Date: 30 Oct 1995 15:06:45 GMT Organization: University of Michigan Message-ID: <472pm5$c89@lastactionhero.rs.itd.umich.edu> URL: http://www.umich.edu/~wjabi/ Hello: Is it possible to use PSsetalpha while doing instance drawing to drag around a semi-transparent shape on top of an image. If so, how do I use it? A snippet of code would be really appreciated. Thanks for your help. -- Wassim M. Jabi Doctoral Program in Architecture University of Michigan 2000 Bonisteel Blvd Ann Arbor, MI 48109-2069 wjabi@umich.edu (Text/MIME/NeXTMail) http://www.umich.edu/~wjabi/
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 30 Oct 1995 05:15:11 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <471n0v$6i4@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: n.droux@ieee.org (Nicolas Droux) Newsgroups: comp.sys.next.programmer Subject: Re: Writing a loadable IP protocol handler (IP-in-IP encapsulation) Date: 30 Oct 1995 11:52:34 GMT Organization: Biel School of Engineering, CH-2501 Biel, Switzerland Distribution: world Message-ID: <472ea2$skd@vega.info.isbiel.ch> References: <46r77l$pf9@nnrp.cs.ubc.ca> In article <46r77l$pf9@nnrp.cs.ubc.ca> croehrig@sns.cs.ubc.ca (Chris Roehrig) writes: > I'd like to write a loadable IP-in-IP protocol handler for NeXTSTEP (3.2) and > was wondering if anyone has written anything similar that I might use as a > basis for getting started. You can take a look at the source code of PPP 2.2: http://www.thoughtport.com:8080/PPP/ -- Nicolas Droux <n.droux@ieee.org> http://www.isbiel.ch/~don/ PGP fingerprint: 02 D2 E4 24 FA 0E 88 1E BA ED 38 56 C9 FE 22 56
From: yut@ecn.purdue.edu (Greg Yut) Newsgroups: comp.sys.next.programmer Subject: 3DKit and Hidden Line Removal? Date: 30 Oct 1995 17:49:49 GMT Organization: Purdue University Message-ID: <47337t$msq@mozo.cc.purdue.edu> Anybody know of a way to do hidden line removal using the 3DKit and/or Renderman? Of course it does wireframes and shaded surfaces, but what about a wireframe with hidden lines removed? Could it be done with a special shader? Thanks for any help, Greg
From: borek (Borek Lupomesky) Newsgroups: comp.sys.next.programmer Subject: NetKit? Date: 29 Oct 1995 20:37:19 GMT Organization: Czech Technical University Distribution: world Message-ID: <470olv$8m5@ns.felk.cvut.cz> Hi all! Does anyone know about some objective kit for BSD sockets? I feel like writing one, if there is none. Bye Borek -- =-=-=[ Borek's NeXTSTEP Internet-connected home workstation ]-=-=-= Borek Lupomesky | lupomesk@sun.ujep.cz | Fido: 2:423/71 Usti nad Labem | http://www.ujep.cz/~lupomesk | NeST: 90:1200/1 CZECH REPUBLIC | IRC: BorekL (#cs) | BBS: +42-47-40051 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Avoid conflicts - Class name convention Date: 30 Oct 1995 10:31:28 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <erazu962o.fsf@steffi.accessone.com> References: <9510301416.AA00361@conextions.com> In-reply-to: Alexander Elkin's message of Mon, 30 Oct 95 09:16:29 -0500 To: alex@conextions.com <alex@conextions.com> writes: >Dear NEXTSTEP developers, >I would like to make a suggestion dealing with the class name = >convention for the commercial software to be used in the customer = >projects. It could be bundles, libraries, sources, etc. To avoid = >name conflicts the name convention is introduced. All the classes, = >functions, global variables (if they are) should have a prefix = >that provides their uniqueness. The prefix could be 2 chars = >company abbreviature. It's niave to think that 2 chars will be unique. Although given the number of ISV's at the moment perhaps it's not so :-) >Ideally somebody should assume the responsibility to maintain the = >opened list of the prefixes are in use. Temporarily, this mail box = >could be used for this purpose. I believe NeXT let you register prefixes with them some time ago but they may have been so that they don't clash with you. >For the beginning, let me claim two prefixes are used by = >Conextions Inc. The are CX.... for the classes derived from Object = >and CS... for the Foundation based classes (F.i.: = >CXSessionInspectorController, CSObjectContainer). >Any comments and suggestions are welcome. >Alex Elkin >Conextions, Inc. >(508)689-3570 >(NeXT mail is welcome) -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <alex@conextions.com> Message-ID: <9510301416.AA00361@conextions.com> Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Alexander Elkin <alex@conextions.com> Date: Mon, 30 Oct 95 09:16:29 -0500 Subject: Avoid conflicts - Class name convention Cc: eng@conextions.com Dear NEXTSTEP developers, I would like to make a suggestion dealing with the class name = convention for the commercial software to be used in the customer = projects. It could be bundles, libraries, sources, etc. To avoid = name conflicts the name convention is introduced. All the classes, = functions, global variables (if they are) should have a prefix = that provides their uniqueness. The prefix could be 2 chars = company abbreviature. Ideally somebody should assume the responsibility to maintain the = opened list of the prefixes are in use. Temporarily, this mail box = could be used for this purpose. For the beginning, let me claim two prefixes are used by = Conextions Inc. The are CX.... for the classes derived from Object = and CS... for the Foundation based classes (F.i.: = CXSessionInspectorController, CSObjectContainer). Any comments and suggestions are welcome. Alex Elkin Conextions, Inc. (508)689-3570 (NeXT mail is welcome)
Newsgroups: comp.sys.next.programmer From: pelletk@il.us.swissbank.com (Ken Pelletier) Subject: Re: NetKit? Message-ID: <1995Oct30.201012.1311@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <470olv$8m5@ns.felk.cvut.cz> Date: Mon, 30 Oct 1995 20:10:12 GMT Borek Lupomesky writes > > Hi all! > > Does anyone know about some objective kit for BSD sockets? I feel like > writing one, if there is none. > > Bye Borek > > -- > > =-=-=[ Borek's NeXTSTEP Internet-connected home workstation ]-=-=-= > Borek Lupomesky | lupomesk@sun.ujep.cz | Fido: 2:423/71 > Usti nad Labem | http://www.ujep.cz/~lupomesk | NeST: 90:1200/1 > CZECH REPUBLIC | IRC: BorekL (#cs) | BBS: +42-47-40051 > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- There was one out on ftp.cs.orst from a company called Zippy Tech, if I remember correctly. I can't vouch for it's completeness or quality since I never used it, but it's probably worth a look. - Ken (ken@nika.com pelletk@swissbank.com) -- Ken Pelletier NiKA Software Chicago, IL
From: i812905@s867.thu.edu.tw () Newsgroups: comp.sys.next.programmer Subject: In 3Dkit,how to use -linkAncestor? Date: 30 Oct 1995 07:11:31 GMT Organization: Dep. Computer Sci. & Information Eng., Chiao Tung Univ., Taiwan, R.O.C Message-ID: <471tr3$pla@news.csie.nctu.edu.tw> When I use [aShape linkAncestor:worldShape],I can't show anything .But when I change [aShape group:worldShape],it will be ok! What's difference between link and group? Could somebody tell me? THANX!! Give me a little example if possible,please. ---------------------------------- Kuo Chin-jui i812817@sun1.cis.thu.edu.tw
Newsgroups: comp.sys.next.programmer From: dfevans@bbcr.uwaterloo.ca (David Evans) Subject: Re: NetKit? Sender: news@novice.uwaterloo.ca (Mr. News) Message-ID: <DHA7pI.FCE@novice.uwaterloo.ca> Date: Mon, 30 Oct 1995 21:58:29 GMT References: <470olv$8m5@ns.felk.cvut.cz> <1995Oct30.201012.1311@il.us.swissbank.com> Organization: University of Waterloo In article <1995Oct30.201012.1311@il.us.swissbank.com>, Ken Pelletier <pelletk@il.us.swissbank.com> wrote: >Borek Lupomesky writes >> >> Hi all! >> >> Does anyone know about some objective kit for BSD sockets? I feel like >> writing one, if there is none. >> >> Bye Borek >> >> -- >> >> =-=-=[ Borek's NeXTSTEP Internet-connected home workstation ]-=-=-= >> Borek Lupomesky | lupomesk@sun.ujep.cz | Fido: 2:423/71 >> Usti nad Labem | http://www.ujep.cz/~lupomesk | NeST: 90:1200/1 >> CZECH REPUBLIC | IRC: BorekL (#cs) | BBS: +42-47-40051 >> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > >There was one out on ftp.cs.orst from a company called Zippy Tech, if I >remember correctly. I can't vouch for it's completeness or quality since I >never used it, but it's probably worth a look. > There's one in the MiscKit too. No idea about its capabilities, though. -- David Evans (NeXTMail OK) dfevans@bbcr.uwaterloo.ca Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/ University of Waterloo "Default is the value selected by the composer Ontario, Canada overridden by your command." - Roland TR-707 Manual
From: altenber@acpub.duke.edu (Lee Altenberg) Newsgroups: comp.sys.next.programmer Subject: GUI wrapper for gunzip? Date: 30 Oct 1995 20:11:19 -0500 Organization: Duke University, Durham, NC, USA Message-ID: <473t3n$2ep@news.duke.edu> When I download *.gz files using OmniWeb, it has the annoying property of opening the files in Edit.app. Now, what I'd like to do is have it automatically open an app with a button that says, "Gunzip? Yes. No." Does such an app exist in the archives (I couldn't find it)? If not, could anyone give me a tip on how to implement a NEXTSTEP GUI wrapper on shell commands or scripts. What I don't know is how to pass to the app the name of the file, so that the shell script can be executed on the file (I know how to get Workspace to launch the app by adding "gz" in the attributes option in ProjectBuilder for the app). Thanks for any help, Lee Altenberg altenber@mhpcc.edu
From: jschilli@nimitz (Jeff Schilling,,3346,) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Supressing display of nulls from database in window? Date: 31 Oct 1995 15:46:49 GMT Organization: BDM International, Inc. Message-ID: <475gd9$lph@news.mcl.bdm.com> I am currently fetching information from an Oracle database that frequently contains nulls. When my application displays the fetched information, it displays a "<null>" in the fields that have null information in the database. I would like to suppress the display of nulls and display an empty field. Does anyone have any suggestions on how to do this?
Newsgroups: comp.sys.next.programmer From: pelletk@il.us.swissbank.com (Ken Pelletier) Subject: Re: Avoid conflicts - Class name convention Message-ID: <1995Oct31.161531.11468@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <erazu962o.fsf@steffi.accessone.com> Date: Tue, 31 Oct 1995 16:15:31 GMT Robert Nicholson writes > <alex@conextions.com> writes: > > >Dear NEXTSTEP developers, > > >I would like to make a suggestion dealing with the class name = > >convention for the commercial software to be used in the customer = > >projects. It could be bundles, libraries, sources, etc. To avoid = > >name conflicts the name convention is introduced. All the classes, = > >functions, global variables (if they are) should have a prefix = > >that provides their uniqueness. The prefix could be 2 chars = > >company abbreviature. > > It's niave to think that 2 chars will be unique. Although given the > number of ISV's at the moment perhaps it's not so :-) Agreed - I already saw a potential problem using NK as a prefix (taken from my company name, NiKA Software - luckily I already saw NS coming) and a public domain kit that someone was referring to on the net which also used NK as a prefix. > > >Ideally somebody should assume the responsibility to maintain the = > >opened list of the prefixes are in use. Temporarily, this mail box = > >could be used for this purpose. > > I believe NeXT let you register prefixes with them some time ago but > they may have been so that they don't clash with you. > I know that NeXT keeps (kept?) a registry of file extensions for file packages, which are more like to pose a problem since they effect all users of any given combination of two apps, rather than developers who are sharing classes (unfortunately). I never heard of any such registry of class name prefixes. > >For the beginning, let me claim two prefixes are used by = > >Conextions Inc. The are CX.... for the classes derived from Object = > >and CS... for the Foundation based classes (F.i.: = > >CXSessionInspectorController, CSObjectContainer). > > >Any comments and suggestions are welcome. > > >Alex Elkin It appears that there is a trade-off to be made between using the common convention of 2 char prefixes for brevity, and more characters (eg: "Misc") to make uniqueness more likely moving forward (assuming we are going forward ;-). Oh, well, that's one of the cons of a global class namespace. I'll stick with two char's for my stuff and deal with collisions if they occur. - Ken (ken@nika.com pelletk@swissbank.com) Ken Pelletier NiKA Sofwtare Chicago, IL
From: deniseh@shellx.best.com (Denise Howard) Newsgroups: comp.sys.next.programmer Subject: Re: GUI wrapper for gunzip? Date: 30 Oct 1995 20:09:03 -0800 Organization: Best Internet Communications Message-ID: <4747gv$rn9@shellx.best.com> References: <473t3n$2ep@news.duke.edu> Lee Altenberg (altenber@acpub.duke.edu) wrote: : When I download *.gz files using OmniWeb, it has the annoying : property of opening the files in Edit.app. Now, what I'd like : to do is have it automatically open an app with a button that : says, "Gunzip? Yes. No." Does such an app exist in the archives : (I couldn't find it)? : If not, could anyone give me a tip on how : to implement a NEXTSTEP GUI wrapper on shell commands or scripts. : What I don't know is how to pass to the app the name of the file, so : that the shell script can be executed on the file (I know how to get : Workspace to launch the app by adding "gz" in : the attributes option in ProjectBuilder for the app). Take a look at the source for Opener.app. It's available from ftp.cs.orst.edu in /software/NeXT/sources/util/Opener_3.3_MAB_source.tar.gz. The binary (quad-fat) is in /software/NeXT/binaries/util/Opener_3.3_MAB.tar.gz. BTW, Opener understands .gz and all sorts of other filename extensions which represent compressed/archived/encoded files. Perhaps Opener is what you're looking for in the first place. Denise (Opener's maintainer)
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Tue, 31 Oct 95 19:37:49 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9510311837.AA01164@flexus> Subject: Re: Avoid conflicts - Class name convention Alex Elkin writes: > I would like to make a suggestion dealing with the class > name convention for the commercial software to be used > in the customer projects. It could be bundles, libraries, > sources, etc. To avoid name conflicts the name convention > is introduced. All the classes, functions, global > variables (if they are) should have a prefix that provides > their uniqueness. The prefix could be 2 chars company > abbreviature. I started a little thread on 1995-02-18 (``Is anyone managing identifier prefixes?'), but this didn't lead to much. In particular, in an off-Usenet exchange with NeXT I offered to do the administration myself, to have the database published through NeXTanswers. But NeXT was not interested; they merely ``reserved all two and three letter uppercase prefixes'' (sic) for themselves. To be completely honest, they wrote to me they would discuss the problem. But then they went silent and did not reply to my subsequent messages. And I wasn't even being unpolite... ;-) maybe a little too complicated with regular expressions and what all. Perhaps my contact had left NeXT? My offer stands. Just send me your requests. As for Alex' CS and CX, those would be too greedy (bad style), but might be allowed if the company is large enough and the code of sufficient volume already. I would suggest two letters at least per company, to subdivide internally ad libitum. Individuals and small companies should provide at least three letters, preferably three initials. For example, I will use RJS for myself, even though I ordinarily don't follow the (Anglo-Saxon?) custom of mentioning a middle initial (and I have three of those, haha). If/when conflicts arise, added digits will resolve them (the first character after the prefix should not be a digit). Of course, this is just a workaround for a fundamental problem, but we're stuck with that for the time being, so... I should probably make the database available via ftp. Now what name should I give it? Would Registering_Identifier_Prefixes.rtf be too long? What would be a clear acronym (RIP, IP won't do)? Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
Newsgroups: comp.sys.next.programmer From: karl@trapac.com (Karl Kraft) Subject: next-jobs, a mailing list about nextstep related positions Message-ID: <DHBvtI.3x9@trapac.com> Organization: Trans Pacific Container Service Corporation Date: Tue, 31 Oct 1995 19:36:54 GMT As I'm sure everyone knows, NeXTSTEP and NeXTSTEP related hiring is at an all time high, due primarily to OpenStep and NeXTSTEP for Windows/NT. Currently it's a programmers market, with more open positions than qualified people to fill them. Many of these positions are with companies just starting to get their feet wet with NeXTSTEP for MCCA. In the past, many NeXTSTEP related job announcements were sent to comp.sys.next.announce, comp.sys.next.programmer, or one of several NeXTSTEP mailing lists. However many of the new companies are sending their postings to misc.jobs, or advertising in mainstream print publications. To help spread the word about such positions, I have created a scan profile that scans all jobs groups, and other sources, to create a daily digest of NeXTSTEP related positions. This includes jobs that involve NeXTSTEP, OpenStep, Objective-C, NeXT Computer Inc., or Display Postscript. This scan profile currently averages about 75 hits per month. Each days hits are bundled into a digest and sent via email to the entire list. On days without any hits, no digest is sent. If you would like to be added to the list, or let list members know about a position, send email to jobs-admin@trapac.com, stating that you want to be added to this mailing list. When sending your message , please keep in mind that requests are processed manually. The mailing list is not for discussion, resumes, or items other than open positions for NeXTSTEP/OpenStep related projects. About TraPac: TraPac is located in Los Angeles, CA, and serves as a containerized terminal for global shipping. They are not an employment agency, and are not involved in any of the positions sent to the list, nor can they help you find a job. They just happen to be hosting this list set up privately by myself, and happen to use NeXTSTEP for several MCCA. -- Karl Kraft Karl_Kraft@trapac.com Karl_Kraft@ensuing.com [My opinions are my own]
From: xdtp@python.viper.net (DTP Products) Newsgroups: control,comp.sys.next.programmer Subject: FREE $$$ MAKING SOFTWARE !!! Date: 31 Oct 1995 15:22:24 -0600 Organization: ViperNet Message-ID: <47642g$kuv@python.viper.net> The NEWEST and most INNOVATIVE SERVER on the Internet. The FIRST & ONLY full Internet Access Provider that gives you the opportunity to make BIG $$$ simply by being a subscriber. YOU KNOW: How incredibly large servers like Prodigy and AOL have become and how much bigger they continue to grow everyday. JUST IMAGINE: If you had been given the opportunity to be in on the ground floor of one of those servies. You would now have tens of thousands, if not hundreds of thousands of users signed under you. Which simply means YOU would now be VERY, VERY WEALTHY!!! And you get 5- HOURS OR 3-DAYS **FREE** TO TRY IT OUT at NO COST TO YOU !!! It Has Everything that the BIG 3 have and MUCH MORE, Plus full 28,800 Access. And The Best Graphics On The Net. If you're going to use a provider, use one that MAKES YOU MONEY And gives you 5-FREE ONLINE HOURS EVERY MONTH. And if you're already in business on the net this is the easiest way to add your income, by simply enclosing a free Demo Disc in every deliver you make to your customers. ------------------------------------------------------------------------------------------- Respond To: dtp@mindspring.com Movieman5@aol.com Or Call 1-334-973-9721 ------------------------------------------------------------------------------------------- For ABSOLUTELY FREE GRAPHICS & SOUND DEMO-DISC Send Your Mailing Address. No Cost. No Obligation. No Bull. Your address will not be used for any other purpose. If you're going to fall.....fall reaching
From: finton@homer.cs.wisc.edu (David Finton) Newsgroups: comp.sys.next.programmer Subject: How does an app know which directory it's in? Date: 31 Oct 1995 19:36:04 GMT Organization: University of WI, Madison -- Computer Sciences Dept. Message-ID: <475tr4$73b@spool.cs.wisc.edu> I'm working on an app which has two subdirectories, one for IB-type files, and the other for some associated LISP files. I want the app to be able to function wherever the user decides to drop it. How will it know the path to its LISP directory? I don't want to use a hard-coded path, because then the user can't decide where to install the app. Instead, I want the app to know from which directory it was launched, and use that to produce a relative path to its LISP subdirectory. I tried using the getwd function, but it only gave me my home directory, even though all the files including the executable were in a subdirectory. I'm hoping someone can tell me what function to use so the app can get the directory it's contained in. Thanks in advance! --David Finton
Newsgroups: comp.sys.next.programmer From: pelletk@il.us.swissbank.com (Ken Pelletier) Subject: Re: How does an app know which directory it's in? Message-ID: <1995Oct31.220329.14982@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <475tr4$73b@spool.cs.wisc.edu> Date: Tue, 31 Oct 1995 22:03:29 GMT David Finton writes > I'm working on an app which has two subdirectories, one for IB-type > files, and the other for some associated LISP files. > > I want the app to be able to function wherever the user decides to > drop it. How will it know the path to its LISP directory? I don't > want to use a hard-coded path, because then the user can't decide > where to install the app. Instead, I want the app to know from > which directory it was launched, and use that to produce a relative > path to its LISP subdirectory. > > I tried using the getwd function, but it only gave me my home > directory, even though all the files including the executable > were in a subdirectory. > > I'm hoping someone can tell me what function to use so the app can > get the directory it's contained in. Thanks in advance! > > --David Finton David, Take a look at NXBundle - you can use [[NXBundle mainBundle] directory] to get the location of the app wrapper, if that's what you're looing for. - Ken (ken@nika.com) Ken Pelletier NiKA Software Chicago, IL
From: katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) Newsgroups: comp.sys.next.programmer Subject: Re: fortran Date: 31 Oct 1995 05:09:07 GMT Organization: a black NeXT Distribution: world Message-ID: <474b1j$6qa@news.vanderbilt.edu> References: <46lmht$suc@news.ycc.yale.edu> Martha W. Schaefer (schaefer@syrtis.geology.yale.edu) wrote: : Is there a fortran for NEXSTEP/HP anywhere out there? Free, shareware, or : commercial? I tried to complile GNU fortran several months ago, with no : success. I tried too, without success, g77 didn't work for me (yet). But I suceeded in gcl-2.2 Lisp which works fine now. With gnu-smalltalk I had no luck too. All of them have got NeXT targets but none works correctly. Cat. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/ _/_/ _/_/ Thomas Katzlberger _/_/ _/_/ katzlbt@vuse.vanderbilt.edu _/_/ _/_/ @aBlackNeXT.called.garfield _/_/ _/_/ http://www.vuse.vanderbilt.edu/~katzlbt/ _/_/ _/_/ _/_/ _/_/ "You can tune a file system, but you can't tune a fish." _/_/ _/_/ UNIX man page for tunefs. _/_/ _/_/ _/_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
From: cpryor@myhost.icinet.net (Craig Pryor) Newsgroups: comp.sys.next.programmer Subject: Re: GUI wrapper for gunzip? Date: 31 Oct 1995 07:20:41 GMT Organization: InfoNet Communications Message-ID: <474io9$g3t@SNEEZY.icinet.net> References: <473t3n$2ep@news.duke.edu> In article <473t3n$2ep@news.duke.edu> altenber@acpub.duke.edu (Lee Altenberg) writes: > When I download *.gz files using OmniWeb, it has the annoying > property of opening the files in Edit.app. Now, what I'd like > to do is have it automatically open an app with a button that > says, "Gunzip? Yes. No." Does such an app exist in the archives > (I couldn't find it)? > Install Opener.App available at ftp://ftp.cs.orst.edu/next2/util/Opener_3.3.tar.gz This is a great app which will open/decode vertually any file type imaginable. With Opener installed, downloading a .tar.gz file with OmniWeb will bring up a file view with the downloaded unzipped, untarred file in /tmp Craig Pryor cpryor@icinet.net
From: hannes@ping.at (Hannes Tiefenbrunner) Newsgroups: comp.sys.next.programmer Subject: Re: NetKit? Date: 31 Oct 1995 20:59:58 GMT Organization: ping - Personal InterNet Gate Distribution: world Message-ID: <4762oe$g4n@peng.ping.at> Keywords: tcp object socket ftp telnet Originator: root@esprit borek (Borek Lupomesky) wrote: >Hi all! > >Does anyone know about some objective kit for BSD sockets? I feel like >writing one, if there is none. > >Bye Borek I've written some classes: FUTCPSocket creating active/passive TCP sockets sending bytes/streams receiving bytes/streams through delegate-methods FUFTP sending/receiving files receiving directory-lists FUTelnet creating connections to arbitrary services (TELNET, POP, SMTP, ...) sending strings receiving strings through delegate-methods and am currently incorporating them into our class library, thereby giving them an OpenStep compatible interface ('const char*' -> NSString, streams -> NSData, ...) It could take some more weeks to finish - if you're interested anyway: mail me __________________________________________ Hannes Tiefenbrunner hannes@ping.at - NeXTMail welcome, MIME ok
From: xdtp@python.viper.net (DTP Products) Newsgroups: control,comp.sys.next.programmer Subject: cmsg cancel <47642g$kuv@python.viper.net> Control: cancel <47642g$kuv@python.viper.net> Date: 31 Oct 1995 22:43:20 GMT Organization: Royal Society for the Prevention of Cruelty to Usenetters Message-ID: <cancel.47642g$kuv@python.viper.net> Death to Spam!
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: How does an app know which directory it's in? Message-ID: <zazulaDHC0sy.n1w@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <475tr4$73b@spool.cs.wisc.edu> Date: Tue, 31 Oct 1995 21:24:34 GMT Sender: zazula@netcom20.netcom.com In article <475tr4$73b@spool.cs.wisc.edu> finton@homer.cs.wisc.edu (David Finton) writes: >I'm working on an app which has two subdirectories, one for IB-type >files, and the other for some associated LISP files. > >I want the app to be able to function wherever the user decides to >drop it. How will it know the path to its LISP directory? I don't >want to use a hard-coded path, because then the user can't decide >where to install the app. Instead, I want the app to know from >which directory it was launched, and use that to produce a relative >path to its LISP subdirectory. > >I tried using the getwd function, but it only gave me my home >directory, even though all the files including the executable >were in a subdirectory. > >I'm hoping someone can tell me what function to use so the app can >get the directory it's contained in. Thanks in advance! > >--David Finton > Under 3.3, you can use this: #import <foundation/NSBundle.h> NSString *appPath = [[NSBundle mainBundle] bundlePath]; Under < 3.3, you can use this: #import <objc/NXBundleh.h> const char *appPath = [[NXBundle mainBundle] directory]; Z --- Ralph Zazula zazula@netcom.com
Newsgroups: comp.sys.next.programmer From: Fabien_Roy@free.fdn.org Subject: Re: GUI wrapper for gunzip? Message-ID: <1995Oct31.232127.1021@free.fdn.org> Sender: news@free.fdn.org Organization: Fabien Roy Consultant, Paris, France References: <473t3n$2ep@news.duke.edu> Date: Tue, 31 Oct 1995 23:21:27 GMT Get Opener.app on the archive. It will handle .gz .tar.gz .uu .zip etc... Hope that helps Fabien -- --------------------------------------------------------------------- Fabien_Roy@free.fdn.org (NextMail/MIME accepted) Fabien Roy Consultant NEXTSTEP/OPENSTEP/EOF Consultant, SYBASE DBA 10 rue de la DEFENSE 93100 MONTREUIL, France Tel: 33 1 45 28 32 23 Fax: 33 1 48 55 09 90
Newsgroups: comp.sys.next.programmer From: leif@pattern.rmnug.org (Leif Smith) Subject: Re: GUI wrapper for gunzip? Message-ID: <1995Oct31.222117.2337@nugget.rmNUG.ORG> Sender: leif@nugget.rmNUG.ORG Organization: Pattern Research, Denver, Colorado References: <474io9$g3t@SNEEZY.icinet.net> Date: Tue, 31 Oct 1995 22:21:17 GMT Life as we know it is impossible without Opener.app. Thanks Denise and predecessors. -- Leif Smith, Denver leif@pattern.rmnug.org
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Avoid conflicts - Class name convention Date: 1 Nov 1995 14:48:35 GMT Organization: Information Technology Solutions, Inc. Message-ID: <4781c3$ond@news.its.com> References: <9510301416.AA00361@conextions.com> <erazu962o.fsf@steffi.accessone.com> > <alex@conextions.com> writes: >>Dear NEXTSTEP developers, >>I would like to make a suggestion dealing with the class name >>convention for the commercial software to be used in the customer >>projects. It could be bundles, libraries, sources, etc. To avoid >>name conflicts the name convention is introduced. All the classes, >>functions, global variables (if they are) should have a prefix >>that provides their uniqueness. The prefix could be 2 chars >>company abbreviature. It's a good issue to bring up, and your suggestion is already somewhat in place, For example, the OTI StringKit had "OTI" as it's abbreviation, CrashCatcher uses "CC_", and so forth. What would be better than a semi-formal convention among developers for who gets which two or three letter combination would be a solution to the problem-- multiple namespaces instead of a single, finite namespace. If, for example, you had a hierarchy of namespaces, this problem would pretty much disappear. Let's say you have a top-level namespace equivalent to the current single namespace (which contains a reference to the first of any multiply-defined symbols), and then every linker unit (such as a library, say) would have a namespace of its' own below the "root" namespace, with possible children below that (say the individual .o files in the library). With a way to specify a particular namespace, such as "/lib/libsys_s.a:bcopy" perhaps, you could refer to other versions of the "same" symbol in a different namespace. Opinions? Flames? :-) -Chuck PS: I wonder whether the dynamic loader stuff will have any solutions for the finite namespace problem? -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: Robert Worne <rworne@primenet.com> Newsgroups: comp.sys.next.programmer Subject: Re: fortran Date: 1 Nov 1995 18:08:04 GMT Organization: A Big Black Cube Message-ID: <478d25$4i5@nnrp3.news.primenet.com> References: <46lmht$suc@news.ycc.yale.edu> <474b1j$6qa@news.vanderbilt.edu> katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) wrote: > I tried too, without success, g77 didn't work for me (yet). > But I suceeded in gcl-2.2 Lisp which works fine now. > With gnu-smalltalk I had no luck too. > All of them have got NeXT targets but none works correctly. Wierd, I have g77, smalltalk, and gpc. But no gcl2.2-lisp... I used the 2.6.3 version of the gcc compiler. -- //--------------------------------------------------------------------- // Robert Worne rworne@primenet.com OS/2-NeXT -=Starving CS Undergrad=- //--------------------------------------------------------------------- // Microsoft Network is prohibited from redistributing this work in // any form, in whole or in part. Copyright, Robert Worne, 1995. // License to distribute this post is available to Microsoft for $1000. // Posting without permission constitutes an agreement to these terms. // Please send notices of violation to rworne@primenet.com and // postmaster@microsoft.com
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-IL-Chicago - 4 NeXT Developers - Major New Project - to 85k+ Date: 1 Nov 1995 20:21:36 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <4796f0$6rv@newsbf02.news.aol.com> My client is currently establishing a new development group in the Chicago area. The company already has a successful documented history of NeXT development, with major development groups around the country. Due to the companies growth in the Central and North Eastern USA, my client is putting together a top group of NeXT developers for exciting new development projects that will be developed in their new Chicago office. My client is looking for experienced NeXT developers with an excellent track record in NeXTSTEP. The group will initially develop in NeXTSTEP and Sybase, but in the near future also utilize OpenStep and WindowsNT. Candidates must possess strong hands-on NeXT development skills with experience in Objective-C, any RDBMS (Sybase prefered), and some exposure to EOF or PDO. In order to come up to speed on existing object libraries and code, candidates will commute (fully expensed), to other development groups in the Western USA for a short period. My client is offering an excellent salary package, benefits, bonus, visa sponsorship and relocation. This is a financial related group, but is not a National or International Bank in Chicago. Contact: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX)
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-NYor CO -NeXT/Sybase/EOF/PDO -P/A to Architect - $55k to $130k Date: 1 Nov 1995 20:29:39 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <4796u3$6vp@newsbf02.news.aol.com> Several of my clients in the Finance, Insurance and Telecommunications Industries located in New York City and Colorado currently have many needs for experienced NeXTSTEP developers. You will develop a new generation of O-O systems using state-of-the-art technology from NeXT (OpenStep/PDO/EOF/WebObjects). You must have a strong hands-on background in NeXTSTEP, any RDBMS and Objective-C. Successful candidates will receive an excellent salary, bonus, relocation and visa sponsorship. I need Developers, Senior Developers and O-O Architects. Contact: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX)
Newsgroups: comp.sys.next.programmer From: david.ferrero@zion.com Subject: NeXT's serial port server...trouble with connection? Message-ID: <DHDEr2.2By@zion.com> Keywords: serial port trouble Sender: usenet@zion.com Organization: Zion Software & Consulting Date: Wed, 1 Nov 1995 15:23:26 GMT Recently I installed NeXT's latest serial port server and related driver. When I open a connection to this device using TeleComm modem software, the modem init strings and dial strings are sent to the open connection and echo'd back, but nothing happens. If I copy and paste the command again, same thing. But, if I type the exact command manually, it works! It also works fine for NEXTSTEP 3.3 on NeXT computers, and worked fine under 3.2 and maybe 3.3 with a different serial solution... I've tried lowering the communication speed between the modem and the system from 19200 to 9600 but this doesn't help. Any ideas on this? Anyone else have similar trouble with your communications app? Regards, David Ferrero david@zion.com
Message-ID: <46v4nb$hpo@news.vanderbilt.edu> Organization: a black NeXT References: <DGyGMo.9vK@nntpa.cb.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) Subject: Re: Page numbers in TROFF Date: 29 Oct 1995 04:50:35 +0000 Newsgroups: comp.sys.next.programmer Distribution: world att.workplace (dse@dse.ho.att.com) wrote: : Does anyone know how one prints out page numbers using ptroff. : Thanks, : Don Try man pr somehow like ptroff ... | pr | lpr Cat. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/ _/_/ _/_/ Thomas Katzlberger _/_/ _/_/ katzlbt@vuse.vanderbilt.edu _/_/ _/_/ @aBlackNeXT.called.garfield _/_/ _/_/ http://www.vuse.vanderbilt.edu/~katzlbt/ _/_/ _/_/ _/_/ _/_/ "You can tune a file system, but you can't tune a fish." _/_/ _/_/ UNIX man page for tunefs. _/_/ _/_/ _/_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Newsgroups: comp.sys.next.programmer Message-ID: <47a4v2$rdp@outlaw.zfe.siemens.de> From: rohnert@work.zfe.siemens.de (Hans Rohnert) Subject: Java on black HW ? Date: Thu, 02 Nov 1995 09:02:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Does anybody know about a Java implementation on black hardware? Sorry, if this has been asked before ... -- Hans.Rohnert@zfe.siemens.de, speaking for myself
From: rdk@khaderp.vnet.net () Newsgroups: comp.sys.next.programmer Subject: Group Box text positions Date: 2 Nov 1995 15:52:25 GMT Organization: Vnet Internet Access BETA News Server Message-ID: <47apfp$mf9@mindy.vnet.net> Hi, Is there a way that I can place the title of a group box near the left upper corner, rather than the middle? thanks in advance, dkhader rdk@khaderp.vnet.net
Message-ID: <475bdq$53q@papoose.quick.com> Organization: PHCS References: <DGyGMo.9vK@nntpa.cb.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: jq@phcs.phcs.com (James E. Quick) Subject: Re: Page numbers in TROFF Date: 31 Oct 1995 08:21:46 +0000 Newsgroups: comp.sys.next.programmer Distribution: world In article <DGyGMo.9vK@nntpa.cb.att.com>, att.workplace <dse@dse.ho.att.com> wrote: >Does anyone know how one prints out page numbers using ptroff. > >Thanks, >Don You will have to be more specific, here. Typically ptroff (or troff, nroff, etc) is used in conjunction with a macro library. Naked troff is a black art whose practitioners are rumored to engage in ritual sacrafice either during the full moon (or at boot time). 8^) But seriously, what macro package are you using? (or if you do not know, what program is producing your troff input stream.) Each macro package has different names and calling conventions for headers, footers, page breaks, etc. It would be easiest to implement page numbering using the macro package rather than in raw troff. In fact, in some trivial cases it is easier to use ptroff on a pipe and modify the raw postscript stream, than it is to mess with the troff directly. Also specify whether you are on moto or intel, as there are a couple of bugs on the intel side which you will need to work around to get ptroff to do the right thing. -- ___ ___ | James E. Quick jq@phcs.com / / / | Private HealthCare Systems NeXTMail O.K. \_/ (_\/ | Systems Integration Group (617) 895-3343 ) | - My other car has a mouse.
Message-ID: <DHBK2E.Bu2@cunews.carleton.ca> Organization: Carleton University References: <475gd9$lph@news.mcl.bdm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: csaldanh@mae.carleton.ca (Chris Saldanha) Subject: Re: Supressing display of nulls from database in window? Date: 31 Oct 1995 14:23:02 +0000 Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Followup-To: comp.sys.next.programmer,comp.lang.objective-c Distribution: world Jeff Schilling,,3346, (jschilli@nimitz) wrote: : I am currently fetching information from an Oracle database that frequently : contains nulls. When my application displays the fetched information, it : displays a "<null>" in the fields that have null information in the : database. I would like to suppress the display of nulls and display an : empty field. Does anyone have any suggestions on how to do this? Are you using DBKit or EOF? If you are using EOF, the nulls are acutally EONull instances, and you can override their behaviour with: ---------------------------------------------- /* For some reason, people don't like NULL to look like <null>. * A category to fix that; we print an empty string instead. * Chris Saldanha, Aug'95 */ #import "eoaccess/EONull.h" @interface EONull (EONullPrintFix) - description; @end @implementation EONull (EONullPrintFix) - description { return @""; /* Or whatever else you want NULL to look like... */ } @end ---------------------------------------------- --Chris Chris Saldanha, Software Analyst -------------------------------------- computerActive, Inc |"The telephone was not invented by | chris@computerActive.on.ca (NeXTMail) | Alexander Graham Unitel" -Bell Ad | http://www.mae.carleton.ca/~csaldanh --------------------------------------
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.sys.next.programmer Subject: Re: Avoid conflicts - Class name convention Date: 2 Nov 1995 02:01:47 GMT Organization: Genoa Software Systems Message-ID: <4798qb$a0j@saturn.genoa.com> References: <9510301416.AA00361@conextions.com> <erazu962o.fsf@steffi.accessone.com> <4781c3$ond@news.its.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In <4781c3$ond@news.its.com> Chuck Swiger wrote: > What would be better than a semi-formal convention among developers for who > gets which two or three letter combination would be a solution to the > problem-- multiple namespaces instead of a single, finite namespace. absolutely >Let's say you have a top-level namespace equivalent to the current single >namespace (which contains a reference to the first of any multiply-defined >symbols), and then every linker unit (such as a library, say) would have a >namespace of its' own below the "root" namespace, with possible children >below that (say the individual .o files in the library). >With a way to specify a particular namespace, such as >"/lib/libsys_s.a:bcopy" perhaps, you could refer to other versions of the >"same" symbol in a different namespace. Unfortunately, the global name space issues are not just limited to class names, but involve all symbols (typedefs, enum literals, functions, etc). To do it right, you need to be able to disambiguate when necessary when names collide, and the name searching rules need to be integrated with the language rules concerning scope, module definitions etc. I think it would be extremely difficult to introduce hierarchical name spaces to Objective-C due to the flat global name space C roots. The change would be just too drastic. Though the need is still there :-( > If, for example, you had a hierarchy of namespaces, this problem would > pretty much disappear. Which is exactly what Ada95 provides (with several other useful features) This is getting off topic, but if you're really interested how a hierarchical name space affects a language, take a glance at the Ada95 Language Rationale available at this web site http://sw-eng.falls-church.va.us/AdaIC/ -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <bbum@smile.apdg.com> Message-ID: <9511021911.AA22903@smile.apdg.com> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Bill Bumgarner <bbum@apdg.com> Date: Thu, 2 Nov 95 13:11:37 -0600 Subject: Autodoc v1.8.4 Released [Protocols, functions/typedefs/macros, many improvements] A new version of Autodoc is now available. Changes are summarized below [PROTOCOLS!!!]. I'm working on html support; if you have changes, patches, bugs, suggestions, or other autodoc oriented administrivia, please mail to: autodoc@friday.com Subscription requests to: autodoc-request@friday.com The archive file is available from: ftp://ftp.thoughtport.com/pub/lang/perl ftp://ftp.thoughtport.com/pub/lang/perl/Autodoc_v1.8.4.tar.gz enjoy! b.bum <bbum@friday.com> [thanks to The ThoughtPort Authority for providing connectivity and disk space; check 'em out at http://www.thoughtport.com/] Thu Nov 2 13:03:00 1995 - autodoc version 1.8.4 release notes: CHANGES CHANGES SUMMARY Protocols can be documented. The protocols conformed to by a class, category or protocol are documented. Functions, typedefs, defines, macros, and globals are documented Command line switches can be specified with full names or short names. The copyright owner string can be set as an environment variable AD_COPYRIGHT. (see setenv for csh, or export for zsh) (internally) Autodoc has been divided into modules to encapsulate behaviors and data All RTF specific output is provided by GenerateRTF.pm CHANGES LOG: (autodoc) RELEASE 1.8.4 - REVISION 1.5 (1995/10/20 22:10:41 aswift) Completed checkin using DevMan Logs RELEASE 1.8.4 - REVISION 1.4 (1995/10/20 16:45:28 aswift) Continuing to try DevMan Log history RELEASE 1.8.4 - fixed "up to date documentation" testing - added missing small newlines between the methods and their documentation - moved tab locations in the Defined Types stuff to improve doc apperance - long method lines are now broken into multiple lines - added new paragraph styles to the GenerateRTF module RELEASE 1.8.3 - completely documented GenerateRTF.pm Autodoc module - abstracted DumpDocs to remove rtf dependancies - fixed case insensitive argument parsing to differentiate -D from -d (bbum) - cleaned up usage of 'require' and 'use' to remove redundancy (bbum) - added support for documenting what protocols an object conforms to. - added support for documenting protocols. (Craig Kelley) RELEASE 1.8.2 - added version control to the support modules, and their version is now reported when the -version option is used - removed some warning messages in file_expandpath - fixed bug preventing doc creation with .[hm] files with no object def. - fixed resource naming when files are specified with no project dir - fixed boldifying values of typedef-type structures - allowed multiple levels of indention to follow curly braces in typedef's RELEASE 1.8.1 - MiscKit Release 1.6.1 - fixed documentation extraction failure detection - added support for AD_PMLIBDIR to specify perl module lib directory - added more log debugging to Autodoc .pm files - moved LogDebug::Log.pm into Autodoc::LogDebug.pm - moved FileSupport::Misc.pm into Autodoc::FileSupport.pm RELEASE 1.8 - added -nosingles option to exclude unpaired '.h' and '.m' files from docs - added support for functions, typedefs, defines, macros, and globals - moved all autodoc doc creation into Autodoc::DumpDocs - moved all autodoc source reading into Autodoc::ReadSource - moved autodoc comment parsing into Autodoc::ParseComment - moved source file scanning code into Autodoc::ScanFile module - added timestamping capability for documentation - can now set copyright string with environment var: AD_COPYRIGHT - moved debug logging into LogDebug::Log - moved filepath expansion into FileSupport::Misc RELEASE 1.7 - contributions by b.bum - added support for GetOpts::Long package; GetOpts::Long can deal w/single character argnames as long as they aren't ambiguous. - removed all warnings produced by perl -w - modified scan_line to discard stars from the beginning of ADC lines - added -help option; shows help and exits. - made a Source directory and moved code files into (as per the README) - look for '## bbum'; i fixed a bunch of a stuff that produced warnings when the rtf documentation did not yet exist. - fixed -force so that it actually works. - added NULL to list of bold words - any instance variable on a line w/the word "INTERNAL" will be skipped. - fixed method parameter matching to allow whitespace between the : and arg. (Kim Shrier) - fixed argument italicising in method docs to parse out whitespace between the : and arg (Kim Shrier) RELEASE 1.6 - added \ escaping for % and # characters to force display RELEASE 1.5.1 - fixed the "Category Description" bug. Was putting out "Class Description" (Todd Nathan) RELEASE 1.5 - MiscKit Release - added option to force overwriting up-to-date documentation files - added time check for source and doc files to prevent unnecessary work - added support for copying .rtf and .rtfd files to the doc dir - added support for specifying a copyright owner on the command line - fixed ivar parsing so it doesn't skip the line with the starting brace RELEASE 1.4 - added minimal category support. - changed filename to autodoc (from AutoDoc) - added support for relative path naming for documentation and project dirs. - fixed bug which aborted doc creation if no newline was found on @end line RELEASE 1.3 - Added minimal support for lists of items via _{xxx desc} format - Fixed matching problems at beginning and ends of text strings - Added "id" to the list of bold words. - Filtered out @public/@private/@protected modifiers in ivars. - Fixed incorrect struct detection in ivars with curly braces in a following AutoDoc comment. RELEASE 1.2 - Started tracking changes CHANGES LOG: (ReadSource.pm) RELEASE 1.8.4 - REVISION 1.2 (1995/10/20 22:16:28 aswift) Added DevMan style changes Log support CHANGES LOG: (DumpDocs.pm) RELEASE 1.8.4 - REVISION 1.3 (1995/10/20 22:16:25 aswift) Added DevMan style changes Log support CHANGES LOG: (ScanFile.pm) RELEASE 1.8.4 - REVISION 1.2 (1995/10/20 22:16:29 aswift) Added DevMan style changes Log support CHANGES LOG: (LogDebug.pm) RELEASE 1.8.4 - REVISION 1.2 (1995/10/20 22:16:27 aswift) Added DevMan style changes Log support CHANGES LOG: (GenerateRTF.pm) RELEASE 1.8.4 - REVISION 1.3 (1995/10/20 22:16:26 aswift) Added DevMan style changes Log support CHANGES LOG: (ParseComments.pm) RELEASE 1.8.4 - REVISION 1.2 (1995/10/20 22:16:28 aswift) Added DevMan style changes Log support CHANGES LOG: (FileSupport.pm) RELEASE 1.8.4 - REVISION 1.3 (1995/10/20 22:16:26 aswift) Added DevMan style changes Log support THANKS!!! BIG thanks to Bill Bumgarner <bbum@friday.com>, Todd Nathan <todd@icebox.com>, Kim Shrier <kim@media.com>, and Craig Kelley <ckelley@capaccess.org> for their contributions. - adam
From: À‹ Newsgroups: comp.sys.next.programmer Subject: win Combo box like interface? Date: 2 Nov 1995 16:05:31 GMT Organization: Vnet Internet Access BETA News Server Message-ID: <47aq8b$mf9@mindy.vnet.net> Hi, Is there an interface object that is close to the looks and functionality of windows combo boxes? I need to port a program to Next from windows, and the original interface uses lots of comboboxes. thank you, dkhader rdk@khaderp.vnet.net
From: dave james <djames@isl.com> Newsgroups: comp.sys.next.programmer Subject: object testing environment wanted? Date: Thu, 02 Nov 1995 10:45:04 -0600 Organization: Internet Systems Ltd Message-ID: <3098F590.6965@isl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, we are embarking on an examination of Next prograaming and can see a requirement, in the future, for a system/application testing tool. Basically we want to be able to submit a series of test data cases to an environment and examine the results in a reasonable manner. The test cases should be able to be captured readily and cloned, to enable us to capture one case and make modifications without re-capturing the whole thing. Secondly we need a way of examining the interaction of objects with one another, this should record what message was sent when and from whom to whom. Hopefully we will avoid having to place multiple breakpoint in our object, please could someone give us some pointers. I am also interest in feedback from developers who have used tools that have proved to be invalueable in the past. Thanks in advance. djames@isl.com
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Re: Avoid conflicts - Class name convention Date: 2 Nov 1995 18:42:35 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <47b3er$1t6@opal.southwind.net> References: <4781c3$ond@news.its.com> In article <4781c3$ond@news.its.com> chuck@its.com (Chuck Swiger) writes: > > <alex@conextions.com> writes: > >>Dear NEXTSTEP developers, > >>I would like to make a suggestion dealing with the class name > >>convention for the commercial software to be used in the customer > >>projects. It could be bundles, libraries, sources, etc. To avoid > >>name conflicts the name convention is introduced. All the classes, > >>functions, global variables (if they are) should have a prefix > >>that provides their uniqueness. The prefix could be 2 chars > >>company abbreviature. > > It's a good issue to bring up, and your suggestion is already somewhat in > place, For example, the OTI StringKit had "OTI" as it's abbreviation, > CrashCatcher uses "CC_", and so forth. > > What would be better than a semi-formal convention among developers for who > gets which two or three letter combination would be a solution to the > problem-- multiple namespaces instead of a single, finite namespace. > > If, for example, you had a hierarchy of namespaces, this problem would > pretty much disappear. > > Let's say you have a top-level namespace equivalent to the current single > namespace (which contains a reference to the first of any multiply-defined > symbols), and then every linker unit (such as a library, say) would have a > namespace of its' own below the "root" namespace, with possible children > below that (say the individual .o files in the library). > > With a way to specify a particular namespace, such as > "/lib/libsys_s.a:bcopy" perhaps, you could refer to other versions of the > "same" symbol in a different namespace. > > Opinions? Flames? :-) > > -Chuck > > PS: I wonder whether the dynamic loader stuff will have any solutions for > the finite namespace problem? > -- > It seems to me that the real solution is to extend to Objective-C runtime to provide a unique identifier for each object as its loaded/instatiated similar to how Unix provides a pid.If I reacall correctly this is alraedy the case for instances just needs to be done for class objects. If its done once at load time then the performance hit would be small. Realistically the minimum denominater in a Object oriented system is the Object thus it must be garunteed to be uniqe, a program is somewhat of a archic though useful if restrictive concept. Since there not a one word synonym for object devloper and interfacer programmer will have to do : ) Mike
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Thu, 2 Nov 95 21:53:59 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9511022053.AA02651@flexus> Subject: Re: Avoid conflicts - Class name convention Chuck Swiger <chuck@its.com> writes: > If, for example, you had a hierarchy of namespaces, this > problem would pretty much disappear. You'll still have the problem of avoiding conflicts between the names of libraries. And how would you fit this into the current development environment? Better stay with our feet on the ground. Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: rmasse@cnri.reston.va.us (Roger E. Masse) Newsgroups: comp.sys.next.programmer Subject: ld: multiple definitions of symbol... Date: 3 Nov 1995 00:37:39 GMT Organization: Corporation for National Research Initiatives Distribution: world Message-ID: <47bo8j$dcd@news.CNRI.Reston.Va.US> When linking, on my NS 3.3 Intel box, I recently noticed /bin/ld complains when a symbol (such as _dup2) is defined in one of your .o's and in /lib/libsys_s.a. I get an error like: ld: multiple definitions of symbol _dup2 ./Python/libPython.a(dup2.o) definition of _dup2 in section (__TEXT,__text) /lib/libsys_s.a(dup2.o) definition of absolute _dup2 (value 0x500231f) Is there any way to configure the linker to use the first symbol it encounters from the files ordered on the command line? Thanks in advance.
From: jmbreuer@trek.franken.de (Joachim Breuer) Newsgroups: comp.sys.next.programmer Subject: GDBM/Flat-File adaptor for DBKit Date: 2 Nov 1995 12:15:45 +0100 Organization: Kommunikationsnetz Franken e.V. Message-ID: <47a991$ar5@trek.franken.de> Hi! I'm currently working on a programming project which would require a _working_ GDBM or flat-file adaptor for DBKit (yes, I'm stuck with that for the moment, don't tell me to use EOF, please). I've tried a bit of software called the GDBMAdaptor, but it doesn't seem to work on my system. If you know a working adaptor like this (a working msql adaptor would do as well), please let me know. Please also let me know whether this adaptor supports links (one-to-one, one-to-many, many-to-many). Thank you very much in advance. So long, Joe -- | Joachim Breuer | Internet: | | Weichselgartenstrasse 34a | jmbreuer@trek.franken.de | | 91301 Forchheim | Data: +49 9191 33915 (24h) | | Germany | Voice: +49 9191 32454 |
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: About rexec -- Correction Date: 3 Nov 1995 14:56:26 GMT Organization: Information Technology Solutions, Inc. Message-ID: <47daiq$g4j@news.its.com> References: <46i50r$gqi@news.csie.nctu.edu.tw> <46o17j$iv@papoose.quick.com> <4757hq$4s6@papoose.quick.com> jq@phcs.phcs.com (James E. Quick) wrote: > I posted an example and an explaination of rexec's operation > that was wrong. In fact, *extremely wrong*. Sorry for the delay > in this correction. You might also want to be aware that rexecd is a gaping security hole. I would suggest never enabling it if possible, or to use something like the tcp_wrapper software which will detect IP spoofing attacks.... -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: chuck@orcacomputer.com Newsgroups: comp.sys.next.programmer Subject: Re: Avoid conflicts - Class name convention Date: 3 Nov 1995 15:34:12 GMT Organization: Virginia Tech, Blacksburg, Virginia Message-ID: <47dcpk$4k9@solaris.cc.vt.edu> References: <9510301416.AA00361@conextions.com> <erazu962o.fsf@steffi.accessone.com> Alexander Elkin <alex@conextions.com> writes: >For the beginning, let me claim two prefixes are used by = >Conextions Inc. The are CX.... for the classes derived from Object = Sorry, but I already use CX!!! :-) Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> writes: > Individuals and small companies should provide at least three letters If big companies can use two letters then anyone should be able to. > problem-- multiple namespaces instead of a single, finite namespace. Yes, multiple namespaces should be a feature of any large scale software modern development environment. Turbo Pacal/Delphi solves this problem with "units" which were also used for constructing libraries. Of course, there are a lot of technical details to be worked out. I'll leave that to more capable hands! :) -- -------------------------------------------------------- Chuck_Esterbrook@OrcaComputer.com NeXTmail welcome Software Engineer & Analyst pho. (540) 231-3475 Orca Computer, Inc. fax. (540) 231-3480 Blacksburg, VA 24060 http://www.orcacomputer.com/
From: odp@freon.epita.fr (objets distribues persistants) Newsgroups: comp.sys.next.programmer Subject: Re: Asynchronous messaging Date: 4 Nov 1995 01:08:32 GMT Organization: Epita (French Computer Science school) Sender: odp@freon (objets distribues persistants) Distribution: world Message-ID: <47eeeg$ep0@boson.epita.fr> References: <47e3ho$b6s@news.mcl.bdm.com> In article <47e3ho$b6s@news.mcl.bdm.com>, wilerson@chamberlain (Jerod Wilerson) writes: |> I am trying to send a message to an object and then continue processing in |> the calling method without waiting for the object that received the |> message to finish processing. Does anyone have suggestions on how I can do |> this? The proxy (NXProxy, NXComm..) does what you want. see the doc in the librarian. (about oneway methods: -(oneway void)foo; FE
From: spotter@netcom.com (Steve Potter) Organization: NETCOM On-line Communication Services (408 261-4700 guest) Sender: spotter@netcom11.netcom.com Message-ID: <cancel.spotterDHH1B2.FsI@netcom.com> Control: cancel <spotterDHH1B2.FsI@netcom.com> Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <spotterDHH1B2.FsI@netcom.com> Date: Sat, 04 Nov 1995 18:05:03 KST
Newsgroups: alt.comp.shareware,alt.comp.shareware.programmer,alt.msdos.programmer,comp.os.ms-windows.programmer,comp.os.msdos.programmer,comp.os.os2.programmer,comp.unix.sco.programmer,comp.sys.atari.programmer,comp.sys.newton.programmer,comp.sys.next.programmer,comp.sys.next.software,comp.sys.amiga.programmer,comp.sys.apple2.programmer,rec.games.programmer From: pohl@vtdev.vt.platinum.com (Pohl Longsine) Subject: Re: Shareware Author Listing Message-ID: <DHHIon.7xu@gateway.platinum.com> Sender: nobody@gateway.platinum.com Organization: Platinum Technology, Inc. Date: Fri, 3 Nov 1995 22:49:14 GMT References: <468etm$bui@news-e1a.megaweb.com> <46b1u9$m26@news.vanderbilt.edu> katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) wrote: >Todd F. Herschberg (herschberg@gnn.com) wrote: >: I am attempting to create a freeware listing of >: shareware authors and how to contact them. If you are >: a shareware author >For everyone who doesn't want to wait for that try: >http://www.leo.org/ Actually, that site involves a considerable wait. It's one of the slowest I've ever seen. I think I'd rather wait for Todd. ----- "We've seen the rings of |"We make up what we can't| "" (The Dixie Dregs, smoke through the trees; | hear, then we sing all | Bring 'em Back Alive) we're how all the words go."| night." (Sonic Youth, |---------------------- (Game Theory, Lolita Nation)| Daydream Nation) | pohl@platinum.com
From: wilerson@chamberlain (Jerod Wilerson) Newsgroups: comp.sys.next.programmer Subject: Asynchronous Messaging 2 Date: 3 Nov 1995 22:12:53 GMT Organization: BDM International, Inc. Message-ID: <47e455$ber@news.mcl.bdm.com> Sorry. I forgot to leave my E-Mail address with the following message: I am trying to send a message to an object and then continue processing in the calling method without waiting for the object that received the message to finish processing. Does anyone have suggestions on how I can do this? If you have any suggestions you can reach me at jerod_wilkerson@Notes.pw.com Thanks
Message-ID: <9511031349.AA01532@flexus> Organization: Antigone Press gateway, San Francisco MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: flexus!rfschtkt@maze.ruca.ua.ac.be (Raf Schietekat) Subject: Tracking rectangles Date: 03 Nov 1995 13:49:30 +0000 Newsgroups: comp.sys.next.programmer Distribution: world Dear experts, I want mouse-entered and mouse-exited events for a View for purposes not related to cursor management. -[Window setTrackingRect:inside:owner:tag:left:right:] is, well, not quite fabulous, compared to cursor support (how can I ensure a unique tag if I don't know where my View will be used, see KBNS.00.0.044?). I tried riding piggyback on the cursor mechanism, which kinda worked, using polling to determine whether my cursor is still the current one (not in KBNS, also because it's not generally applicable). But this does not always work: sometimes I move the mouse pointer over a different View and the arrangement still believes the mouse pointer is over the old View. And it only works in the key window. Does anyone know whether mouse pointer tracking is rock solid (then I can eliminate NEXTSTEP (which I now suspect more than my own code) as a possible cause for this bug)? Has anyone made an in-depth analysis of tracking issues, with perhaps a general workaround for -[Window setTrackingRect:inside:owner:tag:left:right:]'s limitations? Well, most programmers will only use this for cursor management... Thanks, Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
Message-ID: <47e3ho$b6s@news.mcl.bdm.com> Organization: BDM International, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: wilerson@chamberlain.uucp (Jerod Wilerson) Subject: Asynchronous messaging Date: 03 Nov 1995 21:02:32 +0000 Newsgroups: comp.sys.next.programmer Distribution: world I am trying to send a message to an object and then continue processing in the calling method without waiting for the object that received the message to finish processing. Does anyone have suggestions on how I can do this?
From: finton@homer.cs.wisc.edu (David Finton) Newsgroups: comp.sys.next.programmer Subject: "dpsclient assertion failed" --- ??? Date: 3 Nov 1995 23:52:13 GMT Organization: University of WI, Madison -- Computer Sciences Dept. Message-ID: <47e9vd$cjm@spool.cs.wisc.edu> I just noticed that after the app I'm writing terminates, I get a new message in the console file: Nov 2 23:10:33 phoenix Circles[2788]:dpsclient assertion failed: an fd passed to DPSAddFD was closed before calling DPSRemoveRD Nov 2 23:10:33 phoenix last message repeated 21 times What does this mean? Am I forgetting to free something? Thanks, --David Finton
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Avoid conflicts - Class name convention Date: 4 Nov 1995 05:17:39 GMT Organization: Information Technology Solutions, Inc. Message-ID: <47et1j$86o@news.its.com> References: <9510301416.AA00361@conextions.com> <erazu962o.fsf@steffi.accessone.com> <4781c3$ond@news.its.com> <4798qb$a0j@saturn.genoa.com> Alex Blakemore <alex@genoa.com> wrote: >> With a way to specify a particular namespace, such as >> "/lib/libsys_s.a:bcopy" perhaps, you could refer to other >> versions of the "same" symbol in a different namespace. > > Unfortunately, the global name space issues are not just limited to class > names, but involve all symbols (typedefs, enum literals, functions, etc). Well, typedefs and enumerations are conveniences for programmers that don't really exist at the linker and machine code level. I agree that you'd need to be able to handle all of the (global) symbol types which occur-- check /usr/include/mach-o/stab.h for details. > To do it right, you need to be able to disambiguate when necessary when > names collide, and the name searching rules need to be integrated with > the language rules concerning scope, module definitions etc. Yes. I didn't claim it was easy, mind you, but it would be pretty darn cool to have. :-) > This is getting off topic, but if you're really interested how a > hierarchical name space affects a language, take a glance at the Ada95 > Language Rationale available at this web site > http://sw-eng.falls-church.va.us/AdaIC/ Good pointer. In fact, I was thinking of both ADA and SML when I suggested multiple namespaces.... -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: spotter@netcom.com (Steve Potter) Sender: spotter@netcom22.netcom.com Newsgroups: comp.sys.next.programmer Date: 03 Nov 1995 17:21:43 EST Control: cancel <spotterDHGKM5.923@netcom.com> Subject: cmsg cancel <spotterDHGKM5.923@netcom.com> Message-ID: <cancel.spotterDHGKM5.923@netcom.com> Spam cancelled by dsr@lns598.lns.cornell.edu
From: msnyder@next.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: ld: multiple definitions of symbol... Date: 4 Nov 1995 04:46:18 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <47er6q$rqt@news.next.com> References: <47bo8j$dcd@news.CNRI.Reston.Va.US> Roger E. Masse writes > When linking, on my NS 3.3 Intel box, I recently noticed /bin/ld complains > when a symbol (such as _dup2) is defined in one of your .o's and in > /lib/libsys_s.a. I get an error like: > > ld: multiple definitions of symbol _dup2 > ./Python/libPython.a(dup2.o) definition of _dup2 in section > (__TEXT,__text) > /lib/libsys_s.a(dup2.o) definition of absolute _dup2 (value 0x500231f) > > Is there any way to configure the linker to use the first symbol it > encounters from the files ordered on the command line? Thanks in advance. The linker does use the first symbol that it encounters from the files on the command line. However, the second module (from the library) will still be added to the link if it contains ANY symbol that is needed to satisfy some other undefined reference. This means that if you are going to replace one of the symbols from a library module (such as dup2), you have to replace ALL of the symbols from that module.
Message-ID: <47bnva$e3s@portal.gmu.edu> Organization: George Mason University, Fairfax Va. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: tfs@gravity.science.gmu.edu ( Tim) Subject: Fun with libs Date: 02 Nov 1995 23:32:42 +0000 Newsgroups: comp.sys.next.programmer Followup-To: comp.sys.next.programmer Distribution: world Hi, I need some help with something a bit odd, in that I've never seen it discussed in the 6 or so years I've been working with NS. It's entirely possible I may have missed it, but it's not like it's a documented thing either... What I'm trying to do is to replace some of the routines in /lib/libsys_s.a with ones that are a bit more up to date etc. This is under 3.3. So far I have sucessfully ripped out the arch specific files & gottten them dumped into a lib via lipo. From there I've broken out all the individual object files & replaced what I've needed to, and used libtool to reassemble the thing. When I do get this far though, & try to use the subsequent lib that I've built, it works fine - up until I hit the routine that I've replaced. At that point it gives me an error and a reference to the shared libraries in /usr/shlib. It seems to me that I'm missing something relativly straightforward about this, but damned if I know what it is, & there's not exactly a wealth of documentation around about shared libraries & NS. The only thing I can come up with is that I am not doing something when creating the origional object that I want to include as far as creating a proper link edit section. Honestly I am not real sure. Anyway, if anyone can help me out with this via some sort of description etc. or tell me what I'm missing, I'd very much appreciate it. I realize this whole thing isn't exactly commonly done, & is somewhat non-trivial, but on the other hand it hasn't been too beastly up until I hit this snag. And now I am well and truely stumped. Thanks, Tim Scanlon ________________________________________________________________ tfs@vampire.science.gmu.edu (NeXTmail, MIME) Tim Scanlon tfs@epic.org (PGP key aval.) crypto is good Digital Encryption Systems Inc. I own my own words -- ________________________________________________________________ tfs@vampire.science.gmu.edu (NeXTmail) Tim Scanlon George mason University Public Affairs I speak for myself, but often claim demonic posession
Message-ID: <spotterDHGKM5.923@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: spotter@netcom.com (Steve Potter) Subject: Call 1-800-856-2469, LIVE LIVE LIVE 809-474-7588 code776 Date: 03 Nov 1995 07:22:53 +0000 Newsgroups: comp.sys.next.programmer Distribution: world 18+, 24hours, rates as low as $0.38/min Hot, Young women want it NOW ----011-592-247-681 Gay, Bi, Bi-curious guys at -----809-474-7604 ************************************************ ************************************************ ************************************************ ************************************************ comp.sys.next.programmer
Message-ID: <47dtb0$2n2@hpuniv.univ-lr.fr> Organization: Universite de La Rochelle MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: etienne@gruick.univ-lr.fr (Etienne Gourdon) Subject: use of textDidEnd:endChar: with fetch Date: 03 Nov 1995 19:16:32 +0000 Newsgroups: comp.sys.next.programmer Distribution: world Hello everybody, Sorry, but I'm an eof beginner. I've a small question about textDidEnd:endChar: I want to check the validity of a field with the contents of a table. So, I tried to do something like this : - textDidEnd: sender endChar: (unsigned short) whyEnd { EOQualifier *aQualifier; EOEntity *anEntity; EODatabaseDataSource *databaseSource; int nbr; NSLog(@"in destin\n"); databaseSource = [destinControler dataSource]; anEntity = [databaseSource entity]; aQualifier = [[[EOQualifier alloc] initWithEntity: anEntity qualifierFormat:@"DST_CODE like '%s\\%'", [(TextField *)destin stringValue]] autorelease]; [databaseSource setQualifier:aQualifier]; [destinControler fetch]; nbr=[[destinControler allObjects] count]; NSLog(@"nbr=%d\n",nbr); return self; } The problem is that there is an infinite loop due to the use of the fetch method (which invokes endEditing). Is there some solution to avoid this problem ? There is one if I make a link from my TextField to a special method in my interface. But this solution does not allow me to use TABULATION. Thanks for your answer.
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Sat, 4 Nov 95 18:21:54 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9511041721.AA02282@flexus> Subject: Re: Avoid conflicts - Class name convention >>>>> Chuck_Esterbrook@OrcaComputer.com writes: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> writes: > Individuals and small companies should provide at least three letters If big companies can use two letters then anyone should be able to. <<<<< Oh well, if a small company insists to be registered with two letters, or even registers individual projects with their own prefixes, who's going to check all that. It's only a guideline for good style (you know, being considerate and all that). Just register. Or wait an eternity until isolated namespaces become available. Or ignore the problem; nearly everyone does so, anyway. Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: amf@ntt.com (Alan Frabutt) Newsgroups: comp.sys.next.programmer Subject: Oracle DBKit adaptor question Date: 5 Nov 1995 04:12:20 GMT Organization: Msen Message-ID: <47hdj4$l4h@pravda.aa.msen.com> Keywords: DBKit Hello, I'm looking for documentation describing what I need to do to use EOModeller and DBKit with an ORACLE server on another machine. Don't I need to tell the adaptor what port number the listener is on at the server? I have access to a Sybase server as well. In both cases, Sybase and Oracle, when I enter the "intuitively obvious" choices into the login panels, I get beeped at, and the login panel returns, but no additional error or informational messages appear. Any help is vastly appreciated! Alan Frabutt -- amf@ntt.com, alanf@comshare.com
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer,comp.sys.next.hardware From: liu@turbo.physics (Wei Liu) Subject: Binary data file IO error Keywords: binary, IO, intel, m68k Message-ID: <DHJzx6.3IE@info.physics.utoronto.ca> Sender: news@info.physics.utoronto.ca (System Administrator) Organization: University of Toronto - Dept. of Physics Date: Sun, 5 Nov 1995 04:46:18 GMT Anyone knows what could explain the following, I found I couldn't read those binary data files produced on other unix platforms by my intel Next workstation. To test this, I wrote one code to produce the data, the other reading the data. #include <stdlib.h> #include <stdio.h> int main() { FILE *fp; int i; float x; double z; i=10; x=1.234567; z=1.23456789101112131415161718; fp=fopen("bytetest.dat", "w"); fwrite(&i, sizeof(int), 1, fp); fwrite(&x, sizeof(float), 1, fp); fwrite(&z, sizeof(double), 1, fp); fclose(fp); return 0; } #include <stdlib.h> #include <stdio.h> int main() { FILE *fp; int i; float x; double z; fp=fopen("bytetest.dat", "r"); fread(&i, sizeof(int), 1, fp); fread(&x, sizeof(float), 1, fp); fread(&z, sizeof(double), 1, fp); printf("i=%d\n", i); printf("x=%f\n", x); printf("z=%g\n", z); fclose(fp); return 0; } if you excecute them both on the same machine or any other unix platform, they work properly. output===>i=10 x=1.234567 z=1.23457 However, if you separate compilation of them and read the data by your intel Next workstation, the results are screwed up. output==>i=167772160 x=8822335.000000 z=-1.04945e+238
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: Re: ld: multiple definitions of symbol... Date: 5 Nov 1995 22:12:23 GMT Organization: my own Message-ID: <47jcs7$s2a@gate.seicom.net> References: <47bo8j$dcd@news.CNRI.Reston.Va.US> <47er6q$rqt@news.next.com> msnyder@next.com (Michael Snyder) wrote: > Roger E. Masse writes > > When linking, on my NS 3.3 Intel box, I recently noticed /bin/ld > complains > > when a symbol (such as _dup2) is defined in one of your .o's and in > > /lib/libsys_s.a. I get an error like: > > > > ld: multiple definitions of symbol _dup2 > > ./Python/libPython.a(dup2.o) definition of _dup2 in section > > (__TEXT,__text) > > /lib/libsys_s.a(dup2.o) definition of absolute _dup2 (value 0x500231f) > > > > Is there any way to configure the linker to use the first symbol it > > encounters from the files ordered on the command line? Thanks in > advance. > The linker does use the first symbol that it encounters from the files on > the command line. However, the second module (from the library) will > still be added to the link if it contains ANY symbol that is needed to > satisfy some other undefined reference. This means that if you are going > to replace one of the symbols from a library module (such as dup2), you > have to replace ALL of the symbols from that module. What exactly do you mean by 'replacing all symbols from that module'? From 'man ld': -m Don't treat multiply defined symbols as a hard error; instead, simply print a warning. The first such symbol is used for linking; its value is used for the symbol in the symbol table. The other symbols by the same name may be used in the resulting output file through local references. This can still produce a resulting output file that is in error. This flag's use is strongly discouraged! --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy "In cantonese C++ is called C ga ga"
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Sun, 5 Nov 95 16:37:31 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9511051537.AA00978@flexus> Subject: -[View invalidate::] Hello experts, Does anyone know what -[View invalidate::] does? I don't feel like disassembling it... Have you used it successfully, at least? Very naively, I'd like to use it as a restricted -update, assuming that it relates to -update as -display:: relates to -display, even if not in a scrolling situation (!). Is that a safe assumption? Well, it does not work for me (3.2), and I'd like to know why not. Please e-mail; I'll summarise. Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Re: Oracle DBKit adaptor question Message-ID: <jpanicoDHL5Cs.3vw@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <47hdj4$l4h@pravda.aa.msen.com> Date: Sun, 5 Nov 1995 19:41:16 GMT Sender: jpanico@netcom17.netcom.com Alan Frabutt (amf@ntt.com) wrote: : Hello, : I'm looking for documentation describing what I need to do to use : EOModeller and DBKit with an ORACLE server on another machine. Don't I : need to tell the adaptor what port number the listener is on at the : server? I have access to a Sybase server as well. DBModeller , not EOModeller, is used with DBKit. You should absolutely not be starting a new DBKit project unless you have a very good reason to. DBKit was "broken", in many different ways, on the day it was born. NeXT never bothered to "fix" it, instead focusing their energies on a new, rebuild from scratch, product-- EOF. DBKit is no longer supported and you are in for major headaches if you insist on using it. EOF is a vastly more productive animal. -- Joe Panico NeXTStep/OpenStep Developer BLaCKSMITH Inc. jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: Kevin P. Hannan Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer,comp.sys.next.hardware Subject: Re: Binary data file IO error Date: 6 Nov 1995 03:39:26 GMT Organization: Future Services, Inc. Message-ID: <47k01e$878@news.atlcom.net> References: <DHJzx6.3IE@info.physics.utoronto.ca> In <DHJzx6.3IE@info.physics.utoronto.ca> Wei Liu wrote: > Anyone knows what could explain the following, > > I found I couldn't read those binary data files produced on other unix > platforms by my intel Next workstation. To test this, I wrote one code to > produce the data, the other reading the data. > [code removed] > if you excecute them both on the same machine or any other unix platform, > they work properly. > output===>i=10 > x=1.234567 > z=1.23457 > > However, if you separate compilation of them and read the data by your > intel Next workstation, the results are screwed up. > output==>i=167772160 > x=8822335.000000 > z=-1.04945e+238 May I hazard, that the diffrence is due to the architecture of the machines. One is big endian (Motorola) and the other is little endian (Intel). Forgive me if they are reversed. But that is exactly what happens to the bytes representing the numbers. Take a look at the bit patterns of the numbers, and compare the two. -- Kevin --
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 6 Nov 1995 05:15:09 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <47k5kt$ek3@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: cwolf@wolfware.com Newsgroups: comp.sys.next.programmer Subject: Adjusting height of DBTableView row elements? Date: 6 Nov 1995 07:26:40 GMT Organization: WolfWare Message-ID: <47kdbg$qcu@shellx.best.com> I'm using a custom subclass of DBTableView displaying data with a custom subclass DBTextFormatter and have been trying to find a way to adjust the height of the row elements in the table-view so that a larger font can be used. I believe there was some discussion of this issue several months ago on this forum and that a solution was eventually proposed but I have been unable to either find my archive of that discussion or rediscover the "trick" on my own. (Yes, I know that I should be using EOF and that there is a method to adjust the row height in EOF but for legacy and distribution reasons for the moment I need to stick with EOF.) Thanks! -- Christopher Wolf / WolfWare cwolf@wolfware.com (NeXTmail & MIME accepted) For information about the NewsFlash newsreader for NeXTSTEP check out WolfWare's home page: http://www.wolfware.com/
From: Paul_Lynch@plsys.com (Paul Lynch) Newsgroups: comp.sys.next.programmer Subject: Re: Oracle DBKit adaptor question Date: Mon, 6 Nov 1995 08:50:46 GMT Organization: P & L Systems Sender: news@seer.demon.co.uk Message-ID: <1995Nov6.085046.8986@seer.demon.co.uk> References: <jpanicoDHL5Cs.3vw@netcom.com> In article <jpanicoDHL5Cs.3vw@netcom.com> jpanico@netcom.com (Joe Panico) writes: > Alan Frabutt (amf@ntt.com) wrote: > : Hello, > : I'm looking for documentation describing what I need to do to use > : EOModeller and DBKit with an ORACLE server on another machine. Don't I > : need to tell the adaptor what port number the listener is on at the > : server? I have access to a Sybase server as well. > > DBModeller , not EOModeller, is used with DBKit. You should absolutely > not be starting a new DBKit project unless you have a very good reason to. I quite agree. The only thing you should need to do is make sure that you have oraserv defined in /services in netinfo. Paul -- Paul Lynch (NeXTmail) http://www.plsys.co.uk/~paul (under construction)
Newsgroups: comp.sys.next.programmer,alt.sex.wanted From: vac@indirect.com(Anne Schoofs) Subject: Femdom In Search of Naughty Boys Message-ID: <DHLtA0.8Gy@goodnet.com> Sender: vac@indirect.com(Anne Schoofs) Organization: Internet Direct, Inc. Date: Mon, 6 Nov 1995 04:18:00 GMT Seriously, this is a chance of a lifetime. I want all you naughty boys to contact me at once. Do not delay. Location is unimportant. Let me know how you've been naughty and what type of corrective punishment you deem appropriate. It's time we clean up the net. Anne --------------------------------------------------- Anne Schoofs vac@indirect.com Fax: 602 912 8823 Attn: RAS -------------------------------------------------
From: root@terra.crystalengine.com(Felipe A. Rodriguez) Newsgroups: comp.sys.next.programmer Subject: Re: Adjusting height of DBTableView row elements? Date: 6 Nov 1995 09:34:34 GMT Organization: Netvoyage Internet Access Provider Message-ID: <47kkra$go1@news.netvoyage.net> References: <47kdbg$qcu@shellx.best.com> In article <47kdbg$qcu@shellx.best.com> cwolf@wolfware.com writes: > >I'm using a custom subclass of DBTableView displaying data with a custom subclass >DBTextFormatter and have been trying to find a way to adjust the height of the row >elements in the table-view so that a larger font can be used. I believe there was >some discussion of this issue several months ago on this forum and that a solution >was eventually proposed but I have been unable to either find my archive of that >discussion or rediscover the "trick" on my own. > [snip] > >Thanks! >-- >Christopher Wolf / WolfWare >cwolf@wolfware.com (NeXTmail & MIME accepted) > In a custom subclass of DBTableView that employs static rows and columns I use the following to adjust height: [[super rowAt:i] setMaxSize:12.00]; // adjust row vector height -- Felipe A. Rodriguez # ...it cannot be called ingenuity to kill Agoura Hills, CA # one's fellow citizens, to betray # friends, to be without faith, without farp@netvoyage.net # mercy, without religion; by these means (NeXTmail preferred) # one can acquire power but not glory. (MIMEmail welcome) # --Nicolo Machiavelli
From: ivo@next.lbs.lon.ac.uk (Ivo Welch) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer,comp.sys.next.hardware Subject: Re: Binary data file IO error Date: 6 Nov 1995 09:20:15 GMT Organization: London Business School Message-ID: <47kk0f$i8m@pluto.lbs.lon.ac.uk> You need a little routine instead (the same applies to int's, etc): static float inline getfloat(FILE *fin) { float f; ((char *)&f)[3]= getc(fin); ((char *)&f)[2]= getc(fin); ((char *)&f)[1]= getc(fin); ((char *)&f)[0]= getc(fin); return f; } /ivo welch -- Ivo Welch ivo.welch@anderson.ucla.edu Assoc Prof of Finance Anderson GSM at UCLA Until Dec 95: London Business School, Finance Dept, iwelch@lbs.lon.ac.uk Sussex Place, London NW1 4SA. England.
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Avoid conflicts - Class name convention Date: 6 Nov 1995 07:20:45 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <47kd0d$34g@usenet.rpi.edu> References: <9510301416.AA00361@conextions.com> <erazu962o.fsf@steffi.accessone.com> <4781c3$ond@news.its.com> chuck@its.com (Chuck Swiger) wrote: > What would be better than a semi-formal convention among developers > for who gets which two or three letter combination would be a > solution to the problem-- multiple namespaces instead of a single, > finite namespace. Indeed. > If, for example, you had a hierarchy of namespaces, this problem > would pretty much disappear. Needs language-level support, I'd think, particularly since a single object might be referencing objects from two (conflicting) libraries. The language called Eiffel has support for this, but I don't know what one would need to do to Objective-C to get it to work. It might not be too bad, with a little clever thought put into it. Not that I know what that thought would be, but I'd welcome it if someone else has it... :-) --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: vac@indirect.com(Anne Schoofs) Newsgroups: alt.rock-n-roll.metal.ironmaiden,comp.sys.next.programmer Subject: cmsg cancel <DHLpnH.AoH@goodnet.com> Control: cancel <DHLpnH.AoH@goodnet.com> Date: 06 Nov 95 07:43:30 GMT Organization: Devilbunnies Spam Cancelling Division Sender: vac@indirect.com(Anne Schoofs) Message-ID: <cancel.DHLpnH.AoH@goodnet.com> Spam Cancellation. For details see news.admin.net-abuse.announce
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Adjusting height of DBTableView row elements? Date: 06 Nov 1995 02:42:55 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eka5eaus0.fsf@steffi.accessone.com> References: <47kdbg$qcu@shellx.best.com> To: cwolf@wolfware.com <cwolf@wolfware.com> writes: >I'm using a custom subclass of DBTableView displaying data with a custom subclass >DBTextFormatter and have been trying to find a way to adjust the height of the row >elements in the table-view so that a larger font can be used. I believe there was >some discussion of this issue several months ago on this forum and that a solution >was eventually proposed but I have been unable to either find my archive of that >discussion or rediscover the "trick" on my own. DBTableView. OK setRowHeight: doesn't exist in that do you have to do something like. [[table rowAt:0] sizeTo: and setMinSize and setMaxSize too I think. Here's what I had to do way back when. You _should_ not need to go this far though. I believe rowAt:0 should work ie. it should return what uniVector is here. object_getInstanceVariable(tableView,"rowLayout",(void **)&rowLayout); object_getInstanceVariable(rowLayout,"uniVector",(void **)&uniVector); [(DBTableVector *)uniVector setMinSize:fontHeight+adjust]; [(DBTableVector *)uniVector sizeTo:fontHeight+adjust]; >(Yes, I know that I should be using EOF and that there is a method to adjust the row >height in EOF but for legacy and distribution reasons for the moment I need to stick >with EOF.) >Thanks! >-- >Christopher Wolf / WolfWare >cwolf@wolfware.com (NeXTmail & MIME accepted) >For information about the NewsFlash newsreader for NeXTSTEP >check out WolfWare's home page: http://www.wolfware.com/ -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: shill@iphysiol.unil.ch (Sean Hill) Newsgroups: comp.sys.next.programmer Subject: OpenStep spec changes? Date: 6 Nov 1995 16:08:09 GMT Organization: University of Lausanne CH (Switzerland) Message-ID: <47lbt9$4ff@cisun2000.unil.ch> I'm wondering if anyone knows if there will be any revisions to the OpenStep spec from its current state. Also, does NeXT really expect that someone would be able to implement an NSCStringText object from their description? Including properly using their freakish (sorry) internal structures? It seems like parts of the OpenStep spec were really designed for those with source code from NeXT. How about an object for file access? Also there are things cited by the specification which are missing, i.e. various file formats, archiving streams, and constants. If the current specification is _the_ final which anybody would have to implement I can't see that OpenStep will be terribly compatible across implementations. That is, unless everyone writing an implementation agrees to fill in the holes together. Thanks for any info. -Sean --- Sean L. Hill Research in Computational Neuroscience Institut de Physiologie E-mail: Sean.Hill@iphysiol.unil.ch Rue du Bugnon, 7 Work: ++41 021 692.5516 CH-1005 Lausanne SWITZERLAND Fax: ++41 021 692.5505
From: vac@indirect.com(Anne Schoofs) Sender: vac@indirect.com(Anne Schoofs) Newsgroups: comp.sys.next.programmer,alt.sex.wanted Date: 06 Nov 1995 09:23:40 EST Control: cancel <DHLtA0.8Gy@goodnet.com> Subject: cmsg cancel <DHLtA0.8Gy@goodnet.com> Message-ID: <cancel.DHLtA0.8Gy@goodnet.com> Spam cancelled by dsr@lns598.lns.cornell.edu
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: ld: multiple definitions of symbol... Message-ID: <zazulaDHMqr1.3F9@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <47bo8j$dcd@news.CNRI.Reston.Va.US> Date: Mon, 6 Nov 1995 16:21:01 GMT Sender: zazula@netcom20.netcom.com In article <47bo8j$dcd@news.CNRI.Reston.Va.US> rmasse@cnri.reston.va.us (Roger E. Masse) writes: >When linking, on my NS 3.3 Intel box, I recently noticed /bin/ld complains >when a symbol (such as _dup2) is defined in one of your .o's and in >/lib/libsys_s.a. I get an error like: > >ld: multiple definitions of symbol _dup2 >./Python/libPython.a(dup2.o) definition of _dup2 in section >(__TEXT,__text) >/lib/libsys_s.a(dup2.o) definition of absolute _dup2 (value 0x500231f) > >Is there any way to configure the linker to use the first symbol it >encounters from the files ordered on the command line? Thanks in advance. Hi - You bet. Just add this to your CFLAGS -Xlinker -m This is documented in the "CompilerTools" release notes. Z --- Ralph Zazula zazula@netcom.com 408/996-9016
From: par@MCS.COM (Peter Richardson) Newsgroups: comp.sys.next.programmer Subject: NXConnection help Again :( Date: 6 Nov 1995 13:38:08 -0600 Organization: MCSNet Services Message-ID: <47lo70$5gi@Venus.mcs.com> Let me appologize in advance for this. I am trying to make use of NXConnections for the first time and nobody else that I work with has ever used them either. So I keep asking dumb questions in my quest to get this thing to work. That said, HELP again. I can't seem to get the server program to return data. To this point, the server has done all the work, based on information sent from the client. Now I need to get it back. The server program creates a file (code for this has not been included) I wanted to have the server create a temp file name and send that name back to the client so that the client could then request the file that it wanted by name. I could not get the string with the file name to pass back. I gave up and let the client tell the server the name of the file, and moved on. This is not good, and I expect that the answer to the current question will lead to fixing this correctly. The current problem is that I am trying to transfer the file back to the client over a connection. The 2 programs run on different hosts, that don't trust each other and the server runs as root so can't write to the client machines file system. Also, the file should be owned by the user running the client. I tried to write a little function to transfer the data back to the client in small chunks. I get the the correct number of bytes of data, but it is all blank. (I know the file is correct on the server side) What am I doing wrong in sending back the data? Thanks for help Peter Richardson Code snippet to follow. /* Client Code */ @protocol serverMethods - (int)send:(char *) file data: dataBlock address: (int)start; - (void)remove:(char *) file; - (oneway void)stopProcesss; @end /* assume connection made */ filenum = open ([[SavePanel new] filename], O_WRONLY | O_TRUNC | O_CREAT, 0666); if (filenum != -1) { dataBlock = [[NXData alloc] initWithSize:SPOOLSIZE]; byteswritten = 0; while (successful && (bytesread = (int)[server send: outputFile data: dataBlock address: byteswritten]) > 0) { write (filenum, [dataBlock data], bytesread); byteswritten += bytesread; } close (filenum); [server remove: outputFile]; [NXConnection removeObject:dataBlock]; [dataBlock free]; /* Server Code */ @protocol serverMethods - (int)send:(char *) file data: dataBlock address: (int)start; - (void)remove:(char *) file; - (oneway void)stopProcess; @end @interface PrintController:Object <serverMethods> { } @end - (int)send:(char *) file data: dataBlock address: (int)start { int filenum; int bytesread; filenum = open (file,O_RDONLY,0777); lseek (filenum,start,0); bytesread = read (filenum, [(NXData *)dataBlock data],[(NXData *) dataBlock size]); close (filenum); return bytesread; } - (void)remove:(char *) file; { remove (file); }
From: mark_bessey@next.com (Mark Bessey) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep spec changes? Date: 6 Nov 1995 19:46:29 GMT Organization: NeXT Computer, Inc. Message-ID: <47loml$g9n@news.next.com> References: <47lbt9$4ff@cisun2000.unil.ch> (Note: I'm not directly involved with the OPENSTEP standardization effort. My answers here represent my best understanding of what's going on, not an official statement from NeXT) Sean Hill writes > > I'm wondering if anyone knows if there will be any revisions to the > OpenStep spec from its current state. Yes, the OPENSTEP specification will undoubtedly be revised as time goes by: OPENSTEP 1.0, 2.0, etc...I'd also expect that the current spec will be re-released, minus the typos and errors, after a few more details are worked out (see below). > Also, does NeXT really expect that someone would be able to implement an > NSCStringText object from their description? Including properly using > their freakish (sorry) internal structures? Actually, NeXT doesn't expect anyone to duplicate any of the classes in OPENSTEP from the specification alone. That's why we will provide a reference platform (NEXTSTEP 4.0), and a compliance test suite. I hope that eventually the published spec will be sufficient to implement OPENSTEP, but we're many man-months worth of effort away from that, and at this point, implementing the specification is a much higher priority than documenting it. > It seems like parts of the OpenStep spec were really designed for those > with source code from NeXT. That's *exactly* who it was written for (i.e. Sun). The current specification document is more of a guide to the OPENSTEP API than a comprehensive Specification. I believe that the idea was to have the spec available, in some form, before the implementations were. > How about an object for file access? I believe NeXT's version of OPENSTEP will contain an extension (NSFileManager?) for dealing with files. Unfortunately, this probably won't be available in Sun's OPENSTEP (at least in the first version). > Also there are things cited by the specification which are missing, i.e. > various file formats, archiving streams, and constants. This is a known issue. NeXT is working with Sun to ensure a high degree of interoperability in these areas. I expect they'll eventually get added into the spec. > If the current specification is _the_ final which anybody would have to > implement I can't see that OpenStep will be terribly compatible across > implementations. Any implementation of OPENSTEP has to pass the compliance tests before it can use the OPENSTEP trademark. This should weed out most of the gross incompatibilities. > That is, unless everyone writing an implementation agrees to fill in > the holes together. That's the current plan. You can, of course, count on a high degree of compatibility between NeXT's OPENSTEP products (OPENSTEP/Mach and OPENSTEP/NT). > Thanks for any info. > -Sean > --- > Sean L. Hill Research in Computational Neuroscience > Institut de Physiologie E-mail: Sean.Hill@iphysiol.unil.ch > Rue du Bugnon, 7 Work: ++41 021 692.5516 > CH-1005 Lausanne SWITZERLAND Fax: ++41 021 692.5505 Hope this helped. -- Mark Bessey NeXT Computer, Inc Software Quality Assurance -->I DON'T SPEAK FOR NeXT <--
From: johnam@datastorm.com (John A. Maier) Newsgroups: comp.sys.next.programmer Subject: GCC precompiled for NeXT Intel Date: 2 Nov 1995 22:53:11 GMT Organization: Datastorm Technologies Inc. Message-ID: <47bi4n$i4g@beta.datastorm.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=ISO-8859-1 Where can I get gcc precompiled for NeXT Intel. I have NS 3.3 but no compilers to compile gcc. What a chicken and the egg problem. I can even provide a FTP site to upload to (or download from if I get it) thanks jam *************************************************************************** * John A. Maier * Research and Development * * E-mail: johnam@datastorm.com * Datastorm Technologies Inc. * * * Procomm Plus for Windows and DOS * * * (314) 443-3283 * ***************************************************************************
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer,comp.sys.next.hardware Subject: Re: Binary data file IO error Date: 6 Nov 1995 20:24:11 GMT Organization: Sense Networking Seattle (www.oz.net) Message-ID: <47lqtb$51i@emerald.oz.net> References: <47kk0f$i8m@pluto.lbs.lon.ac.uk> ivo@next.lbs.lon.ac.uk (Ivo Welch) wrote: > You need a little routine instead (the same applies to int's, etc): > > static float inline getfloat(FILE *fin) { > float f; > ((char *)&f)[3]= getc(fin); > ((char *)&f)[2]= getc(fin); > ((char *)&f)[1]= getc(fin); > ((char *)&f)[0]= getc(fin); > return f; > } Careful!! This assumes that a float is 4 bytes in size which isn't necessarily true on all systems. And according to the on-line Portability Guide: "Some processors modify the value of a floating-point number if that value is invalid, so the swap functions for floating-point values can't simply return float or double." NeXT has provided all sorts of byte-swapping functions which are discussed in the Portability Guide. -- Art Isbell NeXT & MIME Mail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: charlie@why.az.stratus.com (Charles_Spitzer) Newsgroups: comp.sys.next.programmer Subject: Re: Oracle DBKit adaptor question Date: 6 Nov 1995 20:39:52 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <47lrqp$out@transfer.stratus.com> References: <47hdj4$l4h@pravda.aa.msen.com> In article <47hdj4$l4h@pravda.aa.msen.com> amf@ntt.com (Alan Frabutt) writes: > Hello, > I'm looking for documentation describing what I need to do to use > EOModeller and DBKit with an ORACLE server on another machine. Don't I > need to tell the adaptor what port number the listener is on at the > server? I have access to a Sybase server as well. > > In both cases, Sybase and Oracle, when I enter the "intuitively obvious" > choices into the login panels, I get beeped at, and the login panel > returns, but no additional error or informational messages appear. > > Any help is vastly appreciated! > > Alan Frabutt -- amf@ntt.com, alanf@comshare.com see NextAnswers 1897 -- Charles Spitzer charlie@az.stratus.com Customer Assistance Center Stratus Computer, Inc. Phoenix, AZ 85018
From: scott@nacm.com Newsgroups: comp.sys.next.programmer Subject: Problems with DO Date: 7 Nov 1995 00:15:31 GMT Organization: Nicholas|Applegate Capital Management, San Diego, CA Message-ID: <47m8f3$fc2@nacm.com> Summary: recieve send time out Keywords: DO, 11012, 11013 Hi, I'm using a PDO server running on a sun (SunOS Release 4.1.4) and am currently having many problems. It seems that after a certain amount of time clients can't connect. The not connecting is on a per machine basis. One person may be able to connect, and another may not. What happens is that I send NXConnection a connectionToName:onHost: message and it returns a valid connection (isValid even returns TRUE), at any point after that if I try to message the returned proxy with anything, it raises with errno 11012, send timed out...Again, this only happens to some machines after they've been running for a while, it doesn't happen to all machines and is never consistent as to when it will happen. If I reset the machine the problem is happening on, it'll go away. To me, it seems that the problem may lie with nmserver, and that for some reason both sides are maintaining bogus connection information. Any suggestions, help, would be great. Thanks, -Scott Violet (scott@nacm.com)
From: marco@sentenext1.epfl.ch (Marco Scheurer) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep spec changes? Date: 7 Nov 1995 08:27:12 GMT Organization: Ecole Polytechnique Federale de Lausanne Message-ID: <47n590$h57@info.epfl.ch> References: <47lbt9$4ff@cisun2000.unil.ch> <47loml$g9n@news.next.com> mark_bessey@next.com (Mark Bessey) wrote: > I believe NeXT's version of OPENSTEP will contain an extension > (NSFileManager?) for dealing with files. Unfortunately, this probably > won't be available in Sun's OPENSTEP (at least in the first version). Extensions !? Good idea to move forward, but does this mean, for the OPENSTEP developer using the "reference platform (NEXTSTEP 4.0)", a choice between using nice, powerful extensions, or being OPENSTEP compatible? And what about the first version of OPENSTEP for NT? Will these extensions be available as a separate product? There are already nice parts of NS (the 3DKit for instance) not part of OPENSTEP. The more there is, the more difficult it will be to write OPENSTEP compatible apps. Please make extensions from NeXT, Sun and others available to OPENSTEP. Isn't it what ObjectWare is all about? marco --- Marco Scheurer (marco@sente.epfl.ch, NextMail welcome) Sen:te http://sente.epfl.ch/ Parc Scientifique EPFL CH-1015 Lausanne Switzerland
From: Sebastian Niesen <sniesen@imib.rwth-aachen.de> Newsgroups: comp.sys.next.programmer Subject: Re: GCC precompiled for NeXT Intel Date: 7 Nov 1995 10:29:31 GMT Organization: NaixT - The NEXTSTEP Usergroup Aachen, Germany Message-ID: <47nceb$aa1@news.rwth-aachen.de> References: <47llfj$lp@beta.datastorm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! The problem is: even if you get hold of a gcc for NSfIP, you still don't have the include files, which are (at least a good lot of them) commercial. Sebastian _______________________________________________________________________________ Sebastian Niesen sniesen@pool.informatik.rwth-aachen.de Student Of Computer Science sniesen@imib.rwth-aachen.de RWTH Aachen http://www-users.informatik.rwth-aachen.de/~sniesen
From: Bernhard Scholz <scholz@informatik.tu-muenchen.de> Newsgroups: comp.sys.next.programmer Subject: Re: GCC precompiled for NeXT Intel Date: Tue, 7 Nov 1995 16:16:08 +0100 Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <Pine.HPP.3.91.951107161259.10745B-100000@hphalle6a.informatik.tu-muenchen.de> References: <47llfj$lp@beta.datastorm.com> <47nceb$aa1@news.rwth-aachen.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <47nceb$aa1@news.rwth-aachen.de> On 7 Nov 1995, Sebastian Niesen wrote: > Hi! > > The problem is: even if you get hold of a gcc for NSfIP, you still don't have > the include files, which are (at least a good lot of them) commercial. Yes, but: If I own NS Dev 3.2 and want to use the new gcc from 3.3 , where can I get it? And by the way, I never was able to use ObjectiveC on another platform than NeXT! Wasn't there a deal that NeXT was allowed to use gcc and GNU got the ObjectiveC stuff (ok, you can compile it, but you don't have the runtime library available, do you? Please point me to a source! Thanks in advance, Boerny. -- Bernhard Scholz (IRC: Boerny) scholz@informatik.tu-muenchen.de http://peanuts.leo.org/ scholz@ve1.rm.op.dlr.de http://www.leo.org/~scholz/
From: barclay@king.trs.ntc.nokia.com (Alan Barclay) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: NS 4.0 Date: 7 Nov 1995 12:55:32 GMT Organization: The Electric Scribe Co. Ltd. Message-ID: <47nl04$ce3@axl02it.ntc.nokia.com> Keywords: MACH, BSD Hi, Anyone of you who is using NS 4.0 ... Can you tall which version of MACH it is based on ? Is it MACH 3.0 or still a MACH2.0/2.5 Hybrid? Can you tell which version of BSD it is based on ? Thanks Alan. -- Alan Barclay The Electric Scribe Co. Ltd. alan@escribe.co.uk
From: wkearney@access5.digex.net (Bill Kearney) Newsgroups: alt.comp.shareware,alt.comp.shareware.programmer,alt.msdos.programmer,comp.os.ms-windows.programmer,comp.os.msdos.programmer,comp.os.os2.programmer,comp.unix.sco.programmer,comp.sys.atari.programmer,comp.sys.newton.programmer,comp.sys.next.programmer,comp.sys.next.software,comp.sys.amiga.programmer,comp.sys.apple2.programmer,rec.games.programmer Subject: Re: Shareware Author Listing Followup-To: alt.comp.shareware,alt.comp.shareware.programmer,alt.msdos.programmer,comp.os.ms-windows.programmer,comp.os.msdos.programmer,comp.os.os2.programmer,comp.unix.sco.programmer,comp.sys.atari.programmer,comp.sys.newton.programmer,comp.sys.next.programmer,comp.sys.next.software,comp.sys.amiga.programmer,comp.sys.apple2.programmer,rec.games.programmer Date: 7 Nov 1995 14:27:09 GMT Organization: The Novanto Group, Baltimore, MD USA Message-ID: <47nqbt$2c9@news3.digex.net> References: <468etm$bui@news-e1a.megaweb.com> <46b1u9$m26@news.vanderbilt.edu> <DHHIon.7xu@gateway.platinum.com> Pohl Longsine (pohl@vtdev.vt.platinum.com) wrote: : katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) wrote: : : >Todd F. Herschberg (herschberg@gnn.com) wrote: : >: I am attempting to create a freeware listing of : >: shareware authors and how to contact them. If you are : >: a shareware author : : >For everyone who doesn't want to wait for that try: : >http://www.leo.org/ : : Actually, that site involves a considerable wait. It's one of the : slowest I've ever seen. I think I'd rather wait for Todd. You're not kidding. It's overseas (well, at least from the US anyway). traceroute to hpsystem1.informatik.tu-muenchen.de (131.159.0.176), 30 hops max, 40 byte packets 1 manubrium.digex.net (205.197.245.1) 2 ms 2 ms 2 ms 2 gladiolus.digex.net (206.205.242.2) 2 ms 2 ms 2 ms 3 frontal.digex.net (206.205.247.2) 3 ms 3 ms 3 ms 4 mae-east-rt2.es.net (192.41.177.252) 6 ms 7 ms 8 ms 5 * * pppl2-umd2.es.net (134.55.12.161) 36 ms 6 ipgate2.win-ip.dfn.de (192.188.33.10) 129 ms * 118 ms 7 Duesseldorf5.win-ip.dfn.de (193.174.74.205) 161 ms 135 ms * 8 * * bro1c1.LRZ-Muenchen.DE (188.1.132.191) 2643 ms 9 129.187.9.245 (129.187.9.245) 1835 ms * * 10 bro2cz.lrz-muenchen.de (129.187.4.254) 1867 ms * 2521 ms 11 inforouter.informatik.tu-muenchen.de (129.187.220.1) 2014 ms 1857 ms * 12 * * hpsystem1.informatik.tu-muenchen.de (131.159.0.176) 1488 ms It looks like that jump at #8 is the first of the bottlenecks. -- | Bill Kearney | wkearney@access.digex.net | copyright 1995 | Butler, MD | http://access.digex.net/~wkearney/ | W.G.Kearney | 410-239-0060 | ftp://ftp.digex.net/pub/access/wkearney | This random quote brought to you by the fortune program: Weiner's Law of Libraries: There are no answers, only cross references.
From: stieber@Informatik.TU-Muenchen.DE (Christian Stieber) Newsgroups: alt.comp.shareware,alt.comp.shareware.programmer,alt.msdos.programmer,comp.os.ms-windows.programmer,comp.os.msdos.programmer,comp.os.os2.programmer,comp.unix.sco.programmer,comp.sys.atari.programmer,comp.sys.newton.programmer,comp.sys.next.programmer,comp.sys.next.software,comp.sys.amiga.programmer,comp.sys.apple2.programmer,rec.games.programmer Subject: Re: Shareware Author Listing Date: 7 Nov 1995 19:37:44 GMT Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <47oci8$5nn@sunsystem5.informatik.tu-muenchen.de> References: <468etm$bui@news-e1a.megaweb.com> <46b1u9$m26@news.vanderbilt.edu> <DHHIon.7xu@gateway.platinum.com> <47nqbt$2c9@news3.digex.net> Bill Kearney (wkearney@access5.digex.net) wrote: > : >For everyone who doesn't want to wait for that try: > : >http://www.leo.org/ > : > : Actually, that site involves a considerable wait. It's one of the > : slowest I've ever seen. I think I'd rather wait for Todd. > You're not kidding. It's overseas (well, at least from the US anyway). Well, it's in munich/germany. It's blazingly fast here :) Well, it ought to be. Some of the leo units are local here :) Christian -- // Christian Stieber Stieber@Informatik.TU-Muenchen.de \// Certified Amiga Developer http://www.leo.org/~stieber/ -------------------------------------------------------------------------- Nobody, just nobody
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Prolog on NeXT? Message-ID: <DHoCIF.Cp3@udcf.gla.ac.uk> From: root@music.gla.ac.uk Date: Tue, 7 Nov 1995 13:08:37 GMT Sender: news@udcf.gla.ac.uk (News) Organization: Glasgow University Computing Service Keywords: prolog, next Is anyone out there using a recent version of Prolog on NEXTSTEP? I've had a search around the archives and there was some info from way back in 1989 on CProlog1.5, SBProlog and Quintus. I get the impression that these are probably extremely out of date now. We're needing to run Prolog for a course starting next year. Any hints, patches, binaries, source, info or anything welcome. Many thanks, Stephen Brandon Systems Administator, Department of Music, e-mail: sbrandon@music.gla.ac.uk 14 University Gardens, (NeXT mail welcomed) University of Glasgow, Tel: +44 (0)141 330 6065 Glasgow. Fax: +44 (0)141 307 8018
From: woo@ornl.gov (John W. Wooten) Newsgroups: comp.sys.next.programmer Subject: Re: Binary data file IO error Date: 7 Nov 1995 17:02:41 GMT Organization: Oak Ridge National Lab, Oak Ridge, TN Distribution: world Message-ID: <47o3fh$cnh@stc06.ctd.ornl.gov> References: <DHJzx6.3IE@info.physics.utoronto.ca> In article <DHJzx6.3IE@info.physics.utoronto.ca> liu@turbo.physics (Wei Liu) writes: > Anyone knows what could explain the following, > > I found I couldn't read those binary data files produced on other unix > platforms by my intel Next workstation. To test this, I wrote one code to > produce the data, the other reading the data. > I'm dealing with somewhat the same problem. I do know that the byte order is reversed on different platforms. I have a dataset produced on a PC in binary format that contains integer and real*4 data. I have been able to decode the integer part by using int swapLH(i) unsigned i; { unsigned bytes[4], ret_val; bytes[0] = (i & 0xff); bytes[1] = (i & 0xff00) << 8; bytes[2] = (i & 0xff0000) >> 8; bytes[3] = (i & 0xff000000) >> 24; ret_val = bytes[3] ^ bytes[2] ^ bytes[1] ^ bytes[0]; } I then call i = swapLH(j); to convert the readin j to an integer on my NeXT. I'm still having problems on the floating point however. -- - - - - - - - - - J. W. Wooten
From: icardena@sumter.cso.uiuc.edu (Ian Patrick Cardenas) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: GNU Common Lisp 2.1 (and PCL) Date: 7 Nov 1995 17:31:56 GMT Organization: University of Illinois at Urbana Message-ID: <47o56c$1cm@vixen.cso.uiuc.edu> Keywords: gcl pcl lisp clos Has anyone successfully compiled gcl2.1 and pcl-gcl-2.1 under NS3.2? It doesn't look like it's been updated since NS2.1 or so and I'm having problem figuring out the source (you'd think they might comment their code, eh? *sigh*). If you could provide me with patches to the source or help out in compiling I would appreciate it. I obtained the source from ftp://ftp.cli.com/pub/gcl/ Thanks, -- Ian P. Cardenas (icardena@uiuc.edu) CCSO NeXT System Administrator, CCSO Sites Technical Support "Are they as successful as who,Microsoft? Only drug lords from South America are as successful as Microsoft." -Tim Byars, on the success of NeXT Computer, Inc.
Newsgroups: comp.sys.next.programmer From: klett002@maroon.tc.umn.edu (James P. Klett) Subject: Programming question Message-ID: <DHopyH.BKz@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: UofM Alumni Date: Tue, 7 Nov 1995 17:56:48 GMT Ok ObjC Guru, Does anyone know hoe this might be done?? I have a window with some buttons in it. When the user clicks on a certain buton, I want to drop the window down to un-cover a row of hidden buttons that are previously not visible because they are below the bottom border of the window. I do the following:: NX_HEIGHT ( &newWindowFrame ) += offset; // Number of pixels needed [myWindow placeWindowAndDisplay: &newWindowFrame ]; This code causes the window to grow from the top, and if I set all of the buttons to stretch from the bottom, then they are all pulled up ok but this does not work for two reasons. 1. When I try to return the window to its original size, the internal buttons do not return to there original locations, so i get a mess. 2. I dont want the window to grow from the top and have all of it's internal buttons move up. I want it to "Drop Down" and then when the user is done, to close back up to the original size. Any ideas?? ___ ___....-----'---'-----....___ ========================================= ___'---..._______...---'___ (___) _|_|_|_ (___) \\____.-'_.---._'-.____// klett002@maroon.tc.umn.edu
From: seanl@carmi.cs.umd.edu (Sean Luke) Newsgroups: comp.sys.next.programmer Subject: Re: Avoid conflicts - Class name convention Date: 7 Nov 1995 19:15:36 GMT Organization: University of Maryland, College Park Message-ID: <47ob8o$6ou@hecate.umd.edu> References: <9510301416.AA00361@conextions.com> <erazu962o.fsf@steffi.accessone.com> <47dcpk$4k9@solaris.cc.vt.edu> Since they're my initials, I claim SOL_... :-) Actually, though, I think even a bigger problem than class name clashes is the issue of category method name clashes. For example, person X adds a category to Object that has a method called Foo, but in another category of Object, in some other kit I'd like to use, Foo is ALSO used for a completely different method function. It's a nightmare. Sean Sean Luke U Maryland at College Park seanl@cs.umd.edu http://www.cs.umd.edu/users/seanl/
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: ld: multiple definitions of symbol... Date: 7 Nov 1995 19:50:58 GMT Organization: Information Technology Solutions, Inc. Message-ID: <47odb2$esq@news.its.com> References: <47bo8j$dcd@news.CNRI.Reston.Va.US> rmasse@cnri.reston.va.us (Roger E. Masse) wrote: > When linking, on my NS 3.3 Intel box, I recently noticed /bin/ld > complains when a symbol (such as _dup2) is defined in one of your .o's > and in /lib/libsys_s.a. I get an error like: > > ld: multiple definitions of symbol _dup2 > ./Python/libPython.a(dup2.o) definition of _dup2 in section > (__TEXT,__text) > /lib/libsys_s.a(dup2.o) definition of absolute _dup2 (value 0x500231f) > > Is there any way to configure the linker to use the first symbol it > encounters from the files ordered on the command line? The "-m" option to ld will do the trick. However, you'd be better off removing the local redefinition or adding something like a "#define dup2 my_dup2" some place global to your source code. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: johnz@shellx.best.com (John Zollinger) Newsgroups: comp.sys.next.programmer Subject: Re: Binary data file IO error Date: 7 Nov 1995 11:49:01 -0800 Organization: Best Internet Communications Distribution: world Message-ID: <47od7d$4c3@shellx.best.com> References: <DHJzx6.3IE@info.physics.utoronto.ca> <47o3fh$cnh@stc06.ctd.ornl.gov> [Stuff about byte swapping deleted] For lots of good information about this problem (along with pointers to the NEXTSTEP functions that deal with it) take a look at the online document: /NextLibrary/Documentation/NextDev/Concepts/PortabilityGuide.rtf John Zollinger (johnz@best.com) ProActive Consulting, Inc.
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Tue, 7 Nov 95 13:35:46 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9511071235.AA00773@flexus> Subject: -[View invalidate::] I wrote: > Does anyone know what -[View invalidate::] does? I don't > feel like disassembling it... Have you used it > successfully, at least? > Very naively, I'd like to use it as a restricted -update, > assuming that it relates to -update as -display:: relates > to -display, even if not in a scrolling situation (!). > Is that a safe assumption? Well, it does not work for me > (3.2), and I'd like to know why not. > Please e-mail; I'll summarise. -invalidate:: just recursively distributes itself over its subviews, clipping the rectangles in its NXRect array argument, and skipping subviews that obviously don't intersect with those rectangles. Some comments: 1. The documentation says ``Invalidates the View and its subviews for later display.'', but this is not true: it does absolutamente nothing at all, other than distributing itself over its subviews. 2. The documentation does not prohibit you from sending this message yourself, but then you ought to know that it probably can only handle either 1 or 3 rectangles, not more (which the documentation doesn't specify). 3. The documentation does not specify that you should invoke [super invalidate::] (to distribute those rectangles over the subviews), and that you should only record what areas of the drawSelf:: stuff are affected (otherwise there will be O(n^2) -drawSelf:: messages instead of just O(n)). 4. A related issue is that the documentation of -[Clipview setDisplayOnScroll:] (-[ScrollView's setDisplayOnScroll:] merely invokes its equivalent in the content view, which is a ClipView) says ``If flag is NO, the ClipView is marked as invalid but isn't displayed.''. But I've tested what happens if the ScrollView is sent a -displayIfNeeded message (which recursively descends the View hierarchy), and this does not do anything. Criticism: Even if all these things were documented, there is still the question of what a poor programmer is supposed to do (let's assume a sensible programmer, who does not follow the hack-away-until-no-bugs-appear style). Does this situation make sense to anyone (I thought I should ask before letting the axe fall), preferably with a programming example? Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: stefanos@Vir.com (Stefanos Kiakas) Newsgroups: comp.sys.next.programmer Subject: Need help initializing NXStringTable from a memory stream. Date: 7 Nov 1995 16:49:52 -0500 Organization: Communications Vir, Internet Access Montreal. Message-ID: <47oka0$43k@Vir.com> Hi, I'm having trouble initializing a NXStringTable programatically. Basically this is what I do. I open a memory stream, put the data (formated for a string table) into it, with NXPutc(), then reposition the pointer with NXSeek(), and finally send the message readFromStream: to the NXStringTable object. (NS3.2 DEV, NS3.3 USER, INTEL ) Here's some sample code strBfr is memory buffer allocated with malloc() and strBfrSize is the size in bytes. ------------------------------------------------------------------- NXStream *aStream; NXStringTable *aStringTable; int byteCount; aStringTable = [[NXStringTable alloc] init]; aStream = NXOpenMemory( NULL, 0, NX_READWRITE); /*---------------------------------------------------------------------- Copy data into the stream. ----------------------------------------------------------------------*/ for( byteCount=0 ; byteCount < strBfrSize; byteCount++ ) NXPutc( aStream, strBfr[byteCount] ); NXSeek( aStream, 0, NX_FROMSTART ); [aSrtingTable readFromStream: aStream]; NXCloseMemory( aStream, NX_FREEBUFFER ); ---------------------------------------------------------------------- What am I doing wrong? How else could I initialize the NXStringObject without reading a file? Any pointers to example code will be appreciated. Thank you in advance, stef
From: william@beirut.berkeley.edu (Andy Grosso) Newsgroups: comp.sys.next.programmer Subject: WriteUp API ? Date: 8 Nov 1995 00:56:45 GMT Organization: Worm-Eaters Anonymous Message-ID: <47ov8d$iil@agate.berkeley.edu> Hi. I was just wondering if anybody has successfully used the WriteUp DO API interface ? We're having problems even making the connection. Does anybody know how to tell what applications have even registered as roots ? cheers, andy
Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs From: bfbaker@netcom.com (Technom Enterprises Inc) Subject: Help with EOF for PDO Message-ID: <bfbakerDHp5K4.GxJ@netcom.com> Organization: Operations Technologies, LLC. Date: Tue, 7 Nov 1995 23:36:04 GMT Sender: bfbaker@netcom4.netcom.com Greetings, We've in the process of converting our product to PDO, and we're having difficulties getting EOF to function. Any attempt to create an EODatabase object, via initWithAdaptor, initWithModel, or indirectly by creating an EODatabaseDataSource, results in an uncaught exception (100003 or 100005). This error doesn't tell me much about what the problem might be, and the docs are less helpful yet. If anyone has experience with EOF for PDO, or better yet, would be willing to send me an example of code that works (including makefiles to build it correctly), I'd like to hear from you. Thanks in advance, Brian Baker. bbaker@technom.com FYI: Our system looks like: HP 715/64 HP-UX 09.05 PDO 3.0 release EOF Server 1.1 Using the Sybase Adaptor
From: toddh@voicenet.com (Todd F. Herschberg) Newsgroups: alt.comp.shareware,alt.comp.shareware.programmer,alt.msdos.programmer,comp.os.ms-windows.programmer,comp.os.msdos.programmer,comp.os.os2.programmer,comp.unix.sco.programmer,comp.sys.atari.programmer,comp.sys.newton.programmer,comp.sys.next.programmer,comp.sys.next.software,comp.sys.amiga.programmer,comp.sys.apple2.programmer,rec.games.programmer Subject: Re: Shareware Author Listing Date: Tue, 07 Nov 1995 20:13:51 GMT Organization: Voicenet - Internet Access - (215)674-9290 Message-ID: <47oe7r$23i@news.voicenet.com> References: <468etm$bui@news-e1a.megaweb.com> <46b1u9$m26@news.vanderbilt.edu> OK, Folks... I'm getting ready to wrap up version #1 of the Shareware Author List. If you would like to be included in it, this is your last chance (I'm picking an arbitrary deadline of November 15th, 1995). Again, the format is as follows: Author Name: Company: Products: E-Mail address: Mailing address: Business Phone: Types of payment accepted: Web Page: Where to find your programs: Platform: Description: Also, please note that I have moved. The new address to respond to is toddh@voicenet.com Thank you for your responses. I hope to get the list out as soon ass possible. Todd
From: jim@fh-dirac (Jim Phillips) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Re: Prolog on NeXT? Date: 8 Nov 1995 04:09:48 GMT Organization: University of Illinois Message-ID: <47paic$m0o@vixen.cso.uiuc.edu> References: <DHoCIF.Cp3@udcf.gla.ac.uk> ReplyTo: jcphill@uiuc.edu root@music.gla.ac.uk wrote: > Is anyone out there using a recent version of Prolog on NEXTSTEP? I've had a search around the archives and there was some info from way back in 1989 on CProlog1.5, SBProlog and Quintus. I get the impression that these are probably extremely out of date now. We're needing to run Prolog for a course starting next year. > Any hints, patches, binaries, source, info or anything welcome. Check out BinProlog at ftp://clement.info.umoncton.ca/BinProlog/. Executable licenses for NEXTSTEP are free (I think). Source costs money. -Jim Phillips
From: Jim Armes <armes@tds.com> Newsgroups: comp.sys.next.programmer Subject: Re: use of textDidEnd:endChar: with fetch Date: Wed, 08 Nov 1995 00:09:42 -0500 Organization: Trident Data Systems Message-ID: <30A03B96.5497@tds.com> References: <47dtb0$2n2@hpuniv.univ-lr.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Etienne Gourdon wrote: > So, I tried to do something like this : > > - textDidEnd: sender endChar: (unsigned short) whyEnd { <code deleted> > > The problem is that there is an infinite loop due to the use of the fetch > method (which invokes endEditing). > Thanks for your answer. It might be better to try looking at the delegate methods for validation in EOController (I assume you are associating your field with a controller.) A useful method (from memory, so don't count on the exact name) controller: willSaveEdits: toObject: I use this method to do most of my minor-entity validation. Jim Armes armes@tds.com
From: paul@plsys.co.uk (Paul Lynch) Newsgroups: comp.sys.next.programmer Subject: Re: Need help initializing NXStringTable from a memory stream. Date: 8 Nov 1995 09:20:52 GMT Organization: P & L Systems, Ltd. Message-ID: <47pspk$6p8@ironhorse.plsys.co.uk> References: <47oka0$43k@Vir.com> In article <47oka0$43k@Vir.com> stefanos@Vir.com (Stefanos Kiakas) writes: > I'm having trouble initializing a NXStringTable programatically. > Basically this is what I do. I open a memory stream, put the data > (formated for a string table) into it, with NXPutc(), then reposition the > pointer with NXSeek(), and finally send the message readFromStream: to the > NXStringTable object. (NS3.2 DEV, NS3.3 USER, INTEL ) What's wrong with using the read:/write: methods? For example: NXTypedStream *stream; NXStringTable *aStringTable; aStringTable = [[NXStringTable alloc] init]; stream = NXOpenTypedStreamForFile("stringTableArchive", NX_READONLY); if (stream) { [aStringTable read:stream]; NXCloseTypedStream(stream); } Paul -- Paul Lynch (NeXTmail) paul@plsys.co.uk Tel: (01494)432422 P & L Systems Fax: (01494)432478 http://www.plsys.co.uk/~paul
From: traynor@newton.texel.com (Christopher J. Traynor) Newsgroups: comp.sys.next.programmer Subject: Strange compiler generated code Date: 8 Nov 1995 10:50:55 GMT Organization: TexelNet Internet Services Message-ID: <47q22f$n4o@newton.texel.com> All: Has anyone heard of a problem with the NSIntel3.3 compiler generating the wrong code where registers are concerned? I have been trying to solve a problem with a library where one of the methods within a class is being compiled wrong. One of the local variables in a method is being assigned to the same register as the argument to the method. The two variables are not even remotely used together in the code itself, but no matter what I try to do, the argument (being of type id) gets corrupted by the operation of the method. This is not the code itself, but it illustrates what is going on: - foo:anObject { id bar ; int x ; int y ; bar = [[List alloc] init] ; x = [anObject doSomethingWith:y] ; } Although the method is more complicated than this, I can assure you that the interaction between the anObject argument and the bar variable is nowhere to be found and yet the compiler is merging the two of them. Now when bar gets assigned to the new instance of the List class, anObject is corrupted because they reside in the same register. Has anyone seen this or does anyone know about a problem like this? Thanks in advance for any light shed on this one... Cheers, Chris
From: Sebastian Niesen <sniesen@imib.rwth-aachen.de> Newsgroups: comp.sys.next.programmer Subject: Re: GCC precompiled for NeXT Intel Date: 8 Nov 1995 15:07:22 GMT Organization: NaixT - The NEXTSTEP Usergroup Aachen, Germany Message-ID: <47qh3a$cd9@news.rwth-aachen.de> References: <47llfj$lp@beta.datastorm.com> <47nceb$aa1@news.rwth-aachen.de> <Pine.HPP.3.91.951107161259.10745B-100000@hphalle6a.informatik.tu-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: scholz@informatik.tu-muenchen.de Hi Bernhard! I you've got the NS3.2 Developer, you can compile anything for Intel and 68k. Just grab the sources of gcc somewhere (you might use an even newer version than NeXT itself does. I once had compiled a gcc 2.6.3 and it worked just fine.) BEWARE: Compiling gcc on a slow machine (486 or 040/25) takes quite some time. Sebastian _______________________________________________________________________________ Sebastian Niesen sniesen@pool.informatik.rwth-aachen.de Student Of Computer Science sniesen@imib.rwth-aachen.de RWTH Aachen http://www-users.informatik.rwth-aachen.de/~sniesen
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US - IL - Chicago - NeXT Developers - Major Project - to 80k+ Date: 8 Nov 1995 07:12:13 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <47q6qt$6rh@newsbf02.news.aol.com> My client is currently staffing up for a large NeXT development project in Chicago. The company is a Fortune 150 corporation with over 1 billion dollars in assets, and is fully commited to NeXT development on a long term basis. The development team will work out of new offices located 'in the loop'. You will be responsible for internal development of trading and/or commodity systems in a state-of-the-art NeXT/EOF/Sybase environment. Candidates must have a strong background in NeXTSTEP development, preferably with experience in any RDBMS. These are full-time career opportunities that offer an excellent starting salary, bonus, and a relocation package. My client will sponsor anyone that qualifies if you have an existing F1 or H1 visa. This client is NOT a bank located in Chicago!! Contact: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX)
From: shill@iphysiol.unil.ch (Sean Hill) Newsgroups: comp.sys.next.programmer Subject: NSData subclassing Date: 8 Nov 1995 16:13:44 GMT Organization: University of Lausanne CH (Switzerland) Message-ID: <47qkvo$qa9@cisun2000.unil.ch> I am trying to make a subclass of NSData which would contain its own NSData object as described in the Class Cluster section of Introduction to Foundation. However I run into a strange problem with the archiving. Everything else seems to work fine. Essentially it seems I can't stop NSData from writing the bytes in it's own format (archived chars). Since in my subclass of NSData all the data is of a specific type I would like to write it out using a machine independent and compact data format. I get both an archived NSData and my own array encoding in the resulting archive. Since I need to encode super I do the following: - (void)encodeWithCoder:(NSCoder *)coder { unsigned int count = [self count]; unsigned int length = [self length]; [super encodeWithCoder:coder]; [coder encodeObject:c_type]; [coder encodeValueOfObjCType:@encode(unsigned int) at:&count]; [coder encodeValueOfObjCType:@encode(unsigned int) at:&length]; [coder encodeArrayOfObjCType:[c_type cString] count:[self count] at:[valueData bytes]]; } - (id)initWithCoder:(NSCoder *)coder { void *bytes; unsigned int count; unsigned int length; self = [super initWithCoder:coder]; c_type = [[coder decodeObject] retain]; size = math_aligned_size([c_type cString]); [coder decodeValueOfObjCType:@encode(unsigned int) at:&count]; [coder decodeValueOfObjCType:@encode(unsigned int) at:&length]; bytes = malloc(length); [coder decodeArrayOfObjCType:[c_type cString] count:count at:bytes]; valueData = [[NSData dataWithBytes:bytes length:length] retain]; free(bytes); return self; } Thanks for any info. BTW This is for an OpenStep replacement of Storage which I will give away. Cheers- Sean
From: rragner@panther.vm.iastate.edu (Rod Ragner) Newsgroups: comp.sys.next.programmer Subject: Re: WriteUp API ? Date: 8 Nov 1995 17:19:35 GMT Organization: Iowa State University, Ames, Iowa Message-ID: <47qor7$gj0@news.iastate.edu> References: <47ov8d$iil@agate.berkeley.edu> In article <47ov8d$iil@agate.berkeley.edu> william@beirut.berkeley.edu (Andy Grosso) writes: > Hi. I was just wondering if anybody has > successfully used the WriteUp DO API > interface ? We're having problems even > making the connection. > > Does anybody know how to tell what > applications have even registered as roots ? > > cheers, > > andy > Andy, I have successfully modified several of our applications to create, edit and print WriteUp documents using the API. Did you set your default database to use the API? You must set the following default for each user using the Terminal application. dwrite WriteUp API_Enabled 1 To simplify my life I added the following code to the main controller of all of my applications which does the aforementioned dwrite everytime a user runs an application which uses the API. This was so that I never forget to do it when creating a new user (will not matter now). // Use a UNIX system call to enable the WriteUp Application Programming // Interface for the CaseLetter and SlantLetter subprojects. If the user // does not have the following default set, then selecting the Save button // in either a Case Letter or Slant Letter window will result in a // "spinning multi-color cursor from hell", requiring that the CaseView // application be killed! system("dwrite WriteUp API_Enabled 1"); I hope this helps. Please note that you should have a valid license to use most of the features that the API provides! [sure, you can create a new document, but if you can not save or print it, then why bother] If you do not have one, but are evaluating whether to purchase a license, then you might contact greg@afs.com and ask him if you could have a short-term evaluation license string (I did this then bought the product since it works so well). If you need further help, then jack@afs.com might be able to help you - he sure has been helpful to me! -- Rod Ragner, UNIX Systems Administrator/NEXTSTEP Application Developer Veterinary Diagnostic Laboratory, College of Veterinary Medicine, Iowa State University, 2630 Vet. Med. Bldg., Ames, Iowa 50011 Voice: (515) 294-4751, FAX: (515) 294-6961 or 3564, (NeXT Mail accepted) Email: rragner@stallion.vm.iastate.edu or stryder@iastate.edu
From: Mike Zemina Newsgroups: comp.sys.next.programmer Subject: NeXTStep automated test tools?? Date: 8 Nov 1995 18:12:03 GMT Organization: WilTel Message-ID: <47qrtj$bhp@gateway.wiltel.com> Do they exist? If so, could someone send me contacts? I have found NO automated tools that are or will ever be available on the NeXTStep platform. Mike Zemina mike.zemina@wcom.com
From: manish@math.uic.edu (Manish Shah) Newsgroups: comp.sys.next.programmer Subject: Help for Beginner NeXT Programemr Date: 8 Nov 1995 19:56:47 GMT Organization: University of Illinois at Chicago Message-ID: <47r21v$45he@tigger.cc.uic.edu> B A Hey everyone, I was wondering if someone can help me. I'm currently working on a small NeXTStep application to get familiar with NeXTStep programming, I know ObjectiveC, and am using NeXTStep Developer 3.3. I was wondering, after using INterface builder to build the interface, how can I implement all the "functions" I have put into the interface? I.E. For the function "List Names" for example <a button in the interface>, how do I go about connecting "List Names" with the object function "List Names"? Does anyone have any sample code or know anyplace I can get it that shows how to link all the functions in the interface with actual functions in the code so that the functions in the itnerface work properly? I hope this message is understandable, if you still have problems understanding, please ask. Please try to send email to me with an answer if possible, seeing I dont frequenet the newsgroups too much. Thank you very much Manish -- Manish M. Shah...... manish@babe.math.uic.edu http://www.math.uic.edu/~manish Chicago.. Home of the Manish
From: anderson@sapir.ling.yale.edu (Stephen Anderson) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Re: Prolog on NeXT? Date: 08 Nov 1995 21:53:04 GMT Organization: Dept. of Linguistics, Yale University Message-ID: <ANDERSON.95Nov8165304@sapir.ling.yale.edu> References: <DHoCIF.Cp3@udcf.gla.ac.uk> In-reply-to: root@music.gla.ac.uk's message of Tue, 7 Nov 1995 13:08:37 GMT >>>>> "Stephen" == root <root@music.gla.ac.uk> writes: In article <DHoCIF.Cp3@udcf.gla.ac.uk> root@music.gla.ac.uk writes: Stephen> Is anyone out there using a recent version of Prolog on Stephen> NEXTSTEP? I've had a search around the archives and there was Stephen> some info from way back in 1989 on CProlog1.5, SBProlog and Stephen> Quintus. I get the impression that these are probably extremely Stephen> out of date now. We're needing to run Prolog for a course Stephen> starting next year. Any hints, patches, binaries, source, info Stephen> or anything welcome. The XSB prolog system is available for free from SUNY-Stony Brook in ftp://ftp.cs.sunysb.edu/pub/XSB/XSB.tar.Z This is a reasonably full and recent extension of Edinburgh syntax Prolog. It works fine under NeXTstep (it's explicitly set up for NeXT, indeed, among other systems). Whether it will suit the needs of your class of not is something only you can determine, of course. --Steve Anderson
From: nurban@csugrad.cs.vt.edu (Nathan Urban) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Japanese on OpenStep/NEXTSTEP Date: 8 Nov 1995 14:15:24 -0500 Organization: Virginia Polytechnic Institute and State University Message-ID: <47qvkc$q2e@csugrad.cs.vt.edu> I want to develop an application that is able to display (and preferably input) Japanese text, and I am trying to look into the feasibility of this. I don't have the Japanized version of NEXTSTEP. The two main problems I see for NEXTSTEP are lack of Unicode and lack of fonts. The first problem will be solved with OpenStep. I'm not sure how you would work around that in regular NEXTSTEP, or if it's even possible. Even if I do wait until NS 4.0, there is still the font problem. I don't think that there are any free PostScript fonts for Japanese. I have seen some bitmap fonts out there. Is it possible to convert bitmaps fonts into NS PostScript fonts? I would normally expect it to look pretty cheesy, but I seem to recall reading that DPS uses ordinary bitmap fonts for normal point sizes anyway. Printing would be another matter.. but I have some software under Windows that uses 48x48 bitmap fonts, and they look suprisingly good on my laser printer. So maybe the font problem is solvable. So, any suggestions? (No, I don't want to involve X, either.) It seems that it would be pretty tough to display Japanese with a normal text object, because there are far more kanji than there are ASCII codes. Would it be necessary to resort to drawing bitmaps to a window? I assume this problem would go away with NS 4.0, and it would only be necessary to find a font. (P.S. Any pointers to Japanese-related software that runs under regular NEXTSTEP would also be welcome. I ran across an edict interface called NXJisho, but it was binary-only for M68K, and the author's e-mail address doesn't work..) -- ----------------------------------------------------------------------------- Nathan Urban | e-mail: nurban@mail.vt.edu Undergraduate {CS,Physics}, Virginia Tech | WWW: http://nurban.campus.vt.edu/ -----------------------------------------------------------------------------
From: Matt_Watson@next.com (Matt Watson) Newsgroups: comp.sys.next.programmer Subject: Re: NSData subclassing Date: 8 Nov 1995 21:46:15 GMT Organization: NeXT Computer, Inc. Distribution: usa Message-ID: <47r8f7$141@news.next.com> References: <47qkvo$qa9@cisun2000.unil.ch> In article <47qkvo$qa9@cisun2000.unil.ch> shill@iphysiol.unil.ch (Sean Hill) writes: [... question deleted ...] > Thanks for any info. BTW This is for an OpenStep replacement of Storage > which I will give away. > Why not use an NSArray of NSValue's to replace Storage? matt. -- Matt Watson Typist NeXT Computer, Inc.
From: "Paul T. Mobbs" <mobbster> Newsgroups: comp.sys.next.programmer Subject: C compiler for NS 3.0 Date: 8 Nov 1995 21:47:04 GMT Organization: University of California, Santa Barbara Message-ID: <47r8go$ldk@yuggoth.ucsb.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have NS 3.0 running on black hardware. All I really want is to be able to compile *something*! I have been working at this for the past 3 months. I ftp a prebuilt compiler, install it, and it yields a "Floating exception" if I simply execute it without supplying a file for compilation. If I do give it a file it usually just cats the #include files to the screen with the source code, and dies. I have tried three different builds of gcc from various places on the net. I don't have a Next Dev CD, or else I'd use that. If someone either knows where a 3.0 compatible compiler can be found, or if someone has a copy of gcc that is covered by the FSF License then maybe you could send it to me. I have all the includes, the assembler (as), the archiver (ar), and as far as I know they work. Do I have to have the linker to compile properly? If so, where is one, I know it's "ld" but I need a binary that runs under 3.0? I hate these chicken/egg compiler problems. I have the source for almost the full gnu system, but no compiler to build any of it with. What I ultimately need is to build a FORTRAN compiler, but I had hoped that by getting a functioning C compiler I could build FSF's "g77" (that's a F77 compiler, right?). Thanks for any help. PS I'm a college student (read non-profit), so any help in the way of NSDev 3.0 CDs will be greatly valued and appreciated, and not used for any monetary gain.
From: seanl@carmi.cs.umd.edu (Sean Luke) Newsgroups: comp.sys.next.programmer Subject: Pasteboard Owner Freed Date: 9 Nov 1995 00:28:01 GMT Organization: University of Maryland, College Park Message-ID: <47rhuh$fte@hecate.umd.edu> I've come across the following situation whilst fixing a bug in Resound (a sound app). It's a common situation in many apps, so even if you're not familiar with the SoundKit, perhaps you can still help me. A user in Resound can often close Sound windows and open new ones at will, so the following situation crops up: 1) I'll cut a sound from a NeXT SoundView. Either the SoundView or its associated Sound puts the information on the pasteboard and declares itself as the owner of the pasteboard. 2) I'll free the SoundView and its Sound. 3) I'll create a new sound and SoundView with some data. 4) I'll cut something from that SoundView. What happens now seems to be: the Pasteboard attempts to tell the old owner that a new owner is changing the data on the Pasteboard (pasteboardChangedOwner:) but the old Sound/SoundView pair has been freed. BANG! Resound keels over (message to a freed object). Surely there must be a mechanism for cutting and pasting without having to keep around all the objects that did the cutting and pasting throughout the life of the application! What am I doing wrong here? Sean Luke U Maryland at College Park seanl@cs.umd.edu http://www.cs.umd.edu/users/seanl/
Newsgroups: comp.sys.next.programmer,comp.lang.oberon,comp.object.logic,comp.lang.scheme,comp.lang.beta From: Bob Hathaway <75027.1663@compuserve.com> Subject: CALL FOR PAPERS - MAJOR NEW ONLINE JOURNAL - SIGS/BOB HATHAWAY Message-ID: <DHrGCL.65D@midway.uchicago.edu> Sender: news@midway.uchicago.edu (News Administrator) Organization: SIGS Date: Thu, 9 Nov 1995 05:24:21 GMT CALL FOR PAPERS =============== OBJECT CURRENTS ONLINE HYPERTEXT JOURNAL NEW MONTHLY OBJECT-ORIENTED FORUM Editor: Bob Hathaway Publisher: SIGS Premier Issue: January 1996 Jan Articles Due: December 1 (3-5pp, 12/5 latest) Submissions To: 75027.1663@compuserve.com After 11/14/95, Use Contact Points: bob_hathaway@notesgw.compuserve.com ph: 312.327.2121 Bob Hathaway and SIGS are proud to announce Object Currents - the first significant hypermedia journal devoted to object-oriented technology. This is the first call for papers for the premier January issue, and article summaries may be sent early for possible prior approval. Object Currents' Policy and Contributors' Guidelines are included below and should be read in full prior to article submission. Articles may not have been previously published, but papers and articles on the net are welcome. Object Currents will present a complete new free journal with Departments, Columns, and Feature Articles, along with 8 to 10 *new* articles from SIGS' Journals - JOOP, ROAD, C++ Report, Object Magazine, Smalltalk Report, X Journal, etc. Advertisers' queries are most welcome. Send email for a discussion of honorarium (Authors' fees). Object Currents provides unique opportunities to authors, readers, and advertisers with WWW hypertext multimedia, such as access to home pages and databases, and in advanced object-oriented coverage. Object Currents' unique hypertext media provides for advances over earlier journals - links to home pages, sites, databases and information servers, interaction, graphics, code retrieval and execution, expanded pages, and video - and this superior medium should be exploited to its fullest possible extent. This not only presents a unique opportunity to authors and advertisers, but to Object Currents' readership as well. From the Guidelines below: Authors should capitalize on the unique multimedia and hypermedia nature of Object Currents, as Object Currents is the first significant WWW journal for software development. Hypermedia provides a unique opportunity for the innovation of superior articles and information systems technology. All forms of hypermedia links and multimedia are strongly encouraged in submissions including text, images, audio, video, and true interactivity. CGI bridges to external databases and information servers are also encouraged, although commercial uses will be judged along strict relevance criteria. [...] First priority is given to new and advanced topics of real importance to the object community, including applied research and development and new techniques and systems. Advanced topics and techniques include but are not limited to delegation languages, advanced programming techniques and idioms, advanced use of methodologies, reflective meta-systems, new visual systems, GUI and hypermedia, and new methods, processes, and metrics. New systems and their use include but are not limited to programming languages, CASE and meta-CASE, databases, operating systems, and distributed systems. All articles should have emphasis on new technology and their use, but can include the full range of traditional topics in object technology from analysis to design and implementation, research and theory to practical[...] Object Currents Issue Inventory: SIGS articles: 8 to 10 articles from current SIGS Publications per issue (JOOP, ROAD, Obj Mag., C++ Rpt, etc.) Object Currents Articles: 2 to 4 per issue. Columns: Several columns will appear from regular columnists on important topics. Newsgroup Dialog: Extrapolated subjects with commentary. Fun and Games: Puzzles to be picked up from the C++ Report and the net (Obfs. C++). Questionnaire: W/compiled results from last issue. SIGS Bookshelf: Book reviews and summary. Movers & Shakers: Interview or profile of object industry VIPs. Code Watch: Source code, from both SIGS journals and elsewhere, such as on the net. Editorial Comments: By both authors and readers are encouraged. This week in OT: Prepared by SIGS News Editor. Several columnists have already been selected including: Watts Humphrey: SEI Process Director, CMM & PSP Inventor Bertrand Meyer: Eiffel, Object-Oriented Design and Software Engineering Peter Coad: Leading OO Methodologist David Shang: OO Programming Language Designer, Motorola Labs Francois Bancilhon: President, O2 Technology, Leading ODBMS Others to be announced... Articles for the Premier January issue are due by December 1; however, with prior approval may arrive by December 5. Thereafter articles are due 5 weeks before the first of the month of issue, on the 23rd. Good luck! Best Regards, Bob Hathaway OBJECT CURRENTS HYPERTEXT JOURNAL POLICY AND CONTRIBUTORS' GUIDELINES Editor: Bob Hathaway Publisher: SIGS Date: 10/22/1995 Copyright SIGS/Bob Hathaway 1995 Authors' Guidelines Object Currents presents the first significant hypermedia journal to provide developers and managers of object-oriented systems with a full range of articles covering the entire spectrum of object technology. Object Currents articles are accompanied by several articles from SIGS' journals, but are set apart by their "eye on the future" perspective. First priority is given to new and advanced topics of real importance to the object community, including applied research and development and new techniques and systems. Advanced topics and techniques include but are not limited to delegation languages, advanced programming techniques and idioms, advanced use of methodologies, reflective meta-systems, new visual systems, GUI and hypermedia, and new methods, processes, and metrics. New systems and their use include but are not limited to programming languages, CASE and meta-CASE, databases, operating systems, and distributed systems. All articles should have emphasis on new technology and their use, but can include the full range of traditional topics in object technology from analysis to design and implementation, research and theory to practical applications advice for real engineering and commercial environments, all relevant object-oriented programming languages, including but not limited to C++ and Smalltalk, and other relevant areas including interoperability to X Windows and GUI. Authors should capitalize on the unique multimedia and hypermedia nature of Object Currents, as Object Currents is the first significant WWW journal for software development. Hypermedia provides a unique opportunity for the innovation of superior articles and information systems technology. All forms of hypermedia links and multimedia are strongly encouraged in submissions including text, images, audio, video, and true interactivity. CGI bridges to external databases and information servers are also encouraged, although commercial uses will be judged along strict relevance criteria. Audience Object Currents' intended audience comprises all involved in and effected by object-oriented technique and technology, such as programmers, software engineers, systems and applications developers, progressive students, project leaders, managers, and users of object-oriented systems, with the purpose of providing more quick and effective acceptance and improvement of existing object practice, strategy, technology, and understanding. Vision A software development community utilizing the best known practice and experience of object-oriented technology. A hypermedia network supporting object-oriented technology transfer and the continual improvement of object technology with the ultimate aim of fostering continued progress within the software community. Mission To present the latest in object-oriented theory, practice, and experience in a way that is most immediately useful to the intended audience; and to encourage the highest levels of quality and excellence within the software development community through object technology - to achieve Object Currents' vision - through innovative use of the latest in hypermedia and multimedia technology. Objectives 1) To be the primary conveyance of object-oriented information, resource, technique, and technology. 2) To provide an exemplary hypermedia medium through Object Currents; to be a leader on the "Information Superhighway". Object Currents' authors should be innovative in the use of hypermedia in submissions. 3) To link Object Currents and the Official WWW/Internet Object-Oriented FAQ for the purpose of fulfilling Object Currents' vision and mission. 4) To provide a weekly online news service on new and important developments in object technology. 5) Contributors' Objective: To support successful widespread acceptance and growth of object technology by authoring Object Currents' articles and through use of multimedia and hypermedia composition. Editorial Outline and Features Contents Object Currents presents a full range of object-oriented articles pertaining to new and advanced object technology. This includes all areas from programming languages, methodologies, software engineering, breakthrough ideas, theory and experience from the software industry, and etc. Reviews of existing products, problem/solution papers. and other important areas from the object domain will also be considered. Format Color, 40 to 60 page on-line magazine. Html preferred, with creative use of multimedia and hypermedia strongly encouraged. Frequency: 12 times/year. Issue Inventory: Feature articles: 8 to 10 articles from SIGS Publications per issue. Object Currents Articles: 2 to 4 per issue. Columns: Several columns will appear from regular columnists on important topics. Newsgroup Dialog: Extrapolated subjects with commentary. Fun and Games: Puzzles to be picked up from the C++ Report and the net (Obfs. C++). Questionnaire: W/compiled results from last issue. SIGS Bookshelf: Book reviews and summary. Movers & Shakers: Interview or profile of object industry VIPs. Code Watch: Source code, from both SIGS journals and elsewhere, such as on the net. Editorial Comments: By both author and readers are encouraged. This week in OT: Prepared by SIGS News Editor. Description of Contents Object Currents accepts articles in the following classifications: Articles (3 - 5 pages) All submitted articles must satisfy some genuine need in the software community with respect to object-oriented development, be highly informative and lucid, and be appropriate to the intended Object Currents audience. Articles containing new and advanced technology or method, with an "eye on the future" perspective, and making best use of hypermedia will receive highest priority. Article sections should be numbered. Articles must have a brief one or two paragraph abstract/summary. Recommended are sections on introduction/background, goals and audience, unique contribution, problems, benefits, issues and related works, conclusion, and acknowledgements and references, as appropriate. Diagrams and examples, including code fragments and complete programs, should be plentiful to exemplify concepts. Series (3-5 pages, 2-8 installments) A series is a collection of articles offering the author an opportunity to address a topic in great depth. The series may run from two to eight installments. Series should be clearly partitioned into subtopics. Column (2-3 pages) Columns are designed to provide an ongoing discussion of a topic area, offering the columnist an opportunity to cover a topic in great breadth over an extended period of time, and to track changes and trends in the topic area as the technology matures. Over time, the readers of a column should gain an appreciation for the approach and style of the columnist and be able to identify the people, companies, and products involved. Editorial comments by both the author and readers are encouraged. Newsgroup Dialog The editor will take a thread or threads from the comp.object newsgroup and provide commentary. Such threads may be started by the Editor and may be related to the current issue. Fun and Games Puzzles to be picked up from the C++ Report and the net. Puzzles can include obfuscated programming code, preferably from a well-known language, or any other sort. Questionnaire A questionnaire will appear in each issue raising questions of importance to the object community, typically concerning the issues raised by that issue. The results from the last questionnaire will appear in the next issue of Object Currents. SIGS Bookshelf (2-3 pages) Reviews of books, videos, and conferences. These should have the "eye on the future" perspective of Object Currents. A review should describe the purpose, content, and intended audience of the item and make critical comments on its accuracy and success in fulfilling its purpose. If appropriate, the author should comment on the suitability of the item for educational purposes. Movers & Shakers Interview or profile of object industry VIPs. An interview or profile should discuss the "movers" background, such as research interests, current line of work and primary contributions, primary work today, object of interview or profile, and conclusion. An "eye on the future" perspective should be maintained, including a discussion on where the "movers" contribution will bring the object community in the near future. Code Watch Source code will be provided at the SIGS site, possibly mirrored from another. This code may come from SIGS journals or anywhere, such as on the net. Editorial Comments Comments on the previous Object Currents issue, including other editorial comments, provides a means of feedback and interaction for both author and reader. Potential topic areas are enumerated below; this list is not exhaustive and creativity is encouraged. Topics should be drawn from new and advanced areas of object technology. SIGS topics are very similar, but Object Current articles emphasize the latest and most advanced technology, how it should be incorporated today, and where it is leading tomorrow. Applications Authors should discuss how advanced object technology should be used to improve current practice. Successes and failures can provide valuable feedback on future directions and what to follow and what to avoid. How new or advanced techniques improve quality, productivity, or problem solving should be reported. Learning curves, obstacles and their removal, required support, metrics optimization, and other issues where improvement is needed in the software industry today should be addressed. Transitioning from old to new technology can be addressed. Example Topic Areas: - Commercial, engineering, and scientific applications. - Systems support and impediments - GUIs, visual programming, hypermedia - Application frameworks and patterns - Purchased class libraries - New class library ideas - Application portability - New standards Hypermedia The World Wide Web has been described as object-oriented. New approaches to hypermedia, especially the World Wide Web, are desired. New and innovative use of the Web and/or hypermedia by object-oriented applications. Example Topic Areas: - The object-oriented WWW - Better approaches to hypermedia with object technology - Innovative use of hypermedia and the WWW by object-oriented applications Idioms, Languages, Environments, and CASE More powerful and expressive idioms and techniques in object-oriented programming are desired. New languages and environments can be discussed, including research languages. New paradigms in OO, such as delegation, and new environments, such as metacase, are of importance today. Compare different approaches and implementations. Issues of expressiveness, flexibility, orthogonality, power, correctness, portability, availability, suitability, and style are of interest. Subjectivity is a factor in the choice and acceptance of languages and environments, and should be kept in mind. Example Topic Areas: - New constructs in OO - Best use of new language or environment - Is it for the reader? - New CASE and why it should be used in real development - New Idioms or advanced programming techniques to follow - Reflective systems and extensibility - Metasystems - Advanced use of polymorphism - Advanced uses of inheritance: multiple, dynamic, shared, etc. - Designing for reuse - Utilizing reuse - Prototyping - Migration and coexistence - Efficiency/optimization vs. power expressiveness - New Standards Databases New developments and advanced topics in OODBs can be addressed. Where, when, and why a new technology is required. Reasons for transition to and acceptance of object databases including advantages (over older and/or other approaches) and new ideas should be presented. Example Topic Areas: - New OODB technology - New and novel uses of OODBs, such as for business objects - Distribution, concurrency, reliability, security - Advanced Languages support - Uses and Integration with other object systems - E.g. languages, CASE, business objects - New object query languages and use and 4GLs - Schema evolution and its importance - Superiority of new OODB approaches over others - New standards and ideas Analysis And Design Methodology New techniques in analysis and design are always being devised. Older methods are evolving and fusing into newer methods. The need to utilize the new methodologies and how to best achieve their acceptance is of real importance today. Identifying future trends is of interest to readers. Comparisons between the new methodologies and what they imply, or at least why the new technique is superior. Example Topic Areas: - New and better methodologies and their use - Best or creative uses of OOA/D, perhaps in new application domains, such as business. - Most relevant domains of use, strengths and weaknesses - New techniques proven to be effective - CASE/METACASE support - Extensibility and reuse - Prototyping - Use in processes - New ways to perform reviews and walkthroughs - Improved cost drivers, moving effort upstream - Standards, including new fusion efforts Process Software engineering processes are a hot topic today. The SEI's CMM level 1.0/2.0, ISO SPICE and the modern management practice of process improvement are of great relevance to today's software development. Discuss how object methodologies and technologies fit in with and better support modern software engineering processes, such as Boehm's Spiral Model of development. Example Topic Areas: - New and better development processes - how they relate to OO - OO's basis in modern and flexible processes, especially in analysis and design - Experience with modern process and OO - Handling the transition to modern from legacy processes, such as the waterfall model - Novel use of analysis models - Metrics and process - Process optimization - Process and methodology, suitability of various methods to various processes of development - Process specialization and generalization - what should be tailored and what should be standardized intra- and inter- organizationally. - Standards - ISO/SPICE, SEI, etc. Management - OD - Project Management - Testing Nontechnical issues affecting OO transition and operationalization include how developers, managers and users, respond to and are affected by the introduction of object technology. Psychology of transition and change, organizational improvement, individual, team, and organizational learning, and other "people" issues can be addressed. Also how new object-oriented technologies can affect project management: planning and estimating, SCM, quality, and testing. Example Topic Areas: - Reduced cycle time, reduced time to market - Improved metrics - Applying ISO 9000, TQM, CMM, ISO/SPICE with object development - Improved business measures, e.g. ROI - Introduction of new techniques, innovative approaches - New management techniques for object development and integration - Better individual, team, and enterprise-wide learning, coordination, and integration - For developers, successfully managing upwards. Bringing improvement to your organization. - For managers, successfully managing the development staff. - Obstacles of resistance to new object technology and overcoming them - Pitfalls and errors to avoid - Organizational support during the learning period, and minimizing the learning curve. - Quelling overanticipation of reuse or the "silver bullet" syndrome with OO. - Benefits and drawbacks of empowerment to object development - Staffing for OO development - e.g. Boehm's 5 principles - Corporate object management - Strategic object modeling: enterprise-wide objects - Enterprise modeling and design - Objects as a corporate resource - The changing role of developers in shops in which the product is not technology - Project resourcing: changes in developers roles - Benefits, drawbacks, management of prototyping - Managing, controlling development, discovering/sharing of reusable components - Dealing with user needs and expectations - Standards - How do object-oriented systems call for a new testing paradigm? Education and Training How the new OO techniques are best taught and how training should be provided is of real importance today. One Level 5 organization provides 45 days training to all developers before starting, is this best? What are the alternatives? The need for improved education and training in both academia and industry, especially with regards to real-world development, is of importance. How should new OO techniques be taught or used in initial development efforts? Example Topic Areas: - Application of new learning techniques to object education; such as learning tools - Teaching/learning object technology - Experience reports - Making the transition from procedural to object environments - Transitioning from programming to object-oriented analysis, design, and programming - Learning curves. How long does it take to reach proficiency, or various levels of expertise? - How can the learning curve be optimized? - Humphrey's PSP Contributors' Guidelines Object Currents Submissions All submissions must be sent directly to the Editor on diskette or via email. All articles are subject to peer review by the Editorial Board and selected members of the object community. Notification of acceptance and assignment to an issue will shortly follow the review process. All submissions are final; material will not be returned. Authors are required to assign copyright to SIGS publications. Copyright forms will be sent upon notification of acceptance. Style We request the following elements of style for all submissions: - Liberal use of WWW hypermedia facilities and multimedia are strongly encouraged. Object Currents provides a unique opportunity to present information in a superior way to readers, and this should be taken advantage of to the fullest extent possible. - Open articles with a few strong paragraphs to attract readers' attention. An introductory abstract is preferred. - Highlight possible pull-quotes. Keep pull-quotes in mind when writing. - No double spaces, even after periods. - No double returns, even after paragraphs. - Clearly mark major and minor subheads <1>, <2>, etc., if possible. - Use tabs instead of spaces for formatting tables, lists, code, etc. - Do not manually hyphenate; the page layout software will do this - Omit headers and footers. - Literature citations should be placed numerically in order of appearance at the end of the article; text citations should appear in parenthesis. - Footnotes should appear directly under the callout in the text. - Charts or other graphics should be submitted in clear, reproducible hard copy. Format The preferred format for files is html in ASCII or Microsoft Word (V 6.0 or later preferred). ASCII and Microsoft Word format will also be accepted, preferably with hypertext formatting. Please note format clearly on diskette. Media: Disks accepted: DOS 3.5" Email: RTF or ASCII files sent over Compuserve, 75027,1663 (75027.1663@compuserve.com). Contact Bob Hathaway, 75027.1663@compuserve.com, with trouble on submissions. Alternate contact points are rjh@geodesic.com, and in the last case, try 312.871.4807 or lotech@inch.com. After 11/14/95, use contact points: 312.327.2121 bob_hathaway@notesgw.compuserve.com Manuscript Submission Schedule 1996 ISSUE Articles are due 1 week and one month prior to issue, subject to change. January - December 1 - Premier Issue February - December 23 March - January 23 April - February 23 May - March 23 June - April 23 July - May 23 August - June 23 September - July 23 October - August 23 November - September 23 December - October 23
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <ttakeo@amtec.co.jp> From: ttakeo@amtec.co.jp (tetuya takeo) Message-ID: <9511090103.AA05443@amtec001.amtec.co.jp> Date: Thu, 9 Nov 95 10:03:21 +0900 Subject: Get signal on parallel port of NS/intel Hi, Steppers. I'm developing a program which uses parallel port of NS/intel to print large number of characters. When paper is out, printer notifies it by some signal line and program get notified it by ioctl() functions. To build this program, I referred to header file placed at /usr/include/bsd/dev/i386/pp_extern.h. But, values returned by ioctl() function seems to differ from the descriptions in the header file. Therefore, when paper is out, my program misses to catch the event and prints garbage. So, I'd like to know where can I get exact information about parallel port. Thanks in advance. --- "How thousands of miles are left for Mecca?" Tetuya TAKEO ttakeo@tcp-ip.or.jp (NeXTmail welcomed!) ttakeo@amtec.co.jp (NeXTmail welcomed!) phone +81-532-63-1253(office), +81-532-55-5517(home)
From: shill@iphysiol.unil.ch (Sean Hill) Newsgroups: comp.sys.next.programmer Subject: Re: NSData subclassing Date: 9 Nov 1995 08:48:00 GMT Organization: University of Lausanne CH (Switzerland) Message-ID: <47sf80$pih@cisun2000.unil.ch> References: <47qkvo$qa9@cisun2000.unil.ch> <47r8f7$141@news.next.com> You wanna know why!!!! Because if I put 2000 NSValues into an array and I have a hundred of these arrays the amount of memory starts to really add up. That adds up to 12.8M just for the objects! The storage is inefficient and the whole thing takes up a lot of memory. If I have some typed data that I have sticking around I should have a means to store it efficiently (without the overhead of an object) and to archive it in an architecture independent fashion. This is easy to do with an NSMutableData that knows what type of data it's storing. Thanks for any responses to the first question. Actually as long as I have the object be a subclass of NSObject and not NSData everything works fine. I just have to reimplement some chunks. In article <47r8f7$141@news.next.com>, you wrote: > > Why not use an NSArray of NSValue's to replace Storage? > > matt. > > -- > Matt Watson > Typist > NeXT Computer, Inc.
From: wolfgang@neptun.nt.tuwien.ac.at (Wolfgang Pusch) Newsgroups: comp.sys.next.programmer Subject: printf() und long long int Date: 9 Nov 1995 09:38:16 GMT Organization: Vienna University of Technology, Austria Message-ID: <47si68$msq@news.tuwien.ac.at> How to tell printf() to print long long integers (64 Bit !)? That means I do not know the proper character to write after the % . - Wolfgang
Newsgroups: comp.sys.next.programmer Subject: Source code in Alex Duong Nghiem Book's needed Message-ID: <1995Nov9.104236.45658@yogi.urz.unibas.ch> From: fang@violett.ifi.unibas.ch (Niandong Fang) Date: 9 Nov 95 10:42:36 MET Hi, Netter, I am looking for the source code from Alex Duong Nghiem Book "NeXTSTEP Programming --- Concepts and Applications, Prentice Hall 1993". In his book, the author mentioned that his code can be ftped at sotana.cc.purdue.edu and cs.orst.edu. I tried to look for the file (AleXNeXTSTEPBook.tar.Z) but failed to find it. (Also fruitless at ftp://nova.cc.purdue.edu and ftp.cs.orst.edu) Could anybody give me any hints about that? Thanks a lot. Niandong --- ******************************************************************** Niandong Fang * Tel. + 41 61 321 99 67 Institut fuer Informatik * Fax + 41 61 321 99 15 Universitaet Basel * Mittlere Strasse 142 * email: fang@ifi.unibas.ch CH-4056 Basel * (NeXT mail accepted) Switzerland * ********************************************************************
From: tiggr@es.ele.tue.nl (Pieter Schoenmakers) Newsgroups: comp.sys.next.programmer Subject: Re: NSData subclassing Date: 09 Nov 1995 11:57:36 +0100 Organization: Eindhoven University of Technology Sender: tiggr@cobra.es.ele.tue.nl Message-ID: <wm91lqjbrz.fsf@cobra.es.ele.tue.nl> References: <47qkvo$qa9@cisun2000.unil.ch> In-reply-to: shill@iphysiol.unil.ch's message of 8 Nov 1995 16:13:44 GMT In article <47qkvo$qa9@cisun2000.unil.ch> shill@iphysiol.unil.ch (Sean Hill) writes: I get both an archived NSData and my own array encoding in the resulting archive. Since I need to encode super I do the following: - (void)encodeWithCoder:(NSCoder *)coder { ... [super encodeWithCoder:coder]; ... } Obviously, invoking super's implementation of `encodeWithCoder:' will write out the entire contents of the NSData object that super really is. Why do you want your class to be a subclass of NSData anyway? You do not use any of its functionality (i.e. storage of bytes). What's wrong with NSObject as the direct ancestor? --Tiggr
From: kjt@cs.stir.ac.uk Newsgroups: comp.sys.next.programmer Subject: "XYZ.services" Command-Line Filter Date: Thu, 9 Nov 1995 12:28:28 GMT Organization: University of Stirling Message-ID: <951109122828.6705AAFCf.kjt@copper> Mime-Version: 1.0 (Generated by Eloquent) Content-Type: text/plain; charset=US-ASCII Suppose I write a command-line filter program that turns CGM graphic files into PostScript (e.g. cgm2ps < pic.cgm > pic.ps). Should I be able to define "CGM2PS.services" something like the following? Filter: Port: NXUNIXSTDIO User Data: cgm Send Type: NXFilenamePboardType:cgm Return Type: NXPostScriptPboardType Executable: /usr/local/bin/cgm2ps The above doesn't work for me (e.g. I can't drag a CGM file into Draw and have it converted). I'd prefer to avoid writing a full-blown app that does the conversion. Any clues? Thanks, Ken Turner (kjt@cs.stir.ac.uk)
From: GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) Newsgroups: comp.sys.next.programmer Subject: Re: C compiler for NS 3.0 Date: 9 Nov 1995 14:01:01 GMT Organization: Nanyang Technological University Message-ID: <47t1it$608@ntuix.ntu.ac.sg> References: <47r8go$ldk@yuggoth.ucsb.edu> Paul T. Mobbs (mobbster) wrote: : I have NS 3.0 running on black hardware. All I really want is to be able to : compile *something*! I have been working at this for the past 3 months. I ftp a Well, a not 100% free, but still a vary cheap solution is to buy the full (incl. dev) version of NS3.0 from www.dancingbear.com. They sell them at this moment at their clearing-sale for if I remember something like 25 dollars. That should be cheaper that 3 months trying to compile "hello world" :-) WIllem
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: Instant Method : "drawInside" Date: 9 Nov 1995 16:10:25 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <47t95h$olh@hippo.shef.ac.uk> Hi there, I am new in NeXTSTEP programming. Currently, I am studying the source codes of a kit called iconkit. In the kit, there is a class called "IKCell" which works in conjunction with another class "IKIconPath" to provide support on drag-and-drop, and displaying of icons to represent files or directories. What I don't understand is, there is an instant method "drawInside" in the IKCell class which seems do not get invoked anywhere in the kit, but if I remove it from the source, the result is all the icons on the directories path disappeared. I think there must have some methods which implicitly invoke this method without my notice. If you know which method has invoked it implicitly, please kindly tell me. If you can tell me the theory behind, then it is even better. Thank you very much. C.Yap
From: ckane@next.com (Christopher Kane) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep spec changes? Date: 9 Nov 1995 17:43:16 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <47tejk$6nk@news.next.com> References: <47loml$g9n@news.next.com> To flesh out some of Mark's comments, and address some of Marco Scheurer's comments: In article <47loml$g9n@news.next.com> mark_bessey@next.com (Mark Bessey) writes: > (Note: I'm not directly involved with the OPENSTEP standardization > effort. My answers here represent my best understanding of what's > going on, not an official statement from NeXT) (I *am* involved with the moving OpenStep forward, but my comments still do not represent official statements of NeXT Computer, Inc.) > I hope that eventually the published spec will be sufficient to > implement OPENSTEP, but we're many man-months worth of effort > away from that, and at this point, implementing the specification > is a much higher priority than documenting it. More like person-years. Also, the tighter the spec, the more constrained the implementation, which may constrain things like performance optimization or semantic improvement. (Or optionally, the faster the 'spec' gets out of date.) Plus, there are several errata in the document. > Sean Hill writes: >> How about an object for file access? > I believe NeXT's version of OPENSTEP will contain an extension > (NSFileManager?) for dealing with files. Unfortunately, this probably > won't be available in Sun's OPENSTEP (at least in the first version). NeXT's first version of OpenStep will contain at least one object for dealing with files, NSFileManager. But that class has been around for quite a while (internally) and it exhibits several weaknesses, so we may be providing something (hopefully) better additionally. >> Also there are things cited by the specification which are >> missing, i.e. various file formats, archiving streams, and >> constants. > This is a known issue. NeXT is working with Sun to ensure a > high degree of interoperability in these areas. [...] Yep. >> If the current specification is _the_ final which anybody would >> have to implement I can't see that OpenStep will be terribly >> compatible across implementations. > That's the current plan. You can, of course, count on a high > degree of compatibility between NeXT's OPENSTEP products > (OPENSTEP/Mach and OPENSTEP/NT). And OpenStep/Win95. Well, at least to the degree with which WIN32 as implemented on NT and WIN32 as implemented on Win95 allow for compatibility (which depends on what any particular individual is thinking when they say 'compatibility'). In article <47n590$h57@info.epfl.ch> marco@sentenext1.epfl.ch (Marco Scheurer) writes: > Extensions !? > Good idea to move forward, but does this mean, for the OPENSTEP > developer using the "reference platform (NEXTSTEP 4.0)", a > choice between using nice, powerful extensions, or being OPENSTEP > compatible? And what about the first version of OPENSTEP for NT? Yes, a choice. Extensions are a fairly small part of NeXT's OpenStep, however, although some extension bits are fairly nice. We haven't rampantly added extensions, either, in deference to OpenStep. Except for a few arcane bits which are simply not implementable on the NT/Win95 (or vice versa, under MACH) operating systems (unless someone out there has written a public domain implementation of fork() for WIN32??), the Foundation on Windows is functionally equivalent to the Foundation on NEXTSTEP. Ditto with the AppKit I believe, but I'm just less familiar with the AppKit on Windows. The implementations of a few things are different, obviously, to better play in each world. > Will these extensions be available as a separate product? > There are already nice parts of NS (the 3DKit for instance) > not part of OPENSTEP. [...] The extensions to OpenStep will be available in our OpenStep implementations, not as a separate product. The 3DKit is not an extension to OpenStep. Christopher Kane Foundation Technology NeXT Computer, Inc.
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: RemoteDebugger? Date: 9 Nov 1995 18:25:02 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <47th1u$4ja@opal.southwind.net> Hello I'm intrested in learning how to write drivers for Nextstep and Unix in general. I't seems that a second computer is practically mandatory to do remote debugging. My question is can a Linux or minix box be used with GDB to debug a Next driver. I assume linux drivers can be debugged from Nextstep? Anyway I was thinking of buying a cheap 386 and loading linux so I could use it as a remote debugger for my intel machine. The other more expensive option is to buy a cheap Next box like a old mono station. Can the debugger be upgraded without upgrading the OS. For example can I get and old mono station with say 2.1 on it and add the latest version of Next's GDB ?? And last but not least since Nexts driver kit is significantly different from generic unix drivers is there another source of help on it besides what's avialable on line. Something simialar to the several good books on using the application kit? There's all kind's of neat hardware out there that doesn't have Nextstep drivers I want to learn how to write them to be free of waiting for Nextstep to support all the possible hardware configurations. For example I have a MiroCrystal Video card it doesn't look like Next is going to support it and Miro's dropped Nextstep support. So to heck with them I'll do it myself. Thanks mike@hobbs.chem.usu.edu
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: Pasteboard Owner Freed Message-ID: <zazulaDHr79K.38J@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <47rhuh$fte@hecate.umd.edu> Date: Thu, 9 Nov 1995 02:08:08 GMT Sender: zazula@netcom20.netcom.com In article <47rhuh$fte@hecate.umd.edu> seanl@carmi.cs.umd.edu (Sean Luke) writes: >I've come across the following situation whilst fixing a bug in Resound [...] >What happens now seems to be: the Pasteboard attempts to tell the old >owner that a new owner is changing the data on the Pasteboard >(pasteboardChangedOwner:) but the old Sound/SoundView pair has been >freed. BANG! Resound keels over (message to a freed object). > Hi - It sounds (heh) like you are using the lazy data provision of the pasteboard (i.e., calling declareTypes:num:owner: and not writing the data immediately afterwards). The Pasteboard expects that it can message "owner" any time later. One thing you can do is keep track of whether you have promised but not delivered data to the pasteboard and be sure to write it (if needed) in your -free method. Another solution is to manage the Sound instances separately from the windows - then you can keep track of sounds with pending pastes and "retain" them until they are no longer needed (the pasteboard changes owner). Good luck! Ralph --- Ralph Zazula zazula@netcom.com 408/996-9016
From: shess@klondike.winternet.com (Scott Hess) Newsgroups: comp.sys.next.programmer Subject: Re: NSData subclassing Date: 09 Nov 1995 19:21:18 GMT Organization: Is a sign of weakness Distribution: world Message-ID: <SHESS.95Nov9132119@klondike.winternet.com> References: <47qkvo$qa9@cisun2000.unil.ch> <47r8f7$141@news.next.com> <47sf80$pih@cisun2000.unil.ch> In-reply-to: shill@iphysiol.unil.ch's message of 9 Nov 1995 08:48:00 GMT In article <47sf80$pih@cisun2000.unil.ch>, shill@iphysiol.unil.ch (Sean Hill) writes: >You wanna know why!!!! > >Because if I put 2000 NSValues into an array and I have a hundred >of these arrays the amount of memory starts to really add up. >That adds up to 12.8M just for the objects! The storage is >inefficient and the whole thing takes up a lot of memory. <...> >Thanks for any responses to the first question. Actually as long >as I have the object be a subclass of NSObject and not NSData >everything works fine. I just have to reimplement some chunks. This thread caused me to resurrect an idea I had awhile back. Instead of having an NSArray filled with NSValue objects, I thought it would be nice to have an NSValueArray. NSValueArray instances would work like a Storage instance in that they would store things as an internally allocated array of raw values. On the other hand, it would work like an NSArray by wrapping values in NSValue instances as necessary for methods like -objectAtIndex:. I had the same problem Sean had, but managed to use a very hacky workaround to fix it (see the -encodeWithCoder: methods). In general, it seems that class clusters (at least NSArray and NSData) use their API to encode things. For NSArray this means that NSArray's -encodeWithCoder: calls -count to get the number of objects and -objectAtIndex: for each object, which is then encoded. In the above-described implementation, that is suicide (_think_ of all the autoreleased NSValue objects created for no good reason!). The source code is included below as a uuencoded .tar.gz file. If you can't read the source code, you shouldn't be using this. [And that is _not_ saracasm. _I'm_ certainly not going to support it.] Later, --- scott hess <shess@winternet.com> (WWW to "http://www.winternet.com/~shess/") Work: 12550 Portland Avenue South #121, Burnsville, MN 55337 (612)895-1208 "There's nothing more dangerous than a resourceful idiot" -Dilbert begin 644 NSValueArray.tar.gz M'XL(`"A3HC```^T<:7/3R'*_XE\QA`+LQ`E.-@E5#G[<+*EE`T5@>?6RKM1$ M&ML"'5Z-E.#=RG]_W3V'1O(1$Q+80RH*Q]9T3]_':$8'A[_R,!>/TY1/[OUP M/1=C[/[.#L-/MJ4_64=_ZB]LM[/3V=[IW-_>AN^[6[OW?V#71$Y].=>!JW_W MR\;HRN9`A8):Y^E_9W/WOM;_]OUM_'MSL[.[5>O_6USW[K'WL2]2]B+)8Y]G M01+_'&1M-DERYB5YZ+-<"L9C=G!(9L&2`=-FPH)89CSVA&P`EBQAW!L%XE0P MF43B;,0SEHW@"X\$$X.!\#+&)>/L,$M2/A0LIVD%3\-`I(CA5*02II<TA?CO MN\-WS]]L,/8Z%BSB'Y.4^0&@207,R`()R&&&8,!X&`($D0#3G2)E$DBC;YQ( MYJE`G)::;#(6;4L'H(J25"`".>:>6`=B`R\0<<9.A,>1_2!C?B)D?#=CJ?@] M#P`?(A.?LY2SY.0C\(;@"7`P$MP'HH_>P7TMLC4C+\V@P2'9YMJ!!I=M1'`V M"D)A"2N&Z4$;?<9>Y"E,G2+%;2*B,HDC2'86@&@,P?PDR3.VM;9UP*08BY1G M*-8P3#S9UA,#.@0W\QLT21Q."F*V#!1R^1Q4KK^S$6@7->]*H@V6XP,"NL'D M1&8B`G&#3D8<#`6YL&.9#R+*$@2/!-R9L&'*XSSD:9!-P!9![6DL-_HP`,>\ M`(.0.+5!B^(`7<*_5'"9Q/PD%$#C$^!Z`&,!S]"20-(&K<+@.,DV-$HW_.$M M#M:4!N03R(/Q`!`6<,TS0#3.)!K^.$U.`Y\XM_:]+K-)B&*78"0>X5"`'C@3 M#V4"U@4>`]XCA<_"X!-ZF:)BOJ,!/_MQ!G(`OB?(`%BG5-[YC&><N-)CD2Z9 M)=I4R2T8^#=O:S+0@T"^8/+@45DX0=CF*!F+00ZX6RAP4$P&M*%G@Q8':1)- M4X0^'0OD@J<3%"3;SQ1[R*?+HHT*FM<I7.A/`H*"K\,)4)!Q<&24%V4DK:9G MB9='0#,IYB%C'X"Q!'TS%C!-C&P'\:<@'L+/SLB;(#L*$Q3:N')F,#L*"TF> M`@%>X@L5^N0(8Q^.`19RB<C0NHC!H\>QKZ./9,=@/\<05D#'7$:@G^/]N]$Q M`UM%VD%)<)\-$T)`MBWS\3A)`3:SIOP2@MH)NE@(AJL$CD2-\Y,P\(")"##1 MS(=>DF4P7%+$E2/XX]%90`8AL@TOB1J-6T%$Z!\,;#R_IRUJ8_2?.;=)#WB[ M\8BP#2`,EKVA:\RRL:9LB;YTFZ`CF;'3)/#9:DO'7D@;<=9MYK$,AK'P6_0= M@E$V>GWR\>D["+X&SAOQ%.`P'C,9_"$<(/RZUU@'XPBR#P!*M,CKG[")J%M# MD=&$W:8[$_C\/MCG9P<JP.\(5L*?Z&GQAAU**`[U+--LO,G2O<8CL/^*$G[) M,XQD%5WH7[^#2MS)/M0ZO5BGZV:^R-&D<Z?%?7\&85.W9?G^'!%9L%2,0["@ M+V290"$@0_BZ#&0*B?M4V^J\H63CW[OLK2]]S>__HBN;8W'_]^/N]N:F[?\[ MV[NJ_]NM^[]O<9F"8*7<^Z_,J12PRIQ?1SQ.H0.$JG'^B.>?/3'&OTM#N,2` M4_HI#$X\JDAN^6(00`N8\D"*_1CB4.#O0P+Y!4O.H6BVV&\--*,C![D:W#TX MU.,?IT.J`XL!T!%$/.L^6EE=7:5\%,"X/U2I'XELE/CLML0J$<LW*`$EMH-4 M"-N*7C=E6*=[(7#`;C_JLJ=04F94W1[)P.M3VY**K"AR;ZZT`5EX#-GH`'K1 M)COV(K_59D='\*O&U&>^D%X:$*G]_FP97"'_?SV&D2&H<-^DP2DG7+H>DM3* MZ5R$E@H5>:E:>JJGKY1+Q=?&GX3<3>U%9L<[)ETQ)[?C[\KVV:I4[=U>XUQE MLIG3+RS:KH08C6LV349^^]$X%+8!4L*SVG2DJ+1`[>4[:"J$@==]+6AGP/,0 M[0+:]@!Z)6H(A;$F"2VEB,TH`UP,5ETVFI0,L"D'F94(*RMHC=%Z`A:(_TMB MJ$`.#O$3:I`_X`-$=@,Y&ZAN/U)>@%.<"&RRC-V6>_D,;:U-D+B>,]-.T&!Q M\8;H#P9-YAIHKW=4PJA^;3&@!M#D:8S^-P-IF15DH*\T>,Y$")0X\-`8BG0! M`"CW&Q;ZVC0-<=I;B;I^M8`OS3UCQF(._*_/>([K$M3L]M%FOW%'H%G3')5H M(9;G)9H]5R)Q$!+IE^DMC&QG17.%=&;GL1C,H>W@_:M7"L]TH[(TDHY+2:6I M^6)*=$@XI%45[;G\$[AMI)LBT.XX$+3TB\L^X,3R(6/'3WE\#-[[$$P$!DQ> MI$DT.R:4;+7DJ3,<JFINRA(,<WUM:=K]\>]^V<S4':.6OK(Q!PG*N:\M6_/W M]$NHG\X>WY4)G>:J(7LZFUU5Y)[F?WX`GS'VPC@^#;,PG"^ECCJJ5Z/Z6G.1 M"#5OEUU&JC!2F*V2XIW"[+N=A637^>??D'_FK<%=$M&<);NR8NVRG=*%,I_- M_@PLRZWL7:RU2Z[[+8GXBU<%ER;XHC7#)1&!.%]3A]KEL?I#`]HN2ADT/@4# MW?<H[/$FJR8]K7E*-K]@E:(?YD`6NBO=!U?ZF3(?0Y\TQ@>%ZM&RRCQJ30.P M&V(@T_T,[+P>/,5DTS55BLX]9E8#=A.Z-"\:&^ILGFX[".V/+4,RF9^];Z." MYE@'F+)].C>K-J30S%&*B7RUO)>3=\DO]0#K.231_I2S5<1[@:/58I\A=C=J M72AU%8H6FGTIQL\(77-PON(R*_F(BZ`\H5NRKZM\4;=/?_?V:4;_-+U:])T* M422ZIQL5G%_[#[9.>.MF#VI-:HT,M[V,%BAO6$9[ZD'K#;T.V4,MT,IDI;-X M,LF*QB(4\3`;J<YBM9"9Z8L<I2(5Y3I=>0S(A^2BMU#-+9L@PMV"B[8,Q<E9 MVS2@M.H-?]$&IQQW7M`Z9AYS>HX!3>F&A=VG#65).FGCMANU/03D*[Q/:BN( MVH5&@5*38T%Q^YGV*4EJ*G:B&8GB$GE&?-XMX,Q-M?.&9E$[USCM/P%*PX3[ M!,7R,6&VL#B#B01(E\"-6GH7&6/OXT&29L!GG)D)@:/]N9`%QH=:#=B3%'4^C MY`P[<E^DP:FSCPCU9(@24^26\P+IH-?KE,MIJ]$Y-:YIZ_1.-&4J_7O.*OC7 MM3[*/>8D3#OM"9IKOYRP",L#-RYHSB(182QO*A&UF2&GJ=&N$61AZ*UV(<QE MNBXEDN+QP.+V2HVNR&MA+U41N>$=O2Y9(B%>@T2+E1A509PJ-<^39SD"VLCL MF(J(<8,7QH^G\)EV:8$"-Z&NMCC],55(>3V7KCV'4R7%A0S"`-PBV+-/9VRY M]9)CV,!]@^(45[W,EC_R*1M\M--"ELE3`EO1D66%G0:<K:NXC\%@O:PAVB5( MBV!M=D8.RC[F0+/"+!!?$1S\(`50"(!<.COM*"_H:$Y+#:IFH1Q1%:.2G6;: M`"'GI6I-25K!DCY?#ZRR'JF?F\;VP7N[=QP-?@$&:YR$HYI6+H7$\V9"D\H< M:!NN]8J9A\"EYLJFKVGS>R:\V0:H9BY96TD9990&CR58?X<0?GFY+XGC(LE? M"HV5O?$TM=D8*/96W?`Y:XHO5)!KO0L+F(,$RU';39@ZQILJ8BK);LXZ^MPU MTG]4.>@^KZZKPKHJO+:J\!]3K=2%[747MA<\%*@`ZE%/*O"76\6?K2&G1'SL M^^HXDCG'@22@BX_SS#G1H<XYI=J]+*T!IA0NQ2MRD2>3KA78JEO*3AE&A<>2 M^HVZJ_ZW7L&MU2\=,U`WKN0IQ2+!V7MG*))>Q2Z=:O1"FR<5O#X5:0A5>2%M M"'[B<X#'2X8DCHTEI+A&Q,R69=OX5-5AONJ!RU(B4A%XNKM92H97LV2\6/IS M'4")Q=&*.E@$U.*MP%_>%Y;R`E=_6`-U'E1JDW4:0!71M'Z-T]C1;38;W"UP MOLQ,EGY^=DF[6-^\%N_Z6OU>G]9<95D-7*PU2P@4;<K6NO-#9;TL42]+U,L2 M?_]EB25;W%=SUPB6*<&N8&%CUE)$XU8P8)V&S-+<;`>7K*)I"%PZO)`J)*KY M'-CZ526D)%?UB3QB._V>@OV3==ILY9T^BPT0&#,Z*^=MY^Y+BN:2;99_-D#F MU0'`;8Q9(LG*XS[HX^IJ-'RF_FQ$B"7D$&,4&6WS7H!!@L?HV3B1`:["(/#Y M7J-!]HRG;9LM;?(+M[!14*HDQR!H6_>@$/<6SQB[KR,H-B;>5&>CFVQ%"7^E MS=X>O_ZY15GIX/#XV?NW^P<_-6Y04D50W+SX7J]#@#68)0G]`!D-[04(IOO( MX`/E(YZ7CP^>O7K^5B&"<BS.8/(5NWV?Q3P2O=YM^5N\@N<RBAOV+SRYT6?> M(4D1T_CE4;VEP_G3R)RQM-%'T_[\X)DEW\ZG[0\U?!OZ#'6&892$/GZGJ:W? MEJP;CYVHP<6>`I@&\ZD^!Z$3ZHU!DD(!$_0Z>_#_`U`H?*RMD6*41])PVZ+? M,139K05!ORJDH]M^'T3CMS6):"D:;`/<K/@")"-5YP[#`%"J-<BR?A*0.UDL MSK0`\'0'1A%]6#T>2EUO&].9;\JG]L_27LPY4BRV3R:#ZKV^6T\D9^!-\:0( M$[3J10WK0Q55O)Y!8\>T[DW]=,0ZI=KQ`$\OA;C>1`Y.P54SNT!Q#CI0#\H< M:J`4/DHSX2VE@8JXWT#CK4H?/1B/)255OUXPOS8:N_'J3GG6TAJGU7PQV978 MNA9ZQ=R7(_PB:[^LI5?DK`\1.N]OP6-H;!"$IK,K#AJ:VO%MDMC-4AID*A*> M-V[AYFR3[_BA^JPD/$R;U88'?]N:\=N/>Y@UBJ2!!@$4#;VV3I>0(8:G)I70 M3R?YX(CM;I=J=C46^^->596:R)8I-DJ42]FC;+?99EOGU3;.I""3:Y"LF[T? M29\#HRF905$!S<W*>]Q,V<43@)GP1G'PN]FP2OI#+K0+SH`M('3"C?/H!%2# MZ\OJ20>](P57I548FX%CDX)7Y54VP);^N8A4<S&HKF-9"L3G`!K4S9+Q@5OP M+`F:FMTM&W%(]&9"4"#,-H9(EG]FMWV0#KC%./";9G.:>L,,#6Q5=+"J,&^" M<]S=O*NSO/LF!UU2.&<4]/XE_!]=C-[3@P^_UM>KN:C8_5I9@KXCY?0.>(PV M-Q3?^LQ"E<"M"H%3A<_LDQ1S,DEYU[V3-HR%7\S=KX8;A_2O5Q!&A=@/!HU_ M:?]?.O\/@[(K//=O+G;!^]]VG?/_.UOX_K_[.YN=^OS_M[AFG_^/5DQW"`G9 M=F7L]SSP/N&IX&'*(WI-D;#K-UAU%J^L>JP/9]?=9=U=UMUEW5W6W67=7?XK MNLM2OG0RI2\B+-#HM9N-N@>M>]"KZ$%/ZP[TK]R!+J,>VW]^)]_[WOU'?=57 M?7V_J^[_Z_Z_[O_K_K_N_^O^O^[_Z_Z_[O_K_K_N_^O^O[[^'=?_`5@8Q.H` #<``` ` end -- scott hess <shess@winternet.com> (WWW to "http://www.winternet.com/~shess/") Office: 101 W. Burnsville Pkwy, Suite 108F, Burnsville, MN 55337 890-1332 "There's nothing more dangerous than a resourceful idiot" -Dilbert
From: premise@news-server.engin.umich.edu (sean michael willson) Newsgroups: comp.sys.next.software,comp.sys.next.programmer,comp.sys.next.advocacy Subject: Writing IRC Next App...request comments Date: 9 Nov 1995 20:37:31 GMT Organization: University of Michigan Engineering, Ann Arbor Message-ID: <47toqb$neb@srvr1.engin.umich.edu> I don't mean to respond to my own post but this is ok....I am going to program a NeXTStep based IRC client. I am using mIRC, Zircon, and if I can get it the Japanese NeXT one as references. I am posting because I would like some feedback on what users of IRC would like to see and to get a feel for the possible user base. Please feel free to e-mail me at: premise@engin.umich.edu comments, questions, concerns, or really anything at all. I will post the progress under: http://www-personal.engin.umich.edu/~premise/ under my computer doings page......This homepage also has a lot of NeXT related links and info. Check it out....... Sean M. Willson P.S. ALL PLEASE REPLY!!!! -- _________________________________________________________________________ Sean M. Willson premise@engin.umich.edu Foundation Software Solutions MIME, ASCII, NeXTMail Object Oriented Application Development Specializing in NeXT/OpenStep Net Home Page http://www-personal.engin.umich.edu/~premise/foundation/ 1800 Washtenaw Ave. Ann Arbor Mi, 48104 (313) 669-0565 _________________________________________________________________________
From: stevem@radium.ca (Stephen MacDougall) Newsgroups: comp.sys.next.programmer Subject: Re: WriteUp API ? Date: 9 Nov 1995 22:31:01 GMT Organization: ftn Internet Message-ID: <47tvf5$d5f@master.ftn.net> References: <47ov8d$iil@agate.berkeley.edu> william@beirut.berkeley.edu (Andy Grosso) wrote: > Hi. I was just wondering if anybody has > successfully used the WriteUp DO API > interface ? We're having problems even > making the connection. > > Does anybody know how to tell what > applications have even registered as roots ? > > cheers, > > andy > > Hi Andy!! I've used the WriteUp API a little bit, and I can give the following advice concerning your problem: 1) ensure that you have done the following: DWRITE WriteUp API_Enabled 1 2) The WriteUp API comes with a test program, Remote.app. If that program works on your machines, just use the connection method inside it (Remote.app comes with source). Good luck!! (Now, if only they'd get enthusiastic about DOCUMENTING the bloody thing!) -- ============================================================================ | | | | Stephen MacDougall | #include <std_disclaimer.h> | | RADium Technology Centre (Canada) | | | stevem@RADium.ca | (NeXTMail and MIME capable) | | | | ============================================================================
From: wolfgang@neptun.nt.tuwien.ac.at (Wolfgang Pusch) Newsgroups: comp.sys.next.programmer Subject: How to let a c executable find out its own name? Date: 10 Nov 1995 08:10:55 GMT Organization: Vienna University of Technology, Austria Message-ID: <47v1ef$ied@news.tuwien.ac.at> Is there a way for a C-executable to find out its own name? Is there a C-function available or a hack to do this? (The name should be stored in a string and printed). - Wolfgang
From: kiwi@cs.tu-berlin.de (Axel Habermann) Newsgroups: comp.sys.next.programmer Subject: Re: RemoteDebugger? Date: 10 Nov 1995 13:58:56 GMT Organization: Technical University of Berlin, Germany Distribution: world Message-ID: <47vlr0$jn3@news.cs.tu-berlin.de> References: <47th1u$4ja@opal.southwind.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Michael Emmel (mike@hobbs.chem.usu.edu) wrote: : Hello I'm intrested in learning how to write drivers for Nextstep and Unix : in general. I't seems that a second computer is practically mandatory to : do remote debugging. My question is can a Linux or minix box be used with : GDB to debug a Next driver. I assume linux drivers can be debugged from : Nextstep? I don't think so. You'll need a second computer of the same type to do remote debugging. : Anyway I was thinking of buying a cheap 386 and loading linux so : I could use it as a remote debugger for my intel machine. The other more : expensive option is to buy a cheap Next box like a old mono station. See above. You'll need two Intel-Boxes. The to-be-debugged computer must have an Intel Etherexpress Network card (this is what definitely works, a Cogent card did not) [...] : And last but not least since Nexts driver kit is significantly different : from generic unix drivers is there another source of help on it besides : what's avialable on line. Something simialar to the several good books on : using the application kit? The description of the driver kit has improved in the docs for 3.3 Dev. Look at the available sources to some drivers provided by NeXT (ProAudioSpectrum and Adaptec1542B) and others (Mux) : There's all kind's of neat hardware out there that doesn't have Nextstep : drivers I want to learn how to write them to be free of waiting for : Nextstep to support all the possible hardware configurations. For example : I have a MiroCrystal Video card it doesn't look like Next is going to : support it and Miro's dropped Nextstep support. So to heck with them I'll : do it myself. Have fun! Driver development is a hard business. Besides remote debugging you could resort to some kind of printf-debugging. DDM is also an alternative. It becomes a bit annoying having to reboot the machine several times during a session, though. Axel -- Axel Habermann kiwi@cs.tu-berlin.de \\|// Muellerstr. 145 kiwi@buran.fb10.tu-berlin.de )o o( D-13353 Berlin (Wedding) \ | / Fon: +49 30 45478986 (privat) 030 314 24 764 (uni) \~/
From: caraher@dis.anl.gov (Patrick (PJ) Caraher) Newsgroups: comp.sys.next.programmer Subject: Re: How to let a c executable find out its own Date: 10 Nov 1995 13:28:15 GMT Organization: Argonne National Laboratory Message-ID: <47vk1g$5t@milo.mcs.anl.gov> References: <47v1ef$ied@news.tuwien.ac.at> In article ied@news.tuwien.ac.at, wolfgang@neptun.nt.tuwien.ac.at (Wolfgang Pusch) writes: >Is there a way for a C-executable to find out its own name? >Is there a C-function available or a hack to do this? (The name should be >stored in a string and printed). > >- Wolfgang Wolfgang: This is really just a C question and in the future I would suggest posting such questions to a C group. But, here is a quick answer to your question: use the argv[0] value. Within a C program, argv[0] stores the name of the executable. example code: #include <stdio.h> void main(int argc, char *argv[]) { printf ("We are running: %s\n", argv[0]); exit(0); } I suggest that you pick up the book "The C Programming Language" by Kernighan & Ritchie. It will answer most of your questions. PJC --- member of AAAAAA - American Association Against Acronym Abuse Anonymous
Newsgroups: comp.sys.next.programmer From: glen@prosoft.com (Glen Biagioni) Subject: Re: How to let a c executable find out its own name? Message-ID: <DHu4C5.2AG@prosoft.com> Sender: glen@prosoft.com (Glen Biagioni) Organization: ProSoft Solutions, Inc. References: <47v1ef$ied@news.tuwien.ac.at> Date: Fri, 10 Nov 1995 15:57:40 GMT Wolfgang Pusch writes > Is there a way for a C-executable to find out its own name? > Is there a C-function available or a hack to do this? (The name should be > stored in a string and printed). > argv[0] is the name by which it was invoked; under normal circumstances. > - Wolfgang -- Glen Biagioni ProSoft Solutions Inc. glen@prosoft.com (NeXTmail Welcome) Bus:(604)324-3311 Fax:(604)324-9431
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <schaik@bonnie.meteocon.nl> Message-ID: <9511101429.AA05503@bonnie.meteocon.nl> Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Wiro van Schaik <schaik@bonnie.meteocon.nl> Date: Fri, 10 Nov 95 14:29:19 GMT Subject: Use a NXImage as a viewbuffer ? L.S. We're building an application in which we have a main view with several = subviews acting as layers. These layers each consists of line-drawings = and/or textfields. Because we want to be able to speed up the redrawing of main view, we = would like to buffer the layerviews into images and use these images = for the redrawing. We first tried to do a [self copyPSToStream:] inside the drawself of = each layer view. We tried to use [image loadFromStream:] but that = didn't work so we used the stream to initialize a NXEPSImageRep which = we added to a NXImage with useRepresentation. Then composited the image = to the screen. That worked brilliantly.=20 But then we want to zoom in en out without blowing up the image itself. = The zooming has been implemented by changing the coordinatesystems = (through setDrawOrigin:, setDrawSize: and setDrawRotation:). This = worked as long as the rotation was 0. But with nonzero rotation we = would get deformed images.=20 We also tried to use a NXCachedImageRep but the NXImage failed to add a = NXCachedImageRep when called with useCachewithDepth:NX_DefaultDepth as = stated in the General Reference Manual. =20 After a couple of days of trial and error we have a couple of questions = to you all: 1. Is the idea of caching views in NXImages at all wise or should we be = doing it=20 completely different. =20 2. Why won't an NXImage create an NXEPSImageRep (or any other for that = matter) from=20 an loadFromStream with a stream filled with ordinary eps-data (using=20= copyPsToStream), which when drawn directly on the screen causes no = problems at=20 all. 3. Why doesn't useCacheWithDepth works like advertised in the manuals. 4. Why don't we get rotated eps-code into an image (we know we can't = rotate the=20 image itself). We use NSFIP Developer 3.2, User 3.3. If anybody has some example code, we would be very gratefull. Wiro & Berry. P.S. Responses will be summarized to the news-group. --- / Meteo Consult Wiro van Schaik (System Developer) / P.O. Box 617 / 6700 AP Wageningen >W.vanSchaik@MeteoCon.nl< / The Netherlands = =20 >NeXT Mail preferred< / fax: ..31 (0)317 423164 = (new) ------------------------------------------/ voice: ..31 (0)317 423300 = (new) (new nrs. since 10/10/'95)
Newsgroups: comp.sys.next.programmer From: zazula@netcom.com (Ralph Zazula) Subject: Re: How to let a c executable find out its own name? Message-ID: <zazulaDHu8F9.31K@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <47v1ef$ied@news.tuwien.ac.at> Date: Fri, 10 Nov 1995 17:25:57 GMT Sender: zazula@netcom20.netcom.com In article <47v1ef$ied@news.tuwien.ac.at> pusch@email.tuwien.ac.at writes: >Is there a way for a C-executable to find out its own name? >Is there a C-function available or a hack to do this? (The name should be >stored in a string and printed). > >- Wolfgang Hi - I think you are looking for argv[0]. e.g., void main(int argc, char **argv) { printf("I am program: %s\n", argv[0]); } Ralph --- Ralph Zazula zazula@netcom.com 408/996-9016
From: Rakesh_Dubey@NeXT.COM Newsgroups: comp.sys.next.programmer Subject: Re: RemoteDebugger? Date: 10 Nov 1995 22:36:22 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <480k56$eu2@news.next.com> References: <47th1u$4ja@opal.southwind.net> In article <47th1u$4ja@opal.southwind.net> mike@hobbs.chem.usu.edu (Michael Emmel) writes: | | | Hello I'm intrested in learning how to write drivers for Nextstep and Unix | in general. I't seems that a second computer is practically mandatory to | do remote debugging. My question is can a Linux or minix box be used with | GDB to debug a Next driver. I assume linux drivers can be debugged from | Nextstep? Anyway I was thinking of buying a cheap 386 and loading linux so | I could use it as a remote debugger for my intel machine. The other more | expensive option is to buy a cheap Next box like a old mono station. Can | the debugger be upgraded without upgrading the OS. For example can I get | and old mono station with say 2.1 on it and add the latest version of | Next's GDB ?? | No, you would need another machine running NS with specific networking drivers. But don't let this dishearten you. Writing display drivers is relatively straighforward as long as you have decent hardware documentation. There is some on-line documentation and also example source code (see QVision example). -Rakesh
From: ccwf@locke.klab.caltech.edu (Charles Fu) Newsgroups: comp.sys.next.programmer Subject: How to let a c executable find out its own name? Supersedes: <4814be$qp8@gap.cco.caltech.edu> Date: 11 Nov 1995 03:15:46 GMT Organization: California Institute of Technology, Pasadena Message-ID: <4814h2$qrs@gap.cco.caltech.edu> References: <47v1ef$ied@news.tuwien.ac.at> In article <47v1ef$ied@news.tuwien.ac.at>, Wolfgang Pusch <pusch@email.tuwien.ac.at> wrote: >Is there a way for a C-executable to find out its own name? >Is there a C-function available or a hack to do this? (The name should be >stored in a string and printed). This question is often asked and is answered in either the comp.lang.c or comp.unix.programmer FAQ, as I recall. The general answer is that, no, there is no foolproof way to do this in all conforming C implementations, and, no, there is no foolproof way to do this in most UNIXes. The FAQ suggests methods you may pursue if you only need an algorithm which works most of the time. Under NEXTSTEP, you can ask the main bundle for its name. I do not know if this method is foolproof. Add to all this the possibility of programs modifying themselves dynamically or a dynamic filesystem (e.g., deleting the program in question), and you can see that a general solution is quite difficult. -ccwf
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Need help initializing NXStringTable from a memory stream. Date: 10 Nov 1995 20:39:57 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <ed9azg3xe.fsf@steffi.accessone.com> References: <47oka0$43k@Vir.com> <47pspk$6p8@ironhorse.plsys.co.uk> Question.. Why is the stringTable in a typeStream? -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Re: RemoteDebugger? Date: 11 Nov 1995 06:19:07 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <481f8r$i6n@opal.southwind.net> References: <47vlr0$jn3@news.cs.tu-berlin.de> Thanks for the responses I have read both but I will make a generic reply basically you need another computer of the same type with the appropriate ethernet cards to use Nexts remote debugging facilities. To bad with the price of old Nextstations there use is remote debuggers would be nice. This is the way I understand it according to Rakesh Dubey from Next. Considering what I spent on my first machine this is not and option for a student hacker :( Is there anyway to fix the file system when you crash the kernel This is the most troublsome problem since whith a kernel crash I need too fix the file system which takes a long long time on only a 2 gig drive making the already unpleasent task of rebooting a Unix system onerous :( I can live with the reboot but not the disk fixing. Can I trap a unix signal in the kernel and synch the disk?? I really have no idea what the kernel does when it catches a signal from kernel code. Catching Unix signals from user code I understand what goes on in the Mach kernel when theirs a problem I don't. I probably need to read more books : ( Second Axel Haberman suggested the use of printf() can I use a lot of print()'s and when the ROM monitor comes up they are displayed there or should I watch the console till the driver crashes. Basically I need more info on the ROM monitor. And the limits of is capabilities. For one even thoug its called the ROM monitor its certianly noot in ROM on a Intel machine ? Thus it would seem to me a very nasty pointer could crash the kernel and take out the ROM monitor in the process ? I don't quite understand memory protection in the kernel I do know that inside a single user program a wild pointer or overun array bounds does not crash the program as long as it points to memory already in the program or unallocated (I think) leading to the classic nasy pointer bug. Which considering I did numerical programs I became used to seeing. Talk about strange unsolved bugs run over and array bound. Agian thanks for the replies I think I'm about ready to do some crashing just stay away from SCSI disk drivers to begin with : ) Especially if it's possible to synch the disk before rebooting. Mike
From: mrothste@phoenix.csc.calpoly.edu (Mont Egan Rothstein) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Re: NS 4.0 Date: 10 Nov 1995 23:30:20 -0800 Organization: Cal Poly, State University Message-ID: <481jec$pr3@phoenix.csc.calpoly.edu> References: <47nl04$ce3@axl02it.ntc.nokia.com> NNTP-Posting-User: mrothste Keywords: MACH, BSD In article <47nl04$ce3@axl02it.ntc.nokia.com>, Alan Barclay <barclay@king.trs.ntc.nokia.com> wrote: >Hi, > >Anyone of you who is using NS 4.0 ... > >Can you tall which version of MACH it is based on ? >Is it MACH 3.0 or still a MACH2.0/2.5 Hybrid? > >Can you tell which version of BSD it is based on ? > >Thanks >Alan. > >-- >Alan Barclay >The Electric Scribe Co. Ltd. >alan@escribe.co.uk > As for bsdNeXT said 4.4 at ObjectWorld. I think that they more or less have NeXTmach now that is completely seperate from CM's Mach, but I could be wrong. -Mont
From: marcos@dogen.imana.com (Marcos Javier Polanco) Newsgroups: comp.sys.next.programmer Subject: Looking for users of Portable Parallel C Date: 11 Nov 1995 08:51:02 GMT Organization: TLGnet, a division of RGNet, Inc. Message-ID: <481o5m$oet@kadath.zeitgeist.net> Hello, I'm looking for a developer experienced in using th Portable Parallel C package on PVMs. If you are such a person, please let me know. Thanks. -- ========================================================= - marcos j. polanco The Siteseer is your personalized - marcos@imana.com HOTLIST of 'cool sites' on the Web! - 415-255-1102 Find it at http://www.imana.com/ =========================================================
From: Paul Lynch <Paul_Lynch@plsys.com> Newsgroups: comp.sys.next.programmer Subject: Re: Need help initializing NXStringTable from a memory stream. Date: Sat, 11 Nov 1995 09:15:39 GMT Organization: P & L Systems Sender: news@seer.demon.co.uk Message-ID: <1995Nov11.091539.23787@seer.demon.co.uk> References: <ed9azg3xe.fsf@steffi.accessone.com> In article <ed9azg3xe.fsf@steffi.accessone.com> robert@steffi.accessone.com (Robert Nicholson) writes: > Question.. Why is the stringTable in a typeStream? Robert, this took some while to work out who it might be directed at, as you didn't include a References header, or quote the original article. Here's the key line from my response: > stream = NXOpenTypedStreamForFile("stringTableArchive", NX_READONLY); NXTypedStream is required for use with the read:/write: methods; as implemented by any NeXT supplied class. This is the quickest and easiest way to create an archive copy or load an archive copy of any object (with 3.2 Developer). NXStringTable also supports readFromFile:/readFromStream:, which puts the object out in a readable format. If you want to use that, then: NXStringTable *aStringTable; aStringTable = [[NXStringTable alloc] init]; [aStringTable readFromFile:"filename"]; So long as you have sent: [aStringTable writeToFile:"filename"]; Somewhere else. Paul -- Paul Lynch (NeXTmail) http://www.plsys.co.uk/~paul (under construction)
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <stes@can.nl> From: <stes@can.nl> Date: Sat, 11 Nov 1995 12:40:08 +0100 Message-ID: <9511111140.AA14565@canc.can.nl> Subject: Re: OpenStep spec changes? For a little "prelude" on OpenStep hell, refer to NeXTanswer 1905. These people don't know what they're doing. David Stes e-mail: stes@can.nl www: http://www.can.nl/~stes
From: shess@subzero.winternet.com (Scott Hess) Newsgroups: comp.sys.next.programmer Subject: Re: NSData subclassing Date: 11 Nov 1995 15:07:32 GMT Organization: Is a sign of weakness Distribution: world Message-ID: <SHESS.95Nov11090732@subzero.winternet.com> References: <47qkvo$qa9@cisun2000.unil.ch> <47r8f7$141@news.next.com> <47sf80$pih@cisun2000.unil.ch> <SHESS.95Nov9132119@klondike.winternet.com> In-reply-to: shess@klondike.winternet.com's message of 09 Nov 1995 19:21:18 GMT In article <SHESS.95Nov9132119@klondike.winternet.com>, shess@klondike.winternet.com (Scott Hess) writes: <Cover info about a combination NSArray/NSValue object omitted> <...> >The source code is included below as a uuencoded .tar.gz file. >If you can't read the source code, you shouldn't be using this. >[And that is _not_ saracasm. _I'm_ certainly not going to support >it.] For unknown reason, the posted uuencoded file was corrupt. [The original was fine, the posted one had a one-character difference ... I have _no_ idea where it came from.] I'm putting a copy of the archive at ftp://ftp.winternet.com/users/shess/NSValueArray.tar.gz. Make sure you turn on binary mode ... Later, -- scott hess <shess@winternet.com> (WWW to "http://www.winternet.com/~shess/") Office: 101 W. Burnsville Pkwy, Suite 108F, Burnsville, MN 55337 890-1332 "There's nothing more dangerous than a resourceful idiot" -Dilbert
From: juliana@semlab1.sbs.sunysb.edu (Juliana L. Silva) Newsgroups: comp.sys.next.programmer Subject: Adding on-line help Date: 7 Nov 1995 20:57:40 GMT Organization: State University of New York at Stony Brook Message-ID: <47oh84$ide@abel.cc.sunysb.edu> I am trying to add on-line help to an application. The first problem I found was that in the Help Panel, whenever I used the "Find" facility to find a word not present in the current document, the application would die and give a bus error. Then I found out that, in order to use "Find", we should build an index with "ixbuild -v" in the Help directory. The problem is that now, build fails. Below is the output in the ProjectBuilder window: --------------------------------------------------------------------- /usr/bin/compresshelp English.lproj/Help -o /Syntactica.app/English.lproj/Help.store compresshelp warning: Files TreeViewer3.rtfd/ChrisWalks.eps and TreeViewer5.rtfd/YOU.eps have the same sum but their contents differ. sh: 2250 Bus error *** Exit 138 Stop. *** Exit 1 Stop. --------------------------------------------------------------------- Any hints on what I might be doing wrong? (Please reply to juliana@semlab1.sbs.sunysb.edu) Thanks in advance, Juliana Freire
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: Programming question Date: 11 Nov 1995 17:48:52 GMT Organization: University of Heidelberg, Germany Message-ID: <482nm4$nd5@sun0.urz.uni-heidelberg.de> References: <DHopyH.BKz@news.cis.umn.edu> In article <DHopyH.BKz@news.cis.umn.edu> klett002@maroon.tc.umn.edu (James P. Klett) writes: > Ok ObjC Guru, > > Does anyone know hoe this might be done?? > > I have a window with some buttons in it. When the user clicks on a certain > buton, I want to drop the window down to un-cover a row of hidden buttons that > are previously not visible because they are below the bottom border of the > window. I do the following:: > > NX_HEIGHT ( &newWindowFrame ) += offset; // Number of pixels needed > [myWindow placeWindowAndDisplay: &newWindowFrame ]; > > This code causes the window to grow from the top, and if I set all of the > buttons to stretch from the bottom, then they are all pulled up ok but this > does not work for two reasons. > > 1. When I try to return the window to its original size, the internal > buttons do not return to there original locations, so i get a mess. > > 2. I dont want the window to grow from the top and have all of it's > internal buttons move up. I want it to "Drop Down" and then when the user is > done, to close back up to the original size. > > Any ideas?? Last week I wrote a small app, implementing a very simple sound view. If you push the button, the window grows and you can see it,... pushing the button back shrinks the window. This is the action method that implements that behavior: - toggleSoundView:sender { NXRect newWindowFrame; [noteWindow getFrame:&newWindowFrame]; if (largeWindow) { // Make smaller NX_HEIGHT(&newWindowFrame) -= NX_HEIGHT(&soundViewFrame); NX_Y(&newWindowFrame) += NX_HEIGHT(&soundViewFrame); [[noteWindow contentView] setDrawOrigin:0.0 : NX_Y(&originalViewSize)]; [noteWindow placeWindowAndDisplay:&newWindowFrame]; largeWindow = NO; } else { // Make bigger NX_HEIGHT(&newWindowFrame) += NX_HEIGHT(&soundViewFrame); NX_Y(&newWindowFrame) -= NX_HEIGHT(&soundViewFrame); [[noteWindow contentView] setDrawOrigin:0.0 : NX_Y(&originalViewSize) - NX_HEIGHT(&soundViewFrame)]; [noteWindow placeWindowAndDisplay:&newWindowFrame]; largeWindow = YES; } return self; } and this is the relevant part of awakeFromNib: - awakeFromNib { // Get the original window size [soundView getFrame:&soundViewFrame]; [[noteWindow contentView] getFrame:&originalViewSize]; largeWindow = NO; .... I hope this will help. -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Big Int? Message-ID: <jpanicoDHxKw0.ABy@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Sun, 12 Nov 1995 12:48:00 GMT Sender: jpanico@netcom22.netcom.com Hi, Has anyone written an ObjC class to represent arbitrarily large integers? Thanks for any info. -- Joe Panico NeXTStep/OpenStep Developer BLaCKSMITH Inc. jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: stevem@radium.ca (Stephen MacDougall) Newsgroups: comp.sys.next.programmer Subject: Re: How to let a c executable find out its own name? Date: 12 Nov 1995 21:07:21 GMT Organization: ftn Internet Message-ID: <485nm9$l32@master.ftn.net> References: <47v1ef$ied@news.tuwien.ac.at> <4814h2$qrs@gap.cco.caltech.edu> ccwf@locke.klab.caltech.edu (Charles Fu) wrote: > In article <47v1ef$ied@news.tuwien.ac.at>, > Wolfgang Pusch <pusch@email.tuwien.ac.at> wrote: > >Is there a way for a C-executable to find out its own name? > >Is there a C-function available or a hack to do this? (The name should be > >stored in a string and printed). > > This question is often asked and is answered in either the comp.lang.c or > comp.unix.programmer FAQ, as I recall. The general answer is that, no, > there is no foolproof way to do this in all conforming C implementations, > and, no, there is no foolproof way to do this in most UNIXes. The FAQ > suggests methods you may pursue if you only need an algorithm which works > most of the time. > > Under NEXTSTEP, you can ask the main bundle for its name. I do not know if > this method is foolproof. > > Add to all this the possibility of programs modifying themselves > dynamically or a dynamic filesystem (e.g., deleting the program in > question), and you can see that a general solution is quite difficult. > > -ccwf As far as I know, on all implementations of cc that I have used, argv[0] is supposed to return the name of the program. For example: myName.c: #include <stdio.h> main(int argc, char * argv[]) { printf("Hello, my name is %s.\n\n",argv[0]); } When this program is run, it will output the following: Hello, my name is myName. Hope this is what you were looking for. -- ============================================================================ | | | | Stephen MacDougall | #include <std_disclaimer.h> | | RADium Technology Centre (Canada) | | | stevem@RADium.ca | (NeXTMail and MIME capable) | | | | ============================================================================
From: nagendra@cs.bu.edu (nagendra mishr) Newsgroups: comp.sys.next.programmer Subject: c++ mode for emacs 18? Date: 12 Nov 1995 23:54:05 GMT Organization: Computer Science Department, Boston University, Boston, MA, USA Message-ID: <4861et$sdt@news.bu.edu> Does any know where I can find c++ mode for emacs 18? Also, does anyone have emacs 19.xx for Motorola? Nagendra nagendra@csa.bu.edu
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: How to let a c executable find out its own name? Date: 12 Nov 1995 23:39:27 GMT Organization: Information Technology Solutions, Inc. Message-ID: <4860jf$9fm@news.its.com> References: <47v1ef$ied@news.tuwien.ac.at> wolfgang@neptun.nt.tuwien.ac.at (Wolfgang Pusch) wrote: > Is there a way for a C-executable to find out its own name? > Is there a C-function available or a hack to do this? (The name should be > stored in a string and printed). #include <stdio.h> main(int argc, char *argv[]) { // You could also use the global variable NXArgv under NEXTSTEP.... printf("\nThe program name is: %s\n\n", argv[0]); } -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
Message-ID: <DHE35L.CyB@shinto.nbg.sub.org> Organization: STEPeople's home (A NUGI member) References: <1995Oct31.161531.11468@il.us.swissbank.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: tomi@shinto.nbg.sub.org (Thomas Engel) Subject: Re: Avoid conflicts - Class name convention Date: 01 Nov 1995 23:10:33 +0000 Newsgroups: comp.sys.next.programmer Distribution: world In article <1995Oct31.161531.11468@il.us.swissbank.com> pelletk@il.us.swissbank.com (Ken Pelletier) writes: > Oh, well, that's one of the cons of a global class namespace. I'll stick with > two char's for my stuff and deal with collisions if they occur. > The main problem is that you would need a way to access to current list of registrated filetypes or class extensions. Having them in a secret filearchive is nice...but not as helpful as having them on the web. If Scott (stepwise) is not interested then I could suggest making it part of the developers corner on EduStep. Aloha Tomi -- _________________________________________________________ (tomi@shinto.nbg.sub.org) Thomas Engel Neptunstr. 9 NeXTMail welcome D - 90522 Oberasbach Germany
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 13 Nov 1995 05:15:10 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <486k8u$9c6@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-IL - ATTENTION all CHICAGO based NeXTSTEP Developers Date: 13 Nov 1995 03:49:05 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <4870q1$ai8@newsbf02.news.aol.com> Chicago NeXT developers - to 80k + Sign-On Bonus+ Bonus My client is currently establishing a new office in Chicago, and is aggresively hiring NeXTSTEP developers for a large NeXT based project. This billion dollar company needs to hire at least 12 NeXT professionals to assume lead roles in the development of a new financial based system. You will develop applications in a state-of-the-art NeXT environment that includes NeXTSTEP 3.3, Sybase, EOF, PDO and AppKit, and will include OpenStep and WindowsNT. Due to the current market demands for good NeXT developers, my client will pay up to 80k or more, for top developers, as well as, a sign on-bonus, a 1996 bonus and excellent benefits. I would particularly like to talk to NeXT developers who are currently working for banking and finance companies in Chicago, as the renumeration package available is specifically aimed at that type of candidate. If you feel you have the necessary background, contact me today. If you were considering looking for a new position after the New Year, this may be the right opportunity for you, as my client will arrange start dates in January. Contact: Brian Mitchell Datacom Technology Group 212-629-5720 212-629-3374(FAX)
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Problem with "`variable' may be used uninitialized" warning Message-ID: <DHz66p.E5@hurka.UUCP> Keywords: c compiler warning Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) Date: Mon, 13 Nov 1995 09:25:37 GMT Hi All, I found the following problem with "`variable' may be used uninitialized" warning. ************************** /Users/tom/test> cc -v Reading specs from /lib/i386/specs NeXT Computer, Inc. version cc-437.2.6, gcc version 2.5.8 /Users/tom/test> cat tt.c #import <stdio.h> int main() { int x; printf ("Value %d\n",x); return 0; } /Users/tom/test> cc -Wall tt.c /Users/tom/test> cc -O -Wall tt.c tt.c: In function `main': tt.c:4: warning: `x' may be used uninitialized in this function /Users/tom/test> ************************** Does anybody have an explanation, why the warning is detected only if I use optimization? I don't see any reason for this behavior. Best regards, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: bjanzen@rainbow.rmii.com (Barry Janzen) Newsgroups: comp.sys.next.programmer Subject: Re: FileMerge / opendiff broke Date: 13 Nov 1995 13:57:00 GMT Organization: Rocky Mountain Internet Inc. Message-ID: <487irc$ie8@natasha.rmii.com> References: <487geu$ibm@natasha.rmii.com> Oops, an error showed up on the console. FileMerge[248]: DPS client library error: Error while writing to connection, DPSContext 27250, data -102 FileMerge[248]: Exiting due to Window Server death I've also tried copying a version of FileMerge that worked on another machine (and I get the same DPS error). Any help? Barry : FileMerge / opendiff has never worked on one of the NeXT 3.3 machines I inherited. I suspected something in /usr/local/bin interfering, which proved not to be the case. /bin/diff and /usr/bin/diff work just fine. Any suggestions on where to look next? : Barry Janzen : bjanzen@objectmfg.com
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Java for Nextstep? Date: 13 Nov 1995 16:01:12 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <487q49$gh1@opal.southwind.net> Is ther a working version of Java for Nextsep I looked on Suns site but it offered Java only for Suns OS? I checked the ftp sites and came up dry. Thank's mike@hobbs.chem.usu.edu mike@southwind.net Mike
From: charlie@why.az.stratus.com (Charles_Spitzer) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 13 Nov 1995 16:40:11 GMT Organization: Stratus Computer Inc, Marlboro MA Message-ID: <487sdb$bvo@transfer.stratus.com> References: <DHz66p.E5@hurka.UUCP> In article <DHz66p.E5@hurka.UUCP> tom@hukatronic.cz (Tomas Hurka) writes: > Hi All, > > I found the following problem with "`variable' may be used uninitialized" > warning. > ************************** > /Users/tom/test> cc -v > Reading specs from /lib/i386/specs > NeXT Computer, Inc. version cc-437.2.6, gcc version 2.5.8 > /Users/tom/test> cat tt.c > #import <stdio.h> > > int main() > { int x; > > printf ("Value %d\n",x); > return 0; > } > /Users/tom/test> cc -Wall tt.c > /Users/tom/test> cc -O -Wall tt.c > tt.c: In function `main': > tt.c:4: warning: `x' may be used uninitialized in this function > /Users/tom/test> > ************************** > Does anybody have an explanation, why the warning is detected only if I > use optimization? I don't see any reason for this behavior. > > Best regards, > -- > Tomas Hurka > tom@hukatronic.cz > NeXTMAIL and MIME OK (international mail <50 KB accepted) because the detection of uninitialized variables is frequently done only in the optimization phase of the compiler. it has to do with flow diagrams of compiled code for optimization. you don't need these diagrams if you're not doing the opt, so you don't get the warning. -- Charles Spitzer charlie@az.stratus.com Customer Assistance Center Stratus Computer, Inc. Phoenix, AZ 85018
From: rog@ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer Subject: Re: Tracking rectangles Date: 13 Nov 1995 16:33:19 GMT Organization: Department of Electronics, University of York, UK. Message-ID: <487s0f$9p2@netty.york.ac.uk> References: <9511031349.AA01532@flexus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Fri, 3 Nov 95 14:49:30 +0100, Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> wrote: >Does anyone know whether mouse pointer tracking is rock solid (then I can >eliminate NEXTSTEP (which I now suspect more than my own code) as a possible >cause for this bug)? >Has anyone made an in-depth analysis of tracking issues, with perhaps a general >workaround for -[Window setTrackingRect:inside:owner:tag:left:right:]'s >limitations? Well, most programmers will only use this for cursor management... mouse pointer tracking is not at all rock solid, as far as i can gather. i don't think i'm alone in occasionally getting pointer anomalies (text cursor outside a Text view; normal cursor in a text view) from various unrelated applications. i was trying to debug a similar annoying bug in my own application. occasionally it would temporarily lose track of the current cursor type. i eventually gave up, because the app seemed to be doing everything it should be; something was being lost somewhere in the system layer. i'd blame NEXTSTEP. rog. (my views only)
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Re: Java for Nextstep? Date: 13 Nov 1995 17:24:50 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <487v12$kmi@opal.southwind.net> References: <487q49$gh1@opal.southwind.net> In reply to my own message : ) Send mail too next-java-request@friday.com with the word subscribe in the body. found this on http://java.sun.com/Mail/external_lists.html Sometimes, no most of the time I fire off a post the USENET before I do enough homework : ) Mike
From: edmtl@alf.uib.no (Thor Legvold) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.software,comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer Subject: Big PC problems - can't log in, many crashes, help! *URGENT* Date: 13 Nov 1995 17:28:02 +0100 Organization: University of Bergen Message-ID: <487rmi$bkq@alf.uib.no> Hi. I really need help to get my machine into some sort of useable condition - this is driving me crazy. Symptom: I cannot log in to my normal user account. Background: see below... In the 1 or 2 weeks I've had the new machine, the system has crashed on average once every 24 hours. I thought I had finally localized the problem to excessive dps errors, but this morning something new happenned. When I logged in, most of my docked autostart programs didn't start. They tried and failed (no message in console or in /private/adm/messages). Most programs would not work at all - they started to launch and then died without any warning. A few did work - Preferences, WorkspaceMangler and Edit. Terminal would not work. No commercial/3rd party apps worked. When I tried logging in as root everything worked (I'm here as root now). I tried rebooting, exiting the windowserver, etc etc, nothing helps. The only change I made in the system was to install Calliope.font in ~/Library/Fonts last night. I tried building the afmdir without affecting anything. I tried removing the font (the only 3rd party font on the machine) but no change. I checked all permissions, ownerships, etc in the entire system - no problems. I still can't start apps as myself, only as root. As root I su'ed to my own home account and fired up gdb to try a few apps. Opener and FrameMaker both gave similar errors: Opener: Memory Access exception on address 0x60155 (protection failure) 0x5095cdb in dbSwapInLeaf () FrameMaker: Memory Access exception on address 0x1e171d (invalid address) 0x5095cd2 in dbSwapInLeaf () Trying to start them from a terminal (su'd to my home account) gave a segmentation fault and a bus error, respectively. The worst is, after trying this I was _completely_ unable to log into my home account (i.e. my regular user account, not root). I get the background colour and then I get a new login screen. No error messages. I'm really getting upset at this constant failure and crashing of NSfIP - this PC has crashed/paniced/shown "weird" behaviour more times in two weeks than all the years I've used a NeXT computer. I wondered if it was hardware, but then the root account would also be flakey, no? I'm ready to return the entire machine and get something else (what, Dell? Sun? HP? DEC?) before it makes me crazy. All of you with PC's - is this _normal_ behaviour??? Here's my config, hard and software (I tried booting with default config, no change - still can't login): Intel Endeavor mainboard, Triton Chipset, PCI 2.2 controller, AMI BIOS, ISA/PCI bus (10MHz/60MHz), 256kb pipeline burst cache, 16MB RAM (2x8MB SIMM), on board floppy, 2x on board EIDE/ATA/ATAPI, on board parallell, Matrox MGA Millenium 2MB WRAM. Not sure where the serial controller is - probably on the mainboard, Quantum Fireball 1.0GB EIDE hardisk (512 block size, multiple (8) sector transfers enabled). Wait - /private/adm/messages reports PCI controller version 2.10, not 2.2 (that's what technical support reported they use...) I have (in Config.app) configured the folowing: Display: MatroxMGA2064W 1024x1280/75Hz, RGB:256/8 Mouse: Serial Mouse (v3.33) Network: none SCSI: none Sound: System Beep Driver (v3.30) Other Devices: Serial port 1&2 (v3.33); ISA/EISA Bus (v3.30); PCI Bus (v3.30); PS/2 Keyboard (v3.30) (actually its a Winlose keyb); TTY Port server (v3.33); On board Paralell port (v3.30) There are no config conflicts. I have enabled (in BIOS and in NeXTSTEP) power saving (sleep/suspend after 30 minutes inactivity) for both system and monitor. I have ppp2.2 as a loadable kernel driver to run ppp, otherwise there's nothing strange. I've installed MiscKit and "productivity" software I use daily (between crashes :-), not much else. I'm really wondering what this might be. I've installed the 3.3 patch1 package several days ago, but it didn't seem to affect the systems reliability or speed (I hear others find the system faster after patch?), it kept crashing. I have not (yet) run the post-install script (don't know which is appropriate - should I go into every executable on the machine to find what uses posix libs??? This is crazy. Do I need the new posix lib to replace the 3.2 version I have? probably not.) I have English, Swedish and French installed as language packages on the system. As far as I understand NeXTstep, the login program starts the windowserver and Workspace - all from one central copy - I don't understand why it works as root but not as myself - the permissions seem correct and this is something that just "happned" - the only thing I've done is surf a bit on the Web, download Calliope and install it in ~/Apps and the Calliope font in ~/Library/Fonts. I tried the app but it quit because I haven't installed Sonata.font yet. Could this be some sort of virus (I'm guessing wildly now...) Any/all suggesstion are more than welcomed - please e-mail me directly, I haven't time to wade through news. Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors Norway | edmtl@edb.uib.no (NeXTmail)
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Mon, 13 Nov 95 12:21:56 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9511131121.AA00820@flexus> Subject: Re: -[View displayFromOpaqueAncestor:::] I jumped to conclusions too hastily, based on a simple drawing that was, well, too simple. Just goes to show that induction is not a valid scientific method, if not merely as a source for ideas to try to falsify later. Of course, mathematics should be the tool of computer science. Sorry. Perhaps the correct code will be in the next KBNS. Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: eric@pisces.USask.Ca (Norum,132L,6308,3737314) Newsgroups: comp.sys.next.programmer Subject: More perl woes Date: 13 Nov 1995 20:53:33 GMT Organization: University of Saskatchewan Message-ID: <488b8d$bk1@tribune.usask.ca> I'm trying to get perl on my machine so I can run autodoc. - Get the perl5.001 sources from an archive site - Use the NeXTSTEP 3.2 hints file - Accept all the defaults - make --- Perl compiles with no problems - make test --- Perl runs all its tests with no errors - make install --- Perl installs with no problems So far so good, I think to myself. - Get the autodoc stuff, follow the installation instructions See if autodoc is there: eric@pisces 238> autodoc -version Segmentation fault eric@pisces 239> Sigh. I just *love* errors like that. Any suggestions about what to do now would be appreciated. Eric Norum eric@skatter.usask.ca Saskatchewan Accelerator Laboratory Phone: (306) 966-6308 University of Saskatchewan FAX: (306) 966-6058 Saskatoon, Canada. NeXTMail accepted.
From: edmtl@alf.uib.no (Thor Legvold) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.software,comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer Subject: Re: Big PC problems - can't log in, many crashes, help! *URGENT* Date: 13 Nov 1995 20:54:42 +0100 Organization: University of Bergen Message-ID: <4887q2$k3q@alf.uib.no> References: <487rmi$bkq@alf.uib.no> The login problem I've solved - something corrupt in ~/.NeXT was enough to cause a lot of headache - why it didn't allow login with missing or standard values is beyond me. As for being buggy, several have indicated that this is often hardware glitches and that NSfIP is very stable, given that the latform its run on is also stable. I'd still appreciate advice to keep crashes to a minimum, and am considering having a new mainboard installed while it's still under garantee (at the least I'll get PCI 2.2 controller instead of 2.1...) Tips/hints/ideas as always are welcome via e-mail. Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors Norway | edmtl@edb.uib.no (NeXTmail)
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Re: Problem with "`variable' may be used uninitialized" warning Message-ID: <DI090I.1rv@hurka.UUCP> Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <487sdb$bvo@transfer.stratus.com> Date: Mon, 13 Nov 1995 23:24:18 GMT In article <487sdb$bvo@transfer.stratus.com> charlie@why.az.stratus.com (Charles_Spitzer) writes: > > Does anybody have an explanation, why the warning is detected > > only if I use optimization? I don't see any reason for this > > behavior. > because the detection of uninitialized variables is frequently > done only in the optimization phase of the compiler. it has to > do with flow diagrams of compiled code for optimization. you > don't need these diagrams if you're not doing the opt, so you > don't get the warning. I see and I understand, but on the other hand I think that this is very useful warning and in most cases this warining indicates an error, so it will be very useful to detect it regardless of the optimization. -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 14 Nov 1995 01:20:12 GMT Organization: Information Technology Solutions, Inc. Message-ID: <488qsc$hvt@news.its.com> References: <DHz66p.E5@hurka.UUCP> tom@hukatronic.cz (Tomas Hurka) wrote: > Hi All, > I found the following problem with "`variable' may be used uninitialized" > warning. [ ... ] > Does anybody have an explanation, why the warning is detected only if I > use optimization? I don't see any reason for this behavior. The compiler can only detect those types of situations when you turn on the optimizer becuase those warnings depend on "variable liveness" information which is generated by one of the earlier phases of optimization. This hopefully was mentioned in the documentation.... -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: eric@pisces (Eric Norum) Newsgroups: comp.sys.next.programmer Subject: New IEEE488 Driver/Library Date: 14 Nov 1995 02:41:54 GMT Organization: University of Saskatchewan Message-ID: <488vli$p1n@tribune.usask.ca> I have uploaded a new version of my NEXTSTEP 3.3 IEEE-488 device driver and library. Driver binaries are in: ftp.cs.orst.edu:/pub/next/submissions/IEEE488Driver1.0.pkg.tar.gz Driver and library sources are in: ftp.cs.orst.edu:/pub/next/submissions/IEEE488Driver1.0.src.tar.gz Changes include: - Library of some simple IEEE-488 device classes. - All source now under RCS. -- Eric Norum eric@skatter.usask.ca Saskatchewan Accelerator Laboratory Phone: (306) 966-6308 University of Saskatchewan FAX: (306) 966-6058 Saskatoon, Canada. NeXTMail accepted.
From: penrose@ucsd.edu (Christopher Penrose) Newsgroups: comp.sys.next.programmer Subject: More Indexing Kit Documentation? Date: 14 Nov 1995 04:04:49 GMT Organization: CERFnet Message-ID: <4894h1$3us@news.cerf.net> Keywords: commercial Hullo! Is there any good indexing kit documentation out there? I'd like to take the postings in a IXPostingList and repost them in a IXPostingSet with a different Attribute. Is this possible? I have yet to figure out an efficient way to do this. Any help would be appreciated! Chris Penrose penrose@ucsd.edu
From: penrose@ucsd.edu (Christopher Penrose) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Indexing Kit Query Language Woes! Date: 14 Nov 1995 03:15:46 GMT Organization: CERFnet Message-ID: <4891l2$2of@news.cerf.net> Keywords: IXAttributeQuery Hello Folks! I am attempting to query a IXRecordManager using IXAttributeQuery. From the documentation that I have, it seems that IXAttributeQuery will accept queries in the form of (const char *)'s that are valid Indexing Kit Query Language statements. My application manages to generate this query: and(eq(word "louse")) from the Indexing Kit Query Language specification, it seems to be a valid statement. gdb manages to indicate that the query is null-terminated: (gdb) display queryString 2: queryString = {"and(eq(word \"louse\"))", '\000' <repeats 7882 times>"} BUT, my code... if ( (query = [[IXAttributeQuery alloc] initQueryString: (const char *)queryString andAttributeParser:nil]) == nil ) { fprintf(stderr,"Error accepting queryString\n"); exit(-1); } exits due to a returned nil. This seemingly indicates that IXAttributeQuery has found a syntactical flaw in my expression. Is there some syntactical arcana that I am missing? Thanks for any help! Christopher Penrose penrose@ucsd.edu http://www-crca.ucsd.edu/TajMahal/after.html
Newsgroups: comp.sys.next.bugs,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.software,comp.soft-sys.nextstep,comp.sys.next.bugs From: s2404675@techst02.technion.ac.il (Shkolnik Uri ) Subject: HELP Please Organization: Technion, Israel Institute of Technology Date: Tue, 14 Nov 1995 08:16:36 GMT Message-ID: <DI0xnp.4At@discus.technion.ac.il> Sender: news@wang.com Hello, I'am a computers administrator in a small Israeli company. We have 2 NexTStep which I had never touch before (the other parts of our system are sun's & PC's). Two days ago I tryed to change some E-mail configuration in one of the NexTStep, but its system crashed !!! I found only one User Guide book and I know nobody in Israel that know anything about this operation system. May you help me with: 1) Advice about good NexTStep administration book(s). 2) Internet NexTStep information sites. 3) Help me by E-mail for a while (I have poor English as you see but I'll do my best..). Thanks -- ****************************************************************** * Uri Shkolnik * * ============ * * Harmonic Lightwaves (Israel) * * Phone: 972 4 550180 / Fax ~181 * * E-Mail: root@harmonic.co.il * * [or]: uri@harmonic.co.il [or]: s2404675@t2.technion.ac.il * ****************************************************************** Newsgroups: comp.sys.next.hardware Summary: Keywords: -- ****************************************************************** * Uri Shkolnik * * ============ * * Harmonic Lightwaves (Israel) * * Phone: 972 4 550180 / Fax ~181 * * E-Mail: root@harmonic.co.il * * [or]: uri@harmonic.co.il [or]: s2404675@t2.technion.ac.il * ******************************************************************
From: 1reich@rzdspc122.informatik.uni-hamburg.de (Stefan Reich) Newsgroups: comp.sys.next.programmer Subject: Re: FileMerge / opendiff broke Date: 14 Nov 1995 10:48:49 GMT Organization: University of Hamburg -- Germany Message-ID: <489s6h$4ks@rzsun02.rrz.uni-hamburg.de> References: <487geu$ibm@natasha.rmii.com> <487irc$ie8@natasha.rmii.com> Barry Janzen (bjanzen@rainbow.rmii.com) wrote: : Oops, an error showed up on the console. : FileMerge[248]: DPS client library error: Error while writing to connection, DPSContext 27250, data -102 : FileMerge[248]: Exiting due to Window Server death : I've also tried copying a version of FileMerge that worked on another machine : (and I get the same DPS error). Any help? : Barry I had the same problem after upgrading from 3.2 and modifing the result... Take a look at /usr/gnu/bin, Filemerge uses _this_diff and diff3. If they are lost, just make a link to the directory where your favorite GNU diffutils reside. Stefan
From: Bernhard Scholz <scholz@informatik.tu-muenchen.de> Newsgroups: comp.sys.next.programmer Subject: Re: New IEEE488 Driver/Library Date: Tue, 14 Nov 1995 13:08:22 +0100 Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <Pine.HPP.3.91.951114130725.29003E-100000@hphalle8b.informatik.tu-muenchen.de> References: <488vli$p1n@tribune.usask.ca> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <488vli$p1n@tribune.usask.ca> On 14 Nov 1995, Eric Norum wrote: > I have uploaded a new version of my NEXTSTEP 3.3 IEEE-488 device driver > and library. > Driver binaries are in: > ftp.cs.orst.edu:/pub/next/submissions/IEEE488Driver1.0.pkg.tar.gz > Driver and library sources are in: > ftp.cs.orst.edu:/pub/next/submissions/IEEE488Driver1.0.src.tar.gz > > Changes include: > - Library of some simple IEEE-488 device classes. > - All source now under RCS. Great, great, great! Many thanks, I'm going to start a project now using your driver. Greetings, Boerny. -- Bernhard Scholz (IRC: Boerny) scholz@informatik.tu-muenchen.de http://peanuts.leo.org/ scholz@ve1.rm.op.dlr.de http://www.leo.org/~scholz/
From: borrel@abdallah.hiof.no (Borre Ludvigsen) Newsgroups: comp.sys.next.programmer Subject: ncftp binary? Date: 14 Nov 1995 10:13:05 GMT Organization: Ostfold College Message-ID: <489q3h$7fe@hod.hiof.no> Has anyone successfully compiled ncftp on black hardware? Is the bnary available on a site somewhere? - Barre Ludvigsen
Newsgroups: comp.sys.next.programmer From: olaf@orest.escape.de Subject: Re: Problem with "`variable' may be used uninitialized" warning Message-ID: <DI194K.7L@orest.escape.de> Sender: olaf@orest.escape.de (Olaf Mueller) Organization: Objective Methods, Inc. References: <DHz66p.E5@hurka.UUCP> Date: Tue, 14 Nov 1995 12:24:20 GMT In article <DHz66p.E5@hurka.UUCP> tom@hukatronic.cz (Tomas Hurka) writes: > Hi All, > > I found the following problem with "`variable' may be used uninitialized" > warning. > ************************** > /Users/tom/test> cc -v > Reading specs from /lib/i386/specs > NeXT Computer, Inc. version cc-437.2.6, gcc version 2.5.8 > /Users/tom/test> cat tt.c > #import <stdio.h> > > int main() > { int x; > > printf ("Value %d\n",x); > return 0; > } > /Users/tom/test> cc -Wall tt.c > /Users/tom/test> cc -O -Wall tt.c > tt.c: In function `main': > tt.c:4: warning: `x' may be used uninitialized in this function > /Users/tom/test> > ************************** > Does anybody have an explanation, why the warning is detected only if I > use optimization? I don't see any reason for this behavior. > > Best regards, > -- > Tomas Hurka > tom@hukatronic.cz > NeXTMAIL and MIME OK (international mail <50 KB accepted) Tomas, In case of NOT using optimization, variables will be initialized when declared, typically with a ZERO value. So it is a proof of intelligence of cc, to NOT warn you. But i don't know, where is the sense of this initialization in case of not using -O. Regards Olaf
From: droege@informatik.uni-koblenz.de (Detlev Droege) Newsgroups: comp.sys.next.programmer Subject: Re: FileMerge / opendiff broke Date: 14 Nov 1995 13:38:53 GMT Organization: University Koblenz / Germany Distribution: world Message-ID: <48a65d$dft@newshost.uni-koblenz.de> References: <487irc$ie8@natasha.rmii.com> In article <487irc$ie8@natasha.rmii.com> bjanzen@rainbow.rmii.com (Barry Janzen) writes: > Oops, an error showed up on the console. > > FileMerge[248]: DPS client library error: Error while writing to connection, DPSContext 27250, data -102 > FileMerge[248]: Exiting due to Window Server death > > I've also tried copying a version of FileMerge that worked on another machine > (and I get the same DPS error). Any help? You should verify that gnu diff is in the place where FileMerge expects it: /usr/gnu/bin/diff I know of a case where this was removed and caused similar (DPS) messages in the console. Out of the (3.3) box, GNU cmp, diff3, sdiff and sort get installed there too, but I don't know if FileMerge needs those too. Unfortunately the path (/usr/gnu/bin) is hardwired into FileMerge, so they _must_ reside there. Detlev -- Detlev Droege, Uni Koblenz, FB Informatik, Rheinau 1, D-56075 Koblenz, Germany Tel:+49 261 9119-421,Fax:-497,NeXT/MIME/Email:droege@informatik.uni-koblenz.de C++ is the only current language making COBOL look good. --Bertrand Meyer
From: Matija Exel <exel@lag.ensieg.fr> Newsgroups: comp.sys.next.programmer Subject: menu cells with icons Date: 14 Nov 1995 13:14:20 GMT Organization: E.N.S.I.E.G./Service Informatique et L.A.G. Message-ID: <48a4nc$4mh@cicg-communication.grenet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello, I would like to define a menu cell with a title which is not a plain string (it has greek letters inside). My first idea was to use an icon (using the "initiconCell" method) for the cell title. However the documentation says that "you should never set a MenuCell's icon". Is there a workaround? (i am under NS 3.2) ----------------------------------------------------------------- Matija Exel, E.N.S.I.E.G., Service Informatique et L.A.G., Tel : 76 82 71 12 Fax: 76 82 63 88 e-mail : exel@lag.ensieg.fr (NO NextMail please) -----------------------------------------------------------------
From: prusk@ctp.com (Patrick Dean Rusk) Newsgroups: comp.sys.next.programmer Subject: Re: Adding on-line help Date: Tue, 14 Nov 1995 14:17:16 GMT Organization: Cambridge Technology Partners Message-ID: <48a885$9ri@concorde.ctp.com> References: <47oh84$ide@abel.cc.sunysb.edu> juliana@semlab1.sbs.sunysb.edu (Juliana L. Silva) wrote: >Then I found out that, in order to use "Find", we should build an index >with "ixbuild -v" in the Help directory. >The problem is that now, build fails. Below is the output in the >ProjectBuilder window: >--------------------------------------------------------------------- >/usr/bin/compresshelp English.lproj/Help -o >/Syntactica.app/English.lproj/Help.store >compresshelp warning: Files TreeViewer3.rtfd/ChrisWalks.eps and >TreeViewer5.rtfd/YOU.eps have the same sum but their contents differ. >sh: 2250 Bus error >*** Exit 138 >Stop. >*** Exit 1 >Stop. >--------------------------------------------------------------------- This is just a guess from the error message presented, but it's possible that ixbuild does some sort of checksum on EPS files that it indexes and it expects them to come up with unique sums. The two EPS files that you have may have the same checksum. Try opening one of them in Edit and adding a space somewhere, or perhaps changing a comment. Then try the build again. Just a guess. Please repost the results of trying this. --- Patrick Dean Rusk E: prusk@ctp.com Cambridge Technology Partners T: 617-374-8761 304 Vassar St. F: 617-374-8300 Cambridge, MA 02139
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 14 Nov 1995 15:30:36 GMT Organization: Information Technology Solutions, Inc. Message-ID: <48acms$7b9@news.its.com> References: <487sdb$bvo@transfer.stratus.com> <DI090I.1rv@hurka.UUCP> tom@hukatronic.cz (Tomas Hurka) wrote: [ ... ] > I see and I understand, but on the other hand I think that this is very > useful warning and in most cases this warining indicates an error, so it > will be very useful to detect it regardless of the optimization. In order to have the information required to provide those warnings, the compiler has to perform some fairly expensive (in both space and time) preliminaries in the optimizer. It doesn't really make sense to compute this information in order to provide warnings but not use it to also perform code optimization. If you want those warnings, compile with "-O -g -Wall". What's the problem with that? -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
Newsgroups: comp.sys.next.programmer From: pemmerik@solair1.inter.NL.net (P.J.L. van Emmerik) Subject: DPS client library error: Any help? Message-ID: <DI1Ip1.7sr@inter.NL.net> Sender: news@inter.NL.net (News at news) Organization: Holec Projects Date: Tue, 14 Nov 1995 16:48:55 GMT I get the following error message: DPS client library error: PostScript program error, DPSContext 25e9b4 %%[ Error: syntaxerror; OffendingCommand: bin obj seq, type=129, elements=10, size=93, bad fixed scale ]%% DPS client library error: PostScript program error, DPSContext 25e9b4 %%[ Error: undefined; OffendingCommand: ]%% I am not doing anything with postcript in the application that i am writing. I display a matrix with buttencells of wich i set the title and the image and altimage. Any pointers? Please Email: pemmerik@solair1.inter.NL.net
From: howlandr@cadvision.com (Royce Howland) Newsgroups: comp.sys.next.programmer Subject: Re: Tracking rectangles Date: 14 Nov 1995 14:14:51 GMT Organization: CADVision Message-ID: <48a88r$h5q@cadvision.com> References: <9511031349.AA01532@flexus> <487s0f$9p2@netty.york.ac.uk> rog@ohm.york.ac.uk (Roger Peppe) wrote: > On Fri, 3 Nov 95 14:49:30 +0100, Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> wrote: > >Does anyone know whether mouse pointer tracking is rock solid (then I can > >eliminate NEXTSTEP (which I now suspect more than my own code) as a possible > >cause for this bug)? > >[...] > > mouse pointer tracking is not at all rock solid, as far as i can gather. > [...] With an app of mine that does mouse tracking, I have observed that mouseExited events sometimes fail to be processed by the app when the mouse leaves the tracking rectangle. I spent a lot of time trying to figure out why, and eventually gave up, putting it down to flakiness in the tracking mechanism. Missing mouseExited events could account for the behavior we sometimes get in many apps where the cursor changes when entering a certain area of an app, but fails to change back when leaving the area. -- Royce Howland, Object Systems Group howlandr@cadvision.com Howland_Royce@pcp.ca (PanCanadian Petroleum) I speak, but not for OSG or PCP.
From: zhao@crl.nmsu.edu (Z. Zhao) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: help: trouble in compiling ncsa httpd 1.5 Date: 14 Nov 1995 19:12:49 GMT Organization: Computing Research Lab/New Mexico State University Message-ID: <ZHAO.95Nov14121249@sparta.crl.nmsu.edu> In compiling the new version of NCSA httpd, I run into error messages: # make next cd src ; make next ; cd ../cgi-src ; make next; cd ../support ; make next make tar AUX_CFLAGS=-DNeXT CC=cc CFLAGS=-02 DBM_LIBS=-ldbm cc -c -02 -DNeXT -DDIGEST_AUTH -DDBM_SUPPORT httpd.c cc: unrecognized option `-02' /NextDeveloper/Headers/bsd/netinet/ip.h:127: undefined type, found `n_long' /NextDeveloper/Headers/bsd/netinet/ip.h:130: undefined type, found `n_long' *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 Stop. I looked around in whole /usr/include directory and couldn't find where 'n_long' should be defined. Is this a famous 'bug' or invention in nextstep 3.3? Anyway, I put 'typedef long n_long;' in the ip.h, it works, though, I don;t if I did right thing. Well, it is obvious that the NCSA httpd team didn't do their home work on a nextstep system. Otherwise, how come 'cc' has a '-02' option instead of '-O2'. Thanks, zhao
From: eric@skatter.USask.Ca Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 14 Nov 1995 17:49:43 GMT Organization: University of Saskatchewan Message-ID: <48akrn$rm7@tribune.usask.ca> References: <DHz66p.E5@hurka.UUCP> <DI194K.7L@orest.escape.de> olaf@orest.escape.de writes: >Tomas, >In case of NOT using optimization, variables will be initialized when >declared, typically with a ZERO value. >So it is a proof of intelligence of cc, to NOT warn you. AACCKKK!!! NO! NO! NO! NO! This is *not*, I repeat, *NOT* true! Variables that are neither `static' nor `extern' have no defined value before being set. -- Eric Norum eric@skatter.usask.ca Saskatchewan Accelerator Laboratory Phone: (306) 966-6308 University of Saskatchewan FAX: (306) 966-6058 Saskatoon, Canada. NeXTMail accepted.
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <stes@can.nl> From: <stes@can.nl> Date: Tue, 14 Nov 1995 16:46:39 +0100 Message-ID: <9511141546.AA25520@canc.can.nl> Subject: RE: Big Int? >Hi, > >Has anyone written an ObjC class to represent arbitrarily large integers? > >Joe Panico >NeXTStep/OpenStep Developer Joe, You might find the Integer object of the Computer Algebra Kit useful. Feel free to ftp a copy of the software from the web in my signature and see whether it can do something for you. I'll continue to provide versions of the Computer Algebra Kit for the former (it seems, from NeXT's web) NextStep operating system, in addition to versions for other OS-es. I've been told by aficionados of OpenStep marketing that my objects are not "OpenStep compliant", and after working a while with the Foundation Kit, I think we'll keep it that way, which might or might not be an issue for you as a NeXTStep/OpenStep developer. David Stes e-mail: stes@can.nl www: http://www.can.nl/~stes
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Mathematica Notebook Interface? Date: 14 Nov 1995 18:51:34 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <48aofm$6m2@opal.southwind.net> I am wondering if there is a freely available version of the Mathematica Notebook Interface for Nextstep. Specifically I am interested in there block structure with its cut and paste methods. Their notebook interface is not standard to the Appkit but I find it a very powerful interface and would like to incorporate it into other projects. I like how the copy method just highlights the block bar and the nesting of code blocks etc. For interpreted block structured languages this "editor" feature can make writing/debugging code much easier. I find it one of the joys of writng Mathematica code. It would also be convenient for page design programs ala TeX. Which has a inherent block structure. Also one thing not directly available in Mathematica would be to to allow the linking of a block to a wide variety of services. Thus one could seclect a block and if its on the receiving end of a gui button show the link to the gui button ala IB. Thus instead of links to no GUI objects disappearing in to formless object in IB it will follow the link to the actual code. This linking can also be extended to include links similar to thos in HTML. This would allow the follwoing of dependencies in code in the same manner that one would search the web for a given topic. Another possibility would be a powerful interface that replaces the current Unix shell CLI programs and scripting languages. If there is not one I will write Wolfram Research concerning this and see what they will do. I have already called them and was given the correct email address to make the request. If its already available please send me information on how to obtain it. If not if other people are interested in using this interface or would preferably like it in the MiscKit then please email me and I will tell Wolfram Research that there are several interested parties. Thanks Mike mike@hobbs.chem.usu.edu
From: woo@ornl.gov (John W. Wooten) Newsgroups: comp.sys.next.programmer Subject: Re: More perl woes Date: 14 Nov 1995 18:57:52 GMT Organization: Oak Ridge National Lab, Oak Ridge, TN Distribution: world Message-ID: <48aorg$juo@stc06.ctd.ornl.gov> References: <488b8d$bk1@tribune.usask.ca> In article <488b8d$bk1@tribune.usask.ca> eric@pisces.USask.Ca (Norum,132L,6308,3737314) writes: > I'm trying to get perl on my machine so I can run autodoc. > > - Get the perl5.001 sources from an archive site > - Use the NeXTSTEP 3.2 hints file > - Accept all the defaults > - make --- Perl compiles with no problems > - make test --- Perl runs all its tests with no errors > - make install --- Perl installs with no problems > > So far so good, I think to myself. > Let me know when you get this working. I'm trying to get perl5.001m installed for the same reason on both m68k (3.2) and Intel (4.0alpha). Can't get a configuration that will actually make correctly. I get duplicate names in the linker, omitted information in doio.c, sigh! I would really like to find a configure.h file set up for these for next. Or a tarred compressed fat binary? - - - - - - - - - J. W. Wooten
From: steve@xray.rice.edu (Steve Ludtke) Newsgroups: comp.sys.next.programmer Subject: NXHelpPanel, cannot figure out addSupplement:inPath: Date: 14 Nov 1995 19:27:16 GMT Organization: Rice University, Houston, Texas Message-ID: <48aqik$bu9@larry.rice.edu> The documentation for addSupplement:inPath: in the NXHelpPanel is less than clear. I cannot figure out what to pass as parameters for this routine. I've tried about 10 different sets of parameters to load supplementary help from a bundle. Everything else in the bundle works fine... If anyone has had success with this routine, could you possibly send me a code snippet??? Thanks! ------------------------------------------------------------------- Steve Ludtke | Physics Dept., Rice Univ. steve@ion.rice.edu | stevel@alumni.caltech.edu | * Those who do ARE * 72335,1537 @ compuserve | The converse also holds
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Mon, 13 Nov 95 19:12:52 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9511131812.AA01950@flexus> Subject: Re: Avoid conflicts - Class name convention Hello, If you want to register a prefix for your exclusive use, check out the Identifier Domain Registry: ftp://ftp.cs.orst.edu/software/NeXT/documents/IDR.README ftp://ftp.cs.orst.edu/software/NeXT/documents/IDR.rtf Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: NXHelpPanel, cannot figure out addSupplement:inPath: Date: 14 Nov 1995 19:00:08 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <epweuy43r.fsf@steffi.accessone.com> References: <48aqik$bu9@larry.rice.edu> <steve@xray.rice.edu> writes: >The documentation for addSupplement:inPath: in the NXHelpPanel is less than >clear. I cannot figure out what to pass as parameters for this routine. I've >tried about 10 different sets of parameters to load supplementary help from >a bundle. Everything else in the bundle works fine... >If anyone has had success with this routine, could you possibly send me a >code snippet??? Thanks! [bla addSupplement:"SupHelp" inPath:path]; Where SupHelp is the directory name in the appropriate language wrapper path is the path name of the directory name ie. directory name will be SupHelp and path will the the parent of where SupHelp lies. eg. /LocalLibrary/Bla.bundle/English.lproj -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: macneils@aol.com (MacneilS) Newsgroups: comp.sys.next.programmer Subject: An Interesting 15 Question Survey Date: 14 Nov 1995 19:19:48 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <48bbn4$e53@newsbf02.news.aol.com> An Interesting 15 Question Survey Hello, I am a senior doing an anthropological study of the subculture of computer programmers for my Anthropology class. I would be very grateful if you could take a moment of your time to fill out this short survey, and to mail it to macneils@aol.com. All responses will be strictly confidential. You can have as long of answers as you want. Thank you for your time. 1. What is your gender? 2. How old are you? 3. About how long have you been programming? 4. What programming language(s) do you currently use? 5. Do you have a favorite language that you do not use? If so, why aren't you using it? 6. Are you satisfied with your job? 7. What do you feel about language wars and flame wars? Do they happen too often? 8. What is your feeling towards younger programmers? 9. Do you think the average computer programmer has greater than average intelligence? 10. Do you think the media has the image of the "computer nerd" down right? 11. Is the choice of programming language important (such as object-oriented languages over procedural languages)? 12. What is the worst part about programming? 13. What is the best part about programming? 14. Is the statement that there is a computer programmer subculture valid? 15. Is there anything else you would like to add? Once again, thank you for your time. Macneil Shonle MacneilS@aol.com
From: paul@pth.com (Paul Tognato-Haddad) Newsgroups: comp.sys.next.programmer Subject: Palettizing a PopUp subclass? Date: 13 Nov 1995 05:23:03 GMT Organization: FishNet Message-ID: <486knn$74l@wanda.pond.com> Hi, I'm trying to create an IB palette of a PopUp with a subclassed Button. Anyways I've used NXAttachPopUpList to hook up my Button subclass to the PopUp, however when I double click on my PopUp I am not able to edit the PopUp. I think this has something to do with the IBEditor being set to the Button's IBEditor, and not the PopUp's IBEditor... Can anyone who has gotten this to work tell me how? Thanx, -- Paul (NeXTmail preferred) # Paul R. Tognato-Haddad (paul@pth.com) (Home) 610-265-3025 (Fax) 610-265-3026
Newsgroups: comp.sys.next.programmer From: belka@il.us.swissbank.com (Andy Belk) Subject: Re: OpenStep spec changes? Message-ID: <1995Nov15.004759.15494@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <9511111140.AA14565@canc.can.nl> Date: Wed, 15 Nov 1995 00:47:59 GMT In article <9511111140.AA14565@canc.can.nl> <stes@can.nl> writes: > > For a little "prelude" on OpenStep hell, refer to NeXTanswer 1905. > These people don't know what they're doing. > > David Stes > e-mail: stes@can.nl > www: http://www.can.nl/~stes I took a look at this out of curiosity. All it seems to say is don't try running a version of an app built with a Foundation library newer than the one installed on your machine. This is true for any shared libraries - even when I was writing shlibs on VAX/VMS. So what's the problem ? Andy Belk Not speaking for SBC, etc.
From: penrose@ucsd.edu (Christopher Penrose) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: IXPostingSet formIntersectionWithPostingsIn: Help! Date: 15 Nov 1995 00:29:18 GMT Organization: The University of California at San Diego Message-ID: <48bc8u$1gk@news2.ucsd.edu> Keywords: indexing kit, handles Hullo! I have some question regarding the NeXTstep Indexing Kit, particularly the IXPostingExchange protocol compliant classes. First of all, the NeXTstep documentation is very vague regarding handles and postings. I am trying to create a posting set with through cursoring a searchKey into a IXRecordManager. After obtaining this set, I'd like to be able to create a new set that has all of these postings in it, but indexed by a different attribute (which is present in each of these objects). I am trying to do some like this: /* allocate posting set */ wordset = [[IXPostingSet alloc] init]; /* allocate and localize cursor on word attribute */ cursor = [[control recMan] cursorForAttributeNamed:WRASTRWORD]; /* enter key and length into cursor object */ [cursor setKey:(void *)searchKey andLength:STRINGLEN(searchKey)]; /* put all matching postings (by handle) in posting set */ [wordset formUnionWithPostingsIn:cursor]; /* allocate posting list for access to complete stored objects */ postingList = [[IXPostingList alloc] initWithSource:[control recMan] andPostingsIn:wordset]; /* free current cursor */ [cursor free]; /* free current posting set */ [wordset free]; /* allocate and localize cursor on aLink attribute */ cursor = [[control recMan] cursorForAttributeNamed:WRAINTLINK]; /* allocate posting set for aLink searches */ linkset = [[IXPostingSet alloc] init]; /* put all aLink attribute handles into posting set */ [linkset formUnionWithPostingsIn:cursor]; /* intersect these postings with keySearch posting list */ [linkset formIntersectionWithPostingsIn:postingList]; I am not sure that this code is working in the way that I had intended it. I have another question regarding the IXPostingSet formIntersectionWithPostingsIn: method. This method seems to be very powerful, but it is perhaps not as general a tool as I would like. I would like to take two IXPostingSets that each have WRAINTLINK attribute handles in them, and I would like to remove all WRAINTLINK *values* that are not present in both sets. I thought that formIntersectionWithPostingsIn: would work initially, but it doesn't seem to operate on values but strictly on handles. Christopher Penrose penrose@ucsd.edu http://www-crca.ucsd.edu/after.html
From: frederic@pegase (Frederic GALOT) Newsgroups: comp.sys.next.programmer Subject: composite & trackingRect Date: 15 Nov 1995 21:46:10 GMT Organization: Alienor Informatique, Bordeaux, France Message-ID: <48dn32$e34@ai.alienor.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello, I am using the compositing way in one of my application while dragging whith the mouse. But when I‚m going to an other view I compose on top and I DON‚T WANT. Is there a way of making a tracking Rect for composite operators? Thanks Fred. -- --------------------------------------- ® ® | ® O_O ® ® | O_O -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Fred Galot fgalot@xlan.alienor.fr
Newsgroups: comp.sys.next.programmer From: gerald@kurt.in-berlin.de (Gerald Erdmann) Subject: How to get "now"-time of DPSTimedEntry manually? Message-ID: <1995Nov14.214658.2792@kurt.in-berlin.de> Sender: news@kurt.in-berlin.de Date: Tue, 14 Nov 1995 21:46:58 GMT Hi! If you work with timed entries you find the current time in the parameter (double)now. How can I get this time without using a timed entry? It seems that "now" is equal to the gone seconds of the day. Thanks for your help, Gerald --------------------------------------------------------------------- | GERALD ERDMANN | email: gerald @ kurt.in-berlin.de (NeXTmail welcome) | voice: +49 30 372 43 10 (Germany - Berlin) | crypt: pgp2 public key available |
Newsgroups: comp.sys.next.programmer From: yzhao@netcom.com (Yi Zhao) Subject: Re: Adjusting height of DBTableView row elements? Message-ID: <yzhaoDI2MLo.94o@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <47kdbg$qcu@shellx.best.com> <47kkra$go1@news.netvoyage.net> Date: Wed, 15 Nov 1995 06:13:00 GMT Sender: yzhao@netcom21.netcom.com : In a custom subclass of DBTableView that employs static rows and columns I : use the following to adjust height: : [[super rowAt:i] setMaxSize:12.00]; // adjust row vector height What about EOF? I tried setMaxSize:, sizeTo: methods and saw no effect at all. I also sent layoutChanged: message to the table view, still didn't work. Do I need to put them in some special places for it to work?
Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin From: byrnes@virginia.edu (Peter-john Byrnes) Subject: libg++ 2.6.2? Message-ID: <DI2pqu.2Ln@murdoch.acc.Virginia.EDU> Sender: usenet@murdoch.acc.Virginia.EDU Organization: University of Virginia Date: Wed, 15 Nov 1995 07:20:54 GMT Has anyone been able to get libg++2.6.2 to compile? I'm trying to get Jim Clark's great new set of SGML tools, SP, to run on my 3.3/3.2 Intel machine, and it needs a later version of the library than the one which came with the Dev package (it needs a later version of gcc, too, but I was able to get that to work, thank heaven). My deep appreciation goes to anyone who can help. -- Peter-john Byrnes Online Scholarship Initiative, University of Virginia URL: http://osi.lib.virginia.edu/ Email: byrnes@virginia.edu (NeXT/MIMEmail OK) Phone: 804/924-3169 FAX: 804/924-1431
From: penrose@ucsd.edu (Christopher Penrose) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc Subject: Indexing Kit Concepts Help needed Date: 15 Nov 1995 00:29:12 GMT Organization: The University of California at San Diego Message-ID: <48bc8o$1gj@news2.ucsd.edu> Keywords: handles, postings Hullo! I have some question regarding the NeXTstep Indexing Kit, particularly the IXPostingExchange protocol compliant classes. First of all, the NeXTstep documentation is very vague regarding handles and postings. I am trying to create a posting set with through cursoring a searchKey into a IXRecordManager. After obtaining this set, I'd like to be able to create a new set that has all of these postings in it, but indexed by a different attribute (which is present in each of these objects). I am trying to do some like this: /* allocate posting set */ wordset = [[IXPostingSet alloc] init]; /* allocate and localize cursor on word attribute */ cursor = [[control recMan] cursorForAttributeNamed:WRASTRWORD]; /* enter key and length into cursor object */ [cursor setKey:(void *)searchKey andLength:STRINGLEN(searchKey)]; /* put all matching postings (by handle) in posting set */ [wordset formUnionWithPostingsIn:cursor]; /* allocate posting list for access to complete stored objects */ postingList = [[IXPostingList alloc] initWithSource:[control recMan] andPostingsIn:wordset]; /* free current cursor */ [cursor free]; /* free current posting set */ [wordset free]; /* allocate and localize cursor on aLink attribute */ cursor = [[control recMan] cursorForAttributeNamed:WRAINTLINK]; /* allocate posting set for aLink searches */ linkset = [[IXPostingSet alloc] init]; /* put all aLink attribute handles into posting set */ [linkset formUnionWithPostingsIn:cursor]; /* intersect these postings with keySearch posting list */ [linkset formIntersectionWithPostingsIn:postingList]; I am not sure that this code is working in the way that I had intended it. I have another question regarding the IXPostingSet formIntersectionWithPostingsIn: method. This method seems to be very powerful, but it is perhaps not as general a tool as I would like. I would like to take two IXPostingSets that each have WRAINTLINK attribute handles in them, and I would like to remove all WRAINTLINK *values* that are not present in both sets. I thought that formIntersectionWithPostingsIn: would work initially, but it doesn't seem to operate on values but strictly on handles. Christopher Penrose penrose@ucsd.edu http://www-crca.ucsd.edu/after.html
From: newsmaster@arzana.co.uk Newsgroups: comp.sys.next.programmer Subject: Re: NXHelpPanel, cannot figure out addSupplement:inPath: Date: Wed, 15 Nov 1995 12:34:32 GMT Organization: Arzana Limited Sender: news@arzana.co.uk Message-ID: <DI349K.tJ@arzana.co.uk> References: <48aqik$bu9@larry.rice.edu> In article <48aqik$bu9@larry.rice.edu> steve@xray.rice.edu (Steve Ludtke) writes: > The documentation for addSupplement:inPath: in the NXHelpPanel is less than > clear. I cannot figure out what to pass as parameters for this routine. I've > tried about 10 different sets of parameters to load supplementary help from > a bundle. Everything else in the bundle works fine... > > If anyone has had success with this routine, could you possibly send me a > code snippet??? Thanks! > I've put a code segment below to show you how to do this, but remember that there is a bug for bundles with NXHelpPanel - it can't make use of Help.store files (generated by compresshelp) - this was reported in V3.2. So you must copy in the entire (uncompressed) Help directory to the bundle's .lproj, before the below will work: - help:sender { id bundle = nil; id helpPanel = [NXHelpPanel new]; char path[MAXPATHLEN+1] = "\0"; bundle = [NXBundle bundleForClass:[self class]]; if (![bundle getPath:path forResource:"English" ofType:"lproj"]) { return nil; } [helpPanel addSupplement:"Help" inPath:path]; [helpPanel makeKeyAndOrderFront:self]; return self; } Best things, Andrew --- Andrew D. Forkes Arzana Limited Email: Andrew_Forkes@arzana.co.uk (NeXT and MIME are fine)
From: Etienne_Klein@lca.u-nancy.fr (Etienne Klein) Newsgroups: comp.sys.next.programmer Subject: A little question about pswrap Date: 15 Nov 1995 15:09:14 GMT Organization: CIRIL, Nancy, France Message-ID: <48cvqq$jf2@arcturus.ciril.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I found the following code in Yap source: defineps GetUserTime (| int *utime) yaptime utime endps defineps GetFocus(|float *llx; float *lly, *urx, *ury, ctm[6]; int *win) gsave clippath pathbbox ury urx lly llx grestore matrix currentmatrix {ctm} forall currentwindow win endps What's the meaning of the "|" before int and float. More generally, how can I pick a value on the postscript stack and return it outside the function ? Thanks for your help. Etienne Klein
From: franke@boehme.dbag.ulm.DaimlerBenz.COM (Juergen Franke) Newsgroups: comp.sys.next.programmer Subject: HelpBuilderPanel Date: 15 Nov 1995 15:11:45 GMT Organization: Daimler-Benz AG Message-ID: <48cvvh$fe1@news.sns-felb.debis.de> Keywords: Online Help How is it possible to enlarge (width) of the Online Help Builder Panel. I want to display larger images in my Online Help System. Thanks Juergen Franke
Newsgroups: de.comp.sys.next,comp.sys.next.programmer From: kris@white.schulung.netuse.de (=?ISO-8859-1?Q?Kristian_K=F6hntopp?=) Subject: RPC server with GUI? X_copyright: (C) Copyright 1995 Kristian Koehntopp -- All rights reserved. Reproduktion, auch auszugsweise, ausserhalb elektronischer, nichtkommerzieller Datennetze nur mit ausdruecklichem, schriftlichem Einverstaendnis des Autors. Organization: =?ISO-8859-1?Q?entf=E4llt?= Message-ID: <DI34or.CwK@white.schulung.netuse.de> X_excuse: X-Copyright wegen Emma, Suedwestpresse und /C'T/DISKUSSIONEN. Date: Wed, 15 Nov 1995 12:43:38 GMT [ Posting to international and national german newsgroups as a crosspost. Sorry for the language... ] I am using a Linux system as my ISDN gateway. This system is running isdn4linux, but has no useable display or keyboard. I am working at my Nextstation running Nextstep 3.2. isdn4linux has an informational device /dev/isdninfo that can be queried for the current status of the ISDN lines managed by isdn4linux. I have written a RPC service isdn_svc, that reads input from /dev/isdninfo and informs the caller about the current line status. At the nextstation, an ISDN monitor application polls isdn_svc and plays a sound at status changes. This is backwards for two reasons: Firstly /dev/isdninfo became a blocking device with the latest update. Reads from /dev/isdninfo will block until the state of any line changes. Secondly polling the Linux system creates a small, albeit unnecessary base load on my network. This does not scale well. I would like the Nextstation to be a RPC server with the Linux system (possible more than one) sending RPC updates to the server whenever the line status changes. I would like the RPC server to the integral part of the Nextstep application, but I have not the slightest idea if this is feasible or a good design. Since the RPC server as well as the application kit have ready made event loops, I cannot easily merge them both. -> Will I have to roll my own [ NXapp run ]? -> Or how do I integrate a RPC server into my application? -> Is there ONC RPC support in some ObjC library? Has anyone written some interface class for ONC RPC handling authentication, calls and the like? Kristian -- Kristian Koehntopp, Wassilystrasse 30, 24113 Kiel, +49 431 688897 "Wenn mein Bootmanager mir die Wahl zwischen OS/2 und LINUX laesst, und ich lade LINUX, so nennt man das natuerliche Selektion." -- berlich@ruhp8.physik.uni-freiburg.de (Peter Berlich) in d.t.b
From: Stefan Boehringer <boehrsbu@rz.ruhr-uni-bochum.de> Newsgroups: comp.sys.next.programmer Subject: WM recycler metaphor API Date: 15 Nov 1995 19:08:01 GMT Organization: Ruhr-Uni-Bochum Message-ID: <48ddqh$c53@sun168.rz.ruhr-uni-bochum.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Has anybody worked out how to use the WM recycler metaphor in self written apps? what pasteboardtype? any help appreciated. Thanks in advance.
From: eric@skatter.USask.Ca Newsgroups: comp.sys.next.programmer Subject: Compiling perl so Autodoc will work Date: 15 Nov 1995 19:50:41 GMT Organization: University of Saskatchewan Message-ID: <48dgah$id6@tribune.usask.ca> A couple of days ago I posted an article reporting the problems I was having getting Autodoc working. Thanks to a number of people I now have a working Autodoc. Step 1. Get the sources for perl5.001m and unpack them. Step 2. Run `Configure'. When asked for a `hints' file, specify `next_3'. From then on, just type <return> to accept all defaults. (Don't worry about some `WHOA' messages -- just type <return>). Step 3. Make, test and install perl. On my NS3.3/FIP machine, all the tests succeeded. Step 4. Follow the Autodoc installation instructions. And that's it! I don't know what the changes are between perl5.001 and perl5.001m, but I do know that Autodoc didn't work with the 5.001, and does work with 5.001m. -- Eric Norum eric@skatter.usask.ca Saskatchewan Accelerator Laboratory Phone: (306) 966-6308 University of Saskatchewan FAX: (306) 966-6058 Saskatoon, Canada. NeXTMail accepted.
From: sanguish@digifix.com Newsgroups: comp.sys.next.misc,comp.sys.next.programmer Subject: Re: help: trouble in compiling ncsa httpd 1.5 Date: 15 Nov 1995 21:21:46 GMT Organization: Digital Fix Development Message-ID: <48dlla$755@digifix.digifix.com> References: <ZHAO.95Nov14121249@sparta.crl.nmsu.edu> zhao@crl.nmsu.edu (Z. Zhao) wrote: > In compiling the new version of NCSA httpd, I run into error > messages: Sounds like this is under 3.3.... I've been told that there is some includes oddness when compiling under 3.3.. Under 3.2, I edited the Makefile by hand in the src directory and did a build all in that directory.. worked fine. There is a SMALL non-feature... strftime under NEXTSTEP doesn't understand %T, so you need to search for %T in the source and replace it with %H:%M:%S There are two, perhaps three occurances... Even that is optional...
From: jacob@dannug.dk (Jacob Nielsen) Newsgroups: comp.sys.next.programmer Subject: Re: c++ mode for emacs 18? Date: 15 Nov 1995 22:30:05 +0100 Organization: Danish NeXT User Group Sender: jacob@jnext Message-ID: <x7n39xwora.fsf@jnext> References: <4861et$sdt@news.bu.edu> In-reply-to: nagendra@cs.bu.edu's message of 12 Nov 1995 23:54:05 GMT To: nagendra@cs.bu.edu (nagendra mishr) >>>>> "NM" == <4861et$sdt@news.bu.edu> nagendra@cs.bu.edu (nagendra mishr) writes: NM> Does any know where I can find c++ mode for emacs 18? Also, NM> does anyone have emacs 19.xx for Motorola? Emacs_for_NeXTstep.4.1 is 19.28.2 and it's full GUI :-) It's on Peanuts as: <long path or just cd next>Emacs_for_NeXTstep.4.1.NIHS.b.tar.gz (there's source as well in the same directory) I seem to remember that you have to be using NS3.3 to use the precompiled version... Regards, Jacob -- Jacob Nielsen Maintainer of NEXTSTEP Software Reviews http://www.dannug.dk/jacob NeXTMail, MIMEMail and SUNMail jacob@dannug.dk
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-Southern TX - NeXTSTEP Developer - Immediate Start - to 80k+ Date: 15 Nov 1995 22:06:54 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <48e9se$8m1@newsbf02.news.aol.com> My client, part of a multi-billion Fortune 100 company, has an immediate need for a NeXTSTEP developer in Southern Texas. Candidates must have a strong development background in NeXTSTEP, with a good knowledge of NeXT tools and a RDBMS. You will be offered an excellent salary, benefits, and relocation assistance. Call me today! Brian Mitchell Datacom Technology Group Inc 212-629-5720 212-629-3374(FAX)
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: A little question about pswrap Date: 15 Nov 1995 19:02:33 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <ezqdxw9bq.fsf@steffi.accessone.com> References: <48cvqq$jf2@arcturus.ciril.fr> To: Etienne_Klein@lca.u-nancy.fr (Etienne Klein) <Etienne_Klein@lca.u-nancy.fr> writes: >Hi, >I found the following code in Yap source: >defineps GetUserTime (| int *utime) > yaptime utime >endps >defineps GetFocus(|float *llx; float *lly, *urx, *ury, ctm[6]; int *win) > gsave clippath pathbbox ury urx lly llx grestore > matrix currentmatrix {ctm} forall > currentwindow win >endps >What's the meaning of the "|" before int and float. >More generally, how can I pick a value on the postscript stack and return it >outside the function ? >Thanks for your help. That are output parameters. > Etienne Klein -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Compiling perl so Autodoc will work Date: 15 Nov 1995 20:18:37 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eka51w5sy.fsf@steffi.accessone.com> References: <48dgah$id6@tribune.usask.ca> BTW: Perl5.001n is the current version. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
Newsgroups: comp.sys.next.programmer From: aslater@jocko.bri.hp.com (Al Slater) Subject: Misc Q. (was Re: RemoteDebugger?) Sender: news@bri.hp.com (News User) Message-ID: <DI4yDz.Bx7@bri.hp.com> Date: Thu, 16 Nov 1995 12:22:47 GMT References: <47vlr0$jn3@news.cs.tu-berlin.de> <481f8r$i6n@opal.southwind.net> Organization: Hewlett-Packard Michael Emmel (mike@hobbs.chem.usu.edu) wrote: <snip> : Is there anyway to fix the file system when you crash the kernel Umm, fsck the raw device, if you are feeling wild, fsck -y. : This is the most troublsome problem since whith a kernel crash I need too : fix the file system which takes a long long time on only a 2 gig drive : making the already unpleasent task of rebooting a Unix system onerous :( It's easy. Nearly always fsck gets it back. (ie Ive pulled power out on boxes before now and its got them back, the update daemon generally does a good job of syncing every N seconds). : I can live with the reboot but not the disk fixing. See above. : Can I trap a unix signal in the kernel and synch the disk?? update should do it for you. (not sure if this is applicable for NS, but most BSD based ones do. If you like, write a daemon that calls sync (2) every 30 seconds, simply fork, kill your parent, child then runs in background and does the system call to sync after every N seconds. S'easy). : I really have no idea what the kernel does when it catches a signal from : kernel code. Catching Unix signals from user code I understand what goes : on in the Mach kernel when theirs a problem I don't. I probably need to : read more books : ( : Second Axel Haberman suggested the use of printf() can I use a lot of : print()'s and when the ROM monitor comes up they are displayed there or : should I watch the console till the driver crashes. Basically I need more : info on the ROM monitor. And the limits of is capabilities. For one even : thoug its called the ROM monitor its certianly noot in ROM on a Intel : machine ? Thus it would seem to me a very nasty pointer could crash the : kernel and take out the ROM monitor in the process ? I don't quite : understand memory protection in the kernel I do know that inside a single : user program a wild pointer or overun array bounds does not crash the : program as long as it points to memory already in the program or : unallocated (I think) leading to the classic nasy pointer bug. Which : considering I did numerical programs I became used to seeing. Talk about : strange unsolved bugs run over and array bound. : Agian thanks for the replies I think I'm about ready to do some crashing : just stay away from SCSI disk drivers to begin with : ) SCSI devices are _relatively_ simple to talk to. : Especially if it's possible to synch the disk before rebooting. Depends what you've done to it. If you have fsck'd it, you SHOULDNT sync first as this will do untold badness to the disk, in this case you should reboot without sync. It does this automatically if you manage to fry the disk and it has to fsck on normal bootup from power on. (ie, itll say it's fixing the disk, then do a reboot by itself) : Mike cheers, al
From: franke@boehme.dbag.ulm.DaimlerBenz.COM (Juergen Franke) Newsgroups: comp.sys.next.programmer Subject: Re: HelpBuilderPanel Date: 16 Nov 1995 12:24:09 GMT Organization: Daimler-Benz AG Message-ID: <48fah9$jd5@news.sns-felb.debis.de> References: <48d0db$mpg@hamlet.dbag.ulm.DaimlerBenz.COM> In <48d0db$mpg@hamlet.dbag.ulm.DaimlerBenz.COM> Juergen Franke wrote: > How is it possible to enlarge (width) of the Online Help Builder Panel. > I want to display larger images in my Online Help System. > Thanks > Juergen Franke The answer I got is: The Help panel sets its width to that of TableOfContents.rtf . Try making TableOfContents.rtf wider before building Help.store.
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 16 Nov 1995 15:53:32 GMT Organization: Sense Networking Seattle (www.oz.net) Message-ID: <48fmps$jef@emerald.oz.net> References: <487sdb$bvo@transfer.stratus.com> <DI090I.1rv@hurka.UUCP> <48acms$7b9@news.its.com> chuck@its.com (Chuck Swiger) wrote: > If you want those warnings, compile with "-O -g -Wall". > What's the problem with that? > During the coding and debugging phases, building with -O requires more time which is significant for large projects. Debugging optimized code can be confusing and difficult because of what optimization can do. So it's much nicer to avoid optimization until the code is stable and testing is about to begin, but then you discover the initialized variables which would have been nice to discover during the earlier debugging phase. But we can't have it both ways, it seems :-( -- Art Isbell NeXT & MIME Mail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Wed, 15 Nov 95 20:12:48 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9511151912.AA02760@flexus> Subject: Re: Problem with "`variable' may be used uninitialized" warning ftp://ftp.cs.orst.edu/software/NeXT/documents/KBNS.33.1.README.rtf.gz ftp://ftp.cs.orst.edu/software/NeXT/documents/KBNS.33.1.rtf.gz KBNS.10.1.010
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Big Int? Date: 16 Nov 1995 18:30:18 GMT Organization: Information Technology Solutions, Inc. Message-ID: <48fvvq$l5b@news.its.com> References: <jpanicoDHxKw0.ABy@netcom.com> jpanico@netcom.com (Joe Panico) wrote: > Hi, > Has anyone written an ObjC class to represent arbitrarily large integers? No that I know of, but you can check out the Multiple-Precision library (man mp), or get GNU mp... -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: btatem@pratique.fr (Mar.K) Newsgroups: comp.sys.next.programmer Subject: Help me Date: Thu, 16 Nov 1995 21:32:49 +0100 Organization: Funky Grinderz Message-ID: <btatem-1611952132490001@ts2-p30.dialup.iway.fr> Where can i get some snapshots of NeXT step ? Can u send me some ? Can u mail me ? Thanks :-) -- Peace :-)
From: mark_bessey@next.com (Mark Bessey) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep spec changes? Date: 16 Nov 1995 18:25:34 GMT Organization: NeXT Computer, Inc. Message-ID: <48fvmu$o6h@news.next.com> References: <9511111140.AA14565@canc.can.nl> <stes@can.nl> writes > > For a little "prelude" on OpenStep hell, refer to NeXTanswer 1905. > These people don't know what they're doing. > > David Stes > e-mail: stes@can.nl > www: http://www.can.nl/~stes Maybe you could be a little more specific - It seems pretty straightforward to me. Each more recent version of Foundation is backward compatible with applications developed with the previous versions. Applications using Foundation can only run on systems using a version of Foundation greater than or equal to the version they were developed under. What were you expecting? And what do you mean by "OPENSTEP hell"? -Mark -- Mark Bessey NeXT Computer, Inc Software Quality Assurance -->I DON'T SPEAK FOR NeXT <--
From: gerti@is.com (Gerd Knops) Newsgroups: comp.sys.next.programmer Subject: Re: Compiling perl so Autodoc will work Date: 16 Nov 1995 18:16:25 GMT Organization: Integrity Solutions, Inc. Message-ID: <48fv5p$oqn@medusa.is.com> References: <eka51w5sy.fsf@steffi.accessone.com> In article <eka51w5sy.fsf@steffi.accessone.com> robert@steffi.accessone.com (Robert Nicholson) writes: > BTW: Perl5.001n is the current version. > The perl5porters did not intend to distribute 5.001n, it is more an internal release in preparation for the next public one. It does not compile clean on a number of systems and has some other problems. perl5.001o should be showing up every day now (it was scheduled for yesterday, but got postponed), so please wait till then. -- Gerd Knops Phone: (612) 223-8474 Integrity Solutions Software Engineer Fax : (612) 223-8481 23 Empire Drive gerti@IS.com HTML : www.is.com St. Paul, MN 55103
From: swift@bu.edu (Matthew Swift) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: how can I use the NeXT Dictionary and Thesaurus from non-NS Unix? Date: 16 Nov 1995 16:05:45 -0500 Organization: The University Professors, Boston University, Boston MA USA Sender: swift@aleph.bu.edu Message-ID: <m2viokw9qu.fsf@aleph.bu.edu> I used to use NextStep (on black hardware) and still have a (legitimately owned) copy of the Webster dictionary and thesaurus. I would like to use it from Linux. I don't presume there is a program already written? How do you think I could go about writing a simple program to read the dictionary? Is the file format documented? Any pointers or guesses appreciated. --
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <stes@can.nl> From: <stes@can.nl> Date: Thu, 16 Nov 1995 20:10:44 +0100 Message-ID: <9511161910.AA03400@canc.can.nl> Subject: Re: OpenStep spec changes (Somebody replied to my previous message in this thread, saying that he wanted public explication/justification on my cursing of the OpenStep/FoundationKit guys in this thread, because "what's wrong with that NeXTanswer?".) I posted a follow-up to a discussion between two NeXT employees in the "OpenStep spec changes" thread about OpenStep changes or incompatibilities between various implementations. I referred to a NeXTanswer that shows you the complicated situation already for a relatively small product like Foundation Kit, meaning that you can expect something in OpenStep. The cursing (sorry, nothing personal) was inspired by the statements "I'm not sure what's going on" of the one person, and "has anyone perchance a public domain implementation of fork() for Windows" of the other one. But there's more to it. I'm sort of pissed off by Foundation Kit, which is why I did that reply in a fit of anger. They don't care about compatibility *at all*, "we're gonna redo everything" seems to be the motto. You can put my own Computer Algebra Kit objects nicely in a List or HashTable, archive them, or print them in a debugger, or send them over the net with PDO, or add them to a Stepstone Dictionary, SortedCltn,etc. for that matter. But making it work with the Foundation Kit ? I think that's not the concept of Objective C. When I started developing my objects - and the idea goes back to '90-91 - I was sort of enthused (actually, I'm still) by the idea of *mutually* compatible software components. All this rewriting is no good. The idea of Objective C is to *insulate you* from massive code source modifications, like having to run a script over your source that converts the whole thing. (that's why I think the poster's comparison "even on the VAX/VMS it was the same" is *correct*, but object-technology was exactly supposed to *do* something about it (and it does !)) I guess all this means is: no Computer Algebra Kit objects in OpenStep. Well, supposedly my objects are not compatible, but me thinks THEY ought to conform to the standard (as defined in Stepstone's and NeXT's *SPEC* sheets - don't these documents have any authority?) +new, -copy, -free, -hash, -isEqual:, -read: and -write: (to start with! that's the easy part!) Sorry for that message that probably couldn't be placed in context. David Stes e-mail: stes@can.nl www: http://www.can.nl/~stes
From: kjones@opus.freenet.vancouver.bc.ca (Kieran Jones) Newsgroups: comp.sys.next.programmer Subject: Problem with "invalid lvalue" in V3.3 Date: 17 Nov 1995 01:36:40 GMT Organization: Vancouver Regional FreeNet Message-ID: <48gov8$629@milo.freenet.vancouver.bc.ca> The following code compiles without error under V3.0 but fails with two "invalid lvalue in unary `&'" errors under V3.3 when building a quad-fat binary. I assume the compiler is complaining about the "&(void *)" expressions: const char *shapeName; N3DShape *shape; NXHashState state = [shapeTable initState]; while ([shapeTable nextState:&state key:&(void *)shapeName value:&(void *)shape]) Does anyone know why this is happening? Thanks... Kieran Jones
From: macneils@aol.com (MacneilS) Newsgroups: comp.sys.next.programmer Subject: Re: An Interesting 15 Question Survey -- Has Ended Date: 16 Nov 1995 21:29:50 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <48gs2u$q9t@newsbf02.news.aol.com> References: <48bbn4$e53@newsbf02.news.aol.com> I have recieved more than enough responses for this survey. I thank all of of those who participated, and all who tolerated my posting in comp.sys.next.programmer. I will send my results to all participants. Thank you, Macneil Shonle
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: NXHelpPanel, cannot figure out addSupplement:inPath: Date: 16 Nov 1995 18:34:51 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eu4449df8.fsf@steffi.accessone.com> References: <48aqik$bu9@larry.rice.edu> <DI349K.tJ@arzana.co.uk> <newsmaster@arzana.co.uk> writes: >In article <48aqik$bu9@larry.rice.edu> steve@xray.rice.edu (Steve Ludtke) >writes: >>The documentation for addSupplement:inPath: in the NXHelpPanel is less >than >>clear. I cannot figure out what to pass as parameters for this routine. >I've >>tried about 10 different sets of parameters to load supplementary help >from >>a bundle. Everything else in the bundle works fine... >> >>If anyone has had success with this routine, could you possibly send me >a >>code snippet??? Thanks! >> >I've put a code segment below to show you how to do this, but remember >that there is a bug for bundles with NXHelpPanel - it can't make use of >Help.store files (generated by compresshelp) - this was reported in V3.2. >So you must copy in the entire (uncompressed) Help directory to the >bundle's .lproj, before the below will work: >- help:sender >{ > id bundle = nil; > id helpPanel = [NXHelpPanel new]; > char path[MAXPATHLEN+1] = "\0"; > bundle = [NXBundle bundleForClass:[self class]]; > if (![bundle getPath:path forResource:"English" ofType:"lproj"]) { > return nil; > } > [helpPanel addSupplement:"Help" inPath:path]; > [helpPanel makeKeyAndOrderFront:self]; > return self; >} That's fine if you are only supporting one language but Bundle's are intelligent about what wrapper to go looking in.. so search for the Help Directory itself and wind back to it's parent. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: cc100aa@xray.oit.gatech.edu (Ray Spalding) Newsgroups: comp.sys.next.programmer Subject: Re: Tracking rectangles Date: 14 Nov 1995 04:06:31 GMT Organization: Georgia Institute of Technology Message-ID: <4894k7$aj@mordred.gatech.edu> References: <9511031349.AA01532@flexus> <487s0f$9p2@netty.york.ac.uk> In article <487s0f$9p2@netty.york.ac.uk> rog@ohm.york.ac.uk writes: >mouse pointer tracking is not at all rock solid, as far as i can gather. >i don't think i'm alone in occasionally getting pointer anomalies >(text cursor outside a Text view; normal cursor in a text view) from >various unrelated applications. >[...] >i'd blame NEXTSTEP. My experience correlates 100%. I tried taking NX_MOUSEMOVED events, but true to the docs this flooded the event queue making performance unacceptable. What I ended up doing was setting up DPSAddTimer with an interval of oh, say, 0.25 seconds, and doing a [window getMouseLocation:&loc] in the timer routine. This is gross but seemed to work well for what I was trying to do (similar to Netscape auto-displaying the URL of the link under the cursor). -- Ray Spalding, Office of Information Technology Georgia Institute of Technology, Atlanta Georgia, 30332-0715 Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
From: tthomas@thoughtport.com Newsgroups: comp.sys.next.programmer Subject: RZBundle -> NSBundle Date: 17 Nov 1995 04:49:25 GMT Organization: The ThoughtPort Authority, Inc. Message-ID: <48h48l$dmt@chinx4.thoughtport.COM> Hi All, I don't suppose anyone out there has already ported RZBundle to NSBundle.... also could someone send me Ralph Zazula's email address. I thought it was something like rzazula@netcom.com but that bounced. Thanks for any pointers, --- Todd Thomas tthomas@thoughport.com NeXTMail and MIME
From: Mark Bessey Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep spec changes Date: 17 Nov 1995 07:14:44 GMT Organization: NeXT Computer, Inc. Message-ID: <48hcp4$rv7@news.next.com> References: <9511161910.AA03400@canc.can.nl> <stes@can.nl> writes > (Somebody replied to my previous message in this thread, saying that > he wanted public explication/justification on my cursing of the > OpenStep/FoundationKit guys in this thread, because "what's wrong > with that NeXTanswer?".) I think that "somebody" might be me. Hard to tell without any included context, though :-) > I posted a follow-up to a discussion between two NeXT employees in > the "OpenStep spec changes" thread about OpenStep changes or > incompatibilities between various implementations. I referred to a > NeXTanswer that shows you the complicated situation already for a > relatively small product like Foundation Kit, meaning that you can > expect something in OpenStep. And I explained that I don't see what's so complicated about that situation: All newer versions of Foundation are backward-compatible with previous versions. > The cursing (sorry, nothing personal) was inspired by the statements > "I'm not sure what's going on" of the one person, I _know_ he's referring to me here. > and "has anyone perchance a public domain implementation of fork() > for Windows" of the other one. > > But there's more to it. I'm sort of pissed off by Foundation Kit, > which is why I did that reply in a fit of anger. They don't care > about compatibility *at all*, "we're gonna redo everything" seems to > be the motto. Well, not _quite_ everything. But the changes that were made going from Object->NSObject were made for a reason. Using Foundation lets you write code that is (IMHO): Easier to understand More robust Simpler Unfortunately, the mechanics of the new autorelease memory management (among other things) require some fairly low-level changes in object implementation. And, all the objects have to follow the same policy. Hence the changes from List->NSArray, for example. > You can put my own Computer Algebra Kit objects nicely > in a List or HashTable, archive them, or print them in a debugger, or > send them over the net with PDO, or add them to a Stepstone > Dictionary, SortedCltn,etc. for that matter. But making it work > with the Foundation Kit ? I think that's not the concept of Objective > C. When I started developing my objects - and the idea goes back to > '90-91 - I was sort of enthused (actually, I'm still) by the idea of > *mutually* compatible software components. And, once you convert them to inherit from NSObject and implement the NSCoding protocol (fairly trivial), they'll be fully compatible with FoundationKit. > All this rewriting is no good. The idea of Objective C is to > *insulate you* from massive code source modifications, like having to > run a script over your source that converts the whole thing. (that's > why I think the poster's comparison "even on the VAX/VMS it was the > same" is *correct*, but object-technology was exactly supposed to > *do* something about it (and it does !)) I guess he wasn't responding to my post - I don't remember mentioning VMS. Oh well, charge ahead anyway: The design of Objective-C had some serious problems in terms of managing object deallocation, object distribution, and exception handling. Foundation represents the first re-thinking of Objective-C in _years_. By comparison, the rate of change of other languages (C++ in particular) has been staggering. And how many C++ vendors provided a tool to help you migrate your code from C++ 1.0 to 2.0? > I guess all this means is: no Computer Algebra Kit objects in > OpenStep. Well, supposedly my objects are not compatible, but me > thinks THEY ought to conform to the standard (as defined in > Stepstone's and NeXT's *SPEC* sheets - don't these documents have any > authority?) +new, -copy, -free, -hash, -isEqual:, -read: and -write: > (to start with! that's the easy part!) Well, I'm sorry that you feel that way. One goal of Foundation is to increase the overall quality of the Objective-C programming experience. I do hope you'll try it before you brush it off. It's actually not that hard to make the transition, and the benefits are real. > Sorry for that message that probably couldn't be placed in context. > > David Stes > e-mail: stes@can.nl > www: http://www.can.nl/~stes -Mark Mark Bessey NeXT Computer, Inc Software Quality Assurance -->I DON'T SPEAK FOR NeXT <--
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Re: Problem with "`variable' may be used uninitialized" warning Message-ID: <DI2wor.J7@hurka.UUCP> Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <48acms$7b9@news.its.com> Date: Wed, 15 Nov 1995 09:50:50 GMT In article <48acms$7b9@news.its.com> chuck@its.com (Chuck Swiger) writes: [....] > If you want those warnings, compile with "-O -g -Wall". > What's the problem with that? This one: [From DevTools/11_Compiler/Compiler.rtf] Unlike most other C compilers, GNU CC allows you to use -g with -O. The shortcuts taken by optimized code may occasionally produce surprising results: some variables you declared may not exist at all; flow of control may briefly move where you did not expect it; some statements may not be executed because they compute constant results or their values were already at hand; some statements may execute in different places because they were moved out of loops. I know, this does not happen frequently. I saw it only once so far, but it took me a while to find out that the strange gdb behavior was due to use -g and -O together. Bye, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: ken@mutt.com (Ken Craig) Newsgroups: comp.sys.next.bugs,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.software,comp.soft-sys.nextstep,comp.sys.next.bugs Subject: Re: HELP Please Date: Fri, 17 Nov 1995 10:01:24 -0500 Organization: Information Management Inc. Distribution: inet Message-ID: <ken-1711951001250001@witsmac5993.turner.com> References: <DI0xnp.4At@discus.technion.ac.il> In article <DI0xnp.4At@discus.technion.ac.il>, s2404675@techst02.technion.ac.il (Shkolnik Uri ) wrote: >1) Advice about good NexTStep administration book(s). >2) Internet NexTStep information sites. >3) Help me by E-mail for a while (I have poor English as you see but I'll > do my best..). > I'm not 100% sure what comes with what distributions and what's been installed on your machine, so this might not help. You should have a directory called /NextApps which contains an application called Librarian (everybody has this). Run the app. At the top of the window is a bookshelf of on-line manuals. If there's something called NeXTAdmin just click on it, and in the text area below, enter a topic and search. There's also a way to view all titles, then browse through the manual on your own. If there is NOT a NeXTAdmin manual in the bookshelf, you'll need to find it and add it. Leave Librarian running (move the window off to the side, you'll need it visible later) and switch back to your directory listings. Look in the directory /NeXTLibrary/Documentation. You should (hopefully) see a directory named NextAdmin. If you do, highlight this, then drag the icon (just above the list) onto the bookshelf of the Librarian window (you'll see a ghost image appear in the Librarian when you've hit the right spot). Then, continue with the searching/viewing as above. OK - if you don't have NeXTAdmin in your /NeXTLibrary/Documentation directory, then you hopefully have the NeXTStep CD for your machine. Put it in your CD ROM Drive - it will appear in your browser window. On this disk, you should find a /NeXTLibrary/Documentation directory with the Admin manual. You can drag it directly onto the Librarian window as above, it'll just be slower cause it's on CD. As far as the Internet NeXTStep sites, there are a few. Probably the best starting point is http://www.next.com If any of the above advice sounds unreliable it's because I used to own a NextStation (sold it about 18 months ago) and I'm only just now getting back into working with one so I'm relearning most everything about them. I've received enough help from people on USENET that I'm always happy to help. Good luck! Ken
From: steve@xray.rice.edu (Steve Ludtke) Newsgroups: comp.sys.next.programmer Subject: g77 compiler under NeXTStep? Date: 17 Nov 1995 22:20:23 GMT Organization: Rice University, Houston, Texas Message-ID: <48j1r7$smd@larry.rice.edu> So, has anyone sucessfully compiled gnu's new fortran compiler, g77 under NeXTStep? Several people in our group would like to have a fortran compiler available, and I've heard that g77 works, even if it's not terribly well optimized yet. Anyway, if somebody has gone through the effort, could they upload a binary to Peanuts or orst ??? I'd really prefer not to install the whole gcc source tree if I don't have to ... Thanks! ------------------------------------------------------------------- Steve Ludtke | Physics Dept., Rice Univ. steve@ion.rice.edu | stevel@alumni.caltech.edu | * Those who do ARE * 72335,1537 @ compuserve | The converse also holds
Newsgroups: comp.sys.next.programmer From: tom@basil.icce.rug.nl (Tom Hageman) Subject: Re: Problem with "invalid lvalue" in V3.3 Message-ID: <DI7HIK.A3H@basil.icce.rug.nl> Originator: root@obelix.icce.rug.nl Sender: news@basil.icce.rug.nl (NEWS pusher) Organization: Warty Wolfs References: <48gov8$629@milo.freenet.vancouver.bc.ca> Date: Fri, 17 Nov 1995 21:11:07 GMT kjones@opus.freenet.vancouver.bc.ca (Kieran Jones) wrote: > > The following code compiles without error under V3.0 but fails with two > "invalid lvalue in unary `&'" errors under V3.3 when building a quad-fat > binary. I assume the compiler is complaining about the "&(void *)" > expressions: > > const char *shapeName; > N3DShape *shape; > NXHashState state = [shapeTable initState]; > > while ([shapeTable nextState:&state > key:&(void *)shapeName > value:&(void *)shape]) > > Does anyone know why this is happening? Yep;-) It's taking an address of a typecast expression that's not allowed in ANSI C -- you can only take the address of an `lvalue' and a typecast expression is defined as an `rvalue'. The new compiler is a little more stringent in its syntax checking than the old 3.0 compiler, which was based on a pre-2.0 version of gcc. Rewriting it to "(void **)&" should make it syntactically valid C. [interestingly enough the 3.3 compiler (based on gcc 2.5.8) still allows --admittedly sometimes useful-- constructs like char *cp; ((int *)cp)++; without a beep. Unless you turn on `-ansi -pedantic', that is.] -- __/__/__/__/ Tom Hageman <tom@basil.icce.rug.nl> [NeXTmail/Mime OK] __/ __/_/ IC Group <tom@icgned.nl> (work) __/__/__/ "there is no difference between theory and practise, __/ _/_/ at least in theory..." -- Bruce Becker
From: John Kheit <jkheit@cnj.digex.net> Newsgroups: comp.sys.next.programmer Subject: SND Play, Record and manipulate simultaneously... Date: 18 Nov 1995 00:06:52 GMT Organization: monoChrome, Inc. Message-ID: <48j82s$6bm@news4.digex.net> Hi all :) Well, I got the 'fix' to record from the DSP... It is weird...It is included int the little app I included below... In short this is it: SNDStartRecording(originalSoundz, 1, 1, 0, SND_NULL_FUN, SND_NULL_FUN); //this part makes DSP recording work originalSoundz->dataFormat=SND_FORMAT_LINEAR_16; That originalSoundz...guess that properly does what sndConvert does not... Welp, I still have a problem... Although I can now record from the DSP, what I need to do is 1) record from the DSP, 2) play a snd file, and 3) manipulate what is being recorded... all at the same time. Now this used to worked just fine when I recorded from the codec instead of the DSP. But now I cannot get all 3 things working at the same time. To record and play at the same time I must use a SNDWait(0); but this doesn't let my program to continue executing so I can keep manipulating the incoming data. However, if I get rid of the SNDWait, then a sound will play, but no sound will record... Is there a way to get all three things happening? //TestProgram #import <sound/sound.h> #import <stdio.h> #define SECONDS 10.0 main (int argc, char *argv[]) { int err,cntr; char answer='y'; SNDSoundStruct *originalSoundz; SNDSoundStruct *newFormatSoundz; if (argc != 2) { printf("usage : recordfiletest file\n"); exit(1); } /* 1) this is normally a long sound that goes for minutes and is used for biofeedback...I.E. replace moo.snd with the path to a sound more than 10seconds long to see the problem */ SNDPlaySoundfile("moo.snd",0); err = SNDAlloc(&originalSoundz,2*SECONDS*SND_RATE_LOW, SND_FORMAT_DSP_DATA_16, SND_RATE_LOW,1,0); printf(SNDSoundError(err)); printf(", SNDAlloc originalFormat...\n"); /* 2) usually this would be recorded for several minutes until the user stops recording */ SNDStartRecording(originalSoundz, 1, 1, 0, SND_NULL_FUN, SND_NULL_FUN); //***************this part makes DSP recording work originalSoundz->dataFormat=SND_FORMAT_LINEAR_16; if (err) fprintf(stderr,"recordfiletest : cannot allocate buffer\n"); printf("recording...\n\n"); /* will wait for all play/recording sounds to finish before executing further down... */ /* SNDWait(0); printf(SNDSoundError(err)); printf(", SNDWait...\n"); */ // 3) Here I would be doing manipulations on the data being // recorded...but this getchar illustrates the // problem more simply. The problem is that if I dont use // the above SNDWait, nothing records...and if I do, I // cannot do manipulations I need while recording and // playing data. while (answer!='n') { printf("If you want to do work while recording dont hit N...\n"); answer=getchar(); if (answer!='n') for(cntr=0;cntr<10;cntr++) printf("While recording&playing I've done %d other things\n",cntr); } err = SNDWriteSoundfile(argv[1], originalSoundz); printf(SNDSoundError(err)); printf(", SNDWrite originalFormat...\n"); if (err) fprintf(stderr,"recordfiletest : cannot start recording\n"); SNDFree(originalSoundz); printf(SNDSoundError(err)); printf(", SNDFree originalFormat...\n"); printf("**************************************\n\n\n"); exit(0); } -- Thanks, take care, later, John Kheit )^> %^) =^) monoChrome, Inc. | New York Law School NEXTSTEP Developer | Opinions expressed represent me only... Telepathy, It's coming | MIME & NeXTmail OK--PPP (3P) jkheit@cnj.digex.net | http://cnj.digex.net/~jkheit
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: NS document Imaging components Message-ID: <jpanicoDI8t9x.IoH@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Sat, 18 Nov 1995 14:22:45 GMT Sender: jpanico@netcom.netcom.com Hi, We're looking to assemble a document imaging system, which we would like to integrate tightly with an EOF app. We need the following components, as separate pieces, or an integrated solution. Scanner software/scann objects-- Software to drive the scanner. Image processing /Image filtering-- All the standard image processing tricks. CoDecs-- compressors/decompressors that perform popular compression algorithms. should work either on popular file formats or on NXImages. OCR-- If a standalone app, should integrate tightly with previous components, but preferably available as NS objects. Image Database-- Since EOF is how we will access the images, a standard Oracle or Sybase RDBMS is preferable. But it has to deal well with images, work well with some type of storage media that is capable of storing 10-100 GBs of data, depending on compression, and serve up the images very fast. We would prefer to have all of the above pieces live in the NS world, but we will also look at Solaris or NT solutions having APIs that are easily accesible from the NS side. Information pertaining to any of the above pieces appreciated. Thanks. -- Joe Panico NeXTStep/OpenStep Developer BLaCKSMITH Inc. jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: besler@mdd.comm.mot.com (Steve Besler) Newsgroups: comp.sys.next.programmer Subject: Re: A little question about pswrap Date: 17 Nov 1995 15:34:11 -0800 Organization: Motorola - Wireless Data Group Distribution: na Message-ID: <48j65j$97o@nova.mdd.comm.mot.com> References: <48cvqq$jf2@arcturus.ciril.fr> In article jf2@arcturus.ciril.fr, Etienne_Klein@lca.u-nancy.fr (Etienne Klein) writes: >Hi, > >I found the following code in Yap source: [deleted] >What's the meaning of the "|" before int and float. "|" means that the parameters that follow are output parameters, rather than input parameters. >More generally, how can I pick a value on the postscript stack and return it >outside the function ? I haven't done this for a while, but I think a good, (stolen from code above...) simple example is this: defineps GetWin(|int *win) currentwindow win endps I *think* currentwindow takes zero parameters and pushes its result on the stack. By putting the name "win" after it, it associates the name "win" with the return value. Similary, defineps Multiply(int x,y | int *z) x y mul z endps would multiply x and y and return the result in z. I hope this helps, Steve PS: I don't have my PS books with me so the above info may not be all that accurate. Feel free to followup with corrections! -- Steven Besler, Coop Student "I do not speak for Motorola." Motorola Wireless Data Group besler@mdd.comm.mot.com
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 18 Nov 1995 17:04:16 GMT Organization: Information Technology Solutions, Inc. Message-ID: <48l3mg$rij@news.its.com> References: <48acms$7b9@news.its.com> <DI2wor.J7@hurka.UUCP> tom@hukatronic.cz (Tomas Hurka) wrote: > In article <48acms$7b9@news.its.com> chuck@its.com (Chuck Swiger) writes: >> If you want those warnings, compile with "-O -g -Wall". >> What's the problem with that? > This one: > [From DevTools/11_Compiler/Compiler.rtf] > > Unlike most other C compilers, GNU CC allows you to use -g with > -O. The shortcuts taken by optimized code may occasionally > produce surprising results: some variables you declared may not > exist at all; flow of control may briefly move where you did not > expect it; some statements may not be executed because they > compute constant results or their values were already at hand; > some statements may execute in different places because they were > moved out of loops. > > I know, this does not happen frequently. I saw it only once so far, but > it took me a while to find out that the strange gdb behavior was due to > use -g and -O together. Well, you compile with "-g -O -Wall" until you've fixed all of the warnings, and then you can compile with just "-g" if you have problems debugging the optimized code "-g -O -Wall" produces. It's never bothered me much, but then I'm familiar with what a compiler does when optimizing. I normally pay enough attention when writing code in loops that the compiler doesn't have to move a lot of invariant expressions out of the loop, which is typically something that throws people who aren't expecting it... -Cuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: besler@mdd.comm.mot.com (Steve Besler) Newsgroups: comp.sys.next.programmer Subject: Re: RPC server with GUI? Date: 17 Nov 1995 15:42:12 -0800 Organization: Motorola - Wireless Data Group Distribution: na Message-ID: <48j6kk$97q@nova.mdd.comm.mot.com> References: <DI34or.CwK@white.schulung.netuse.de> In article CwK@white.schulung.netuse.de, kris@white.schulung.netuse.de (=?ISO-8859-1?Q?Kristian_K=F6hntopp?=) writes: >[munch] >I would like the Nextstation to be a RPC server with the Linux >system (possible more than one) sending RPC updates to the >server whenever the line status changes. I would like the RPC >server to the integral part of the Nextstep application, but I >have not the slightest idea if this is feasible or a good >design. > >Since the RPC server as well as the application kit have ready >made event loops, I cannot easily merge them both. You could try running the RPC server code in a thread, or in a seperate process. Then communicate with your App using other more Appkit friendly means such as DO ([NXConnection runFromAppKit]), file descriptors (DPSAddFD()), or shared (and locked) data. I hope this gives you some ideas! Steven -- Steven Besler, Coop Student "I do not speak for Motorola." Motorola Wireless Data Group besler@mdd.comm.mot.com
From: stefanos@Vir.com (Stefanos Kiakas) Newsgroups: comp.sys.next.programmer Subject: Help with the init method. Date: 18 Nov 1995 16:36:26 -0500 Organization: Communications Vir, Internet Access Montreal. Message-ID: <48ljkq$t1m@Vir.com> Hello, I have a question about initialization of an object which returns another object. According to the documentation "Beacuse an init... method might return an object other than the newly allocated receiver, or even return a nil, it's important that programs use the value returned by the initialization method ...." Now, what if a have two objects ObjA and ObjB ( hierarchy of objects ObjB:ObjA:Object ), and the init method of object ObjA returns another object. In object ObjB i have the following code for init. - init { self = [super init]; ... code to initialize this object ... return self; } How does ObjA (which is messaged by [super init] )know to return an ObjB rather than an ObjA? Any help would be appreciated. Thank you in advance. stef
From: vision@halcyon.com (Andy Kriger) Newsgroups: comp.sys.next.programmer Subject: 3D Kit questions Date: Sat, 18 Nov 1995 23:26:34 GMT Organization: Northwest Nexus Inc. Message-ID: <48lq1p$6pj@news.halcyon.com> is there any documentation avaliable that teaches how to use the 3D Kit? (something beyond the scope of the online docs that only show the functions/classes - i'm looking for examples using 3D kit code - again beyond the 'Simple' example included with the devkit). thx
From: stanj@cs.stanford.edu (Stan Jirman) Newsgroups: comp.sys.next.programmer Subject: Turning off screen video on ND Date: 19 Nov 1995 01:52:13 GMT Organization: Stanford University Message-ID: <48m2kd$fc5@nntp.Stanford.EDU> Hello, just bought a Sony monitor for my ND system because the old one has died; now the new one has this "power saving" feature which kicks in when there is no signal coming from the computer. Since my ND is running 24hrs a day, I'd need a screen saver that turns off the video feed. Question is: Is it doable, and if so, how? Thanks, - Stan --- +-------------------------------------------+-------------------------+ | Stan Jirman -- The Swiss CS Guy | | | stanj@cs.stanford.edu NeXTmail / MIME | When you find yourself | | http://www-leland.stanford.edu/~stanj/ | in a hole, stop digging | | Box 2642, Stanford, CA 94309, USA | | +-------------------------------------------+-------------------------+
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: What's gonna happen to IndexingKit? Date: 18 Nov 1995 23:01:48 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <ewx8xay03.fsf@steffi.accessone.com> -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
Message-ID: <48irel$8g1@nwestmail.nwest.mccaw.com> Organization: AT&T Wireless Services, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: michaela@avanti.nwest.mccaw.com (Michael Amirault) Subject: NXHelpPanel Crashing... Date: 17 Nov 1995 19:31:17 +0000 Newsgroups: comp.sys.next.programmer Distribution: world My NXHelpPanel crashes when I try to do a find on a string that doesn't exist in the index. Anyone seen this before or know how to get around it? The 'find' works properly if the string exists in the index somewhere. The GDB output is below. Thanks, Mike ----------- Program generated(1): Memory access exception on address 0x0 (protection failure). 0x500a5cc in strrchr () (gdb) where #0 0x500a5cc in strrchr () #1 0x60e270d in _isPrologFile () #2 0x60e6f84 in -[NXHelpPanel _find:betweenIndexes::backwards:] () #3 0x60e6e4d in -[NXHelpPanel _find:backwards:] () #4 0x60e73f1 in -[NXHelpPanel _find:] () #5 0x50315af in -[Object perform:with:] () #6 0x6064175 in -[Application sendAction:to:from:] () #7 0x606893c in -[Control sendAction:to:] () #8 0x6078957 in -[Button performClick:] () #9 0x60e571e in -[NXHelpPanel sendEvent:] () #10 0x602ac91 in -[Application sendEvent:] () #11 0x603190e in -[Application run] () #12 0x66f10 in main (argc=1, argv=0xbffffc70) at espion_main.m:11 #13 0x33bf in start () at crt0.c:127 (gdb)
Message-ID: <48iljr$bl@vega.info.isbiel.ch> Organization: Biel School of Engineering, CH-2501 Biel, Switzerland References: <btatem-1611952132490001@ts2-p30.dialup.iway.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit From: n.droux@ieee.org (Nicolas Droux) Subject: Re: Help me Date: 17 Nov 1995 17:51:39 +0000 Newsgroups: comp.sys.next.programmer Distribution: world In article <btatem-1611952132490001@ts2-p30.dialup.iway.fr> btatem@pratique.fr (Mar.K) writes: > Where can i get some snapshots of NeXT step ? Can u send me some ? Can u > mail me ? Thanks :-) Screen Shots of NeXT Software: http://www.next.com/AboutNeXT/PressKit/ScreenShots.html -- Nicolas Droux <n.droux@ieee.org> http://www.isbiel.ch/~don/ PGP fingerprint: 02 D2 E4 24 FA 0E 88 1E BA ED 38 56 C9 FE 22 56
From: proux@euler.enst-bretagne.fr (PROUX Guillaume) Newsgroups: comp.sys.next.programmer Subject: Newbie on NeXTSTEP, want to use Bitmap... Date: 19 Nov 1995 12:15:25 GMT Organization: ENST de Bretagne, Brest FRANCE Distribution: world Message-ID: <PROUX.95Nov19131526@euler.enst-bretagne.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I wanna use Bitmap... Indeed make a MandelBrot fractal appear in a View, but It seems to be impossible to directly access bits in a picture... Any help....? Thanks.
Newsgroups: comp.sys.next.programmer From: Jacques Garbi Subject: Q:When logged with my user, I can't launch InterfaceBuilder anymore Message-ID: <DI8BJw.A7@touga.vd.alphanet.ch> Sender: jacques@touga.vd.alphanet.ch (Jacques Garbi) Organization: Touga Management Date: Sat, 18 Nov 1995 07:59:56 GMT Hi, I had to reinstall my Pentium 133 machine from scratch. I reinstalled everything (NS 3.3) from the CD's like I had always done. But even though InterfaceBuilder.app behaves fine if I log under root, it doesn't work when I'm logged under my user name. Here is the messages that pops up when I launch IB.app under my logging name : Runtime error: NXReadOnlyString : does not recognize selector -replace With:. Does anyone have an idea on how to correct this ? If I launch IB through OpenSesame.app as root, it works fine. So I guess it is a permission that is not set correctly somewhere. But since I just installed everything from the CD (as root of course), I find it weird and puzzling. Please help. Thanks to e-mail me directly. --- Jacques GARBI Colombus Inc. Av. de France 33 1004 Lausanne Switzerland Phone : 011 41 21 661 16 76 Fax : 011 41 21 661 16 73 NeXTMail or MIME : jgarbi@touga.vd.alphanet.ch
From: Bernhard Scholz <scholz@informatik.tu-muenchen.de> Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Symbol encoding scheme unusable? Date: Sun, 19 Nov 1995 23:33:52 +0100 Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <Pine.HPP.3.91.951119231956.15531C-100000@hphalle0.informatik.tu-muenchen.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hello, I was just wondering, wether this is a bug, or wether I'm just to ignorant to get this done: I'm using a font which features some of the symbols described in the NEXTSTEP Symbol Encoding Scheme (positioned correctly) and I want to use them, but: NeXT's symbol encoding scheme seems to map everything to the Symbol Font! E.g. If I type a <trademark> character, the Symbol.font is used instead of my custom font. I can' even remap this. The only solution seems to me not type <trademark> but <icircumflex> and remap this to my symbol font. Unusable to me. This all prevents you from using other symbol fonts, doesn't it? Why shouldn't it be possible to use a font, which lacks e.g. the <icircumflex> character but features the definition for <trademark> and use the <trademark> charakter when I type <trademark> ond does nothing when I type <icircumflex>. The point is: I know that the Adobe encoding scheme only features 256 different characters, but why can't these characters be used? If a font lacks one of the characters NeXT wants in its encoding scheme, and features another which NeXT wants in its symbol encoding schema, it isn't used, because NeXT switches automatically to the Symbol.font. (Even if the character is mapped correctly!) Am I doing something wrong with my handcreated Adobe fonts, or is this a standard behaviour? Best regards, Boerny (hoping that the encoding scheme is better in NS4.0). -- Bernhard Scholz (IRC: Boerny) scholz@informatik.tu-muenchen.de http://peanuts.leo.org/ scholz@ve1.rm.op.dlr.de http://www.leo.org/~scholz/
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 20 Nov 1995 05:15:15 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <48p2t3$ch3@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: kjz@wsfh105 (Peter Kohut) Newsgroups: comp.sys.next.programmer Subject: Q : NXTypedStream problem Date: 20 Nov 1995 06:47:01 GMT Organization: Union Bank of Switzerland Message-ID: <48p895$idh@ubszh.fh.zh.ubs.com> I'm currently looking at the different classes of the NeXT system (just for teaching purposes) and I'm trying to implement some of the basic stuff available (so, my knowledge is not very deep so far). Right know I'm playing around with typed streams. According to the documentation the following line should be correct : NXTypedStream *stream; stream=NXOpenTypedStreamForFile(aFileWIthPath, NX_READWRITE); Unfortunatly, after running the prog in a shell NeXT returns the following error message : Untrapped arror #8000 Could somebody please give me a hint what this errormessage could mean ? Or how to make the above line work correctly ? Thanks in advance for any help ... -Peter- (P.S. the above code lines are the very first statements in a small test program)
From: vision@halcyon.com (Andy Kriger) Newsgroups: comp.sys.next.programmer Subject: Re: 3D Kit questions Date: Mon, 20 Nov 1995 08:31:27 GMT Organization: Northwest Nexus Inc. Message-ID: <48pebf$g4i@news.halcyon.com> References: <48lq1p$6pj@news.halcyon.com> i wrote: >is there any documentation avaliable that teaches how to use the 3D >Kit? (something beyond the scope of the online docs that only show the >functions/classes - i'm looking for examples using 3D kit code - again >beyond the 'Simple' example included with the devkit). >thx more specifically, i'm working with the "Renderman Companion". i'd like to know how to take the examples (even the simple ones) and use them more or less as is (i.e. w/ri.h and the NeXT interface/appkit) instead of hacking them into the N3D libraries (which does seem to work, but since it's a hack, i'm not exactly sure what i'm doing). for example, the simple 'display a polygon' example on p.18 refuses to compile on my machine if i just enter it and compile using cc. i get 'Symbols not found' (or something like that) for all the Renderman stuff after the RtPoint (RiBeing, RI_P, RiWorldBegin, RiSurface, RiPolygon, RiWorldEnd, RiEnd) and i'm not sure why. since some of the Renderman library does not appear to have been N3Dized (e.g. Constructive Solid Geometry), i'd like find a means to get this to work. thx
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Re: What's gonna happen to IndexingKit? Date: 20 Nov 1995 02:16:41 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <48ooe9$vm@usenet.rpi.edu> References: <ewx8xay03.fsf@steffi.accessone.com> robert@steffi.accessone.com (Robert Nicholson) asked: > What's gonna happen to IndexingKit? My understanding was that parts of it were going to wind up in the foundation kit, and the rest of it (the higher levels) were going to quietly fade away. That's based on ancient info, though. I too would like to have a more up-to-date (and more specific) idea of it's fate. --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: mbecker@neptune.cs.uml.edu (Mark Becker) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Need dump/restore source - unusual tape drive. Date: 20 Nov 1995 16:43:58 GMT Organization: UMass-Lowell Computer Science Message-ID: <48qb8e$ne6@ulowell.uml.edu> Hello - Finally got an older cartridge tape drive running on an '030 cube. Most of the supplied utilites work and a couple of little things I've written work fine. However, I have one little problem.. I would like to use dump(1) and restore(1) with it. This particular tape system uses a SCSI<-->QIC interface and can only deal with fixed length blocks, specifically 512 bytes. This seems to breaks dump and restore. Before trying to write Yet Another Version of dump and restore, does anyone have a pointer to source for an existing version that could be used as a starting point? Please, use e-mail. If there is interest, I'll summarize back to the group. Regards, Mark +----------------------------------------+--------------------------+ | Mark Becker <mbecker@cs.uml.edu> | #include <std.disclaimer>| +----------------------------------------+--------------------------+
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: +load on NSObject subclasses? Date: 21 Nov 1995 01:12:40 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <eka4upbzr.fsf@steffi.accessone.com> Should I expect a +load to be sent to any NSObject sub-class that's dynamically inserted into the runtime? Currently that's not happening. I'm only getting an initialize when I explicitly message the class. I'd like to have something that's messaged upon that classes loading rather than me explicitly sending it a message ie. "using it for the first time." -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: Andy Robinson <Andy@hps1.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: I'm giving up on Model-View-Controller Date: Tue, 21 Nov 1995 09:40:22 GMT Organization: High Performance Sports Ltd. Message-ID: <489629906wnr@hps1.demon.co.uk> I've been programming in NextStep for the last few months and so far I've adhered as closely as I can to the MVC paradigm. I understand the reasons behind it when dealing with something that offers multiple views of complex data, but I'm wondering if I'd be better to just bin it. I'm mostly building database front-ends which need to do quite a bit of validation, and whose main function is to get information with some fairly tight constraints from the user. In other words, there is a lot of 'business logic' which I feel ought to be in the 'business objects' and not in the 'user interface objects' (practically, various delegate methods in my controller files). It occurs to me that the most natural way to go ahead would be to have my 'business objects' linked quite tightly to UI objects. Thus, for example, if I have a (non-UI) object called a 'Customer', I could send it messages like '[myCustomer runDialog:self] and it would pop up the appropiate kind of panel for setting its attributes etc. This would then let me build fairly sophisticated views where a double-click on a line of text representing an object would result in a panel being run, without the UI needing to know what kind of object it was being sent to. There are lots of other cases where this might be useful - messages for validation, objects asking the user for missing information they needed at various points, informing the user beforehand about changes to related objects. Are there any problems in such an approach? And what is the cleanest way to give my business objects access to the IB objects it needs? #import myController.h and make sure they are there? Multiple, reused nib files? Palettized inspectors? I've not done any of these yet, and I'll want to put my business objects in a whole family of apps with the maximum reusability. Could anyone gice me some guidelines on how they deal with this sort of thing? -- Andy Robinson andy@hps1.demon.co.uk High Performance Sports Tel 0181-211-7000 My opinions in this forum ARE those of High Performance Sports, because I'm the only one here who can switch on a PC...
From: Robert Worne <rworne@primenet.com> Newsgroups: comp.sys.next.programmer Subject: Re: g77 compiler under NeXTStep? Date: 21 Nov 1995 09:18:49 GMT Organization: A Big Black Cube Message-ID: <48s5hp$ei6@nnrp1.news.primenet.com> References: <48j1r7$smd@larry.rice.edu> steve@xray.rice.edu (Steve Ludtke) wrote: > > So, has anyone sucessfully compiled gnu's new fortran compiler, g77 under > NeXTStep? Several people in our group would like to have a fortran compiler > available, and I've heard that g77 works, even if it's not terribly well > optimized yet. > > Anyway, if somebody has gone through the effort, could they upload a binary to > Peanuts or orst ??? I'd really prefer not to install the whole gcc source tree I did, Under gcc 2.6.3, you may want to try that. -- //--------------------------------------------------------------------- // Robert Worne rworne@primenet.com OS/2-NeXT -=Starving CS Undergrad=- //--------------------------------------------------------------------- // Microsoft Network is prohibited from redistributing this work in // any form, in whole or in part. Copyright, Robert Worne, 1995. // License to distribute this post is available to Microsoft for $1000. // Posting without permission constitutes an agreement to these terms. // Please send notices of violation to rworne@primenet.com and // postmaster@microsoft.com
From: paul@plsys.co.uk (Paul Lynch) Newsgroups: comp.sys.next.programmer Subject: Re: Q : NXTypedStream problem Date: 21 Nov 1995 09:46:27 GMT Organization: P & L Systems, Ltd. Message-ID: <48s75j$qn5@ironhorse.plsys.co.uk> References: <48p895$idh@ubszh.fh.zh.ubs.com> In article <48p895$idh@ubszh.fh.zh.ubs.com> kjz@wsfh105 (Peter Kohut) writes: > According to the documentation the following line should be correct : > > NXTypedStream *stream; > stream=NXOpenTypedStreamForFile(aFileWIthPath, NX_READWRITE); > > Unfortunatly, after running the prog in a shell NeXT returns the following > error message : > > Untrapped arror #8000 > > Could somebody please give me a hint what this errormessage could mean ? Or > how to make the above line work correctly ? This is the exception TYPEDSTREAM_CALLER_ERROR; meaning that it wants mode to be either NX_READONLY or NX_WRITEONLY. See the Librarian page for more details, and other error returns. Paul -- Paul Lynch (NeXTmail) paul@plsys.co.uk Tel: (01494)432422 P & L Systems Fax: (01494)432478 http://www.plsys.co.uk/~paul
From: eric@skatter.USask.Ca Newsgroups: comp.sys.next.programmer Subject: Re: g77 compiler under NeXTStep? Date: 21 Nov 1995 15:27:24 GMT Organization: University of Saskatchewan Message-ID: <48sr4s$1v9@tribune.usask.ca> References: <48j1r7$smd@larry.rice.edu> <48s5hp$ei6@nnrp1.news.primenet.com> I just installed g77-0.5.17 with gcc-2.7.1 on the NS/FIP machines here. With these sources there aren't even any patches that have to be made! -- Eric Norum eric@skatter.usask.ca Saskatchewan Accelerator Laboratory Phone: (306) 966-6308 University of Saskatchewan FAX: (306) 966-6058 Saskatoon, Canada. NeXTMail accepted.
From: rao@sysmod.egr.uh.edu (Dr. Jagannatha Rao) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Is a Next native "psfrag" utility possible? Date: 21 Nov 1995 17:46:58 GMT Organization: University of Houston Message-ID: <48t3ai$5u5@masala.cc.uh.edu> Keywords: Next postscript instead of ghostscript? For LaTeX users, there is a very nice utility on the net called psfrag. See, e.g., on the usual CTAN server at ftp://ftp.shsu.edu/tex-archive/macros/latex/contrib/supported/psfrag/ The main purpose of psfrag is to embed full latex constructs (including math equations) in a previously created eps file. This is very convenient, for example, if say an eps file of a plot or a diagram is created as usual in Nextstep and then one wants to add a complicated math expression at a particular location on the figure. Or if you want the fonts on your plots to match the math fonts used in the LateX document. psfrag is nice but its use requires a full installation of ghostscript. "gs" is called from a perl script to perform the necessary changes in the eps file. Can a kind Nextstep savvy soul help all us NextTeX users by looking at this perl script and checking if the builtin postscript in Nextstep can be used instead of ghostscript? I very much prefer to avoid installing ghostscript if I can help it. Thanks a lot. -- Jagannatha Rao E-mail:rao@uh.edu Department of Mechanical Engineering Tel :(713) 743-4535 University of Houston Fax :(713) 743-4503 Houston, TX 77204-4792
From: mmalcolm crawford <m.crawford@dcs.shef.ac.uk> Newsgroups: comp.sys.next.programmer Subject: Re: SND Play, Record and manipulate simultaneously... Date: Tue, 21 Nov 1995 16:34:27 GMT Organization: Institute for Language Speech and Hearing, Sheffield University Sender: mmalcolm Crawford <m.crawford@dcs.shef.ac.uk> Message-ID: <951121163427.230AACUL.malc@daneel> References: <48j82s$6bm@news4.digex.net> Mime-Version: 1.0 (Generated by Eloquent) Content-Type: text/plain; charset=US-ASCII > John Kheit asked how to record, play and manipulate a sound > simultaneously, and gave some code including SNDWait etc... > Umm, sorry, I don't *think* you can what you're wanting with the "standard" easy SNDfunctions. You'll have to use NXRecordStream and its friends, and throw memory at them... I'll send you come code derived form something Iain Stephenson kindly sent a while ago. Best wishes, mmalc. posn. research facilitator where institute for language speech and hearing sheffield university west court 2 mappin street sheffield s1 4dt england vox (+44) 114 282 5269 fax (+44) 114 278 0972 email m.crawford@dcs.shef.ac.uk NeXTMail, SunMail, MIME welcome http://www.dcs.shef.ac.uk/research/ilash/
From: eek93@I_should_put_my_domain_in_etc_NNTP_INEWS_DOMAIN (Eren Kotan) Newsgroups: comp.sys.next.programmer Subject: Need help with NeXT programming basics Date: 21 Nov 1995 15:53:53 GMT Organization: Electronics and Computer Science, University of Southampton Message-ID: <48ssmh$ms9@bright.ecs.soton.ac.uk> Hi, I am new to NeXT programming, and I've got a few books about it, but I would like some help on a couple of basic issues: - What is the easiest way of reading in an ASCII file and parsing the info in it to use as parameters to RenderMan calls? - What is the correct way of capturing and displaying the TIFF file generated after I send a rendering job to Photorealistic RenderMan? I tried using the camera:(etc, etc) method but cannot figure out the right way to call it. It starts the renderer, finishes, and then the image is lost. Thanks, please email if you can help, Eren Kotan eek93@ecs.soton.ac.uk
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.sys.next.programmer Subject: Re: How to let a c executable find out its own name? Date: 18 Nov 1995 04:53:32 GMT Organization: Genoa Software Systems Message-ID: <48josc$e5@saturn.genoa.com> References: <47v1ef$ied@news.tuwien.ac.at> <4814h2$qrs@gap.cco.caltech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > Wolfgang Pusch <pusch@email.tuwien.ac.at> wrote: > >Is there a way for a C-executable to find out its own name? I didn't see the original post, so this might have been mentioned. But in a NEXTSTEP appkit based application, all you need to do is send [NXApp appName] -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 18 Nov 1995 05:02:10 GMT Organization: Genoa Software Systems Message-ID: <48jpci$e5@saturn.genoa.com> References: <487sdb$bvo@transfer.stratus.com> <DI090I.1rv@hurka.UUCP> <48acms$7b9@news.its.com> <48fmps$jef@emerald.oz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit This seemingly strange compiler behavior (no set-use checks when optimization supressed) makes sense when you look at it from the compiler writers perspective. The flow graph analysis necessary to do the set-use checks is a central part of an optimization pass, and unecessary just to generate unoptimized code. So it makes sense to skip this check rather than repeat the expense of flow graph analysis to check for a single kind of warning. I'd love to know the rationale for initializing automatic variables to zero. Is there any way to turn off that behavior? -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: danno@maui.com (Dan Bigelow) Newsgroups: comp.sys.next.programmer Subject: Re: SND Play, Record and manipulate simultaneously... Date: 21 Nov 1995 21:18:40 GMT Organization: Maui Research and Technology Center Sender: danno@waena.mrtc.maui.com Message-ID: <48tfng$san@waena.maui.com> References: <48j82s$6bm@news4.digex.net> In article <48j82s$6bm@news4.digex.net> John Kheit <jkheit@cnj.digex.net> writes: > Hi all :) RE: being able to record, process, and play at the same time, I recall that it's only possible on an 040 (verify), and there were some good examples in a paper called 'Jean Laroche' or sum such at the CCRMA archives. Very explicit and well documented. ftp://ftp.ccrma.stanford.edu ??? sumthin' like that, I'm not able to verify, but there's enough info to poke at - Email me if you need further help and I'll track down the stuff from home (later) good luck, --danno
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: NEXT/Developer/Career Position/DC Area Date: 21 Nov 1995 23:49:24 GMT Organization: Norden 1 Communications Message-ID: <48toi4$kck@news1.channel1.com> Programmer/Analyst/Developer NEXTSTEP A Plus-----EOF A Plus-----Sybase Solid Commercial Experience Career Position Relocation Assistance DC Area To be considered------Fax resume or mail a hard copy. -- ehutch@norden1.com (419) 893-6367 [fax] Omni Search (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: NEXTSTEP/Developer/Career Position/ILL Date: 21 Nov 1995 23:54:37 GMT Organization: Norden 1 Communications Message-ID: <48tort$kck@news1.channel1.com> Programmer/Analyst/Developer NEXTSTEP DB Kit or EOF Strong Plus------Sybase Career Position Exceptional opportunity Greater Chicago Area Relocation Assistance To be considered---Fax resume or mail a hard copy. -- ehutch@norden1.com (419) 893-6367 [fax] Omni Search (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: power@inch.com (Power Media Communications) Newsgroups: comp.sys.misc,comp.sys.ncr,comp.sys.newton.misc,comp.sys.newton.programmer,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: * Experienced Video Telecommunications Programmer Wanted * Date: Tue, 21 Nov 1995 20:27:22 GMT Organization: The Internet Channel Message-ID: <power.55.30B2362A@inch.com> New York City based company seeks experienced programmer to work on new innovative video teleconferencing application. Should have knowledge of the internet, web servers, video teleconferencing, dialogic boards, and general programming skills. Competitive compensation. [ Power Media Communications ] Please email resume and salary requirements to: power@inch.com Or fax to: (212) 223-8765
Newsgroups: comp.sys.next.programmer From: belka@il.us.swissbank.com (Andy Belk) Subject: Re: OpenStep spec changes Message-ID: <1995Nov21.192309.10701@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <9511161910.AA03400@canc.can.nl> Date: Tue, 21 Nov 1995 19:23:09 GMT In article <9511161910.AA03400@canc.can.nl> <stes@can.nl> writes: > (Somebody replied to my previous message in this thread, saying that he > wanted public explication/justification on my cursing of the > OpenStep/FoundationKit guys in this thread, because "what's wrong with > that NeXTanswer?".) 'twas I. > But there's more to it. I'm sort of pissed off by Foundation Kit, which > is why I did that reply in a fit of anger. The switch from Object to NSObject and from the "old" way of memory allocation to the "new" way (enforced reference counting; object responsibility) is certainly quite a jump ... but if, like us, you were working on a very large project (several projects, in fact) you _might_ have found that you had come to the same conclusion as NeXT - that something fairly radical was needed. I see their move as very positive as (from our perspective) the choice is to rewrite everything anyway, rewrite in SmallTalk or C++ (no thanks), or suffer from the after-effects of bad memory management. The fact that we are getting a "free" port to Windows (in some form) is quite a plus ... > All this rewriting is no good. The idea of Objective C is to *insulate you* > from massive code source modifications, like having to run a script over > your source that converts the whole thing. (that's why I think the poster's > comparison "even on the VAX/VMS it was the same" is *correct*, but > object-technology was exactly supposed to *do* something about it > (and it does !)) At some point in time, any design breaks down. Either you admit it and fix it, and go through the pain then, or you persist with the same design (and shortcomings) until it catches up on you. I respect NeXT for admitting they didn't quite get it right the first time and making a very good attempt at curing the problem without leaving their clients in the dirt .. > I guess all this means is: no Computer Algebra Kit objects in OpenStep. > Well, supposedly my objects are not compatible, but me thinks THEY ought > to conform to the standard (as defined in Stepstone's and NeXT's *SPEC* > sheets - don't these documents have any authority?) +new, -copy, -free, > -hash, -isEqual:, -read: and -write: (to start with! that's the easy part!) All I can say in defence of NeXT on this basis is that their OpenStep standard has been accepted by Sun and GNU, and as such has wider "market" support than Stepstone. Your code will still work on NeXT's OpenStep implementation - the shlibs are still there from 3.3. Hopefully we will see a computer algebra kit on OpenStep - I personally would think it a missed opportunity. Cheers, Andy Belk Not speaking for SBC etc.
From: "Timothy J. Luoma" <luomat@capitalist.princeton.edu> Newsgroups: comp.sys.next.programmer Subject: Why does this code cause a panic? Date: Tue, 21 Nov 1995 18:47:23 -0500 Organization: Princeton University Message-ID: <Pine.NXT.3.91.951121184324.2012B-100000@capitalist.princeton.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Excuse me for such a stupid question, but I must ask. I used a stripped binary of this program as 'eject' which would eject a floppy disk frothe commandline. It worked fine under 3.0 and 3.1, and I thought it worked under 3.2, but now when I run it Fiend crashes with a bus error (#10) and the system immediately panics. The usage for the binary is `eject /disklabelname' Any ideas? Thanks. TjL ---begin eject.m --- #import <stdio.h> #import <appkit/Application.h> #import <appkit/workspaceRequest.h> char *path; @interface MyObj : Object { } - appDidInit:sender; @end @implementation MyObj - appDidInit:sender { int rc; printf("App did init path=%s\n", path); [[Application workspace] unmountAndEjectDeviceAt:path]; [NXApp terminate:self]; return self; } @end main(int argc, char **argv) { id obj; obj = [[MyObj alloc] init]; if (argc != 2) { fprintf(stderr, "Usage: %s path\n", argv[0]); exit(1); } path = argv[1]; printf("Ejecting %s\n", path); [Application new]; [NXApp setDelegate:obj]; [NXApp run]; [NXApp free]; } That's it! I compiled it via `cc -o eject eject.m -lNeXT_s'
From: "Timothy J. Luoma" <luomat@capitalist.princeton.edu> Newsgroups: comp.sys.next.programmer Subject: Re: ncftp binary? Date: Tue, 21 Nov 1995 18:42:34 -0500 Organization: Princeton University Message-ID: <Pine.NXT.3.91.951121184034.2012A-100000@capitalist.princeton.edu> References: <489q3h$7fe@hod.hiof.no> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <489q3h$7fe@hod.hiof.no> > Has anyone successfully compiled ncftp on black hardware? Is the bnary > available > on a site somewhere? > Carl Edman made a binary and source code available, it was in the submissions folder in ftp.cs.orst.edu/pub/next/submissions, along with ncurses and readline (which is needed for one or the other, I can't remember which. TjL -- Timothy J. Luoma luomat@capitalist.princeton.edu (MIME fine! NeXTMail if necessary) 476tjl@ptsmail.ptsem.edu (UGH! DOS! Yuck.... Don't use this) "If I understood the man page, I wouldn't have asked the question."
From: griffith@crl.com (Dave Griffith) Newsgroups: comp.sys.next.programmer Subject: Question on Text selection Date: 21 Nov 1995 19:26:20 -0800 Organization: The Hermetic and Esoteric Order of Clarity and Openness Message-ID: <48u58s$ffh@crl14.crl.com> I need to have a Text object which has a slightly differently idea of what constitutes a word for purposes of double click selection than the default implementation. Specifically, I need the characters '[', ']', '<', '>' and '/' to be dealt with as standard alphabetic characters rather than as punctuation. Thus, double-clicking on any character of [EXAMPLE] would select the entire word plus the brackets. As near as I can tell from the documentation, I need to reset the Text objects click NXFSM, and everything should work. However, the only function for creating one of these finite state machine has a dozen arguments and no documentation to speak of. Does anyone know of any example code I might read to enable me to do this (I supposed) very simple task? -- --Dave Griffith, griffith@crl.com
From: pbrown@asparagus.berkeley.edu (Paul Robert Brown) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: Is a Next native "psfrag" utility possible? Date: 22 Nov 1995 05:12:13 GMT Organization: U.C. Berkeley Math. Department. Message-ID: <48ubfd$3iq@agate.berkeley.edu> References: <48t3ai$5u5@masala.cc.uh.edu> Keywords: Next postscript instead of ghostscript? In article <48t3ai$5u5@masala.cc.uh.edu>, Dr. Jagannatha Rao <rao@sysmod.egr.uh.edu> wrote: > [TeX in graphics?] My solution to this problem is to use Adobe Illustrator to draw my pictures and then use TeXice (or some name very close to "TeXice") to include the TeX images I want. TeXice is a service that accepts text on the clipboard and returns typeset postscript. Works great. I open a text item in AI, type the TeX code, select it, copy it, call TeXice, deselect the object in AI, wait a minute, paste the EPS. Best, Paul Brown
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-CHICAGO - NeXTSTEP/EOF/SYBASE - Career Opportunities Date: 22 Nov 1995 01:02:17 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <48ued9$qqe@newsbf02.news.aol.com> Major Billion $, Fortune 100 client, new to Chicago, has several opportunities for experienced NeXT professionals. Candidates must have a strong NeXTSTEP development background with preferably some Sybase and/or EOF experience. You will be part of a newly essembled team responsible for developing state-of-the-art financial systems from scratch. Initial development will be done under NeXT/Intel/EOF/Sybase, and then partially ported to OpenStep/WinNT. My client will pay an excellent starting salary, plus a sign-on bonus to all candidates that qualify. You will also receive a 1996 bonus and excellent benefits. Contact: Brian Mitchell Datacom Technology Group Inc 212-629-5720 212-629-3374(FAX) (see our ad's in ComputerWorld and across the 'net)
From: Andrew_Forkes@arzana.co.uk Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: [Q]: Riddle me this: bundles compile -g -O, but not -O Date: Wed, 22 Nov 1995 01:09:59 GMT Organization: Arzana Limited Sender: news@arzana.co.uk Message-ID: <DIF78n.K2v@arzana.co.uk> Keywords: gcc I know this has been reported before (for app compiles), but I can't find the reference to it, does anyone remember the solution ? Why would a bundle compile with -g -O and work fine, but not -O ? Bemused. Andrew ---- Andrew D. Forkes Arzana Limited email: <Andrew_Forkes@arzana.co.uk> (NeXTmail & MIME are fine)
From: Olivier Nemoz <oliviern@bat710.univ-lyon1.fr> Newsgroups: comp.sys.next.programmer Subject: WTD: France (Paris) Resselor Date: 22 Nov 1995 08:35:03 GMT Organization: Universites Paris VI/Paris VII - France Message-ID: <48unbn$2to@vishnu.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all... I'm looking for a french NextStep for Intel resselor. Any good address ? Thanx in advance.
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de (Juergen Sell) Subject: Re: Need dump/restore source - unusual tape drive. Message-ID: <DIE9Bo.yq@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <48qb8e$ne6@ulowell.uml.edu> Date: Tue, 21 Nov 1995 12:57:24 GMT In article <48qb8e$ne6@ulowell.uml.edu> mbecker@neptune.cs.uml.edu (Mark Becker) writes: [...] > This particular tape system uses a SCSI<-->QIC interface and can only > deal with fixed length blocks, specifically 512 bytes. This seems to > breaks dump and restore. > Please, use e-mail. If there is interest, I'll summarize back to the > group. Mark, setting fixed length block does not require sources to dump/restore but is an issue of the device file in /dev. Behaviour can be changed via a ioctl. /* * The following code configures the SCSI tape driver for /dev/rst0 * to support fixed-sized data transfers of 512 bytes each. */ #include <sys/types.h> #include <sys/file.h> /*#include <nextdev/scsireg.h>*/ #include <stdlib.h> #include "/NextDeveloper/Headers/bsd/dev/scsireg.h" #include "/NextDeveloper/Headers/bsd/sys/mtio.h" #define Device "/dev/rst0" #define BlockSize 512 main() { int fd, error; int blocksize = BlockSize; printf("NeXTAnswers.hardware.762\n"); printf("Device : "); printf(Device); printf("\n"); printf("BlockSize : "); printf("%d",BlockSize); printf("\n"); fd = open(Device, O_RDWR, 777); if (ioctl(fd, MTIOCFIXBLK, &blocksize)) { perror("ioctl MTIOCFIXBLK failed\n"); return 1; } close (fd); return 0; } I also emailed a copy of this to Mark directly. Juergen --- Fon +49 511 4406-88 NeXTMail welcome No Mime Fax +49 511 4406-17 == What time do we live in when revolution reminds us of soap powder, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names == when changing title bars' colors to mainstream hype is considered progress?
Newsgroups: comp.sys.next.programmer From: pemmerik@solair1.inter.NL.net (P.J.L. van Emmerik) Subject: How to monitor threads Message-ID: <DIFr4A.691@inter.NL.net> Sender: news@inter.NL.net (News at news) Organization: Holec Projects Date: Wed, 22 Nov 1995 09:17:07 GMT I am working on a multi-threaded non-apkit program. Because i am experiencing Send/Receive timeouts when sending messages between the threads. With ls -m <pid> i can monitor the cpu used in the threads, but i can not identify the threads (the threads are named with cthread_set_name). Any ideas?? Please Email to: pemmerik@solair1.inter.NL.net
From: mpaque@aol.com (Mpaque) Newsgroups: comp.sys.next.programmer Subject: Re: Turning off screen video on ND Date: 22 Nov 1995 07:04:26 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <48v3ka$1u2@newsbf02.news.aol.com> References: <48m2kd$fc5@nntp.Stanford.EDU> In article <48m2kd$fc5@nntp.Stanford.EDU>, stanj@cs.stanford.edu (Stan Jirman) writes: >now the new one has this "power saving" feature which kicks in when there >is no signal coming from the computer. Since my ND is running 24hrs a day, >I'd need a screen saver that turns off the video feed. Question is: Is it >doable, and if so, how? Sorry, but the NeXTdimension hardware predates your 'power saving' monitor design by several years. Activating the power-saving features on newer monitors requires switching off combinations of the vertical and horizontal sync signals. After flipping through my old hardware notes, it looks like there's no way to safely do this on the ND board (e.g., the hardware hooks simply aren't there) without breaking something else. I'd be suprised if it could be made to work anyway, as the power-saver features in the monitor are normally tied into the TTL level HSYNC and VSYNC inputs. These aren't used with the NeXTdimension, which generates a composite video signal. Mike Paquette -- I don't speak for NeXT, and NeXT doesn't speak for me. Fair deal...
From: shill@iphysiol.unil.ch (Sean Hill) Newsgroups: comp.sys.next.programmer Subject: Makefile symbol for PROJECT_ROOT Date: 22 Nov 1995 13:08:54 GMT Organization: University of Lausanne CH (Switzerland) Message-ID: <48v7d6$3ae@cisun2000.unil.ch> I am doing a build on NEXTSTEP for a tool. Since I have many subprojects I have a top level common header directory in my project called include. In the Makefile.preamble I add a -I$(PRODUCT_ROOT)/include, and this works beautifully. However when I move this to PDO, even though it seems like the same symbol is defined in NeXT's makefiles, this fails to create the correct -I argument. It only inserts a single ./ instead of the long ../../ necessary. Is there another symbol for the top of the source directory that can be used in a Makefile? Is there a better way to do this? I know I can put in the hard path, but it's so inflexible. Thanks- Sean --- Sean L. Hill Research in Computational Neuroscience Institut de Physiologie E-mail: Sean.Hill@iphysiol.unil.ch Rue du Bugnon, 7 Work: ++41 021 692.5516 CH-1005 Lausanne SWITZERLAND Fax: ++41 021 692.5505
From: dvener@com1.med.usf.edu (David F. Vener) Newsgroups: comp.sys.next.programmer Subject: Motherboard clock speeds Date: 22 Nov 1995 15:20:24 GMT Organization: University of South Florida Message-ID: <48vf3o$dqm@mother.usf.edu> Where can I find NeXT shareware or freeware on the internet? Thanks David Vener dvener@com1.med.usf.edu
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 22 Nov 1995 16:50:02 GMT Organization: Sense Networking Seattle (www.oz.net) Distribution: world Message-ID: <48vkbq$rbc@emerald.oz.net> References: <487sdb$bvo@transfer.stratus.com> <DI090I.1rv@hurka.UUCP> <48acms$7b9@news.its.com> <48fmps$jef@emerald.oz.net> <48jpci$e5@saturn.genoa.com> Alex Blakemore <alex@genoa.com> wrote: > I'd love to know the rationale for initializing automatic variables to zero. When I read this "allegation", I was skeptical because I have been caught too often by uninitialized local variables containing "garbage", not 0 :-) So I wrote a small test program and confirmed that there's no obvious initialization of local variables either with or without optimization. -- Art Isbell NeXT & MIME Mail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: premise@umich.edu (Sean Michael Willson) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: Changing focus and first responder Date: 22 Nov 1995 20:18:17 GMT Organization: University of Michigan Message-ID: <4900i9$ejr@lastactionhero.rs.itd.umich.edu> NNTP-Posting-User: premise I have a few interesting programming questions. In a window I have a text object, browser, and text field. The text object is updated as data comes in real time. I am having trouble keeping objects selected in the browser and keeping the cursor in the text field when the text object is updated. I tried seeing if overriding the resignFirstResponder method to always be NO will work, but it didn't work. I noticed that OmniWeb behaves properly, but can't figure out how they do it. Has anyone tackled this problem before, and if so maybe you can give me a few clues on how I might solve it. Thanks... Sean M. Willson _________________________________________________________________________ Sean M. Willson premise@engin.umich.edu Foundation Software Solutions MIME, ASCII, NeXTMail Object Oriented Application Development Specializing in NeXT/OpenStep Net Home Page http://www-personal.engin.umich.edu/~premise/foundation/ 1800 Washtenaw Ave. Ann Arbor Mi, 48104 (313) 669-0565 _________________________________________________________________________
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <stes@can.nl> From: <stes@can.nl> Date: Thu, 23 Nov 1995 00:15:19 +0100 Message-ID: <9511222315.AA06321@canc.can.nl> Subject: Re: OpenStep spec changes belka@il.us.swissbank.com writes >At some point in time, any design breaks down. Either you admit it and fix >it, and go through the pain then, or you persist with the same design (and >shortcomings) until it catches up on you. Well said. Applies very much to Foundation Kit. >All I can say in defence of NeXT on this basis is that their OpenStep >standard has been accepted by Sun and GNU, and as such has wider "market" >support than Stepstone. Wait and see. I also think you're unfair to Stepstone here. They may not have had the money to build a factory and manufacture workstations, then decide that's not the market, then build an OS and then decide there are already too many OSes. They had a vision and ideas, and these ideas are withstanding time. As a matter of fact NeXT is trying to do now what Stepstone said back then. I'll take any bet that the Stepstone concepts will continue to exist LONG after autorelease, retain etc. disappeared with the company that is now aggressively forcing their developers to adopt it (and will not succeed). >Hopefully we will see a computer algebra kit on OpenStep - I personally >would think it a missed opportunity. I'm not asking for much. Please don't remove Object from the "Industry Standard Object Layer", you could say I'm begging. "But then we will have two hierarchies of objects !" Well, you should have anticipated that... I have a feeling this "transitional" period is going to last for a while :-) All this autorelease pool stuff might be exactly what your domain needs, but it's not what I need in a domain like symbolic computation that is notorious for its memory management requirements. So if they want to give their business customers objects for bigint, bigfloat, fixed size integer arithmetic, polynomials, matrices etc., well don't act like an elephant in a shop of china, and tell me I have to rewrite a complex 45,000 line system. And if you don't want these objects, well some other "standard" might emerge, acceptable for people from all sort of domains. I suggest making NSObject a subclass of Object. Let's see whether they will listen, and let's see who's unreasonable here. David Stes e-mail: stes@can.nl www: http://www.can.nl/~stes
From: edmtl@alf.uib.no (Thor Legvold) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.software,comp.sys.next.misc,comp.sys.next.programmer Subject: [W] Tips on recoding NeXT/Adobes standard encoding Date: 23 Nov 1995 00:27:12 +0100 Organization: University of Bergen Message-ID: <490bkg$2o2@alf.uib.no> I know that Adobe supports a larger character set than NeXT, and have had problems getting certain letters (mostly composites, zcaron, scaron, etc). A friend had tried recoding to put the special letters in question within the 255 range for use on NeXT, and it works. The problem is that the keyboard has to be completely reprogrammed because of the displacement caused in the coding. My question is: is it possible to recode a part/subset of standardencoding to enable use of special letters (by removing others seldomly/never used) without messing up the entire keyboard? I looked a bit in Thinking in PostScript but I'm not too good at the technical/programming side of things. Please e-mail replies. Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors Norway | edmtl@edb.uib.no (NeXTmail)
From: "Timothy J. Luoma" <luomat@capitalist.princeton.edu> Newsgroups: comp.sys.next.programmer Subject: Re: Why does this code cause a panic? Date: Wed, 22 Nov 1995 20:30:30 -0500 Organization: Princeton University Message-ID: <Pine.NXT.3.91.951122202743.4140A-100000@capitalist.princeton.edu> References: <Pine.NXT.3.91.951121184324.2012B-100000@capitalist.princeton.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <Pine.NXT.3.91.951121184324.2012B-100000@capitalist.princeton.edu> Sorry to followup on my own post. The problem wasn't the code, but Fiend. Version 1.4 doesn't crash. Thanks to <tom@basil.icce.rug.nl> for the answer. TjL -- Timothy J. Luoma luomat@capitalist.princeton.edu (MIME fine! NeXTMail if necessary) 476tjl@ptsmail.ptsem.edu (UGH! DOS! Yuck.... Don't use this) "If I understood the man page, I wouldn't have asked the question."
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: Re: [Q]: Riddle me this: bundles compile -g -O, but not -O Date: 23 Nov 1995 15:25:16 GMT Organization: Information Technology Solutions, Inc. Message-ID: <4923os$fnh@news.its.com> References: <DIF78n.K2v@arzana.co.uk> Andrew_Forkes@arzana.co.uk wrote: > I know this has been reported before (for app compiles), but I can't find > the reference to it, does anyone remember the solution ? > > Why would a bundle compile with -g -O and work fine, but not -O ? If the bundle doesn't load (rld_ errors), you've stripped too many symbols from it and/or the main executable, and the dynamic loader can't resolve everything. Make sure you've set APP_STRIP_OPTS to $(DYLD_APP_STRIP_OPTS) in Makefile.postamble. If the bundle loads but crashes, you've likely got a problem with uninitialized variables or something similar. Make sure you get zero warnings when compiling with "-g -O -Wall". -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs From: tom@hukatronic.cz (Tomas Hurka) Subject: Bug: return value of the currentCountForChannel: method is always '1' Message-ID: <DIIAwF.xB@hurka.UUCP> Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) Date: Thu, 23 Nov 1995 17:21:50 GMT Hi All, While writing the NEXTSTEP driver for the data acquisition ISA card I discovered the bug in the DriverKit IODirectDevice class. The return value of the currentCountForChannel: method was always '1', regardless the actual value of the DMA word count register. This is valid for the 16-bit DMA channels and probably also for 8-bit DMA channels. This bug also affects the method isDMADone:, which does not work too. The only work around is to read the value directly from the DMA word count register. I have NEXTSTEP 3.3/Intel (of course) with the latest 3.3 User patch installed. I sent report about this bug to bug_next@next.com too. Best regards, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted) 0 while the correct transformation is Page=0x0 Addr MSB=0xc0 Addr LSB=0x00 The problem in the NEXTSTEP code is that only lower 16 bits (up to A15) are shifted right. The correct approach is to shift right lower 17 bits (up to A16). Therefore the transformation is done wrong if the bit A16 in the physical address is one. The same error is in reading the DMA address, so if you read and write DMA address via DriverKit methods everything looks good, but the data goes to the different place than your driver expect. The only work around is to set/read the DMA address for 16-bit channels manually using direct access to the DMA registers. I would like to thank to Eric Norum <eric@skatter.USask.Ca> for checking my conclusions. I have NEXTSTEP 3.3/Intel (of course) with the latest 3.3 User patch installed. I sent report about this bug to bug_next@next.com too. Best regards, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: dcl@panix.com (David C. Lambert) Newsgroups: comp.sys.next.programmer Subject: Fiend causing panics? I don't think so. Date: 23 Nov 1995 13:30:19 -0500 Organization: PANIX Public Access Internet and Unix, NYC Message-ID: <492ejr$qp@panix.com> "Timothy J. Luoma" <luomat@capitalist.princeton.edu> writes: > I used a stripped binary of this program as 'eject' which would eject a > floppy disk frothe commandline. It worked fine under 3.0 and 3.1, and I > thought it worked under 3.2, but now when I run it Fiend crashes with a > bus error (#10) and the system immediately panics. and > Well, today someone told me that if I got the new version of Fiend.app > (1.4) the system panics have gone away. So I put the code on orst While I'm sure that running this program from the command line without a forward slash in the path would crash Fiend 1.3, it's extremely unlikely that this had anything to do with your panics. If it did have something to do with it, I'd expect Fiend 1.4 to have the same problem. Have you tried running this program without Fiend running to see if it causes a panic all by itself? - Dave -- David C. Lambert dcl@panix.com (finger for PGP 2.6.2 public key) (key fingerprint "5F 88 1A 54 3C EA DA FA F5 8E 0B 68 48 4C 02 48")
From: Charles C. Lloyd <clloyd@giantleap.com> Newsgroups: comp.sys.next.programmer Subject: Signal Handling/Mach Exception Handling Wrappers? Date: 23 Nov 1995 21:13:27 GMT Organization: Sierra-Net Message-ID: <492o5n$gfu@jobes.sierra.net> Has anyone put together a set of wrappers for handling UNIX signals and/or Mach Exceptions? I am looking for a platform-independent interface to these things which, at a minimum, handle: -invalid memory access -stack over flow and can co-exist with gdb's exception handling, if that's even possible. Thanks, Charles. --- Charles Lloyd clloyd@giantleap.com GiantLeap Software PO Box 8734 (702) 831-4630 Incline Village, NV 89452
From: dcl@panix.com (David C. Lambert) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <492ejr$qp@panix.com> Control: cancel <492ejr$qp@panix.com> Date: 23 Nov 1995 21:58:36 -0500 Organization: PANIX Public Access Internet and Unix, NYC Message-ID: <493ccs$646@panix.com> cancel <492ejr$qp@panix.com> in newsgroup comp.sys.next.programmer This article was cancelled from within NN version 6.5.0 (NOV) -- David C. Lambert dcl@panix.com (finger for PGP 2.6.2 public key) (key fingerprint "5F 88 1A 54 3C EA DA FA F5 8E 0B 68 48 4C 02 48")
From: dcl@panix.com (David C. Lambert) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Fiend causing panics? Date: 23 Nov 1995 22:00:34 -0500 Organization: PANIX Public Access Internet and Unix, NYC Message-ID: <493cgi$67s@panix.com> "Timothy J. Luoma" <luomat@capitalist.princeton.edu> writes: > I used a stripped binary of this program as 'eject' which would eject a > floppy disk frothe commandline. It worked fine under 3.0 and 3.1, and I > thought it worked under 3.2, but now when I run it Fiend crashes with a > bus error (#10) and the system immediately panics. and > Well, today someone told me that if I got the new version of Fiend.app > (1.4) the system panics have gone away. So I put the code on orst While I'm sure that running this program from the command line without a forward slash in the path would crash Fiend 1.3, it's extremely unlikely that this had anything to do with your panics. If it did have something to do with it, I'd expect Fiend 1.4 to have the same problem. Have you tried running this program without Fiend running to see if it causes a panic all by itself? Has anyone else seen this sort of thing? -- David C. Lambert dcl@panix.com (finger for PGP 2.6.2 public key) (key fingerprint "5F 88 1A 54 3C EA DA FA F5 8E 0B 68 48 4C 02 48")
From: dcl@panix.com (David C. Lambert) Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <493cgi$67s@panix.com> Control: cancel <493cgi$67s@panix.com> Date: 23 Nov 1995 23:03:07 -0500 Organization: PANIX Public Access Internet and Unix, NYC Message-ID: <493g5r$b0t@panix.com> cancel <493cgi$67s@panix.com> in newsgroup comp.sys.next.programmer This article was cancelled from within NN version 6.5.0 (NOV) -- David C. Lambert dcl@panix.com (finger for PGP 2.6.2 public key) (key fingerprint "5F 88 1A 54 3C EA DA FA F5 8E 0B 68 48 4C 02 48")
From: shill@iphysiol.unil.ch (Sean Hill) Newsgroups: comp.sys.next.programmer Subject: isEqual with Distributed Objects Date: 24 Nov 1995 09:19:57 GMT Organization: University of Lausanne CH (Switzerland) Message-ID: <4942nt$5jq@cisun2000.unil.ch> I am trying to use a NotificationCenter to get messages from my remote server. I know about the example with EO and distributed objects; I'm trying to do something a little differently. The main problem is that NSNotificationCenter doesn't recognize my server which is posting notifications as the same server I registered to send notifications. I register the client on the server end essentially like this: <caution pseudo-real code> - (oneway)registerClient:client { myMutableArray = [clientArray addObject:client]; } When I register the client with the server it's via the proxy so I do: - registerWithServer { [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(displayStatus:) notificationName:SIMUpdateStatus object:remoteServer]; <---- IMPORTANT [server registerClient:self]; } Then in the server it does this: [clients postNotificationName:SIMUpdateStatus object:self] I have to make remoteServer be nil in order to receive any notifications. It seems that remoteServer != [notification notificationObject]. Why not? Thanks for any info, known bugs, etc. Should I override isEqual? Shouldn't this work in a transparent distributed environment? -Sean --- Sean L. Hill Research in Computational Neuroscience Institut de Physiologie E-mail: Sean.Hill@iphysiol.unil.ch Rue du Bugnon, 7 Work: ++41 021 692.5516 CH-1005 Lausanne SWITZERLAND Fax: ++41 021 692.5505
From: Andrew_Forkes@arzana.co.uk Newsgroups: comp.sys.next.programmer Subject: Re: [Q]: Riddle me this: bundles compile -g -O, but not -O Date: Fri, 24 Nov 1995 12:34:20 GMT Organization: Arzana Limited Sender: news@arzana.co.uk Message-ID: <DIJs98.y3@arzana.co.uk> References: <4923os$fnh@news.its.com> In article <4923os$fnh@news.its.com> chuck@its.com (Chuck Swiger) writes: > Andrew_Forkes@arzana.co.uk wrote: > > > > Why would a bundle compile with -g -O and work fine, but not -O ? > > chuck@its.com wrote: > If the bundle doesn't load (rld_ errors), you've stripped too many > symbols from it and/or the main executable, and the dynamic loader can't > resolve everything. The bundle actually loads fine in both instances - zero compile errors, no rld_ errors, no missing symbols. ALL variables have default values. Globals are declared "volatile", it's just the Intel version compiled with -O mostly crashes at a random point ... It's been suggested to me that this is a byte-alignment problem, which I tend to agree with - as, *sometimes* the bundle will load fine (say after I've added something new to the code) - is seems totally 50-50 as to whether a bundle compiled under Intel with -O will load. It's also extremely difficult to debug this sort of thing. Even more strange is that the same bundle compiled for HP-PA or SPARC with -O runs just fine. Me thinks it's an Intel specific issue ... that'll teach me 8-) Thanks anyway. Andrew
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Signal Handling/Mach Exception Handling Wrappers? Date: 24 Nov 1995 16:58:10 GMT Organization: Information Technology Solutions, Inc. Message-ID: <494tj2$kop@news.its.com> References: <492o5n$gfu@jobes.sierra.net> Charles C. Lloyd <clloyd@giantleap.com> wrote: > Has anyone put together a set of wrappers for handling UNIX signals > and/or Mach Exceptions? I am looking for a platform-independent > interface to these things which, at a minimum, handle: > > -invalid memory access > -stack over flow > > and can co-exist with gdb's exception handling, if that's even possible. I don't know of any software which attempts to perform generalized Mach exception handling. I've done some work towards that for the beta release of CrashCatcher 2.0. However, since I've had zero customers ask for that functionality, there isn't any demand to justify the development costs. There are several choices for handling Unix signals. There's the original ObjectError.m and CrashTrap which are freely available on the FTP archives, and CrashCatcher, a commercial product of ITS. If you're interested, feel free to contact me via email. ------------------ By the way, if by "stack over flow", you're referring to something like: void bad_function() { int a[10]; a[123] = 0; // very bad idea! } Nothing will detect or help with that type of error, because you've corrupted the stack in an undetectible fashion. A debugger will often be unable to perform a backtrace. That type of code causes the most difficult and unreproducable bugs to occur, so avoid large automatic arrays or alloca() if you can. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: ckane@next.com (Christopher Kane) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep spec changes Date: 24 Nov 1995 20:49:24 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <495b4k$kod@news.next.com> References: <9511161910.AA03400@canc.can.nl> In article <9511161910.AA03400@canc.can.nl> David Stes, <stes@can.nl> writes: > The cursing (sorry, nothing personal) was inspired by the > statements "I'm not sure what's going on" of the one person, > and "has anyone perchance a public domain implementation of > fork() for Windows" of the other one. The Foundation doesn't use fork() for any public API, so we don't need fork() on NT, but customers may have use for it, so it'd be nice to make it available. We know how to implement it to get 80-90% of the functionality you expect out of fork(), but it's non-trivial and we don't have time. fork()+exec() functionality they have, but fork() alone is sometimes useful, as for, say, a test execution tool which forks off a child for each test so as to not dirty the execution tool's memory with the test (and each test runs in a "pristine" environment). > But there's more to it. I'm sort of pissed off by Foundation Kit, > which is why I did that reply in a fit of anger. They don't care > about compatibility *at all*, "we're gonna redo everything" seems > to be the motto. You don't say what kind of compatibility you want... It was decided to "redo everything" (like List -> NSArray) so that it was quite clear when you were using old stuff and when you were using new stuff (and could take advantage of new behaviors). The old classes couldn't be retrofitted to get all the new functionality, and even if possible, that may have changed some subtle behavior you (or anybody else) were unknowningly depending on. > You can put my own Computer Algebra Kit objects nicely in a > List or HashTable, archive them, or print them in a debugger, > or send them over the net with PDO, or add them to a Stepstone > Dictionary, SortedCltn,etc. for that matter. But making it > work with the Foundation Kit ? You can still do all of that. List, HashTable, Storage, continue to exist. I can add HashTables to an NSArray, and archive it and unarchive it, send it over new DO, or old DO to a limited extent (limitations due to old DO, which we cannot change). (I'm talking about the Foundation in OpenStep 4.0 here; I'm not familiar with the 3.3 foundation.) > All this rewriting is no good. The idea of Objective C is to > *insulate you* from massive code source modifications, like > having to run a script over your source that converts the whole > thing. Object-oriented programming does not insulate you from changes in the API, and doesn't claim to. It does help to insulate from changes *and choices made* in an underlying implementation, but often fails to do that, too (I'm thinking of examples in Eiffel and C++, as well as Objective C here). > I guess all this means is: no Computer Algebra Kit objects > in OpenStep. Well, supposedly my objects are not compatible, > but me thinks THEY ought to conform to the standard (as > defined in Stepstone's and NeXT's *SPEC* sheets - don't these > documents have any authority?) +new, -copy, -free, -hash, > -isEqual:, -read: and -write: (to start with! that's the easy > part!) Well, that's a choice you can make. The term "spec sheets" is a bit of a misnomer. Even the OpenStep "spec" is not a specification in the (stricter) software engineering sense. > David Stes > e-mail: stes@can.nl > www: http://www.can.nl/~stes Christopher Kane Foundation Technology * Not an official spokesperson for NeXT Computer, Inc. *
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de (Juergen Sell) Subject: Q: Stroked Font in QRenderMan? Message-ID: <DIK7CJ.1qt@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown Date: Fri, 24 Nov 1995 18:00:18 GMT Where can I find an implementation of stroked font(s) for the use in quick renderman? I need to display actually hundreds of strings in a camera view and can live without fancy shading of solid text like 3DReality offers. So an approach ala Hershey Fonts done with Ri* qrman calls would be fine. This most definitely has been done before, I am unwilling to repeat the effort. Please post (or mail) pointers, I will summarize. Juergen --- Fon +49 511 4406-88 NeXTMail welcome No Mime Fax +49 511 4406-17 == What time do we live in when revolution reminds us of soap powder, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names == when changing title bars' colors to mainstream hype is considered progress?
From: Tal Lancaster <tlan> Newsgroups: comp.sys.next.programmer Subject: Re: 3D Kit questions Date: 24 Nov 1995 23:33:21 GMT Organization: Walt Disney Studios Message-ID: <495ko1$mh1@cabinboy.studio.disney.com> References: <48lq1p$6pj@news.halcyon.com> <48pebf$g4i@news.halcyon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit vision@halcyon.com (Andy Kriger) wrote: [Sniped] >more specifically, i'm working with the "Renderman Companion". i'd >like to know how to take the examples (even the simple ones) and use >them more or less as is (i.e. w/ri.h and the NeXT interface/appkit) >instead of hacking them into the N3D libraries (which does seem to >work, but since it's a hack, i'm not exactly sure what i'm doing). > >for example, the simple 'display a polygon' example on p.18 refuses to >compile on my machine if i just enter it and compile using cc. i get >'Symbols not found' (or something like that) for all the Renderman >stuff after the RtPoint (RiBeing, RI_P, RiWorldBegin, RiSurface, >RiPolygon, RiWorldEnd, RiEnd) and i'm not sure why. > >since some of the Renderman library does not appear to have been >N3Dized (e.g. Constructive Solid Geometry), i'd like find a means to >get this to work. If you just want to compile the examples from "The RenderMan Comapanion" pretty much as is (that is ignore 3D Kit and anything else NeXT specific), then get Larry Gritz' BMRT (which will give you the ri.h and a library for the RenderMan API (which will build the RIBs from the C source). BMRT can be found at: http://www.seas.gwu.edu/student/gritz/bmrt.html Also complete, working source can be found in my site at: http://pete.cs.caltech.edu/RMR/Pixar/rcTop.htmld/rcTop.html > >thx > > > > -- Tal Lancaster Technical Director, Disney Feature Animation email: tlan@fa.disney.com WEB: The RenderMan Repository (http://pete.cs.caltech.edu/RMR/)
From: dkoski@goofy.cs.wisc.edu (David Koski) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 25 Nov 1995 01:07:29 GMT Organization: U of Wisconsin CS Dept Message-ID: <495q8h$r7g@spool.cs.wisc.edu> References: <487sdb$bvo@transfer.stratus.com> <48acms$7b9@news.its.com> <48fmps$jef@emerald.oz.net> <48jpci$e5@saturn.genoa.com> In article <48jpci$e5@saturn.genoa.com>, Alex Blakemore <alex@genoa.com> wrote: >I'd love to know the rationale for initializing automatic variables to zero. >Is there any way to turn off that behavior? That is not the behavior, maybe you are thinking of static variables? Check this out: #include <stdio.h> void test1() { int j; j = 10; printf("%8.8x %d\n", &j, j); } void test2() { int j; printf("%8.8x %d\n", &j, j); } int main() { test1(); test2(); } pizza% a.out bffff908 10 bffff908 10 So j has the old value from test1() -- thus autos are not initialized to anything. David Koski http://www.cs.wisc.edu/~dkoski
From: bdm@agni.psych.nyu.edu (Brian McElree) Newsgroups: comp.sys.next.programmer Subject: f2c for NSFIP 3.3 Date: 24 Nov 1995 20:22:53 GMT Organization: New York University Message-ID: <4959it$ssu@cmcl2.NYU.EDU> Does anyone have source code for the f2c (fortran to C translator) program that will compile under NSFIP 3.3? I'm not having much success trying to compile under NSFIP 3.3 old source code that I previously compiled under either NS-MOTO 3.0 or 3.1. Brian McElree New York University bdm@xp.psych.nyu.edu
Newsgroups: comp.sys.next.programmer From: freeband@netcom.com (Nick Porcaro) Subject: What's going to happen to system() Message-ID: <freebandDIJI55.6vr@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) Date: Fri, 24 Nov 1995 08:55:53 GMT Sender: freeband@netcom.netcom.com My app calls system() to rn C-shell scripts for some of its functionality. What's going to happen to this on OpenStep for Windows Please respond by e-mail Thanks in advance, Nick
From: GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) Newsgroups: comp.sys.next.programmer Subject: Re: 3D Kit questions (here's the answer) Date: 25 Nov 1995 12:39:55 GMT Organization: Nanyang Technological University Message-ID: <4972qr$2fc@ntuix.ntu.ac.sg> References: <48lq1p$6pj@news.halcyon.com> <48pebf$g4i@news.halcyon.com> <495ko1$mh1@cabinboy.studio.disney.com> Tal Lancaster (tlan) wrote: : vision@halcyon.com (Andy Kriger) wrote: : >more specifically, i'm working with the "Renderman Companion". i'd : >like to know how to take the examples (even the simple ones) and use : >them more or less as is (i.e. w/ri.h and the NeXT interface/appkit) : >instead of hacking them into the N3D libraries (which does seem to : >work, but since it's a hack, i'm not exactly sure what i'm doing). Here is my recipe: first I have a small script which I run: ------------------------ if (-f $1'.c') then cc -o $1 $1.c -lMedia_s -lNeXT_s strip $1 $1 /usr/prman/prman $1.rib /NextApps/Preview.app/Preview $1.tiff else echo 'file '$1'.c not found' endif ----------------------- Then my C-progarm looks like: ----------------------- #include <ri/ri.h> RtPoint Square [4] = {{.6, .6, 0}, {.6, -.6, 0}, {-.6, -.6, 0}, {-.6, .6, RtColor SquareColor = {.2, .5, .8}; RtColor SphereColor = {.8, .5, .2}; main(int argc, char *argv[]) { char *RenderType = "archive"; char *RibFile = "Lst22.rib", *TiffFile = "Lst22.tiff"; RiBegin(RI_NULL, "renderer", &RenderType, "filepath", &RibFile, RI_NULL); RiDisplay (TiffFile, RI_FILE, RI_RGBA, RI_NULL); RiFrameBegin (1); RiFormat (512, 512, 1); RiLightSource ("mylight", "distantlight", RI_NULL); RiProjection ("perspective", RI_NULL); RiTranslate (0.0, 0.0, 1.2); RiRotate (45.0, -1.0, 1.0, 0.0); RiWorldBegin (); RiSurface ("matte" , RI_NULL); RiColor (SquareColor); RiPolygon (4, RI_P, (RtPointer) Square, RI_NULL); RiSurface ("matte", RI_NULL); RiColor (SphereColor); RiSphere (.5, -.4, .4, 360, RI_NULL); RiWorldEnd (); RiFrameEnd (); RiEnd (); } ---------------------------- This should get you started.
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: [Q]: Riddle me this: bundles compile -g -O, but not -O Date: 25 Nov 1995 16:53:42 GMT Organization: Information Technology Solutions, Inc. Message-ID: <497hmm$qrl@news.its.com> References: <4923os$fnh@news.its.com> <DIJs98.y3@arzana.co.uk> Andrew_Forkes@arzana.co.uk wrote: > The bundle actually loads fine in both instances - zero compile errors, no > rld_ errors, no missing symbols. ALL variables have default values. > Globals are declared "volatile", it's just the Intel version compiled with > -O mostly crashes at a random point ... By "random", exactly what do you mean? > It's been suggested to me that this is a byte-alignment problem, which I > tend to agree with - as, *sometimes* the bundle will load fine (say after > I've added something new to the code) - is seems totally 50-50 as to > whether a bundle compiled under Intel with -O will load. It's also > extremely difficult to debug this sort of thing. > > Even more strange is that the same bundle compiled for HP-PA or SPARC with > -O runs just fine. Hmm. The Intel architecture has the least-restrictive alignment requirements of any of the architectures that NEXTSTEP runs under, with the HP being the most restrictive. (If I remember correctly.) Therefore, I would be surprised to find that this was an alignment problem. On the other hand, the Intel is little-endian...byte ordering is more likely to be an issue. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de (Juergen Sell) Subject: 3Dkit example Simple.app broken under 3.2? Message-ID: <DIM3ru.Mt@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown Date: Sat, 25 Nov 1995 18:38:17 GMT Hi, I have a version of Simple.app compiled (probably from NS3.0 days) and it displays the torus with some light. However, when I compile a copy of the sources, the new app displays the torus, but no noticable light in the scene, and the torus is hardly noticable. The saved rib file still contains lightsource reference, though. So it seems like something has changed. Do you have any pointers for me to investigate? I try this under NS/N 3.2. Btw, is there a more appropriate newsgroup for 3dkit/renderman? Thanks, Juergen --- Fon +49 511 4406-88 NeXTMail welcome No Mime Fax +49 511 4406-17 == What time do we live in when revolution reminds us of soap powder, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names == when changing title bars' colors to mainstream hype is considered progress?
From: ir001265@interramp.com Newsgroups: comp.sys.next.programmer Subject: Where is libObjects? Date: 25 Nov 1995 22:35:02 GMT Organization: Ronin Consulting, Inc. Message-ID: <4985mm$bv4@usenet2.interramp.com> The version on prep.ai.mit.edu is 0.1.3 - I've heard mention of versions as late as 0.1.13! Anyone know where it is kept? The OpenStep Web site pointed at prep.ai.mit.edu. \n
From: edmtl@alf.uib.no (Thor Legvold) Newsgroups: comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.software,comp.sys.next.misc,comp.lang.postscript Subject: More postScript encoding questions... Date: 26 Nov 1995 02:47:23 +0100 Organization: University of Bergen Message-ID: <498gvb$90a@alf.uib.no> Thanks for all the info about font conversion - the best thing I found was FontConvert, a free conversion tool with a bit of font-debugging capeabilities, very nice. I've been reading the tutorial/cookbook (Adobe) trying to find out the best way to get the few extra letters supported by PS but missing in NeXTs vision of standardEncoding... I've found many good tips, but have no idea how to make them work. I do notice that NeXTs fonts include several of these letters already (scaron, zcaron, eth, etc) encoded as .notdef (-1). However, NeXTs Keyboard.app (somehow) allows the use of these unencoded characters...! How is this done? Could I simply substitute (f.x.) zcaron for currency and have zcaron automatically useable at the same encoding vector as currency? What about non existant (but possible) lettters like ccaron or cacute - could I simply define them in the afm file and include a definition in the composites secition at the end of the afm file? How do the font files and afm files encodings interact - which takes precedence, and how does Keyboard.app manage to change this without changing the fonts? Lastly, it looks like program 18 in cookbook would work for me if I knew how to use it - I get the example to work but have no idea how to apply it to actually modify an installed font file to enable these extra letters. I know that there must be an elegant and simple way, but not enough to know what that is :-) Before you start sending RTFM type comments, I _have_ RTFM and all the on-line docs. That doesn't mean I understand them :-) BTW - there doesn't seem to be any table (3.3 Intel) in the on line docs describing NeXTs StandardEncoding. Keyboard.app has some info, unortunatley everything is in hexadecimal and Adobe font encoding vectors are in decimal... Where did I leave my calculator...? Please e-mail replies, when I _finally_ get this to work I'll make some nice flashy package/document explaining how to customize font encodings. With all the international NeXT users I'm surprised noone has done this before... Regards, -- Thor Legvold | This is the strangest life NorNeXT User Group leader | I've ever known... University of Bergen | - Jim Morrison, The Doors Norway | edmtl@edb.uib.no (NeXTmail)
From: trombino@wendy.ucsd.edu (Mark Trombino) Newsgroups: comp.sys.next.programmer Subject: How to make other app active Date: 25 Nov 1995 20:27:47 GMT Organization: The University of California at San Diego Message-ID: <497u83$k7@news2.ucsd.edu> Hi. Just a quick question... I have an application that uses the MiscMailApp to start up Mail.app, open a compose window, and fill it with some text. The problem is, I would like Mail.app to become the active application at that point. It starts up just fine, but sits behind my application. How is this done? Thanks in advance... -- ================================================================== Mark Trombino trombino@wendy.ucsd.edu Center For Research in Computing the Arts, U.C.S.D. ==================================================================
From: andylee@oahu.cs.ucla.edu (Andy A. Lee) Newsgroups: comp.sys.next.programmer Subject: Problem with system( "rm -r ... " ) Date: 26 Nov 1995 05:32:49 GMT Organization: UCLA Computer Science Dept. Message-ID: <498u61$9cc@delphi.cs.ucla.edu> Hello, I am having a very strange problem. Within a factory method, I use system( "rm -r ..." ) to delete a directory, then check the return value to see if the deletion was successful (0 is success, non-zero is failure). For testing, I created a directory in /tmp owned by root that I cannot delete. The absolute path is given to system(), i.e. system( "rm -r /tmp/dirname" ). The problem is this. It works fine when I run the application under GDB, it returns non-zero to indicate that the "rm" command failed. But when not running GDB, system() would return 0, even though the directory is not removed!!! I am stumped since I can't use GDB to debug this. :-( Help? -- # Andy A. Lee # UCLA MS/PhD Graduate Student, AI Neural Networks # # andylee@ucla.edu # Down-to-Earth Idealist & Independent NeXT Developer # # (310)996-0066 H # "If you don't watch your figure, who will?" - TV Ad. # # (310)825-2518 O # "Trust is earned, not given away." - Star Trek: TNG #
From: s9510225@bf.rmit.edu.au (Louis Lai) Newsgroups: comp.sys.next.programmer Subject: Programmers' behavior & needs survey Date: 26 Nov 1995 12:48:37 GMT Organization: Royal Melbourne Institute of Technology, Melbourne, Australia. Message-ID: <499nn5$160@aggedor.rmit.EDU.AU> NNTP-Posting-User: s9510225 Software development provides some of business's most lurid horror stories. Stories of projects only one-third finished but already costing double or triple their budgets are common. So are stories of projects that were outrageously late and those that never work at all. There are many views to this problem. "The major problems of our work are not so much technological as sociological in nature. Most managers are willing to concede the idea that they've got more people worries than technical worries. But they seldom manage that way." -- DeMarco & Lister: Peopleware(1987) "Many programmers and analysts have complained to me that their work holds no meaning to them... [They] stay on the job, draw the salary, and bad-mouth their employers at every safe opportunity." -- Weinberg: Understanding the Professional Programmer(1988) "While the software [programmers] develop becomes increasingly sophisticated, relations between programmer and manager remain shockingly primitive." -- Licker: The Art of Managing Software Dev. People(1985) "[Programmers are] arrogance's born in a belief of rectitude and superiority, and [are] ignorance's born in a blindness to shortcomings." -- O'Brien: Software Production Management(1992) Whatever the reasons are, there's a need to understand the programmers themselves. The aim of this research is to elicit information on the needs and behavior of software programmers. Information that will, hopefully, better managers in managing these professionals. If you are working or have worked as a professional programmer, please take 15 to 20 minutes to answer the following questionnaire. This questionnaire is in: http://www.bf.rmit.edu.au/~s9510225/ The results will be posted at this location also. I like to thank in advance to those who participated in this survey. Your contribution will surely advance the knowledge in this field. Thank you. Yours sincerely, Louis Lai, s9510225@bf.rmit.edu.au Faculty of Business, Royal Melbourne Institute of Technology, Australia.
From: steve@talus.com (Steve Sarich III) Newsgroups: comp.sys.next.programmer Subject: Consulting agreements/contracts Date: 26 Nov 1995 16:04:57 GMT Organization: The Black Box, Houston, Tx (713) 480-2686 Message-ID: <49a379$m0j@news.blkbox.com> We have a new project that requires both consulting and software development and I was wondering if anyone has any tips/pointer/suggestions on writing a plain language consulting agreement that protects everyones interests....but doesn't send the client immediately running for legal help to decipher it. (At this point, their lawyer has to call your lawyer...they find that they both went to Yale and spend the next three hours, at $200 per hour each, disucssing old times :-) You can probably tell...I hate attorneys (or at least most of them). Has anyone compiled any figures on what NS consultants are charging in different regions of the U.S.? Any interest? Steve Talus Systems, Inc. steve@talus.com
Newsgroups: comp.sys.next.programmer From: k_harbour@mail.bogo.co.uk (Karl Harbour) Subject: Re: I'm giving up on Model-View-Controller Sender: news@news.bogo.co.uk (news) Organization: Orbital Computer Consultancy Message-ID: <1995Nov26.190600.17827@news.bogo.co.uk> References: <489629906wnr@hps1.demon.co.uk> Date: Sun, 26 Nov 1995 19:03:49 GMT Andy Robinson <Andy@hps1.demon.co.uk> wrote: >I've been programming in NextStep for the last few months >and so far I've adhered as closely as I can to the MVC >paradigm. I understand the reasons behind it when dealing >with something that offers multiple views of complex data, It also separates the UI appearance/logic from the business logic, and hence makes the business objects reusable in other apps... >but I'm wondering if I'd be better to just bin it. ...I recommend you don't, since later you say you want the same business objects in many apps. > >I'm mostly building database front-ends which need to do Presumably you're using EOF then? >quite a bit of validation, and whose main function is to >get information with some fairly tight constraints from the >user. In other words, there is a lot of 'business logic' >which I feel ought to be in the 'business objects' and not >in the 'user interface objects' Agreed. > (practically, various >delegate methods in my controller files). > >It occurs to me that the most natural way to go >ahead would be to have my 'business objects' linked quite >tightly to UI objects. Natural perhaps if you're abandoning MVC, otherwise not. The more tightly bound (coupled) _any_ classes are, the less reusable they are, since the coupling makes one class difficult to use without the other. > Thus, for example, if I have a >(non-UI) object called a 'Customer', I >could send it messages like '[myCustomer runDialog:self] >and it would pop up the appropiate kind of panel for >setting its attributes etc. This would then let me build >fairly sophisticated views where a double-click on a line >of text representing an object would result in a panel >being run, without the UI needing to know what kind of >object it was being sent to. > Better to have a controller class named <EOClassName>Controller (e.g. CustomerController). When the user clicks the text, use NSClassFromString (or objc_getClass) to get the Controller class, then tell the Controller class to inspect (or whatever) the object. >There are lots of other cases where this might be >useful - messages for validation, objects asking >the user for missing information they needed at various >points, informing the user beforehand about changes to >related objects. > You might want to implement EOF's prepareForDataSource method in your EOs. This only covers validating the whole object before saving it though; in the more general case, you need something else. The best solution to general (attribute level) validation is unfortunately quite complicated with EOF, but worth doing. I can send you more details if you like, but basically you need to do 2 things: 1. Subclass TextFieldCell and override isEntryAcceptable:, to return YES or NO according as whether the EO considers itself valid, then have your subclass poseAs:TextFieldCell. 2. In the set methods for your EO attributes, implement the appropriate validation logic. If invalid, the reason is stored as a string in an ivar, and can be requested for display in an NXAlertPanel by your isEntryAcceptable: method. > >Are there any problems in such an approach? > >And what is the cleanest way to give my business objects >access to the IB objects it needs? #import myController.h >and make sure they are there? A solution to a problem you don't need to create. >Multiple, reused nib files? >Palettized inspectors? I've not done any of these yet, and >I'll want to put my business objects in a whole family of >apps with the maximum reusability. > Stick with MVC. Sometimes the going gets tough, but it's worth it in the end. > >Could anyone gice me some guidelines on how they deal >with this sort of thing? > >-- >Andy Robinson andy@hps1.demon.co.uk >High Performance Sports Tel 0181-211-7000 > >My opinions in this forum ARE those of High Performance Sports, >because I'm the only one here who can switch on a PC... > <---- Fixed-font signature ----> *********************************************** oooo o o o ******** Orbital Computer Consultancy ********* o o o ooo o ****** E-Mail: k_harbour@mail.bogo.co.uk ****** o o ooo oooo O o ooo o *********************************************** o o o o o o o o o o oooo o ooo o ooo oooo o
From: trojaner@nxws01.tro.attc.de (Michael Hoess) Newsgroups: comp.sys.next.programmer Subject: EOFAdaptor for -Postgres 95- Date: 26 Nov 1995 21:36:00 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: <49amk0$lms@info4.rus.uni-stuttgart.de> Hi ! I'd like to know if there exists an EOF-adaptor for this Postgres-95 database or if there is such an adaptor under development ? Thanx in advance, Michael Hoess trojaner@studbox.uni-stuttgart.de
From: gjudd@siward.demon.co.uk (Graham Judd) Newsgroups: comp.sys.next.programmer Subject: Re: f2c for NSFIP 3.3 Date: 26 Nov 1995 23:20:56 GMT Organization: A Private Internet Host Message-ID: <49asoo$c3@siward.demon.co.uk> References: <4959it$ssu@cmcl2.NYU.EDU> In <4959it$ssu@cmcl2.NYU.EDU> Brian McElree wrote: > > Does anyone have source code for the f2c (fortran to C translator) > program that will compile under NSFIP 3.3? > > I'm not having much success trying to compile under NSFIP 3.3 > old source code that I previously compiled under either NS-MOTO > 3.0 or 3.1. I have it compiled ok on NS3.3, all I did was ensure that -ansi and -posix were included as part of the CFLAGS macro in the makefiles. Try this first, and if it still doesn't work, email me and I'll mail you my source dir. Regards -- Graham Judd, London, England
From: eric@skatter.usask.ca (Eric Norum) Newsgroups: comp.sys.next.programmer Subject: f2c? Why not use g77? Date: 27 Nov 1995 01:36:45 GMT Organization: University of Saskatchewan Message-ID: <49b4nd$hrv@tribune.usask.ca> I've been using f2c on the NeXTSTEP machines here for the last couple of years. I can send the shell scripts I use for unpacking, compiling and installing f2c to those who are interested. Now, though, I'm switching over to a `real' compiler - g77 Getting g77 working under NeXTstep is pretty easy -- at least if you're used to working with GNU software distributions...... 1. Get the source for the latest versions of gcc and g77. As far as I know, the latest versions are g77-0.5.17 and gcc-2.7.1. These are the versions I worked with. 2.Unpack the gcc sources: tar xf gcc-2.7.1.tar This will leave all the sources in the directory gcc-2.7.1 3. Make a symbolic link (you must do this *before* unpacking the g77 stuff) ln -s gcc-2.7.1 g77-0.5.17 This makes unpacking the g77 sources easier. 4. Unpack the g77 sources: tar xf g77-0.5.17.tar Because of the symbolic link, this puts the g77 sources in with the gcc sources -- which is where they have to go. 5. Change to the gcc source directory: cd gcc-2.7.1 6. Decision time! If you've got f2c installed, you might want to: rm -f f2c-install-ok touch f2c-exists-ok If you don't have f2c installed, you can skip this step. If you do have f2c installed, you really ought to have a look at the README that comes with g77. 7. Configure the compiler: ./configure 8. Build and install the compiler: make LANGUAGES=f77 g77 install 9. Wait, and wait, and wait. There will be a whole bunch of messages printed (when installing headers, the compiler complains about *every single* NeXT header file that contains `#import'), but things should finally end up in the right places. 10. Try compiling your fortran programs! -- Eric Norum eric@skatter.usask.ca Saskatchewan Accelerator Laboratory Phone: (306) 966-6308 University of Saskatchewan FAX: (306) 966-6058 Saskatoon, Canada. NeXTMail accepted.
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 27 Nov 1995 05:15:09 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <49bhgt$a07@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: vision@halcyon.com (Andy Kriger) Newsgroups: comp.sys.next.programmer Subject: video kit docs? Date: Mon, 27 Nov 1995 07:18:31 GMT Organization: Northwest Nexus Inc. Message-ID: <49boml$6g2@news.halcyon.com> does anyone have or is there a net location for the video kit docs? the rtf in the devkit says it's no longer supported, but the header files are still in there. or, is there another way to develop with video in NeXTStep3.3? thx
Newsgroups: comp.sys.next.programmer From: rfenney@directnet.com (Robert J. Fenney) Subject: Re: Consulting agreements/contracts Message-ID: <rfenney-261195152336@rfenney.slip.netcom.com> Followup-To: comp.sys.next.programmer Sender: netnews@mork.netcom.com Organization: FenTek References: <49a379$m0j@news.blkbox.com> Date: Sun, 26 Nov 1995 23:25:11 GMT In article <49a379$m0j@news.blkbox.com>, steve@talus.com (Steve Sarich III) wrote: > We have a new project that requires both consulting and software > development and I was wondering if anyone has any tips/pointer/suggestions > on writing a plain language consulting agreement that protects everyones > interests....but doesn't send the client immediately running for legal > help to decipher it. (At this point, their lawyer has to call your > lawyer...they find that they both went to Yale and spend the next three > hours, at $200 per hour each, disucssing old times :-) You can probably > tell...I hate attorneys (or at least most of them). > > Has anyone compiled any figures on what NS consultants are charging in > different regions of the U.S.? Any interest? > > Steve > Talus Systems, Inc. > steve@talus.com Steve, What Fentek (my company) does is to sit down with the clients hash out their conserns and write it up. After both side have an understanding THEN send it to your lawyers! And yes you had better send it to your layers to make sure that everything is phrased correctly or if something happens you will be hung out to dry unless you have built up good will and your client wants to work with you again. There really is no secret about contracts only about building good will and an understanding with your clients and subcontracters. Robert
Newsgroups: comp.sys.next.programmer From: rfenney@directnet.com (Robert J. Fenney) Subject: RTF docs Message-ID: <rfenney-261195152759@rfenney.slip.netcom.com> Followup-To: comp.sys.next.programmer Sender: netnews@mork.netcom.com Organization: FenTek Date: Sun, 26 Nov 1995 23:26:17 GMT Does anyone know where I can get a copy oof the laytest version of the RTF specs? Thanks Robert
Newsgroups: comp.sys.next.programmer From: rfenney@directnet.com (Robert J. Fenney) Subject: Enterprise Objects Message-ID: <rfenney-261195152923@rfenney.slip.netcom.com> Followup-To: comp.sys.next.programmer Sender: netnews@mork.netcom.com Organization: FenTek Date: Sun, 26 Nov 1995 23:29:19 GMT We are in the process of designing some objects and frameworks focused on banking. Is there any interest for ObjC versions as well as the Smalltalk, Java, and C++ versions we are curently targeting? Please drop a note yes or no so that we can start exploring? Robert
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.programmer Subject: Re: f2c? Why not use g77? Date: 27 Nov 1995 13:09:36 GMT Organization: University of Heidelberg, Germany Message-ID: <49cdag$26d@sun0.urz.uni-heidelberg.de> References: <49b4nd$hrv@tribune.usask.ca> Eric Norum (eric@skatter.usask.ca) wrote: : I've been using f2c on the NeXTSTEP machines here for the last couple : of years. I can send the shell scripts I use for unpacking, : compiling and installing f2c to those who are interested. : Now, though, I'm switching over to a `real' compiler - g77 : Getting g77 working under NeXTstep is pretty easy -- at least if : you're used to working with GNU software distributions...... There's one thing about g77: It doesn't work neither with NEXTSTEP/HP-PA nor with NEXTSTEP/Sparc. Simply because gcc-2.7.x doesn't work for NEXTSTEP/HP-PA and Sparc. -- | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-Nationwide - NeXTSTEP/EOF/PDO/Sybase - Career Opportunities Date: 27 Nov 1995 08:58:47 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <49cg6n$icr@newsbf02.news.aol.com> Several of my Fortune 500 clients, who are on the cutting edge of NeXTSTEP development, are currently searching for NeXT professionals to be part of new, large scale projects in 1996. Candidates must have a solid background in NeXTSTEP development, preferably in an environment that has gone from design and development into full production. You will be involved in new projects that will involve development in NeXTSTEP, OpenStep, Sybase, EOF, PDO and WindowsNT (some projects involve WebObjects). Due to the current high demand for NeXT professionals my clients are prepared to pay a well above average salary, 1996 bonus, excellent benefits, RELOCATION assistance, and in some cases a SIGN-ON BONUS and/or VISA SPONSORSHIP. Opportunities currently exist in the following areas: NY, ILL, TX, CA, NC, and London (UK). Contact: Brian Mitchell Datacom Technology Group Inc 212-629-5720 212-629-3374(FAX)
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-Chicago-IL -Career Opportunities for NeXT Developers - Sign-On Bonus Date: 27 Nov 1995 08:59:29 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <49cg81$idh@newsbf02.news.aol.com> Major Billion $, Fortune 100 client, new to the Chicago area, is currently searching for several NeXTSTEP developers for a major new development effort in Chicago. Candidates must have a strong background in NeXTSTEP systems design and development. You will develop a new large scale financial application in a NeXTSTEP/Sybase and OpenStep/WinNT environment. Succesful applicants will receive an excellent starting salary, a SIGN-ON BONUS, a 1996 bonus, excellent benefits, and relocation assistance. VISA SPONSORSHIP to those who qualify. N.B - This is not a financial institution in Chicago. Contact: Brian Mitchell Datacom Technology Group Inc 212-629-5720 212-629-3374(FAX)
From: caraher@dis.anl.gov (Patrick (PJ) Caraher) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with system( "rm -r ... " ) Date: 27 Nov 1995 14:14:04 GMT Organization: Decision and Information Sciences, Argonne National Lab Message-ID: <49ch3d$hdr@milo.mcs.anl.gov> References: <498u61$9cc@delphi.cs.ucla.edu> In article 9cc@delphi.cs.ucla.edu, andylee@oahu.cs.ucla.edu (Andy A. Lee) writes: >Hello, > >I am having a very strange problem. Within a factory method, I use >system( "rm -r ..." ) to delete a directory, then check the return >value to see if the deletion was successful (0 is success, non-zero is >failure). For testing, I created a directory in /tmp owned by root >that I cannot delete. The absolute path is given to system(), >i.e. system( "rm -r /tmp/dirname" ). > >The problem is this. It works fine when I run the application under >GDB, it returns non-zero to indicate that the "rm" command failed. >But when not running GDB, system() would return 0, even though the >directory is not removed!!! I am stumped since I can't use GDB to >debug this. :-( > >Help? > >-- > ># Andy A. Lee # UCLA MS/PhD Graduate Student, AI Neural Networks # ># andylee@ucla.edu # Down-to-Earth Idealist & Independent NeXT Developer # ># (310)996-0066 H # "If you don't watch your figure, who will?" - TV Ad. # ># (310)825-2518 O # "Trust is earned, not given away." - Star Trek: TNG # Andy: I would suggest that you use the rmdir() and unlink() system calls when removing directories or files. This is a more direct route than using the system() system call. I don't have the time so I can't go into the major details as to why this is better but here is a "quick and dirty" excerpt of how you may want to work your problem. Give it a try: #include <stdio.h> void main(int argc, char *argv[]) { int errno = 0; char errorstr[BUFSIZ]; if ((errno = rmdir("/tmp/dirname"))) { fprintf(stderr, "We have errno %d\n", errno); perror(errorstr); } exit(0); } PJ Caraher --- member of AAAAAA - American Association Against Acronym Abuse Anonymous
From: schaefer@syrtis.geology.yale.edu (Martha W. Schaefer) Newsgroups: comp.sys.next.programmer Subject: Re: f2c? Why not use g77? Date: 27 Nov 1995 15:31:57 GMT Organization: Yale University Distribution: world Message-ID: <49clld$5nt@news.ycc.yale.edu> References: <49b4nd$hrv@tribune.usask.ca> In article <49b4nd$hrv@tribune.usask.ca> eric@skatter.usask.ca (Eric Norum) writes: > Getting g77 working under NeXTstep is pretty easy -- at least if ^^^^^^^^^^^ > you're used to working with GNU software distributions...... > and lots of description... While I appreciate the instructions on how to compile g77, I'm afraid I don't agree with the description, 'pretty easy'. I have had some experience compiling GNU software, and I still have not been successful in compiling either gcc-2.7.1 or g77 on my HP running NEXTSTEP, nor was I able to find any one else who had had any better luck, when I asked the Net for help here in comp.sys.next.programmer. The problem is, that unless things have changed, the GNU software configure scripts don't know about HP machines that run NEXTSTEP, and I am not a sufficient guru to explain to them what to do. Until then, I am sticking with f2c - at least it compiles. ++++++++++++++++++++++++++++++++++++++++++++++++++++ Martha W. Schaefer Yale University Department of Geology and Geophysics P.O.Box 208109 New Haven, CT 06520-8109 schaefer@syrtis.geology.yale.edu (NeXTMail accepted)
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-Chicago - Systems Development Q.A Manager - to 90k+Bonus Date: 27 Nov 1995 09:08:44 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <49cgpc$ilj@newsbf02.news.aol.com> My client, a major Fortune 500 company, on the cutting edge of systems development, is currently searching for a Q.A Manager. You will be responsible for implementing a new Q.A strategy for the companies client/server systems currently under development. As head of a small team of Q.A professionals you will provide leadership and knowledge to this newly assembled group, and work along side senior members of the development team. You must have a strong Q.A background coupled with experience in client/server and software development environments. A good knowledge of UNIX/Windows is a must; a knowledge of OO Methodology and NeXTSTEP is a huge plus. You will receive an excellent starting salary, +1996 bonus, + benefits. Contact: Brian Mitchell Datacom Technology Group Inc 212-629-5720 212-629-3374(FAX)
From: eric@skatter.USask.Ca Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs Subject: MallocDebug.app broken in 3.3Patch? Date: 27 Nov 1995 16:28:35 GMT Organization: University of Saskatchewan Message-ID: <49covj$k8b@tribune.usask.ca> I installed the 3.3Patch on all the NEXTSTEP machines here a couple of weeks ago. This morning I tried using MallocDebug on one of my application (which uses the Foundation Kit). Every time I clicked on one of the MallocDebug display buttons (New/All) the MallocDebug application would quit and the MallocDebug window would disapper. To try and see what was going on, I ran: gdb /NextDeveloper/Apps/MallocDebug.app/MallocDebug Here's what I got: Reading symbols from /NextDeveloper/Apps/MallocDebug.app/MallocDebug...(no debugging symbols found)...done. Reading symbols from /usr/shlib/libNeXT_s.C.shlib...done. Reading symbols from /usr/shlib/libsys_s.B.shlib...done. (gdb) run Starting program: /NextDeveloper/Apps/MallocDebug.app/MallocDebug <<<<<<<<<<<<< At this point, I clicked on the `All' >>>>>>>>>>>>>>>>> <<<<<<<<<<<<< button in the MallocDebug window >>>>>>>>>>>>>>>>> Program generated(1): Memory access exception on address 0xc64034 (invalid address). 0x8677 in ?? () (gdb) where #0 0x8677 in ?? () #1 0x3762 in ?? () #2 0x3bf7 in ?? () #3 0x3978 in ?? () #4 0x3d9c in ?? () #5 0x5032fcf in -[Object perform:with:] () #6 0x60623ed in -[Application sendAction:to:from:] () #7 0x6066950 in -[Control sendAction:to:] () #8 0x60717d9 in -[Matrix sendAction:to:] () #9 0x606e814 in -[Cell _sendActionFrom:] () #10 0x606994f in -[Cell trackMouse:inRect:ofView:] () #11 0x606ff1c in -[ButtonCell trackMouse:inRect:ofView:] () #12 0x606b84e in -[Matrix _mouseDownNonListmode:] () #13 0x6071842 in -[Matrix mouseDown:] () #14 0x60636d5 in -[Window sendEvent:] () #15 0x6029ea1 in -[Application sendEvent:] () #16 0x603088f in -[Application run] () #17 0x43e9 in ?? () #18 0x2e97 in ?? () So, what's happening here? Does MallocDebug not work after the 3.3Patch is installed? Does MallocDebug not work with applications which use the foundation kit? -- Eric Norum eric@skatter.usask.ca Saskatchewan Accelerator Laboratory Phone: (306) 966-6308 University of Saskatchewan FAX: (306) 966-6058 Saskatoon, Canada. NeXTMail accepted.
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.programmer Subject: Re: f2c? Why not use g77? Date: 27 Nov 1995 18:15:01 GMT Organization: University of Heidelberg, Germany Distribution: world Message-ID: <49cv75$hbl@sun0.urz.uni-heidelberg.de> References: <49b4nd$hrv@tribune.usask.ca> <49clld$5nt@news.ycc.yale.edu> Martha W. Schaefer (schaefer@syrtis.geology.yale.edu) wrote: : While I appreciate the instructions on how to compile g77, I'm afraid I : don't agree with the description, 'pretty easy'. I have had some : experience compiling GNU software, and I still have not been successful in : compiling either gcc-2.7.1 or g77 on my HP running NEXTSTEP, nor was I : able to find any one else who had had any better luck, when I asked the : Net for help here in comp.sys.next.programmer. The problem is, that : unless things have changed, the GNU software configure scripts don't know : about HP machines that run NEXTSTEP, and I am not a sufficient guru to : explain to them what to do. It's indeed a problem. And, just cheating configure doesn't help. One had to create a bunch of files in ./config/ that define how the compiler had to work on the specific platform with the specific OS. From my layman point of view, this had to be more or less a merge between the according files for HP-UX/PA and NEXTSTEP/Moto or Intel. Anyway, I can't do it, NeXT won't do it yet, and the FSF has no interest, too. Therefore, no NS/HP or Sparc user will ever get g77 or gpc ;-). Gregor -- | Gregor Hoffleit admin MATHInet / contact HeidelNeXT | | MAIL: Mathematisches Institut PHONE: (49)6221 56-5771 | | INF 288, 69120 Heidelberg / Germany FAX: 56-3812 | | EMAIL: flight@mathi.uni-heidelberg.de (NeXTmail) |
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 27 Nov 1995 16:58:17 GMT Organization: Information Technology Solutions, Inc. Message-ID: <49cqn9$64e@news.its.com> References: <487sdb$bvo@transfer.stratus.com> <DI090I.1rv@hurka.UUCP> <48acms$7b9@news.its.com> <48fmps$jef@emerald.oz.net> <48jpci$e5@saturn.genoa.com> <48vkbq$rbc@emerald.oz.net> art@cubicsol.com (Art Isbell) wrote: > Alex Blakemore <alex@genoa.com> wrote: >> I'd love to know the rationale for initializing automatic variables >> to zero. > > When I read this "allegation", I was skeptical because I have been > caught too often by uninitialized local variables containing "garbage", > not 0 :-) So I wrote a small test program and confirmed that there's no > obvious initialization of local variables either with or without > optimization. Local variables get placed on the stack, so what was already on the stack determines the default value. When you first run the program, there's a reasonable chance that your automatic variables will receive a 0 hexadecimal value (which will be the number zero for integral variable types). Compiling without optimization means that more temporary spill areas and possibly unneeded local variables will be created (instead of being overlapped togther), so you typically are a lot more likely to see more variables start at 0. Of course, depending on any of this is why programs have bugs with automatic variables! -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
Newsgroups: comp.sys.next.programmer From: vdemarco@whatnow.bou.shl.com (Vince Demarco) Subject: Re: Problem with system( "rm -r ... " ) In-Reply-To: caraher@dis.anl.gov's message of 27 Nov 1995 14:14:04 GMT Message-ID: <m8d9aexeht.fsf@whatnow.bou.shl.com> Sender: vdemarco@whatnow.bou.shl.com Organization: SHL SystemHouse Inc. References: <498u61$9cc@delphi.cs.ucla.edu> <49ch3d$hdr@milo.mcs.anl.gov> Date: Mon, 27 Nov 1995 15:29:34 GMT I would use the following functions instead #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <sys/dir.h> #include <sys/param.h> static int deep_remove_dir(const char *path); /* * Delete file, if file is a directory do a * recursive deletion. */ int unlink_file(const char *f) { if (unlink(f) != 0) { /* under NEXTSTEP errno is set to return EPERM if * the file is a directory,or if the user is not * allowed to read or write to the file. * [This is probably a bug in the O/S] * other systems will return EISDIR to indicate * that the path is a directory. */ if (errno == EISDIR || errno == EPERM) return deep_remove_dir(f); else return -1; } return 0; } static int deep_remove_dir(const char *path) { DIR *dirp; struct direct *dp; char buf[MAXPATHLEN+1]; if ( rmdir(path) != 0 && errno == ENOTEMPTY ) { if ((dirp = opendir(path)) == NULL) return -1; while ((dp = readdir(dirp)) != NULL) { if (strcmp (dp->d_name, ".") == 0 || strcmp (dp->d_name, "..") == 0) continue; sprintf(buf, "%s/%s",path, dp->d_name); if (unlink(buf) != 0 ) { if (errno == EISDIR || errno == EPERM) { if (deep_remove_dir(buf)) { closedir(dirp); return -1; } } else { closedir(dirp); return -1; } } } closedir(dirp); return rmdir(path); } return 0; }
From: indy@ux1.cso.uiuc.edu (weintz steven cortelou) Newsgroups: comp.sys.next.programmer Subject: Re: 3Dkit example Simple.app broken under 3.2? Date: 27 Nov 1995 18:05:58 GMT Organization: University of Illinois at Urbana Message-ID: <49cum6$6pk@vixen.cso.uiuc.edu> References: <DIM3ru.Mt@euler.hnv.icem.de> js@euler.hnv.icem.de (Juergen Sell) writes: >Btw, is there a more appropriate newsgroup for 3dkit/renderman? There's the most excellent comp.graphics.rendering.renderman group. Quite a few of us NSfolk hang out there. Steve -- Steve Weintz * Partner, New Media, Ltd. P.O. Box 742 * Urbana, IL 61801 steve@dave-world.net * 217.344.5303 * 217.344.8981 fax
From: eric@skatter.USask.Ca Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: DPSAddTimedEntry doesn't trigger autorelease Date: 27 Nov 1995 19:38:30 GMT Organization: University of Saskatchewan Message-ID: <49d43m$1i0@tribune.usask.ca> For the past day or so I've being trying to track down what I thought was a memory leak in one of my applications. The application displays, in real time, some data acquired via distributed objects from a server talking to an IEEE-488 digital oscilloscope. The objects returned from the server have NSObject as their ancestor, and use autorelease. The heart of the application is a method called from a DPSTimedEntryProc function. The method gets a couple of autoreleased waveforms from the digital oscilloscope server and displays them. The problem I was having was that the application would grow, and grow, and grow, then occasionally shrink again (as shown by the VSIZE column of ps alx). After some poking around, I found that the problem is that the DPS time entry events don't seem to trigger the autorelease cleanup -- the cleanup would occur only when I pressed some button, or selected some menu item in my application. Maybe this is a well-known problem, but it was new to me! The fix is simple -- just add an autorelease subpool to the timed-entry method: =================================================================== - tickHandler { NSAutoreleasePool *subpool = [[NSAutoreleasePool alloc] init]; if (xyMonitorViewX != nil) [xyMonitorViewX acquireDataFrom:scope channels:@"C1":@"C2"]; if (xyMonitorViewY != nil) [xyMonitorViewY acquireDataFrom:scope channels:@"C3":@"C4"]; [scope armTrigger]; if ((xyMonitorViewX != nil) && [[xyMonitorViewX window] isVisible]) [xyMonitorViewX display]; if ((xyMonitorViewY != nil) && [[xyMonitorViewY window] isVisible]) [xyMonitorViewY display]; [subpool release]; return self; } static void tickHandler (DPSTimedEntry tag, double now, char *userData) { [(ScopeController *)userData tickHandler]; } ===================================================================== -- Eric Norum eric@skatter.usask.ca Saskatchewan Accelerator Laboratory Phone: (306) 966-6308 University of Saskatchewan FAX: (306) 966-6058 Saskatoon, Canada. NeXTMail accepted.
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer Subject: OMNI GROUP--NOW OMNI SEARCH Date: 27 Nov 1995 21:58:23 GMT Organization: Norden 1 Communications Message-ID: <49dc9v$cav@news1.channel1.com> The former OMNI GROUP/OHIO is now OMNI SEARCH. The reason for this change is to insure that no confusion will exist. OMNI DEVELOPMENT also is DBA OMNI GROUP. They are a high quality software development and consulting company located in WASHINGTON state. The former OMNI GROUP/OHIO, now OMNI SEARCH is an OHIO SEARCH FIRM. We hope no confusion exists in the future. OMNI SEARCH/TOM GUGGER -- ehutch@norden1.com (419) 893-6367 [fax] Omni Search (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: pkoren@icarus.cs.weber.edu (Peter Koren) Newsgroups: comp.sys.next.programmer Subject: ADA on NS white? Date: 27 Nov 1995 21:06:47 GMT Organization: University of Utah Computer Center Distribution: world Message-ID: <49d997$qp8@news.cc.utah.edu> Keywords: ADA NeXTStep Intel It looks like I will be programming in ADA to feed my family. I believe the GNU folks have an ADA compiler. Is it native or does it need gcc? Has anybody run it under NeXTStep, particularly white hardware? I also need installation help. I wish the GNU folks had a file called READMEFIRST.REALLY. I hope the coming O'Reilly book on GNU software will be helpful. Thanks for help in advance. Peter Koren pkoren@icarus.weber.edu
From: cam@xedoc.com.au (Cameron Bromley) Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs Subject: Re: MallocDebug.app broken in 3.3Patch? Followup-To: comp.sys.next.programmer,comp.sys.next.bugs Date: 27 Nov 1995 23:50:42 GMT Organization: Access One Pty Ltd., Melbourne, Australia Message-ID: <49disi$ovv@news.mel.aone.net.au> References: <49covj$k8b@tribune.usask.ca> eric@skatter.USask.Ca wrote: : So, what's happening here? Does MallocDebug not work after the 3.3Patch : is installed? Does MallocDebug not work with applications which use the : foundation kit? MallocDebug works fine on my Intel 3.3 patched system with DBKit-based apps. I have not tested it with Foundation and/or EOF. -- ---------------------------------------------------------------- Cameron Bromley Email : cam@xedoc.com.au Xedoc Software Development Pty. Ltd. Fax : +61-3-9214-0102 Unit 11, 663 Victoria St, Phone : +61-3-9214-0199 Abbotsford, VIC, 3067, Australia http://www.xedoc.com.au/
From: "Timothy J. Luoma" <luomat@capitalist.princeton.edu> Newsgroups: comp.sys.next.programmer Subject: It wasn't Fiend causing the panic (was Re: Why is this code causing a panic?) Date: Mon, 27 Nov 1995 17:05:29 -0500 Organization: Princeton University Message-ID: <Pine.NXT.3.91.951127170010.2126A-100000@capitalist.princeton.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII *sigh* Well, I hereby eat my words. I posted some code, and asked why it was causing a panic. Someone suggested that I get Fiend 1.4 and see if it still happened. I did, and when the program didn't crash and my machine didn't panic, I ASSUMED that Fiend 1.3 had been the problem. Today, my code crashed (paniced) my machine again today (why I still don't know). At any rate, my apologies to David Lambert for blaming Fiend. If anyone can see why this code (below) would cause a panic, please let me know. #import <stdio.h> #import <appkit/Application.h> #import <appkit/workspaceRequest.h> char *path; @interface MyObj : Object { } - appDidInit:sender; @end @implementation MyObj - appDidInit:sender { int rc; printf("App did init path=%s\n", path); [[Application workspace] unmountAndEjectDeviceAt:path]; [NXApp terminate:self]; return self; } @end main(int argc, char **argv) { id obj; obj = [[MyObj alloc] init]; if (argc != 2) { fprintf(stderr, "Usage: %s path\n", argv[0]); exit(1); } path = argv[1]; printf("Ejecting %s\n", path); [Application new]; [NXApp setDelegate:obj]; [NXApp run]; [NXApp free]; } thanks TjL -- Timothy J. Luoma luomat@capitalist.princeton.edu (MIME fine! NeXTMail if necessary) 476tjl@ptsmail.ptsem.edu (UGH! DOS! Yuck.... Don't use this) "If I understood the man page, I wouldn't have asked the question."
From: michael@ifr.luftfahrt.uni-stuttgart.de Newsgroups: comp.sys.next.programmer Subject: Re: ADA on NS white? Date: 28 Nov 1995 16:50:09 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: <49fek1$2ghm@info4.rus.uni-stuttgart.de> References: <49d997$qp8@news.cc.utah.edu> pkoren@icarus.cs.weber.edu (Peter Koren) wrote: > It looks like I will be programming in ADA to feed my > family. I believe the GNU folks have an ADA compiler. > Is it native or does it need gcc? Has anybody run it under > NeXTStep, particularly white hardware? > > I also need installation help. I wish the GNU folks had a > file called READMEFIRST.REALLY. I hope the coming O'Reilly book > on GNU software will be helpful. > > Thanks for help in advance. > > Peter Koren > pkoren@icarus.weber.edu > > Hi, why didn't you ask this question on comp.lang.ada? It would have been much more likely to get a satisfactory answer there. But anyway you are lucky and I am reading comp.sys.next.programmer too. I am the one who ported the GNU Ada compiler (GNAT) to NeXTSTEP. You can find the binary distribution on our ftp server: ftp.uni-stuttgart.de in pub/programming/Ada/GNAT/gnat-2.07-i386-next-nextstep3-bin.tar.gz GNAT is based on the GCC backend technology but does not produce any intermediate C code if that is what you meant with native. The distribution contains a readme file and if you follow the instructions carefully there should not be any problem with the installation. Others than me were able to get it right, so it should not be too difficult. Michael -- ------------------------------------------------------------------------ --Dipl.-Ing. Michael Paus (Member: Team Ada) --University of Stuttgart, Inst. of Flight Mechanics and Flight Control --Forststrasse 86, 70176 Stuttgart, Germany --Phone: (+49) 711-121-1434 FAX: (+49) 711-634856 --Email: Michael.Paus@ifr.luftfahrt.uni-stuttgart.de (NeXT-Mail welcome)
From: "Timothy J. Luoma" <luomat@capitalist.princeton.edu> Newsgroups: comp.sys.next.programmer Subject: Re: It wasn't Fiend (was: Why is this code causing a panic?) Date: Tue, 28 Nov 1995 21:21:37 -0500 Organization: Princeton University Message-ID: <Pine.NXT.3.91.951128211430.11261A-100000@capitalist.princeton.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Ok, well I think this has finally been fixed. My thanks to David Lambert for helping me fix the code, even after I had mistakenly accused Fiend of being the reason for the panics. Anyway, the revised code for eject.m is beneath the .sig. it hasn't crashed once, and David figured out why the other code was (something about not releasing the memory it was using). TjL -- Timothy J. Luoma luomat@capitalist.princeton.edu (MIME fine! NeXTMail if necessary) 476tjl@ptsmail.ptsem.edu (UGH! DOS! Yuck.... Don't use this) "If I understood the man page, I wouldn't have asked the question." #import <stdio.h> #import <appkit/Application.h> #import <appkit/workspaceRequest.h> char *path; @interface MyObj : Object { } - appDidInit:sender; @end @implementation MyObj - appDidInit:sender { int rc; printf("App did init path=%s\n", path); [[Application workspace] unmountAndEjectDeviceAt:path]; [NXApp terminate:self]; return self; } @end main(int argc, char **argv) { id obj; obj = [[MyObj alloc] init]; if (argc != 2) { fprintf(stderr, "Usage: %s path\n", argv[0]); exit(1); } path = argv[1]; printf("Ejecting %s\n", path); [Application new]; [NXApp setDelegate:obj]; [NXApp run]; [NXApp free]; } [ the code ends on the previous line ]
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.sys.next.programmer Subject: Re: I'm giving up on Model-View-Controller Date: 26 Nov 1995 04:53:15 GMT Organization: Genoa Software Systems Message-ID: <498rrr$igq@saturn.genoa.com> References: <489629906wnr@hps1.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In <489629906wnr@hps1.demon.co.uk> Andy Robinson wrote: > I've adhered as closely as I can to the MVC paradigm. ... but > I'm wondering if I'd be better to just bin it. > It occurs to me that the most natural way to go ahead would be > to have my 'business objects' linked quite tightly to UI objects. > Are there any problems in such an approach? YES, there are serious problems with such a approach. This is the voice of bloodied experience in this case. If your business objects are tightly tied to the GUI, they cannot be reused in several other contexts. For instance, in a batch or command line program or a back end server app. Or in a batch test driver. Or in an app that has a different kind of GUI. Do you really want to repeat all your testing by hand each time? For instance, if your model objects can stand alone, untied to any particular type of interface, you can build multiple front ends, say one for WebObjects, one for OpenStep, even X, curses, or command line ones. You can also reuse your business objects in other contexts and other apps more easily. Don't mix them up. Your business objects shouldn't even know their controller's exist. Another warning sign is putting up alert panels inside model objects to report errors. Don't do it. Use exceptions or another way to report the error to the caller and let the caller decide what to do about it (put up a panel, beep, log to a file etc) Its a little more work, but much more flexible (and thus reusable). > Thus ... I could send it [a customer object] > messages like '[myCustomer runDialog:self] > and it would pop up the appropiate kind of panel for > setting its attributes etc. This would then let me build > fairly sophisticated views where a double-click on a line > of text representing an object would result in a panel > being run, without the UI needing to know what kind of > object it was being sent to. If you think about it, you can get the same effects without violating the "separation of concerns" principle. For instance, you can use protocols, categories, delegation, exceptions and notification in several different ways to add object specific UI behavior, but still keep the model objects separable from a specific UI. > And what is the cleanest way to give my business objects > access to the IB objects it needs? Don't give them direct access to the GUI. just don't. Use a controller of some sort. Good luck. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 26 Nov 1995 05:01:33 GMT Organization: Genoa Software Systems Message-ID: <498sbd$igq@saturn.genoa.com> References: <487sdb$bvo@transfer.stratus.com> <48acms$7b9@news.its.com> <48fmps$jef@emerald.oz.net> <48jpci$e5@saturn.genoa.com> <495q8h$r7g@spool.cs.wisc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I wrote: > >I'd love to know the rationale for initializing automatic variables to zero. > >Is there any way to turn off that behavior? David Koski wrote: > That is not the behavior, maybe you are thinking of static variables? I was replying to a previous poster who claimed that gcc had that behavior when optimization was supressed. I'm glad to see he was mistaken, and that gcc doesn't initialize automatic variables. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: juergen@eskimo.bb.bawue.de (Juergen Grieb) Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: Bug in 3.3DeveloperPatch? Date: 29 Nov 1995 10:07:58 GMT Organization: "private site" Message-ID: <49hbdu$fi@eskimo.eskimo.bb.bawue.de> Hi, I installed the patch (Intel) and now I get the following error when I try to compile a file which previously worked: bash$ make cc -g -O -Wall -ObjC -I./sym -arch i386 -c dbase_umsetzer.c cc1obj: Invalid option `-lang-objc' *** Exit 1 Stop. bash$ Any idea why? Is this a bug in the patch? -- Juergen _______________________________________________________________________ Juergen Grieb juergen@eskimo.bb.bawue.de NeXTMail welcome Picard: Well, five-card stud, nothing wild - and the sky's the limit...
From: Andy Robinson <Andy@hps1.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Enterprise Objects Date: Tue, 28 Nov 1995 12:32:48 GMT Organization: High Performance Sports Ltd. Message-ID: <607142418wnr@hps1.demon.co.uk> References: <rfenney-261195152923@rfenney.slip.netcom.com> In article: <rfenney-261195152923@rfenney.slip.netcom.com> rfenney@directnet.com (Robert J. Fenney) writes: > > We are in the process of designing some objects and frameworks focused on > banking. Is there any interest for ObjC versions as well as the Smalltalk, > Java, and C++ versions we are curently targeting? Please drop a note yes or > no so that we can start exploring? > Interest from me, but no money - we're a very small leisure company saddled with a Next-obsessed finance director (me!). I am working on a General Ledger object and a generic 'business modelling' framework for building detailed forecasts of cash flows, balance sheets etc. This would let the businessman build models very simply and take care of all the accounting side, so you could concentrate on the model of your sales, customer behaviour, workflow or whatever. I'd be very happy to chat about any possible overlap. I'm kicking off in Python as that is portable between my windows system at home and Next at work, but I hope to cover objC once it is prototyped. -- Andy Robinson andy@hps1.demon.co.uk High Performance Sports Tel 0181-211-7000 My opinions in this forum ARE those of High Performance Sports, because I'm the only one here who can switch on a PC...
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de (Juergen Sell) Subject: Re: Problem with "`variable' may be used uninitialized" warning Message-ID: <DIsxo9.rC@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <49cqn9$64e@news.its.com> Date: Wed, 29 Nov 1995 11:09:45 GMT In article <49cqn9$64e@news.its.com> chuck@its.com (Chuck Swiger) writes: > Of course, depending on any of this is why programs have bugs with > automatic variables! And this sounds like a good enough reason to have a gcc flag which forces initialization of automatic variables to unlikely values such as MAXINT etc. Should help detect some logical flaws/errors. Juergen --- Fon +49 511 4406-88 NeXTMail welcome No Mime Fax +49 511 4406-17 == What time do we live in when revolution reminds us of soap powder, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names == when changing title bars' colors to mainstream hype is considered progress?
From: tm8025a@newssrv.soc.american.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: EOF Model Open problem Date: 29 Nov 1995 18:37:49 GMT Organization: American University, Washington DC Message-ID: <49i99t$pcv@paladin.american.edu> I want to connect to a Novel 7 database. I go to New Model and enter in my ID, password, host name. I have tried every combination I could think of for server ID. When I click OK I get a beep. No connection try just a quick beep when I click OK. Any suggestions? -- Torrey McMahon
From: aalto@translucent.nmt.edu (Eugene Aalto) Newsgroups: comp.sys.next.programmer,comp.sys.next.hardware Subject: NeXT M68040FPSP floating point software questions Date: 29 Nov 1995 17:57:31 GMT Organization: New Mexico Insitute of Mining and Technology Message-ID: <49i6ub$a0i@newshost.nmt.edu> Does anyone know if the '040 NeXT machines implement the M68040FPSP floating point software package as provided by motorola. This is a package that is run after a reset on a 68040 to provide support for unimplemented floating point instructions through the '040 exception handling. See the 68040 databook for more details. I am wondering if these routines are implemented in the ROM, or in the mach kernel, and also, if NeXT has made any changes from the motorola version. Any and all details concerning implementation on the NeXT '040 systems would help me. Also, do the '040 machines use the NMI for anything other than breaking into the rom monitor?? Does anyone know if NeXTStep uses the MMU status register or the PTEST instruction? And, where is the ROM mapped in memory? I want to take a look at it! These questions are rather technical, and require information that NeXT may have never made public. If you are a engineer with NeXT, or know one you can forward my questions to, it may help! Thanks, Eugene Aalto aalto@nmt.edu No NeXTmail please (unless absolutley neccesary) Thinking about doing some hardware hacking!! If you know the answers to my questions you probably know what I am up to! ;)
From: kaared@hiMolde.no (Kare Digernes) Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: [Q] Application integration possible? Date: 29 Nov 1995 16:15:32 GMT Organization: Molde College, Department of Computer Science Message-ID: <49i0v4$flk@ulke.hiMolde.no> Does NeXTSTEP provide the possibility for applications to communicate with each other? MS Windows apps can use OLE and DDE for this. Is there a similar possibility with NeXTSTEP? How about OpenStep? Thanks in advance. -- -Kaare kaared@himolde.no kaared@bastian.moldenett.no
From: gerti@is.com (Gerd Knops) Newsgroups: comp.sys.next.programmer Subject: ProjectBuilder Error Messages Date: 29 Nov 1995 19:03:37 GMT Organization: Minnesota OnLine Message-ID: <49iaq9$c4c@jenny.state.net> Using a different 'compiler' of sorts in my projects, I'd like it to be able to put filenames/error messages with line numbers in the TOP half of PB's Panel. How do I get there? How does PB get that information? And how does it display the 'Compiling xyz.c' in the top of the panel? -- Gerd Knops Phone: (612) 223-8474 Integrity Solutions Software Engineer Fax : (612) 223-8481 23 Empire Drive gerti@IS.com HTML : www.is.com St. Paul, MN 55103
From: yucheng@math.arizona.edu Newsgroups: comp.sys.next.software,comp.sys.next.programmer Subject: Re: [Q] Application integration possible? Date: 29 Nov 1995 19:04:21 GMT Organization: University of Arizona Mathematics Department Message-ID: <49iarl$83f@amethyst.math.arizona.edu> References: <49i0v4$flk@ulke.hiMolde.no> In <49i0v4$flk@ulke.hiMolde.no> Kare Digernes wrote: > Does NeXTSTEP provide the possibility for applications to > communicate with each other? MS Windows apps can use OLE > and DDE for this. Is there a similar possibility with > NeXTSTEP? How about OpenStep? > NeXTSETP applications communicate with each other through Services. For instance, you can highlight any word in any application, and then ask Webster to help you wilth the defintion via Services->Define in Webster. Yuwen Cheng yucheng@math.arizona.edu
From: robert@tedious.ictv.com (Robert Thille) Newsgroups: comp.sys.next.programmer Subject: Re: How do you recieve DO messages while in a loop? Date: 29 Nov 1995 13:07:33 -0800 Organization: ICTV, Santa Clara, CA (408) 562-9200 Sender: robert@ictv.com Message-ID: <49ii2l$2c1@tedious.ictv.com> References: <DIsC32.CIx@trapac.com> I found the easiest way to accept DO messages while doing long processing is to use a separate thread to accept the message and put the request in a fifo. Perodically in the loop, check the queue. This gives you more control over the mechanism, so you don't have to worry about wierd side effects like you described with the print panel. Robert -- Robert Thille NeXTMail OK robert@ictv.com "I was an immortal in 1359 McKenzie Ave, Los Altos CA 94024 a former life."
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: dfevans@bbcr.uwaterloo.ca (David Evans) Subject: Re: [Q] Application integration possible? Sender: news@novice.uwaterloo.ca (Mr. News) Message-ID: <DItnw2.C0K@novice.uwaterloo.ca> Date: Wed, 29 Nov 1995 20:36:02 GMT References: <49i0v4$flk@ulke.hiMolde.no> <49iarl$83f@amethyst.math.arizona.edu> Organization: University of Waterloo In article <49iarl$83f@amethyst.math.arizona.edu>, <yucheng@math.arizona.edu> wrote: >In <49i0v4$flk@ulke.hiMolde.no> Kare Digernes wrote: >> Does NeXTSTEP provide the possibility for applications to >> communicate with each other? MS Windows apps can use OLE >> and DDE for this. Is there a similar possibility with >> NeXTSTEP? How about OpenStep? >> > >NeXTSETP applications communicate with each other through Services. For >instance, >you can highlight any word in any application, and then ask Webster to help >you wilth >the defintion via Services->Define in Webster. > You can also use Portable Distributed Objects, whereby you can with little pain vend an object from one application for use by others, anywhere on the network. There's also the user-visible object linking stuff, but I can't recall how that works (I've never used it in any of my programs, and haven't had a need for it as a user in many months.) -- David Evans (NeXTMail OK) dfevans@bbcr.uwaterloo.ca Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/ University of Waterloo "Default is the value selected by the composer Ontario, Canada overridden by your command." - Roland TR-707 Manual
Newsgroups: comp.sys.next.programmer From: belka@il.us.swissbank.com (Andy Belk) Subject: Re: [Q] Application integration possible? Message-ID: <1995Nov29.205805.20246@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <49iarl$83f@amethyst.math.arizona.edu> Date: Wed, 29 Nov 1995 20:58:05 GMT In article <49iarl$83f@amethyst.math.arizona.edu> yucheng@math.arizona.edu writes: > In <49i0v4$flk@ulke.hiMolde.no> Kare Digernes wrote: > > Does NeXTSTEP provide the possibility for applications to > > communicate with each other? MS Windows apps can use OLE > > and DDE for this. Is there a similar possibility with > > NeXTSTEP? How about OpenStep? > > > > NeXTSETP applications communicate with each other through Services. For > instance, > you can highlight any word in any application, and then ask Webster to help > you with > the defintion via Services->Define in Webster. > > Yuwen Cheng > yucheng@math.arizona.edu NeXTSTEP was designed with this in mind. Services are one of the ways to advertise capabilities of your program to other programs. Communication is done via the pasteboard, distributed objects or mach ports. The latter won't work under OpenStep as they are NeXTSTEP-dependent. -- Andy Belk Not speaking for SBC, etc.
Newsgroups: comp.sys.next.programmer,comp.sys.next.hardware From: dfevans@bbcr.uwaterloo.ca (David Evans) Subject: Re: NeXT M68040FPSP floating point software questions Sender: news@novice.uwaterloo.ca (Mr. News) Message-ID: <DItnnH.KDv@novice.uwaterloo.ca> Date: Wed, 29 Nov 1995 20:30:53 GMT References: <49i6ub$a0i@newshost.nmt.edu> Organization: University of Waterloo In article <49i6ub$a0i@newshost.nmt.edu>, Eugene Aalto <aalto@translucent.nmt.edu> wrote: >Does anyone know if the '040 NeXT machines implement the M68040FPSP >floating point software package as provided by motorola. >This is a package that is run after a reset on a 68040 to provide support >for unimplemented floating point instructions through the '040 exception >handling. See the 68040 databook for more details. >I am wondering if these routines are implemented in the ROM, or in >the mach kernel, and also, if NeXT has made any changes from the motorola >version. Any and all details concerning implementation on the NeXT '040 >systems would help me. > I am pretty sure they aren't in the ROM. My justification for this lies in the library of "improved" 040 math routines that was floating about in the 2.x days (it's still on Peanuts somewhere). It advertized that the improvements in the library would be included in 3.0. >Also, do the '040 machines use the NMI for anything other than breaking >into the rom monitor?? > Don't believe so. >Thinking about doing some hardware hacking!! >If you know the answers to my questions you probably know what I am up to! ;) Hmmmm....sounds like it might require hardware with a 6 in its model number, but I could be wrong. :-) -- David Evans (NeXTMail OK) dfevans@bbcr.uwaterloo.ca Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/ University of Waterloo "Default is the value selected by the composer Ontario, Canada overridden by your command." - Roland TR-707 Manual
From: tm8025a@newssrv.soc.american.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: EOF Model Open problem --- More Date: 30 Nov 1995 04:03:51 GMT Organization: American University, Washington DC Message-ID: <49jaf7$dsc@paladin.american.edu> References: <49i99t$pcv@paladin.american.edu> In article <49i99t$pcv@paladin.american.edu> tm8025a@newssrv.soc.american.edu (Torrey McMahon) writes: :I want to connect to a Novel 7 database. I go to New Model and enter in my :ID, password, host name. I have tried every combination I could think of for :server ID. When I click OK I get a beep. No connection try just a quick beep :when I click OK. Any suggestions? I just found the following in the root of my account in a file called sqlnet.log. Does it help with the above question I posted earlier? If so please reply to me via e-mail or the group. *********************************************************************** Fatal OSN connect error 12203, connecting to: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=ipc)(KEY=pythia)))(CONNECT_DAT A=(SID=pythia)(CID=(PROGRAM=)(HOST=next.dorms.american.edu)(USER=tm8025a)))) VERSION INFORMATION: TNS for NeXT Mach: Version 2.0.14.0.0 - Developer's Release Unix Domain Socket IPC NT Protocol Adaptor for NeXT Mach: Version 2.0.14.0.0 - Developer's Release Oracle Bequeath NT Protocol Adapter for NeXT Mach: Version 2.0.14.0.0 - Developer's Release TCP/IP NT Protocol Adapter for NeXT Mach: Version 2.0.14.0.0 - Production Time: 29-NOV-95 01:00:29 Tracing not turned on. Tns error struct: nr err code: 12203 TNS-12203: Message 12203 not found; No message file for product=NETWORK, facility=TNS ns main err code: 12541 TNS-12541: Message 12541 not found; No message file for product=NETWORK, facility=TNS ns secondary err code: 12560 nt main err code: 511 TNS-00511: Message 511 not found; No message file for product=NETWORK, facility=TNS nt secondary err code: 2 nt OS err code: 0 -- Torrey McMahon
From: nurban@csugrad.cs.vt.edu (Nathan Urban) Newsgroups: comp.sys.next.programmer Subject: intercept keyboard events? Date: 29 Nov 1995 18:16:43 -0500 Organization: Virginia Polytechnic Institute and State University Message-ID: <49ipkr$amo@csugrad.cs.vt.edu> Is there any way to write a program that will intercept all keystrokes that the WorkSpace would normally get, possibly modify the key event stream being received, and then pass the events on to the WorkSpace for normal processing? -- ----------------------------------------------------------------------------- Nathan Urban | e-mail: nurban@mail.vt.edu Undergraduate {CS,Physics}, Virginia Tech | WWW: http://nurban.campus.vt.edu/ -----------------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: benst@stuyts.nl (Ben Stuyts) Subject: Trouble compiling problem tracker Message-ID: <DItu7s.8HK@stuyts.nl> Organization: Stuyts Engineering Haarlem BV Date: Wed, 29 Nov 1995 22:52:40 GMT I am trying to compile 'problem', a problem tracker tool written in c++, on my cube with ns 3.3 user/developer + patch. Everything goes fine until linking starts. I get unresolved references for __builtin_delete, __builtin_new, and a few others. These are indeed referenced in most of the compiled c++ files. Any idea what I might be doing wrong? Thanks, Ben
From: Andrew_Forkes@arzana.co.uk Newsgroups: comp.sys.next.programmer Subject: Re: [Q]: Riddle me this: bundles compile -g -O, but not -O Date: Wed, 29 Nov 1995 09:30:07 GMT Organization: Arzana Limited Sender: news@arzana.co.uk Message-ID: <DIst27.5L1@arzana.co.uk> References: <497hmm$qrl@news.its.com> In article <497hmm$qrl@news.its.com> chuck@its.com (Chuck Swiger) writes: > > Hmm. The Intel architecture has the least-restrictive alignment > requirements of any of the architectures that NEXTSTEP runs under, with > the HP being the most restrictive. (If I remember correctly.) > Therefore, I would be surprised to find that this was an alignment > problem. > > On the other hand, the Intel is little-endian...byte ordering is more likely to > be an issue. > > -Chuck > -- Thanks Chuck. You were correct, alignment wasn't the culprit - it seems to be a rather nasty struct with some horrid little bit-fields, I believe it's the way they are initialized that is causing the compiler flags -O or -O2 to screw up ... (many thanks to Art for pointing this one out). Best things, Andrew --- Email: Andrew_Forkes@arzana.co.uk
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Quad Fat developer how much disk space does it take? Date: 29 Nov 1995 16:51:56 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <e91kyc4b6.fsf@steffi.accessone.com> What amount of diskspace to I need to be able to install NS User as one architecture and Developer for one architecture but quad for the libraries and have 100MEG left over. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: Georgios.Kabitoglou@eikon.e-technik.tu-muenchen.de (Ioannis Kabitoglou) Newsgroups: comp.sys.next.programmer Subject: TCP/IP with NeXT Date: 30 Nov 1995 08:58:39 GMT Organization: Leibniz-Rechenzentrum, Muenchen (Germany) Distribution: world Message-ID: <49jrnv$bol@sparcserver.lrz-muenchen.de> Keywords: TCP/IP NeXT Hi, can someone please tell me where I could get information on how I can implement the backend of a NeXT-application which uses a TCP/IP-stack to retreave information from a TCP/IP-server? Is it documented on the NeXT Online-manuals somewhere? Since I have no experience with TCP/IP I would need a good, NeXT-specific guide. I would appreciate any help :-) Thanks in advance
From: "Timothy J. Luoma" <luomat@capitalist.princeton.edu> Newsgroups: comp.sys.next.programmer Subject: eject.m -- revised!! Date: Wed, 29 Nov 1995 20:03:53 -0500 Organization: Princeton University Message-ID: <Pine.NXT.3.91.951129200239.13232B-100000@capitalist.princeton.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII #import <stdio.h> #import <appkit/Application.h> #import <appkit/workspaceRequest.h> char *path; @interface MyObj : Object { } - appDidInit:sender; @end @implementation MyObj - appDidInit:sender { int rc; printf("App did init path=%s\n", path); [[Application workspace] unmountAndEjectDeviceAt:path]; [NXApp perform:@selector(terminate:) with:self afterDelay:1000.0 cancelPrevious:NO]; return self; } @end main(int argc, char **argv) { id obj; obj = [[MyObj alloc] init]; if (argc != 2) { fprintf(stderr, "Usage: %s path\n", argv[0]); exit(1); } path = argv[1]; printf("Ejecting %s\n", path); [Application new]; [NXApp setDelegate:obj]; [NXApp run]; [NXApp free]; } Sorry for posting the wrong code before... -- Timothy J. Luoma luomat@capitalist.princeton.edu (MIME fine! NeXTMail if necessary) 476tjl@ptsmail.ptsem.edu (UGH! DOS! Yuck.... Don't use this) "If I understood the man page, I wouldn't have asked the question."
From: vazquezr@physics.ucla.edu (Rick Vazquez) Newsgroups: comp.sys.next.programmer Subject: Help installing Misc Kit Date: 30 Nov 1995 05:35:09 GMT Organization: University of California, Los Angeles Message-ID: <49jfqd$1e9t@saba.info.ucla.edu> Could someone please tell me how to install Misc. Kit? Rick UCLA Physics
From: Matija Exel <exel@lag.ensieg.fr> Newsgroups: comp.sys.next.programmer Subject: pb with readRTFDfrom:(NXStream) Date: 30 Nov 1995 11:09:18 GMT Organization: E.N.S.I.E.G./Service Informatique et L.A.G. Message-ID: <49k3cu$k33@cicg-communication.grenet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello, i need help on the following code, which is trying to read an RTFD file within the Text in a ScrollView: NXStream *stream; stream = NXMapFile("afile.rtfd",NX_READONLY); [textInScroll readRTFDFrom:stream]; -- which generates the following GDB message: memory access exception on address 0x20 (protection failure) in documentFromStream ... in readRTFDFrom ... Thanks! ----------------------------------------------------------------- Matija Exel, E.N.S.I.E.G., Service Informatique et L.A.G., Tel : 76 82 71 12 Fax: 76 82 63 88 e-mail : exel@lag.ensieg.fr (NO NextMail please) -----------------------------------------------------------------
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: pb with readRTFDfrom:(NXStream) Date: Thu, 30 Nov 95 14:26:15 GMT Organization: Cedar Systems Message-ID: <817741575snz@cedar.demon.co.uk> References: <49k3cu$k33@cicg-communication.grenet.fr> In article <49k3cu$k33@cicg-communication.grenet.fr> exel@lag.ensieg.fr "Matija Exel" writes: > hello, > > i need help on the following code, which is trying to read > an RTFD file within the Text in a ScrollView: > > NXStream *stream; > > stream = NXMapFile("afile.rtfd",NX_READONLY); > [textInScroll readRTFDFrom:stream]; > > -- which generates the following GDB message: > memory access exception on address 0x20 (protection failure) > in documentFromStream ... in readRTFDFrom ... > Matija, The readRTFDFrom: method is used to replace the contents of the Text object with text and images that were saved in a file using writeRTFDTo:. writeRTFDTo: serialises the contents of the Text into one file - NeXT's Text object does not provide support for creating .rtfd files. If you need to replace the contents of the Text object from an .rtfd file, use openRTFDFrom: instead. Should you need to be able to create .rtfd files using Text, please email me directly as we have done this in our word processor CedarWord. Regards, Paul Heffernan, Product Development Manager. ----------------------------------------------- Cedar Systems email: Cedar@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de (Juergen Sell) Subject: Re: How do you recieve DO messages while in a loop? Message-ID: <DIuyuA.qI@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <DIsC32.CIx@trapac.com> Date: Thu, 30 Nov 1995 13:30:10 GMT In article <DIsC32.CIx@trapac.com> karl@trapac.com (Karl Kraft) writes: [...] > Is there a more reliable way to check and dispatch DO messages > during long running loops? I cannot see any reason why you do not place each print request in a separate thread. That would leave the normal event queue free to receive further requests, provided your DO object uses oneway messages to implement the printing. The misckit already has support for such threading (?). But maybe I am out of my depth here. Juergen --- Fon +49 511 4406-88 NeXTMail welcome No Mime Fax +49 511 4406-17 == What time do we live in when revolution reminds us of soap powder, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names == when changing title bars' colors to mainstream hype is considered progress?
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Re: Quad Fat developer how much disk space does it take? Date: 30 Nov 1995 03:51:22 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <49j9nq$t5g@usenet.rpi.edu> References: <e91kyc4b6.fsf@steffi.accessone.com> robert@steffi.accessone.com (Robert Nicholson) wrote: > What amount of diskspace to I need to be able to install NS User > as one architecture and Developer for one architecture but quad > for the libraries and have 100MEG left over. Depends on the "one archecture", of course. In the case of the base arch being NeXT hardware: df # Kbytes used ------ 293523 NeXTSTEP 3.3, Quad-fat developer libraries 311494 NeXTSTEP 3.3, Quad-fat dev-lib, plus EOF 350800 NeXTSTEP 3.3 patch 1, Quad-fat dev-lib, plus EOF That's how much is used up. Add on whatever extra you want. I believe the above numbers include about 1meg used up by the swapfile, and you'll probably want more than that... --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: bmw@nyc.pipeline.com (Ron Weiss) Newsgroups: comp.sys.next.programmer Subject: Programmer opening - NYC (recruiter) Date: 30 Nov 1995 10:43:47 -0500 Organization: The Pipeline Message-ID: <49kjfj$5c2@pipe9.nyc.pipeline.com> An international financial firm located in Manhattan needs a programmer with 2 years minimum work experience and skills using NeXTstep and Objective C for GUI development. A college degree and excellent communications skills are highly preferred. No sponsorship or relocation is available. The application supports a Sales and Trading environment. There will be exposure to SUN/OS and an opportunity to learn Visual Basic on an NT platform. This position is part of a large and growing group. Please contact: Ron Weiss The BMW Group Inc. 40 Exchange Place Suite 700 New York, NY 10005 212-943-8800 212-943-8852 FAX bmw@pipeline.com (ASCII text only)
From: Scott A Douglass <sd3n+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: MouseX Date: Thu, 30 Nov 1995 10:34:54 -0500 Organization: Psychology, Carnegie Mellon, Pittsburgh, PA Message-ID: <wkjQwSe00iWP82Su1c@andrew.cmu.edu> I have recently started using MouseX and seem to be encountering some problems. - I'm running MouseX on a 3.2 mono slab. - I installed the complete basic and developer archives. - I EXACTLY followed the installation instructions. - Xfe is currently using ALL default preference settings. - I am currently able to build/develop (I've built emacs, xfilemanager, ctwm, xpm, etc.). The problem that concerns me the most is that I can't use the Cmd+Cmd+Delete or Cmd+Cmd+* key combinations to return to NEXTSTEP. Every time I try this the Workspace Manager asks me to try to save files then reboots. Because I am uable to use Cmd+Cmd+Delete to return to NEXTSTEP, I have had to exit X in other ways. This requirement is the source of other problems. When I exit the last xterm, the screen goes black. Under these circumstances, all I can do is use Cmd+Cmd+Delete, quit the workspace, logout, and hope that I can see the loginwindow. Each time I quit X, I'm uncertain if my filespace is clean. Sometimes after an apparently regular shutdown and reboot, I'll have to run fsck from the monitor as root to complete the reboot! If this is the price of MouseX... If you've been using MouseX, could you answer these questions? (In your responses you can assume I use X11R5 on Sun5 and DECStations on a daily basis.) - What do I need to do to get Cmd+Cmd+Delete and/or Cmd+Cmd+* to work properly? - How do I avoid the black screen after quitting X? - Basically, what do I have to do to safely quit MouseX and return to NEXTSTEP? - Can I get "xterm -C" or "xconsole" working under MouseX? - What should my .xinitrc look like? All my .xinitrc files from SPARC and DEC machines either fail to start all the clients or cause bus errors (as seen by "cat /tmp/console.log"). - Would you be willing to send me a copy of your MouseX-friendly .xinitrc? - Have you been able to get either Tk or STk to work under MouseX (when I use either, button actions immediately kill all X related processes and return me to NEXTSTEP). Please let me know what I'm doing wrong. Scott Douglass _____________________________________________________________________ Department of Psychology, Carnegie Mellon University Office: (412) 268-1414, E-mail: sd3n+@andrew.cmu.edu (NeXTMail OK) PGP Public Key: finger email address
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: ProjectBuilder Error Messages Date: 30 Nov 1995 19:40:29 GMT Organization: Information Technology Solutions, Inc. Message-ID: <49l1bd$meh@news.its.com> References: <49iaq9$c4c@jenny.state.net> gerti@is.com (Gerd Knops) wrote: > Using a different 'compiler' of sorts in my projects, I'd like it to be > able to put filenames/error messages with line numbers in the TOP half of > PB's Panel. How do I get there? How does PB get that information? > > And how does it display the 'Compiling xyz.c' in the top of the panel? When building, PB forks off a make subprocess as in (ps auxww output): chuck 413 0.0 1.1 1.68M 352K ? SW 0:00 csh -f -c setenv MAKEPORT MakeError-412-0xaa77c;setenv RECEIVERNAME MessageReceiver-412-0xaa77c; cd "/User/chuck/Developer/WorkAreas/CrashCatcher/Examples/CrashDummy"; /bin/make debug ...for "Build debug" in PB. It looks like there's a pair of Mach message ports being registered for the subprocesses to communicate back to PB with. For remote builds, I believe that /bin/make then rsh'es the compiler and linker commands to the remote machine and redirects the output from "rsh" back through the port to PB. PB is smart enough to interpret the output from the various parts of the compiler system and display the messages it does. So, if you set up Makefile scripts to support your "'compiler' of sorts" and call them from the standard PB targets, and your 'compiler' outputs messages which parse the same as those output by /bin/cc, PB should do what you're asking for. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: gcasa@wam.umd.edu (Gregory John Casamento) Newsgroups: comp.sys.next.programmer Subject: Recompiling kernal under NS3.3 FIP Date: 30 Nov 1995 19:49:34 GMT Organization: University of Maryland College Park Message-ID: <49l1se$b48@cville-srv.wam.umd.edu> I am posting this for a friend who has NSFIP 3.3. He needs to recompile the kernal under NeXTSTEP. How is this done?? The reason he needs to do this is because he is trying to use PPP. In the installation instructions the version of PPP he has specifies that you must recompile the kernal after making a few changes. Thanks, P.S. Please direct replies to dmoore@ravens-nest.com and rdthomas@ravens-nest.com. Also CC me as I would like to know the answer to this as well. -- Gregory John Casamento -- gcasa@wam.umd.edu (c) G. Casamento -- Permission to distribute on MS network denied!!
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Re: Quad Fat developer how much disk space does it take? Date: 30 Nov 1995 19:50:36 GMT Organization: Information Technology Solutions, Inc. Message-ID: <49l1uc$meh@news.its.com> References: <e91kyc4b6.fsf@steffi.accessone.com> robert@steffi.accessone.com (Robert Nicholson) wrote: > What amount of diskspace to I need to be able to install NS User as > one architecture and Developer for one architecture but quad for the > libraries and have 100MEG left over. A full install of NS User, Developer, and EOF quad-FAT, including all optional packages and the GNU sources, takes up ~470 MB. Go down to ~400 MB if you don't include EOF. Of course, you probably don't need to install *everything* if you're tight on space; you can cut down to 300 MB or so without losing anything very important. So don't get anything smaller than a 500 MB drive (you want to have some space to swap in and 100 MB for user stuff, right?), but I'd recommend a 1 GB, which'll run about $400 US dollars for a good drive today. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: tm8025a@newssrv.soc.american.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: Linking posix and non-posix object files Date: 30 Nov 1995 20:01:49 GMT Organization: American University, Washington DC Message-ID: <49l2jd$jej@paladin.american.edu> I have been compiling some programs that require what I basically say in the header. Some of the files get cc -posix and some just get cc. (Actually along with -O2 and an assorted group of others.) Is there some problem with doing this? I get no warnings when linking but.....that means next to nothing in reality. -- Torrey McMahon
From: tm8025a@newssrv.soc.american.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: strdup --- does it exist? Date: 30 Nov 1995 21:00:27 GMT Organization: American University, Washington DC Message-ID: <49l61b$lqr@paladin.american.edu> i have a few programs that need strdup for compilation. The only problem is I can't find it in NextDeveloper/Headers. Is it available or do I have to roll my own? If so, how? Any help appreciated. -- Torrey McMahon
From: marks@inav.net (Mark Strand) Newsgroups: comp.sys.next.programmer Subject: What SW Do I need to Create a Database? Date: 1 Dec 1995 00:57:28 GMT Organization: INS Info Services, Des Moines, IA, USA Message-ID: <49ljto$8c9@composer.inav.net> Mime-Version: 1.0 Title says most of it. I have the Academic NeXTSTEP/NeXTSTEP Developer 3.3. It's obvious that this includes DBModeler and DBModule in InterfaceBuilder. What I want to know is, after I get done designing the nifty database, where is the "Create Database" button? I have been told I need to spend $$$$$$ on Oracle/Sybase servers, or on something like Quickbase (over $1000). I just want NS Developer to do what my $84 Visual Basic does, in about 4 minutes flat. The guy at NeXT was suprised by my question, as if creating a database with NeXTSTEP was an oddity. He said "Most people use it to access a database on a Sun running an Oracle database or something". Sorry, I like NeXTSTEP and IB, but I'm not buying a Sun and Oracle servers so I can track customers. If I can't get it done with NeXTSTEP, I'll just have to use VB :( So what's the solution? Is it really true that nowhere buried in NeXTSTEP developer is a way to create even the simplest database? And, even more staggering.. that nothing NeXT sells can do it either? That DBKit and now EOF do nothing but model data (in a very cool way, no argument there) but that they are incapable of creating even the simplest 1 table database? I'm kinda frustrated at this point, as I really want to do some database programming with NeXTSTEP and would later like to use NeXTSTEP in my business.. I'm starting to wonder what I have to do. So in short, if I can't do it with the software I have, what is the best solution or combination of software to get? (I'll probably be getting EOF soon, as it seems to be the hot ticket). I didn't think this was a very demanding task.
From: Chuck_Esterbrook@orcacomputer.com Newsgroups: comp.sys.next.programmer Subject: Re: I'm giving up on Model-View-Controller Date: 1 Dec 1995 02:13:20 GMT Organization: Virginia Tech, Blacksburg, Virginia Message-ID: <49loc0$s89@solaris.cc.vt.edu> References: <489629906wnr@hps1.demon.co.uk> <1995Nov26.190600.17827@news.bogo.co.uk> I've been following this thread including the response of Alex Blakemore and Karl Harbour. I often like to put the following methods with my model objects: - (int)fillMatrix:aMatrix; - (void)formatCell:aCell; I consider this analogous to: - fprint:(FILE *)aFile; The file routines don't know how to print all the objects in the universe. Instead each object knows how to print itself. As far as separation goes, it seems to me that there are two easy ways to do this. [1] Subclassing. CustomerGUI inherits from Customer. [2] My preferred method is Objective-C categories kept in separate modules (i.e., .h and .m files). For example: // // Customer.h // @interface Customer : NSObject { // ivars // } - methods; @end // // CustomerGUI.h // #import "Customer.h" @interface Customer(GUI) - (int)fillMatrix:aMatrix; - (void)formatCell:aCell; @end Then if I want to reuse Customer in a non-GUI setting I simply leave out the CustomerGUI module with no ill effects. Has anyone used this approach? Any comments? -------------------------------------------------------- Chuck_Esterbrook@OrcaComputer.com NeXTmail welcome Software Engineer & Analyst pho. (540) 231-3475 Orca Computer, Inc. fax. (540) 231-3480 Blacksburg, VA 24060 http://www.orcacomputer.com/
Newsgroups: comp.sys.next.programmer From: sbh@squid.indra.com (Steve Herndon) Subject: EOF adaptor for Illustra and/or Versant Message-ID: <DIvL4L.59y.0.server@indra.com> Sender: usenet@indra.com (System Operator) Organization: Indra's Net, Inc. -- Public Access Internet. Date: Thu, 30 Nov 1995 21:31:32 GMT Does anyone know of EOF adaptors for either the Illustra ORDBMS or the Versant OODBMS? Thanks. Steve Herndon
From: american@internetMCI.COM (Charles C. Hocker) Newsgroups: comp.sys.next.programmer Subject: PB --Intel --Changing i386 to i486 Date: 1 Dec 1995 04:22:33 GMT Organization: InternetMCI Message-ID: <49lvu9$oui@news.internetmci.com> Hello, I was wondering how to change the target build arch from i386 to i486. When ever I use PB, the arch is always i386. It seem kind of stupid to me to build for i386 when you can build using i486 and NS will NOT even run on an i386 machine. I found that when I build using 'make', it is no problem to use the i486 and the executable runs faster. Thanks Charles -- ‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘ Charles C. Hocker War is Peace american@internetMCI.COM Freedom is Slavery american@aztec.asu.edu Ignorance is Strength ASCII, MIME & NeXTmail (preferred) George Orwell's 1984 ‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘‘
From: far@ix.netcom.net(Felipe A. Rodriguez) Newsgroups: comp.sys.next.programmer Subject: Re: What SW Do I need to Create a Database? Date: 1 Dec 1995 04:31:54 GMT Organization: Netcom Message-ID: <49m0fq$cr3@ixnews3.ix.netcom.com> References: <49ljto$8c9@composer.inav.net> In article <49ljto$8c9@composer.inav.net> marks@inav.net (Mark Strand) writes: >Title says most of it. I have the Academic NeXTSTEP/NeXTSTEP Developer >3.3. It's obvious that this includes DBModeler and DBModule in >InterfaceBuilder. What I want to know is, after I get done designing the >nifty database, where is the "Create Database" button? > That's cute. :-) Btw, its right next to the "Become widely used OS with source" button. ;-) >I have been told I need to spend $$$$$$ on Oracle/Sybase servers, or on >something like Quickbase (over $1000). I just want NS Developer to do >what my $84 Visual Basic does, in about 4 minutes flat. > >The guy at NeXT was suprised by my question, as if creating a database >with NeXTSTEP was an oddity. He said "Most people use it to access a Amusing but true. >database on a Sun running an Oracle database or something". Sorry, I like >NeXTSTEP and IB, but I'm not buying a Sun and Oracle servers so I can >track customers. If I can't get it done with NeXTSTEP, I'll just have to >use VB :( > Try mSQL at Orst. It is not what you would expect of a commercial SQL database but it may be enough. >So what's the solution? Is it really true that nowhere buried in NeXTSTEP >developer is a way to create even the simplest database? Well I've created a number of DBKit/Indexing Kit databases for custom purposes, but they do not have the flexibility of what NeXT envisioned with EOF. >And, even more staggering.. that nothing NeXT sells can do it either? Yup. That DBKit and now >EOF do nothing but model data (in a very cool way, no argument there) but >that they are incapable of creating even the simplest 1 table database? > >I'm kinda frustrated at this point, as I really want to do some database >programming with NeXTSTEP and would later like to use NeXTSTEP in my >business.. I'm starting to wonder what I have to do. > Well if you plan to use your database commercially you probably will want to use a commercial server such as Oracle/Sybase or Quickbase and use NeXTStep only as a frontend. >So in short, if I can't do it with the software I have, what is the best >solution or combination of software to get? (I'll probably be getting EOF >soon, as it seems to be the hot ticket). I didn't think this was a very >demanding task. mSQL at Orst may fill your needs. -- Felipe A. Rodriguez # ...it cannot be called ingenuity to kill Agoura Hills, CA # one's fellow citizens, to betray # friends, to be without faith, without far@ix.netcom.com # mercy, without religion; by these means (NeXTmail preferred) # one can acquire power but not glory. (MIMEmail welcome) # --Nicolo Machiavelli
From: paul@plsys.co.uk (Paul Lynch) Newsgroups: comp.sys.next.programmer Subject: Re: strdup --- does it exist? Date: 1 Dec 1995 09:19:52 GMT Organization: P & L Systems, Ltd. Message-ID: <49mhbo$9gq@ironhorse.plsys.co.uk> References: <49l61b$lqr@paladin.american.edu> In article <49l61b$lqr@paladin.american.edu> tm8025a@newssrv.soc.american.edu (Torrey McMahon) writes: > i have a few programs that need strdup for compilation. The only problem is I > can't find it in NextDeveloper/Headers. Is it available or do I have to roll > my own? If so, how? #define strdup NXCopyStringBuffer is one approach that works. I expect there are others, and probably better ones, too. Paul -- Paul Lynch (NeXTmail) paul@plsys.co.uk Tel: (01494)432422 P & L Systems Fax: (01494)432478 http://www.plsys.co.uk/~paul
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: How do you recieve DO messages while in a loop? Date: 01 Dec 1995 01:52:49 -0800 Organization: me organized? That's a joke! Sender: robert@steffi.accessone.com Message-ID: <ewx8hjeku.fsf@steffi.accessone.com> References: <DIsC32.CIx@trapac.com> To: karl@trapac.com (Karl Kraft) Have you played with the priority of the handler? Sounds like it's already NX_MODALRESPTHRESHOLD though. but that's 10. What's the applications priority set to? -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: Bernhard Scholz <scholz@informatik.tu-muenchen.de> Newsgroups: comp.sys.next.programmer Subject: Re: Recompiling kernal under NS3.3 FIP Date: Fri, 1 Dec 1995 11:47:30 +0100 Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <Pine.HPP.3.91.951201114453.6914E-100000@hphalle7a.informatik.tu-muenchen.de> References: <49l1se$b48@cville-srv.wam.umd.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <49l1se$b48@cville-srv.wam.umd.edu> On 30 Nov 1995, Gregory John Casamento wrote: > I am posting this for a friend who has NSFIP 3.3. He needs to > recompile the kernal under NeXTSTEP. How is this done?? The reason > he needs to do this is because he is trying to use PPP. In the > installation instructions the version of PPP he has specifies that you > must recompile the kernal after making a few changes. > Your friend has: - probable the portable ppp package, where he is trying to port the linux version to NEXTSTEP (under linux you have to recompile). This ppp version is already ported and available on severl NEXTSTEP ftp sites. - and no, there is no way to recompile the kernel, because there are copyrighted modifications by NeXT and you don't get the sourcecode (sad, but true) - ... but you may strip and thin the kernel :))) Greetings, Boerny. -- Bernhard Scholz (IRC: Boerny) scholz@informatik.tu-muenchen.de http://peanuts.leo.org/ scholz@ve1.rm.op.dlr.de http://www.leo.org/~scholz/
From: vision@halcyon.com (Andy Kriger) Newsgroups: comp.sys.next.programmer Subject: creating subviews Date: Fri, 01 Dec 1995 10:49:30 GMT Organization: Northwest Nexus Inc. Message-ID: <49mmia$f6a@news.halcyon.com> i have a custom view that i want to contain a slider and a text field. here is the code i am trying (SliderText.h declares SliderText as a subclass of View and contains the declaration of initFrame:): #import "SliderText.h" @implementation SliderTextt - initFrame:(NXRect *)frameRect { NXRect myBounds; [self getBounds:&myBounds]; // init viewl [super initFrame:frameRect]; // create the sliderr theSlider = [[Slider alloc] initFrame:&myBounds]; [super addSubview:theSlider]; [self display]; return self; @end when i run this, i get no sllider in my view (which is in a window - very simple nib file). if i change SliderText so that it subclasses Slider (and remove the unnecessary slider initing), everything is cool - i get a slider. any suggestions? (i'm going to play some more tonight, not expecting much thought - btw, i'm quite new to NeXTStep programming which i why i ask this relatively simple question) thx
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <zander@cnext.crec.mipt.ru> Message-ID: <9512011109.AA00417@cnext.crec.mipt.ru> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Aleksey Sudakov <zander@cnext.crec.mipt.ru> Date: Fri, 1 Dec 95 14:09:28 +0300 Subject: Re: EOF Model Open problem In article <49i99t$pcv@paladin.american.edu>, you wrote: > I want to connect to a Novel 7 database. I go to New Model and enter in my > ID, password, host name. I have tried every combination I could think of for > server ID. When I click OK I get a beep. No connection try just a quick beep > when I click OK. Any suggestions? > > -- > Torrey McMahon You gotta configure your server properly. What is Novel 7 database? Is it Oracle 7 run on Novel? If this is the case please refer to NeXTAnswer 1897. I have similar problem (behavior) connecting to Oracle 7 on NetWare. Server is configured allright. I can connect to in from Windoza and telnet from NeXT. But when I use EOModeler nothing happens. I checked with netstat, EOModeler doesn't even create socket. What's going wrong? Could somebody help? Thanks, Aleksey _________________________________________________________________ Aleksey Sudakov 1A-1 Kerchenskaya Street Moscow 113303,Russia. ________________________________________________________________ Office: (095)408-6641 Home: (095)121-6100 + 3-45, (095)121-0561 + 3-45 EMail: zander@cnext.crec.mipt.ru (NeXTMail & MIME are OK) WWW: http://www.crec.mipt.ru/~zander/
From: "Timothy J. Luoma" <luomat@capitalist.princeton.edu> Newsgroups: comp.sys.next.programmer Subject: Re: It wasn't Fiend (was: Why is this code causing a panic?) Date: Fri, 1 Dec 1995 08:44:39 -0500 Organization: Princeton University Message-ID: <Pine.NXT.3.91.951201083615.946B@capitalist.princeton.edu> References: <m0tLTJp-001I4CC@buran.fb10.tu-berlin.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <m0tLTJp-001I4CC@buran.fb10.tu-berlin.de> yes, it was the same code. I though i later posted the code correctly, but in case it didn't make it out, here it is again: ---- eject.m begins next line --- #import <stdio.h> #import <appkit/Application.h> #import <appkit/workspaceRequest.h> char *path; @interface MyObj : Object { } - appDidInit:sender; @end @implementation dnt rc; printf("App did init path=%s\n", path); [[Application workspace] unmountAndEjectDeviceAt:path]; [NXApp perform:@selector(terminate:) with:self afterDelay:1000.0 cancelPrevious:NO]; return self; } @end main(int argc, char **argv) { id obj; obj = [[MyObj alloc] init]; if (argc != 2) { fprintf(stderr, "Usage: %s path\n", argv[0]); exit(1); } path = a; ("Ejecting %s\n", path); [Application new]; [NXApp setDelegate:obj]; [NXApp run]; [NXApp free]; } --eject.m ends previous line -- I compiled this as "cc -o eject eject.m -lNeXT_s -arch m68k" and it works fine for me. David Lambert pointed out that the previous version was quitting too soon, so he added a delay to the code, and it has worked FINE since then. Also note that the code seemed to only cause problems on MY NeXT, David tried it on several machines without incident, I believe. The new version of the code, along with a /bin/sh script I wrote which does this (ejects disks from the command like) can be found on ftp://ftp.cs.orst.edu/pub/next/binaries/util/eject.1.1.NI.bs.tar.gz -- Timothy J. Luoma luomat@capitalist.princeton.edu (MIME fine! NeXTMail if necessary) 476tjl@ptsmail.ptsem.edu (UGH! DOS! Yuck.... Don't use this) "If I understood the man page, I wouldn't have asked the question."
From: jq@papoose.quick.com (James E. Quick) Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 1 Dec 1995 10:53:41 -0500 Organization: PHCS Message-ID: <49n8e5$akl@papoose.quick.com> References: <49cqn9$64e@news.its.com> <DIsxo9.rC@euler.hnv.icem.de> In article <DIsxo9.rC@euler.hnv.icem.de>, Juergen Sell <js@euler.hnv.icem.de> wrote: >In article <49cqn9$64e@news.its.com> chuck@its.com (Chuck Swiger) writes: > >> Of course, depending on any of this is why programs have bugs with >> automatic variables! > >And this sounds like a good enough reason to have a gcc flag which forces >initialization of automatic variables to unlikely values such as MAXINT etc. >Should help detect some logical flaws/errors. If you need to use a flag to force that kind of initialization to occur, then why not just use -O -Wall. Any reference to an uninitialized variable will be reported. Just having a value put in by default may mask problems which will bite you when port to a non gcc environment. If your code compiles under -Wall with no warnings, it is clean. -- ___ ___ | James E. Quick jq@phcs.com / / / | Private HealthCare Systems NeXTMail O.K. \_/ (_\/ | Systems Integration Group (617) 895-3343 ) | - My other car has a mouse.
Newsgroups: comp.sys.next.programmer From: tom@basil.icce.rug.nl (Tom Hageman) Subject: Re: ProjectBuilder Error Messages Message-ID: <DIvr6n.I5z@basil.icce.rug.nl> Originator: uubasil@obelix.icce.rug.nl Sender: news@basil.icce.rug.nl (NEWS pusher) Organization: Warty Wolfs References: <49iaq9$c4c@jenny.state.net> Date: Thu, 30 Nov 1995 23:42:22 GMT gerti@is.com (Gerd Knops) wrote: > Using a different 'compiler' of sorts in my projects, I'd like it to be > able to put filenames/error messages with line numbers in the TOP half of > PB's Panel. How do I get there? How does PB get that information? > > And how does it display the 'Compiling xyz.c' in the top of the panel? I seem to remember that NeXT hacked the compiler driver to handle this kind of communication with Project Builder over a Mach port. I don't have the details handy, but if you're really interested in the grit you can check the source of the compiler driver in /NextDeveloper/Source/GNU/cc/gcc.c and take it from there (assuming you installed the GNUSource.pkg that came with NS Developer.) -- __/__/__/__/ Tom Hageman <tom@basil.icce.rug.nl> [NeXTmail/Mime OK] __/ __/_/ IC Group <tom@icgned.nl> (work) __/__/__/ "there is no difference between theory and practise, __/ _/_/ at least in theory..." -- Bruce Becker
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de (Juergen Sell) Subject: Re: strdup --- does it exist? Message-ID: <DIx6tr.293@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <49l61b$lqr@paladin.american.edu> Date: Fri, 1 Dec 1995 18:17:51 GMT In article <49l61b$lqr@paladin.american.edu> tm8025a@newssrv.soc.american.edu (Torrey McMahon) writes: > i have a few programs that need strdup for compilation. The only problem is I > can't find it in NextDeveloper/Headers. Is it available or do I have to roll > my own? If so, how? > > Any help appreciated. Try #ifdef NeXT #define strdup(s) NXCopyStringBuffer(s) #endif Juergen --- Fon +49 511 4406-88 NeXTMail welcome No Mime Fax +49 511 4406-17 == What time do we live in when revolution reminds us of soap powder, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names == when changing title bars' colors to mainstream hype is considered progress?
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: Unremovable Cells' image Date: 1 Dec 1995 22:02:34 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <49nu1q$o9r@hippo.shef.ac.uk> I have implemented a class called mActionCell, which is actually a Matrix of actionCell. Since a Matrix is also a View, therefore, in IB, I move a "custom view" from the palette and rename it to "mActionCell" on my main window, I have also implemented a menu which can actually add new cells on my window. It looks something like this ------------ | myMenu | ------------ -------------------------------------------------- | Info | | my window | ----------- |------------------------------------------------- | Edit | | | ----------- | \ \ / / | | Add Cell | | ------- ------- | ------------ | | | \| |/ | | | | | | | | | | | | | | ------- ------- | | icon 1 icon 2 In the diagram, icon 2 is highlighted. When I click the menu item "Add Cell" again. I will get another icon, "icon 3" and it will become highlighted, "icon 2" will be back to normal like "icon 1". What I want to achieve now is when I click "icon 1", I want "icon 1" to be highlighted and "icon 2" and "icon3" should disappear from the window and leave "icon 1" only. I have achieved to make "icon 1" to be highlighted, but have spent two days thinking how to remove "icon 2" and "icon 3". I have tried to use "reenableFlushWindow" and "flushWindow" methods on my window, but the two icons are still there, although, clicking on them nothing will happen (not even highlighted anymore). Can anyone tell me how to remove unused icons image from the screen ? Thank You very much. C.Yap
From: Gerald Wildgruber <gewil@ue801be.ppp.lrz-muenchen.de> Newsgroups: comp.sys.next.programmer Subject: Scheme implementation for NeXT fIP ? Date: 02 Dec 1995 02:17:04 +0100 Organization: Apatheia Corp. Sender: gewil@ue801be.ue801be.ppp.lrz-muenchen.de Distribution: world Message-ID: <x7ka4gl0xb.fsf@ue801be.ue801be.ppp.lrz-muenchen.de> hello, has anyone heard of an implementation of Scheme on NeXT white hardware (v.3.3)? There has been Schematik, a GUI for MIT Scheme, but I think it has disappeared. Thanks for your help Gerald ----------------------------------- Gerald Wildgruber No one can have an idea gewil@ue801be.ppp. once he starts really lrz-muenchen.de listening. - John Cage NeXTmail (and MIME) welcome -- ----------------------------------- Gerald Wildgruber No one can have an idea gewil@ue801be.ppp. once he starts really lrz-muenchen.de listening. - John Cage NeXTmail (and MIME) welcome
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Recompiling kernal under NS3.3 FIP Date: 2 Dec 1995 01:20:02 GMT Organization: Sense Networking Seattle (www.oz.net) Distribution: world Message-ID: <49o9k2$4j0@emerald.oz.net> References: <49l1se$b48@cville-srv.wam.umd.edu> <Pine.HPP.3.91.951201114453.6914E-100000@hphalle7a.informatik.tu-muenchen.de> Bernhard Scholz <scholz@informatik.tu-muenchen.de> wrote: > - and no, there is no way to recompile the kernel, because there are > copyrighted modifications by NeXT and you don't get the sourcecode (sad, > but true) > > - ... but you may strip and thin the kernel :))) > And you may dynamically load kernel modules which is what the NS version of PPP does. For those of us who'd rather not be compiling kernels all the time like other UNIX sysadmins seem to frequently do, loadable kernel modules are a nice feature (yes, I realize they can't do everything that recompiling the kernel can do). -- Art Isbell NeXT & MIME Mail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: creating subviews Date: Sat, 02 Dec 95 13:07:35 GMT Organization: Cedar Systems Message-ID: <817909655snz@cedar.demon.co.uk> References: <49mmia$f6a@news.halcyon.com> In article <49mmia$f6a@news.halcyon.com> vision@halcyon.com "Andy Kriger" writes: > i have a custom view that i want to contain a slider and a text field. > here is the code i am trying (SliderText.h declares SliderText as a > subclass of View and contains the declaration of initFrame:): > > #import "SliderText.h" > > @implementation SliderTextt > > - initFrame:(NXRect *)frameRect > { > NXRect myBounds; > [self getBounds:&myBounds]; > > // init viewl > [super initFrame:frameRect]; > > // create the sliderr > theSlider = [[Slider alloc] initFrame:&myBounds]; > [super addSubview:theSlider]; > > [self display]; > > return self; > > @end > > when i run this, i get no sllider in my view (which is in a window - > very simple nib file). if i change SliderText so that it subclasses > Slider (and remove the unnecessary slider initing), everything is cool > - i get a slider. > Problem is that you are getting bounds before the view has been initialised. The call [super initFrame:frameRect] will set the bounds, so call getBounds: after. Better still, since you have subclassed the view, you can use the bounds instance rectangle to initialise the slider - i.e. theSlider = [[Slider alloc] initFrame:&bounds]; Good luck, Paul. P.S. I would not normally put [self display] in an init method - rather call display, if necessary, in method that calls init. ----------------------------------------------- Cedar Systems email: phef@cedar.demon.co.uk telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
From: GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) Newsgroups: comp.sys.next.programmer Subject: PingPong under NS3.3 Date: 2 Dec 1995 15:16:44 GMT Organization: Nanyang Technological University Message-ID: <49pqks$b3o@ntuix.ntu.ac.sg> Hi, I am the developer of PingPong, which is a viewer of PNG pictures for black and white NS, and available from orst and peanuts. So far so good. Recently I got complaints from a user, that it appears to work fine under NS3.2, but not with NS3.3. Lot's of DPS errors, written to the console, are what I was told. My question is, did anyone have the same problem or could anyone else test this for me? I would be very much surprised when a program, that as far as I know isn't doing anything special, when developed under 3.2 would not run under 3.3. Sounds weird... Willem gwillem@ntuvax.ntu.ac.sg
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Re: What SW Do I need to Create a Database? Message-ID: <jpanicoDIyxo1.M1F@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <49ljto$8c9@composer.inav.net> Date: Sat, 2 Dec 1995 16:55:12 GMT Sender: jpanico@netcom14.netcom.com Mark Strand (marks@inav.net) wrote: : Title says most of it. I have the Academic NeXTSTEP/NeXTSTEP Developer : 3.3. It's obvious that this includes DBModeler and DBModule in : InterfaceBuilder. What I want to know is, after I get done designing the : nifty database, where is the "Create Database" button? Is there an EOF adaptor for the Indexing Kit? If so, what are its capacilities? Seems that an IXKit adaptor would at least be able to knock out flat-file tables. -- Joe Panico NeXTStep/OpenStep Developer BLaCKSMITH Inc. jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: PB --Intel --Changing i386 to i486 Date: 2 Dec 1995 17:35:00 GMT Organization: Sense Networking Seattle (www.oz.net) Distribution: world Message-ID: <49q2o4$e0s@emerald.oz.net> References: <49lvu9$oui@news.internetmci.com> american@internetMCI.COM (Charles C. Hocker) wrote: > I was wondering how to change the target build arch from i386 to i486. When > ever I use PB, the arch is always i386. It seem kind of stupid to me to build for i386 > when you can build using i486 and NS will NOT even run on an i386 machine. I > found that when I build using 'make', it is no problem to use the i486 and the > executable runs faster. PB uses "make", so if you want to build an i486 target, just add "-arch i486" to OTHER_CFLAGS in Makefile.preamble. There should be no difference in the executable produced by PB or by "make" from a shell. If "-arch" isn't specified, "make" apparently uses what the "arch" shell command returns which must be "i386" on Intel hardware. But I'm surprised that this makes any difference at all. How did you determine that an i486 executable is faster than an i386 version? If the i486 version really is faster, I don't understand why NeXT wouldn't be using it instead. Can anyone clarify this? -- Art Isbell NeXT & MIME Mail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: Howard Ship Newsgroups: comp.sys.next.programmer Subject: Edit & MANPATH Date: 1 Dec 1995 16:48:40 GMT Organization: Stratus Computer Inc, Marlboro MA Distribution: us Message-ID: <49nbl8$rto@transfer.stratus.com> Is there a Default for controlling where Edit searches for man pages? I've modified by .cshrc, adding the following: setenv MANPATH /usr/man:/usr/local/man:/usr/local/lib/perl5/man And I can pull up Perl man pages using command-line man, but not with Edit. -- YOW!! Everybody out of the GENETIC POOL! Howard Ship <hship@cac.stratus.com> `88 FZR1000 (Zed) "I lurk not, neither do I flame." [NeXT Mail 3.3 / MIME Mail OK]
From: gmecchia@cc.colorado.edu Newsgroups: comp.sys.next.programmer Subject: creating classes at runtime Date: 2 Dec 1995 20:13:29 GMT Organization: The Colorado College, Colorado Springs, CO Message-ID: <49qc19$nc0@lace.colorado.edu> Hi, is it possible in Objective-C to create classes at runtime without recompiling? i.e., is there something like a "metaclass" object of which an instance can be created and attributes and selectors added or attached to it? Are there any publications available on such a topic for any programming language/environment? - Alexis
From: tm8025a@newssrv.soc.american.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: Re: strdup --- does it exist? Solved Date: 2 Dec 1995 20:13:35 GMT Organization: American University, Washington DC Message-ID: <49qc1f$36d@paladin.american.edu> References: <DIx6tr.293@euler.hnv.icem.de> Thanks to all that posted and replied via e-mail concerning this sticky wicket. Now if anyone could answer my EOF modeler problem I would be a happy camper ideed! -- Torrey McMahon
From: zachary@willis.cis.uab.edu (John Zachary) Newsgroups: comp.sys.next.programmer Subject: Canonical Programming References? Date: 2 Dec 1995 16:32:52 -0600 Organization: Dept of CIS, Univ. of Al at Birmingham Message-ID: <49qk6k$5ed@mayfair.cis.uab.edu> I have recently migrated to NS 3.3 for Intel (and I love it, ALOT). Anyway, I would like to start coding and want to get those programming references that are necessary and no others. I have the Development TOols and Objective C books by Addison-Wesley, but these don't give the gory details of the API that I desire. Which of the Addison-Wesley books describe the API or is there another refernece. Since the local bookstores don't stock all of the books, I have to order them and I don't wish to 'stiff' the store if the book isn't what I want. Thanks, -John -- John Zachary UAB GRAIL zachary@cis.uab.edu
From: vision@halcyon.com (Andy Kriger) Newsgroups: comp.sys.next.programmer Subject: passing messages with multiple nibs Date: Sun, 03 Dec 1995 05:39:26 GMT Organization: Northwest Nexus Inc. Message-ID: <49rd4s$rcv@news.halcyon.com> another new NeXT programmer question (boy, getting stated generates lots of huh?'s). i have two nib files, one that has lots of controls and the other my view - is there a way to send messages directly from a control in one nib file to the view in the other nib file? since they're in different nib files, i can't connect them directly. since one end of the connection is a view, i can't instantiate it in the control nib. right now i'm using a common Controller object in both nib files and passing the messages through that, but that seems really cumbersome (have to update in both files every time i make a change) (and since i'm new at this, i suspect, but don't know, there is an easier way). thx
From: don@misckit.com Newsgroups: comp.sys.next.programmer Subject: Re: passing messages with multiple nibs Date: 3 Dec 1995 16:22:04 GMT Organization: XMission Internet (801 539 0900) Message-ID: <49sirc$c7u@news.xmission.com> References: <49rd4s$rcv@news.halcyon.com> vision@halcyon.com (Andy Kriger) wrote: > i have two nib files, one that has lots of controls and the other my > view - is there a way to send messages directly from a control in one > nib file to the view in the other nib file? You can't connect them directly, as you noticed, but... rather than using an ad-hoc controller to go between the files, I recommend checking out the MiscKit's MiscDistributor object. It is made for the express purpose of making connections between two different .nib files, and is on an InterfaceBuilder palette--so it works in test mode! More information on the MiscKit may be had from this URL: http://www.misckit.com/index.html Note that the MiscKit is pretty useful for lots of other things, too, so if you haven't looked at it yet, you may find it worth the effort (and huge download time :-) ). -- Later, -Don Yacktman don@misckit.com <a href="http://www.misckit.com/don.html">My home page</a>
From: pbrown@asparagus.berkeley.edu (Paul Robert Brown) Newsgroups: comp.sys.next.programmer Subject: gcc-2.7.2 for NeXT hardware Date: 3 Dec 1995 23:16:04 GMT Organization: U.C. Berkeley Math. Department. Message-ID: <49tb3k$8kf@agate.berkeley.edu> To avoid having to edit makefiles all the time, I decided to install gcc-2.7.2 (the latest version on gatekeeper.dec.com) on my black hardware (running 3.2). I received a number of unreasonable errors running make -LANGUAGE=c (which is the first make in the install process), so I randomly switched to GNU make. Now it works great. Just thought I'd pass that along. Paul
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 4 Dec 1995 05:15:10 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <49u04u$i1l@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
Newsgroups: comp.sys.next.programmer From: gerti@BITart.com (Gerd Knops) Subject: Re: creating classes at runtime Message-ID: <DJ1xG6.oB@BITart.com> Sender: usenet@BITart.com Organization: BITart, NEXTSTEP/OPENSTEP Consulting References: <49qc19$nc0@lace.colorado.edu> Date: Mon, 4 Dec 1995 07:43:17 GMT In article <49qc19$nc0@lace.colorado.edu> gmecchia@cc.colorado.edu writes: > Hi, > > is it possible in Objective-C to create classes at runtime without > recompiling? i.e., is there something like a "metaclass" object of > which an instance can be created and attributes and selectors added or > attached to it? > Yes, it can be done. However, it requires you to get very, very intimate with the runtime system, and then it still is messy. All the necessary documentation is online or can be extracted from the header files. -- Gerd Knops ------------------------------------------ gerti@BITart.com
From: vision@halcyon.com (Andy Kriger) Newsgroups: comp.sys.next.programmer Subject: turning a string into a symbol Date: Mon, 04 Dec 1995 09:53:19 GMT Organization: Northwest Nexus Inc. Message-ID: <49ugdd$8en@news.halcyon.com> is there a way to take the value returned by NXGetName (a string) and turn it into a symbol that can be used in perform:with:? the idea i'm trying to persue is that a control has a name that is the same as the function it will call. there is a reason for this workaround (i.e. not connecting the control to the function directly). thx
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: sender? Date: 4 Dec 1995 18:40:07 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <49vfa8$322@opal.southwind.net> I've tried to find documentation on sender. Its often used for links to Next objects. My question is is sender actually a keyword in Nexts Objective C ? Does it provide the runtime isa of the instance ? For some reason I can't find the anything describing sender in the docs or header files. Thanks mike@hobbs.chem.usu.edu mike
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <zander@cnext.crec.mipt.ru> Message-ID: <9512041647.AA02454@cnext.crec.mipt.ru> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Aleksey Sudakov <zander@cnext.crec.mipt.ru> Date: Mon, 4 Dec 95 19:47:45 +0300 Subject: Re: TCP/IP with NeXT In article <49jrnv$bol@sparcserver.lrz-muenchen.de>, you wrote: > Hi, > > can someone please tell me where I could get information on how I can implement the backend of a NeXT-application which uses a TCP/IP-stack to retreave information from a TCP/IP-server? Is it documented on the NeXT Online-manuals somewhere? Since I have no experience with TCP/IP I would need a good, NeXT-specific guide. > > I would appreciate any help :-) > > Thanks in advance > Implement TCP/IP stuff again? What for? Why don't you just have a look at MiscKit <a href="http://www.misckit.com/">. There are MiscINETAddress and MiscINETSocket objects there. I hope they will solve your problems. Regards, Aleksey. _________________________________________________________________ Aleksey Sudakov 1A-1 Kerchenskaya Street Moscow 113303,Russia. ________________________________________________________________ Office: (095)408-6641 Home: (095)121-6100 + 3-45, (095)121-0561 + 3-45 EMail: zander@cnext.crec.mipt.ru (NeXTMail & MIME are OK) WWW: http://www.crec.mipt.ru/~zander/
Newsgroups: comp.sys.next.programmer From: brianw@sounds.wa.com (Brian Willoughby) Subject: Physical address of NVRAM in black hardware - anyone? Message-ID: <DJ2vKA.52G@sounds.wa.com> Organization: Sound Consulting, Bellevue, WA, USA Date: Mon, 4 Dec 1995 20:00:09 GMT I would like to know what the physical address is of the NVRAM in my NeXTdimension. I am referring to the memory which remembers your boot command, clock time, etc. It would also be helpful to know how large the NVRAM is (in bytes) and whether it is accessed as linear memory, or if there are some intermediate address and data registers which must be manipulated to read and write the NVRAM. I assume that the information that I want to change is stored in this NVRAM because it is available before the drive is online. I have a two-headed NeXTdimension, and I have noticed that right after power-up, the graphical icons used for network or disk boot are displayed either on the NeXTdimension output or the MegaPixel output, depending upon which screen was most recently chosen for the login panel in the Multiple Screen Layout Preferences. The reason that this is important to me is because the ROM monitor uses this setting to pick a screen for its window, and scrolling is incredibly slow on the NeXTdimension output when using the ROM monitor. This tends to make me want the MegaPixel as the login screen so that single-user operation during backup procedures will not be slowed down by the inefficient scrolling. But the full color features of NEXTSTEP are not realized when booting from the MegaPixel, because that forces the Dock and all other programs to default to the monochrome monitor instead of the color NeXTdimension. Selecting the NeXTdimension as the login screen allows NEXTSTEP to look its best, but every time I make a backup I have to deal with the slow scrolling. I have devised an elaborate workaround, but I would prefer to have direct control over this setting which is stored in NVRAM. For any of you who might want to use the workaround, I have found that the Window Server always displays the login panel at a fixed offset from the coordinate origin for the screen(s) as set in the NetInfo database. The ROM monitor does not have access to NetInfo, so it uses the NVRAM setting. I can trick the two systems into using different monitors if I make changes in a particular order. Since the Multiple Screen Layout Preferences code is currently my only way to write this NVRAM setting, I first choose the MegaPixel for login and the reboot to force the setting to be written out (restarting the Window Server does not seem to be sufficient). At this point, the /localconfig/screens/MegaPixel/bounds has the Display PostScript origin and /localconfig/screens/NeXTdimension/bounds is set to locate the color monitor relative to its physical position from the MegaPixel (usually). If I manually change these NetInfo properties to place the NeXTdimension at the origin, and flip the relative coordinates to keep the MegaPixel properly located (something that the Multiple Screen Layout Preferences is usually in charge of computing, based upon mouse input), then I can exit the Window Server and regain full color NEXTSTEP operation. This is a somewhat fragile workaround, because any time you touch the screen settings through the normal NeXT utilities, the two settings are reset to match each other, and I have to go through the extra reboot cycle to get them back to the most efficient settings. A program which could independently make the NVRAM setting would make this much easier. In addition, I would need to know what sort of program would be necessary to access this physical memory. Is it sufficient to run a program as root, make some Mach system call to remove virtual mapping on a particular pointer or memory range, and then read and write this NVRAM? Or is this a privilege level reserved for the kernel and loadable kernel services. I hope that the former is true, but I am willing to write whatever is necessary. Once I have access to the NVRAM, it should be a simple to hack the location in the NVRAM that is used for this particular setting by saving a copy of the entire NVRAM both before and after a change which only affects this one value. Of course, if someone already knows the offset, I would welcome the information. It would probably make sense to reply to me directly, since this information is somewhat esoteric. -- Brian Willoughby Software Design Engineer, BSEE from NCSU NeXTmail welcome Sound Consulting: Software Design and Development BrianW@SoundS.WA.com Bellevue, WA <http://nwlink.com/cyberartists/brianw/brianw.html>
From: smart_is@news.enet.net (Smart Practice) Newsgroups: comp.sys.next.programmer Subject: putenv does it exist? Date: 4 Dec 1995 12:52:34 -0700 Organization: Evergreen Communications, Phoenix, Arizona Message-ID: <49vji2$6ub@pinyon.enet.net> A couple of programs I'm trying to compile require the putenv procedure and wanted to know what the NeXT equivalent is. Any help would be much appreciated! Thanks, Lon
Newsgroups: comp.sys.next.programmer From: dfevans@bbcr.uwaterloo.ca (David Evans) Subject: Re: sender? Sender: news@novice.uwaterloo.ca (Mr. News) Message-ID: <DJ31Ix.L0x@novice.uwaterloo.ca> Date: Mon, 4 Dec 1995 22:08:57 GMT References: <49vfa8$322@opal.southwind.net> Organization: University of Waterloo In article <49vfa8$322@opal.southwind.net>, Michael Emmel <mike@hobbs.chem.usu.edu> wrote: > > >I've tried to find documentation on sender. >Its often used for links to Next objects. > >My question is is sender actually a keyword in Nexts Objective C ? >Does it provide the runtime isa of the instance ? > >For some reason I can't find the anything describing sender in the docs or >header files. > No--sender isn't a keyword, but a convention in how the Target/Action model is implemented. Often you'll have an action such as: - doStuff:sender { do_my_thing; return self; } and then you'll call it (let's say in an object called "bezerkView") using something like [bezerkView doStuff:self]; So the calling object passes a pointer to itself to the called object, thus allowing two-way communication. Files produced by InterfaceBuilder's Unparse have this framework. -- David Evans (NeXTMail OK) dfevans@bbcr.uwaterloo.ca Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/ University of Waterloo "Default is the value selected by the composer Ontario, Canada overridden by your command." - Roland TR-707 Manual
From: tm8025a@newssrv.soc.american.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: Removing symbols from libraries and a posix question Date: 4 Dec 1995 23:59:29 GMT Organization: American University, Washington DC Message-ID: <4a0211$lif@paladin.american.edu> I keep getting an error when linking against a library. The error says that the same symbol is defined in the library as well as the .o files all being linked together. I know for a fact that they contain the same symbol, in the error as well as the code. I can get around this by using -m when I link but its getting to be a pain. Also, is there a way to specify the -posix flag to cc in the actual c source? For a project I am working on some of the code requires the -posix argument to cc and some does not leaving me running between a shell and Project Builder. Neither of these are real problems just major annoyances. Any help would be great. -- Torrey McMahon
From: steve@tweedledee.ucsb.edu (Steve Trainoff) Newsgroups: comp.sys.next.programmer Subject: Re: Turning off screen video on ND Date: 4 Dec 1995 23:52:51 GMT Organization: University of California, Santa Barbara Distribution: world Message-ID: <4a01kj$qri@yuggoth.ucsb.edu> References: <48m2kd$fc5@nntp.Stanford.EDU> In article <48m2kd$fc5@nntp.Stanford.EDU> stanj@cs.stanford.edu (Stan Jirman) writes: > Hello, > > just bought a Sony monitor for my ND system because the old one has died; > now the new one has this "power saving" feature which kicks in when there > is no signal coming from the computer. Since my ND is running 24hrs a day, > I'd need a screen saver that turns off the video feed. Question is: Is it > doable, and if so, how? > > Thanks, > - Stan > --- The power saving features vary from somewhat from monitor to monitor. My monitor (IDEK MF8617E) switches to power saver mode 5 minutes (user setable) after it detects a BLACK screen. I use the BackSpace black screen saver and it works fine. -- ..STeve ------------------------------------ Insert pithy maxim here... steve@tweedledee.ucsb.edu (NeXT mail)
From: far@ix.netcom.net(Felipe A. Rodriguez) Newsgroups: comp.sys.next.programmer Subject: Re: putenv does it exist? Date: 5 Dec 1995 02:47:26 GMT Organization: Netcom Message-ID: <4a0bru$bfk@ixnews3.ix.netcom.com> References: <49vji2$6ub@pinyon.enet.net> In article <49vji2$6ub@pinyon.enet.net> smart_is@news.enet.net (Smart Practice) writes: > >A couple of programs I'm trying to compile require the putenv procedure >and wanted to know what the NeXT equivalent is. > >Any help would be much appreciated! > >Thanks, > >Lon You can get this routine from NeXTAnswers in the information for building SATAN. -- Felipe A. Rodriguez # ...it cannot be called ingenuity to kill Agoura Hills, CA # one's fellow citizens, to betray # friends, to be without faith, without far@ix.netcom.com # mercy, without religion; by these means (NeXTmail preferred) # one can acquire power but not glory. (MIMEmail welcome) # --Nicolo Machiavelli
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US-Chicago-IL - Excellent New NeXTSTEP Opportunities for 1996 Date: 5 Dec 1995 02:07:07 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <4a0r2r$ahf@newsbf02.news.aol.com> Due to the success of several NeXTSTEP based mission critical systems, my Chicago based clients are currently searching for experienced NeXT professionals for new and existing projects in their top systems groups. Candidates must possess a strong background in NeXTSTEP development, Objective-C, EOF and/or Appkit/DBKit, coupled with good experience in utilizing a RDBMS( Sybase/Informix/Oracle), and have successfully brought a project no matter how big or small to a successful completion. You will be responsible for developing a wide range of systems from banking and finance to telecommunications and the entertainment industry. These positions will be based in and around downtown Chicago, and are not all with clients that are well known NeXT users. As expected salary and benefits are excellent. Contact: Brian Mitchell Datacom Technology Group Inc 212-629-5720 212-629-3374(FAX)
From: shill@iphysiol.unil.ch (Sean Hill) Newsgroups: comp.sys.next.programmer Subject: returning NSDictionary's with (P)DO Date: 5 Dec 1995 09:57:01 GMT Organization: University of Lausanne CH (Switzerland) Message-ID: <4a151d$57n@cisun2000.unil.ch> I'm trying to return NSDictionaries from my server either by reference or by copying. I'm using EOF 1.1 and NS3.3. I have the example with EOF and distributed objects, and I am using the FoundationExtentions which implement the NXTransport protocol on NSArray and NSDictionary. I have no problem getting the NSDictionary over the wire from the client to the server. But when I try to return an NSDictionary (without any special objects i.e. only NSStrings and NSDictioaries in it) from the server to the client, the connection times out. When I converted the NSDictionary into an NSString it seemed to work fine. I have also tried changing the timeouts up to as long as infinity with no help. The dictionaries are the same size in each case, approx. 2k. Thank you for any ideas, suggestions... --- Sean L. Hill Research in Computational Neuroscience Institut de Physiologie E-mail: Sean.Hill@iphysiol.unil.ch Rue du Bugnon, 7 Work: ++41 021 692.5516 CH-1005 Lausanne SWITZERLAND Fax: ++41 021 692.5505
From: Andy Robinson <Andy@hps1.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: strdup --- does it exist? Solved Date: Tue, 05 Dec 1995 09:15:10 GMT Organization: High Performance Sports Ltd. Message-ID: <781299108wnr@hps1.demon.co.uk> References: <DIx6tr.293@euler.hnv.icem.de> <49qc1f$36d@paladin.american.edu> In article: <49qc1f$36d@paladin.american.edu> tm8025a@newssrv.soc.american.edu (Torrey McMahon) writes: > Now if anyone could answer my EOF modeler problem I would be a happy camper > ideed! What's the problem? sorry I missed it earlier. (more in hope that it will be one of my many EOF problems and someone else can solve it for both of us than in hope of me solving it....) -- Andy Robinson andy@hps1.demon.co.uk High Performance Sports Tel 0181-211-7000 My opinions in this forum ARE those of High Performance Sports, because I'm the only one here who can switch on a PC...
From: par@MCS.COM (Peter Richardson) Newsgroups: comp.sys.next.programmer Subject: Re: sender? Date: 5 Dec 1995 08:30:11 -0600 Organization: MCSNet Services Message-ID: <4a1l1j$57m@Mars.mcs.com> References: <49vfa8$322@opal.southwind.net> <DJ31Ix.L0x@novice.uwaterloo.ca> David Evans (dfevans@bbcr.uwaterloo.ca) wrote: : In article <49vfa8$322@opal.southwind.net>, : Michael Emmel <mike@hobbs.chem.usu.edu> wrote: : > : >My question is is sender actually a keyword in Nexts Objective C ? : >Does it provide the runtime isa of the instance ? : > : No--sender isn't a keyword, but a convention in how the Target/Action model : is implemented. Often you'll have an action such as: : - doStuff:sender : { : do_my_thing; : return self; : } : and then you'll call it (let's say in an object called "bezerkView") using : something like : [bezerkView doStuff:self]; : So the calling object passes a pointer to itself to the called object, thus : allowing two-way communication. : Files produced by InterfaceBuilder's Unparse have this framework. Just a little expansion on this. Usually, the sender is the IB object that the connection was drawn from, like the text item or button. However if you have a matrix of items (checkboxes, buttons...) and you draw the connection from each different item in the matrix, the sender is the Matrix not the Item. The importance of the use of sender is that it is a standard for defining those methods that the IB will be able to call. IB can only call methods that take a single parameter, the "sender" Peter Richardson
Newsgroups: comp.sys.next.hardware,comp.sys.next.programmer,comp.sys.next.software From: Fabien_Roy@free.fdn.org Subject: NEx000 driver source code needed Message-ID: <1995Dec5.115123.7265@free.fdn.org> Sender: news@free.fdn.org Organization: Fabien Roy Consultant, Paris, France Date: Tue, 5 Dec 1995 11:51:23 GMT I know it was derived from a LINUX driver and I want to add support for the cheap PCI NE2000 compatible ethernet cards. Fabien -- --------------------------------------------------------------------- Fabien_Roy@free.fdn.org (NextMail/MIME accepted) Fabien Roy Consultant NEXTSTEP/OPENSTEP/EOF Consultant, SYBASE DBA 10 rue de la DEFENSE 93100 MONTREUIL, France Tel: 33 1 45 28 32 23 Fax: 33 1 48 55 09 90
From: Matija Exel <exel@lag.ensieg.fr> Newsgroups: comp.sys.next.programmer Subject: Help: missing images in a bundle project Date: 5 Dec 1995 16:45:13 GMT Organization: E.N.S.I.E.G./Service Informatique et L.A.G. Message-ID: <4a1sup$flc@cicg-communication.grenet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hello, i've spent half a day already on a maddening problem with tiff images dissapearing from a project bundle: -- i have a project of type bundle, with several nib files and a number of .tiff files included in the project under "Images" -- when viewing, under IB, the Images suitcase of the file window, for all my nibs, I can see all my tiff files there OK -- the problem starts when i build the project under PB: -- when checking the resulting myBundle.bundle directory and the .nib files underneath, using IB, i can no longer see my .tiff files!! BUT: 1) they are included under the myBundle.bundle directory 2) they cannot be added to the Images suitcase of the nibs' file windows (i get the message "image already exists" 3) when examining with the IB inspector the buttons whose icons are tiff images, the names of the tiff files are there, but they do not show!! 4) i compared, with "diff" all the unix files under the nib directories, to see whether any differences exist within the myBundle.bundle/*.lproj/*.nib/* files: no difference! .. thanks for ANY cues. ----------------------------------------------------------------- Matija Exel, E.N.S.I.E.G., Service Informatique et L.A.G., Tel : 76 82 71 12 Fax: 76 82 63 88 e-mail : exel@lag.ensieg.fr (NO NextMail please) -----------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: gerald@kurt.in-berlin.de (Gerald Erdmann) Subject: SoundKit: How to change the sampling rate of a NXPlayStream Message-ID: <1995Dec4.144319.1678@kurt.in-berlin.de> Sender: news@kurt.in-berlin.de Date: Mon, 4 Dec 1995 14:43:19 GMT Hi! Does someone has an idea if it's possible to change the sampling rate of an active play stream WITHOUT loosing all buffered buf not yet played samples? The example [stream deactivate]; [stream setParameter: NX_SoundStreamSamplingRate toInt: newRate]; [stream activate]; Clears all internal stream buffers but I don't want it! :-( Any better ideas? Thanx for any resond, Gerald --------------------------------------------------------------------- | GERALD ERDMANN | email: gerald @ kurt.in-berlin.de (NeXTmail welcome) | voice: +49 30 372 43 10 (Germany - Berlin) | crypt: pgp2 public key available |
From: tm8025a@newssrv.soc.american.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: EOF model Open problem was Re: strdup does it exist? Solved Date: 5 Dec 1995 18:03:30 GMT Organization: American University, Washington DC Message-ID: <4a21hi$13b@paladin.american.edu> References: <781299108wnr@hps1.demon.co.uk> In article <781299108wnr@hps1.demon.co.uk> Andy Robinson <Andy@hps1.demon.co.uk> writes: :In article: <49qc1f$36d@paladin.american.edu> tm8025a@newssrv.soc.american.edu (Torrey McMahon) writes :> Now if anyone could answer my EOF modeler problem I would be a happy :>camper ideed! : :What's the problem? sorry I missed it earlier. : :(more in hope that it will be one of my many EOF problems and someone else :can solve it for both of us than in hope of me solving it....) My problem was I couldn;t connect to the database at all. I entered in all of the values, sometimes changing them between Novell7's type 1 and 2. I would put in my ID, Passwd, server ID and the hostname...hit OK and I would get a beep. No connection seemed to be tried at all. Then I got the following in a file in my account in a file called sqlnet.log: *********************************************************************** Fatal OSN connect error 12203, connecting to: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=ipc)(KEY=pythia)))(CONNECT_DAT A=(SID=pythia)(CID=(PROGRAM=)(HOST=next.dorms.american.edu)(USER=tm8025a)))) VERSION INFORMATION: TNS for NeXT Mach: Version 2.0.14.0.0 - Developer's Release Unix Domain Socket IPC NT Protocol Adaptor for NeXT Mach: Version 2.0.14.0.0 - Developer's Release Oracle Bequeath NT Protocol Adapter for NeXT Mach: Version 2.0.14.0.0 - Developer's Release TCP/IP NT Protocol Adapter for NeXT Mach: Version 2.0.14.0.0 - Production Time: 29-NOV-95 01:00:29 Tracing not turned on. Tns error struct: nr err code: 12203 TNS-12203: Message 12203 not found; No message file for product=NETWORK, facility=TNS ns main err code: 12541 TNS-12541: Message 12541 not found; No message file for product=NETWORK, facility=TNS ns secondary err code: 12560 nt main err code: 511 TNS-00511: Message 511 not found; No message file for product=NETWORK, facility=TNS nt secondary err code: 2 nt OS err code: 0 Go figure! -- Torrey McMahon
From: tm8025a@newssrv.soc.american.edu (Torrey McMahon) Newsgroups: comp.sys.next.programmer Subject: EOF Model Open problem Date: 5 Dec 1995 18:05:00 GMT Organization: American University, Washington DC Message-ID: <4a21kc$17i@paladin.american.edu> References: <9512011109.AA00417@cnext.crec.mipt.ru> In article <9512011109.AA00417@cnext.crec.mipt.ru> writes: :In article <49i99t$pcv@paladin.american.edu>, you wrote: :> I want to connect to a Novel 7 database. I go to New Model and :enter in my :> ID, password, host name. I have tried every combination I could :think of for :> server ID. When I click OK I get a beep. No connection try just a :quick beep :> when I click OK. Any suggestions? :> :> -- :> Torrey McMahon : :You gotta configure your server properly. What is Novel 7 database? :Is it Oracle 7 run on Novel? If this is the case please refer to :NeXTAnswer 1897. Sorry I meant an Oracle7 database. i also run Novell nets and...it leads to confuision sometimes. :I have similar problem (behavior) connecting to Oracle 7 on :NetWare. Server is configured allright. I can connect to in from :Windoza and telnet from NeXT. But when I use EOModeler nothing :happens. I checked with netstat, EOModeler doesn't even create :socket. What's going wrong? Could somebody help? : Then I guess we're in the same boat, so to speak. -- Torrey McMahon
Newsgroups: comp.sys.next.programmer From: dfevans@bbcr.uwaterloo.ca (David Evans) Subject: Re: sender? Sender: news@novice.uwaterloo.ca (Mr. News) Message-ID: <DJ4IG6.82z@novice.uwaterloo.ca> Date: Tue, 5 Dec 1995 17:12:06 GMT References: <49vfa8$322@opal.southwind.net> <DJ31Ix.L0x@novice.uwaterloo.ca> <4a1l1j$57m@mars.mcs.com> Organization: University of Waterloo In article <4a1l1j$57m@mars.mcs.com>, Peter Richardson <par@MCS.COM> wrote: >Just a little expansion on this. Usually, the sender is the IB object that >the connection was drawn from, like the text item or button. However if >you have a matrix of items (checkboxes, buttons...) and you draw the >connection from each different item in the matrix, the sender is the Matrix >not the Item. > Yeah--this got me for a while. :-) >The importance of the use of sender is that it is a standard for defining >those methods that the IB will be able to call. IB can only call methods >that take a single parameter, the "sender" > I generally use the "sender" standard in my own code as well; I don't always use it, but it's nice to have, if for nothing other than debugging (I can tell what class called me, etc.) -- David Evans (NeXTMail OK) dfevans@bbcr.uwaterloo.ca Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/ University of Waterloo "Default is the value selected by the composer Ontario, Canada overridden by your command." - Roland TR-707 Manual
From: Georgios.Kabitoglou@eikon.e-technik.tu-muenchen.de (Ioannis Kabitoglou) Newsgroups: comp.sys.next.programmer Subject: OpenStep and DLLs Date: 5 Dec 1995 20:56:08 GMT Organization: Leibniz-Rechenzentrum, Muenchen (Germany) Distribution: world Message-ID: <4a2bl8$41v@sparcserver.lrz-muenchen.de> Keywords: OpenStep DLL Hi, at the moment I am evaluating the possibility of using OpenStep for Windows95 in one of our industrial projects, and I would need some info about whether it would be possible for an OpenStep-App to access and use functions in an 16 Bit-DLL. If it is, what kind of mechanismus would be used? Thanks in advance for any help :-)
From: Pascal Forget Newsgroups: comp.sys.next.programmer Subject: Re: Scheme implementation for NeXT fIP ? (ANSWER) Date: 5 Dec 1995 22:19:46 GMT Organization: WSC Investment Services, Inc. Message-ID: <4a2gi3$be5@cerberus.wsc.com> References: <x7ka4gl0xb.fsf@ue801be.ue801be.ppp.lrz-muenchen.de> Gerald Wildgruber <gewil@ue801be.ppp.lrz-muenchen.de> writes, > has anyone heard of an implementation of Scheme on NeXT white > hardware (v.3.3)? There has been Schematik, a GUI for MIT Scheme, > but I think it has disappeared. I have successfully compiled libscheme on NS Intel 3.3. With libscheme you can interpret scheme code from within your own C or Objective-C programs, which makes it a very nice extension language. From the README: libscheme is a C library implementing Scheme as described in the Revised^4 Report on the Algorithmic Language Scheme. It is easily integrated into a C program as a command interpreter or extension langauge, and is easily extended in C with new primitive types, primitve functions and syntax. You can reach the author at: Brent.Benson@mail.csd.harris.com Best Regards, - Pascal
From: majordomo@singnet.com.sg Newsgroups: comp.sys.next.programmer Subject: * Free Newsletter on Passion & Romance * Date: 5 Dec 1995 22:31:55 GMT Organization: PassionFRUIT Distribution: world Message-ID: <4a2h8r$f34@lantana.singnet.com.sg> =================================================================== Introducing * PassionFRUIT * ... ... =================================================================== First Online Newsletter Dedicated to Passion & Romance ... ... Distributed Fortnightly FREE includes:- - how to meet your dream partner - how to get that all important first date - What to do on dates -- how to make your dates sizzle ... - how to keep your dates coming - how to build a deeper & more intimate relationship - how to make YOU an Attractive person & lots of other love tips 1 SIZZLING love tip per fortnightly issue - delivered to Your Mailbox FREE on 1st & 15th monthly! To subscribe, simply e-mail to majordomo@singnet.com.sg -- In the body/content, type SUBSCRIBE PASSIONFRUIT. It's as simple as that! * Serving the Network Community Since 1980 * -------------------------------------------------------------------
Newsgroups: comp.sys.next.programmer From: brianw@sounds.wa.com (Brian Willoughby) Subject: Re: Physical address of NVRAM in black hardware - anyone? Message-ID: <DJ55rJ.Bu9@sounds.wa.com> Organization: Sound Consulting, Bellevue, WA, USA References: <DJ2vKA.52G@sounds.wa.com> Date: Wed, 6 Dec 1995 01:35:42 GMT Since there was only one request that I post the answer here, I'll be brief. Refer to yesterday's article (see References:) for context. Any interested parties will find NDbootscreen.tar.Z at the following URL: http://ftp.cs.orst.edu/software/NeXT/submissions/NDbootscreen.tar.Z There is also NDbootscreen.README there - that should be all you need. It turns out that there were more people interested in this esoteric query than I expected. -- Brian Willoughby Software Design Engineer, BSEE from NCSU NeXTmail welcome Sound Consulting: Software Design and Development BrianW@SoundS.WA.com Bellevue, WA <http://nwlink.com/cyberartists/brianw/brianw.html>
Newsgroups: comp.sys.next.programmer,comp.lang.oberon,comp.object.logic,comp.lang.scheme,comp.lang.beta From: Bob Hathaway <75027.1663@compuserve.com> Subject: CALL FOR PAPERS - MAJOR NEW ONLINE OBJECT JOURNAL - SIGS/BOB HATHAWAY Message-ID: <DJ5Mr9.sq@midway.uchicago.edu> Summary: Object Oriented Technology on the WWW Keywords: WWW OO Object Oriented Journal Sender: news@midway.uchicago.edu (News Administrator) Organization: Object Currents Date: Wed, 6 Dec 1995 07:42:45 GMT CALL FOR PAPERS =============== OBJECT CURRENTS ONLINE HYPERTEXT JOURNAL NEW MONTHLY OBJECT-ORIENTED FORUM Editor: Bob Hathaway Publisher: SIGS Premier Issue: January 1996 Jan Articles Due: December 10 (3-5pp) Feb Articles Due: January 5 Submissions To: 75027.1663@compuserve.com w/attachments: rjh@geodesic.com ph: 312-327-2121 Bob Hathaway and SIGS are proud to announce Object Currents - the first significant hypermedia journal devoted to object-oriented technology. Object Currents will appear monthly. Object Currents' Policy and Contributors' Guidelines are included below and should be read in full prior to article submission. Articles may not have been previously published, but papers and articles on the net are welcome. Object Currents will present a complete new free journal with Departments, Columns, and Feature Articles, along with 8 to 10 *new* articles from SIGS' Journals - JOOP, ROAD, C++ Report, Object Magazine, Smalltalk Report, X Journal, etc. Advertisers' queries are most welcome. Send email for a discussion of honorarium (Authors' fees). Object Currents provides unique opportunities to authors, readers, and advertisers with WWW hypertext multimedia, such as access to home pages and databases, and in advanced object-oriented coverage. Object Currents' unique hypertext media provides for advances over earlier journals - links to home pages, sites, databases and information servers, interaction, graphics, code retrieval and execution, expanded pages, and video - and this superior medium should be exploited to its fullest possible extent. This not only presents a unique opportunity to authors and advertisers, but to Object Currents' readership as well. From the Guidelines below: Authors should capitalize on the unique multimedia and hypermedia nature of Object Currents, as Object Currents is the first significant WWW journal for software development. Hypermedia provides a unique opportunity for the innovation of superior articles and information systems technology. All forms of hypermedia links and multimedia are strongly encouraged in submissions including text, images, audio, video, and true interactivity. CGI bridges to external databases and information servers are also encouraged, although commercial uses will be judged along strict relevance criteria. [...] First priority is given to new and advanced topics of real importance to the object community, including applied research and development and new techniques and systems. Advanced topics and techniques include but are not limited to delegation languages, advanced programming techniques and idioms, advanced use of methodologies, reflective meta-systems, new visual systems, GUI and hypermedia, and new methods, processes, and metrics. New systems and their use include but are not limited to programming languages, CASE and meta-CASE, databases, operating systems, and distributed systems. All articles should have emphasis on new technology and their use, but can include the full range of traditional topics in object technology from analysis to design and implementation, research and theory to practical[...] Object Currents Issue Inventory: SIGS articles: 8 to 10 articles from current SIGS Publications per issue (JOOP, ROAD, Obj Mag., C++ Rpt, etc.) Object Currents Articles: 2 to 4 per issue. Columns: Several columns will appear from regular columnists on important topics. Newsgroup Dialog: Extrapolated subjects with commentary. Fun and Games: Puzzles to be picked up from the C++ Report and the net (Obfs. C++). Questionnaire: W/compiled results from last issue. SIGS Bookshelf: Book reviews and summary. Movers & Shakers: Interview or profile of object industry VIPs. Code Watch: Source code, from both SIGS journals and elsewhere, such as on the net. Editorial Comments: By both authors and readers are encouraged. This week in OT: Prepared by SIGS News Editor. Several columnists have already been selected including: Watts Humphrey: SEI Process Director, CMM & PSP Inventor Bertrand Meyer: Eiffel, Object-Oriented Design and Software Engineering David Shang: OO Programming Language Designer, Motorola Labs Francois Bancilhon: President, O2 Technology, Leading ODBMS Others to be announced... Articles for the Premier January issue are due by December 10, and January 5 for February. Good luck! Best Regards, Bob Hathaway OBJECT CURRENTS HYPERTEXT JOURNAL POLICY AND CONTRIBUTORS' GUIDELINES Editor: Bob Hathaway Publisher: SIGS Date: 12/6/1995 Copyright SIGS/Bob Hathaway 1995 Authors' Guidelines Object Currents presents the first significant hypermedia journal to provide developers and managers of object-oriented systems with a full range of articles covering the entire spectrum of object technology. Object Currents articles are accompanied by several articles from SIGS' journals, but are set apart by their "eye on the future" perspective. First priority is given to new and advanced topics of real importance to the object community, including applied research and development and new techniques and systems. Advanced topics and techniques include but are not limited to delegation languages, advanced programming techniques and idioms, advanced use of methodologies, reflective meta-systems, new visual systems, GUI and hypermedia, and new methods, processes, and metrics. New systems and their use include but are not limited to programming languages, CASE and meta-CASE, databases, operating systems, and distributed systems. All articles should have emphasis on new technology and their use, but can include the full range of traditional topics in object technology from analysis to design and implementation, research and theory to practical applications advice for real engineering and commercial environments, all relevant object-oriented programming languages, including but not limited to C++ and Smalltalk, and other relevant areas including interoperability to X Windows and GUI. Authors should capitalize on the unique multimedia and hypermedia nature of Object Currents, as Object Currents is the first significant WWW journal for software development. Hypermedia provides a unique opportunity for the innovation of superior articles and information systems technology. All forms of hypermedia links and multimedia are strongly encouraged in submissions including text, computation, images, audio, video, animation, and true interactivity. CGI bridges to external databases and information servers are also encouraged, although commercial uses will be judged along strict relevance criteria. Audience Object Currents' intended audience comprises all involved in and effected by object-oriented technique and technology, such as programmers, software engineers, systems and applications developers, progressive students, project leaders, managers, and users of object-oriented systems, with the purpose of providing more quick and effective acceptance and improvement of existing object practice, strategy, technology, and understanding. Vision A software development community utilizing the best known practice and experience of object-oriented technology. A hypermedia network supporting object-oriented technology transfer and the continual improvement of object technology with the ultimate aim of fostering continued progress within the software community. Mission To present the latest in object-oriented theory, practice, and experience in a way that is most immediately useful to the intended audience; and to encourage the highest levels of quality and excellence within the software development community through object technology - to achieve Object Currents' vision - through innovative use of the latest in hypermedia and multimedia technology. Objectives 1) To be the primary conveyance of object-oriented information, resource, technique, and technology. 2) To provide an exemplary hypermedia medium through Object Currents; to be a leader on the "Information Superhighway". Object Currents' authors should be innovative in the use of hypermedia in submissions. 3) To link Object Currents and the Official WWW/Internet Object-Oriented FAQ for the purpose of fulfilling Object Currents' vision and mission. 4) To provide a weekly online news service on new and important developments in object technology. 5) Contributors' Objective: To support successful widespread acceptance and growth of object technology by authoring Object Currents' articles and through use of multimedia and hypermedia composition. Editorial Outline and Features Contents Object Currents presents a full range of object-oriented articles pertaining to new and advanced object technology. This includes all areas from programming languages, methodologies, software engineering, breakthrough ideas, theory and experience from the software industry, and etc. Reviews of existing products, problem/solution papers. and other important areas from the object domain will also be considered. Format Html preferred, with creative use of multimedia and hypermedia strongly encouraged. Also Java and VRML. ASCII or Word RTF is also acceptable - Object Currents will provide html transformation. Send email for a list of freeware/shareware html tools, or visit www.sigs.com (late Dec '95) for links to popular sites. Frequency: 12 times/year. Issue Inventory: Feature articles: 8 to 10 articles from current SIGS Publications per issue. Object Currents Articles: 2 to 4 per issue. Columns: Several columns will appear from regular columnists on important topics. Newsgroup Dialog: Extrapolated subjects with commentary. Fun and Games: Puzzles to be picked up from the C++ Report and the net (Obfs. C++). Questionnaire: W/compiled results from last issue. SIGS Bookshelf: Book reviews and summary. Movers & Shakers: Interview or profile of object industry VIPs. Code Watch: Source code, from both SIGS journals and elsewhere, such as on the net. Editorial Comments: By both author and readers are encouraged. This week in OT: Prepared by SIGS News Editor. Articles (3 - 5 pages) All submitted articles must satisfy some genuine need in the software community with respect to object-oriented development, be highly informative and lucid, and be appropriate to the intended Object Currents audience. Articles containing new and advanced technology or method, with an "eye on the future" perspective, and making best use of hypermedia will receive highest priority. Article sections should be numbered. Articles must have a brief one or two paragraph abstract/summary. Recommended are sections on introduction/background, goals and audience, unique contribution, problems, benefits, issues and related works, conclusion, and acknowledgements and references, as appropriate. Diagrams and examples, including code fragments and complete programs, should be plentiful to exemplify concepts. Series (3-5 pages, 2-8 installments) A series is a collection of articles offering the author an opportunity to address a topic in great depth. The series may run from two to eight installments. Series should be clearly partitioned into subtopics. Column (2-3 pages) Columns are designed to provide an ongoing discussion of a topic area, offering the columnist an opportunity to cover a topic in great breadth over an extended period of time, and to track changes and trends in the topic area as the technology matures. Over time, the readers of a column should gain an appreciation for the approach and style of the columnist and be able to identify the people, companies, and products involved. Editorial comments by both the author and readers are encouraged. Newsgroup Dialog The editor will take a thread or threads from the comp.object newsgroup and provide commentary. Such threads may be started by the Editor and may be related to the current issue. Fun and Games Puzzles to be picked up from the C++ Report and the net. Puzzles can include obfuscated programming code, preferably from a well-known language, or any other sort. Questionnaire A questionnaire will appear in each issue raising questions of importance to the object community, typically concerning the issues raised by that issue. The results from the last questionnaire will appear in the next issue of Object Currents. SIGS Bookshelf (2-3 pages) Reviews of books, videos, and conferences. These should have the "eye on the future" perspective of Object Currents. A review should describe the purpose, content, and intended audience of the item and make critical comments on its accuracy and success in fulfilling its purpose. If appropriate, the author should comment on the suitability of the item for educational purposes. Movers & Shakers Interview or profile of object industry VIPs. An interview or profile should discuss the "movers" background, such as research interests, current line of work and primary contributions, primary work today, object of interview or profile, and conclusion. An "eye on the future" perspective should be maintained, including a discussion on where the "movers" contribution will bring the object community in the near future. Code Watch Source code will be provided at the SIGS site, possibly mirrored from another. This code may come from SIGS journals or anywhere, such as on the net. Editorial Comments Comments on the previous Object Currents issue, including other editorial comments, provides a means of feedback and interaction for both author and reader. Potential topic areas are enumerated below; this list is not exhaustive and creativity is encouraged. Topics should be drawn from new and advanced areas of object technology. SIGS topics are very similar, but Object Currents articles emphasize the latest and most advanced technology, how it should be incorporated today, and where it is leading tomorrow. Applications Authors should discuss how advanced object technology should be used to improve current practice. Successes and failures can provide valuable feedback on future directions and what to follow and what to avoid. How new or advanced techniques improve quality, productivity, or problem solving should be reported. Learning curves, obstacles and their removal, required support, metrics optimization, and other issues where improvement is needed in the software industry today should be addressed. Transitioning from old to new technology can be addressed. Example Topic Areas: - Advanced Applications - Modern Systems support - Visual programming, hypermedia, Java, VRML - Advanced OO frameworks, patterns, APIs, Libraries - Application portability, open systems, new standards Hypermedia The World Wide Web has been described as object-oriented. New approaches to hypermedia, especially the World Wide Web, are desired. Java, VRML, Python, and other new languages and systems are of interest. New and innovative use of the Web and/or hypermedia by object-oriented applications. Example Topic Areas: - The object-oriented WWW - Better approaches to hypermedia with object technology - Innovative use of hypermedia and the WWW by object-oriented applications - Innovative or novel use of new approaches, such as Java, Python, VRML. - Exemplary use of graphics, animation, or video. - New Standards - New Tool Support - OO VR, development, use - Integration with the Web, e.g. OODB, Systems, interfacing Idioms, Languages, Environments, and CASE More powerful and expressive idioms and techniques in object-oriented programming are desired. New languages and environments can be discussed, including research languages. New paradigms in OO, such as delegation, and new environments, such as metacase, are of importance today. Perhaps examine issues of power, flexibility, orthogonality, expressiveness, correctness, portability, availability, suitability, and style with an emphasis on modern use. Example Topic Areas: - New constructs in OO - Better approach or technology - New CASE and why it should be used in real development - New Idioms or advanced programming techniques to follow - Reflective systems and extensibility - Metasystems - Advanced use of polymorphism - Advanced uses of inheritance: multiple, dynamic, shared, etc. - Advanced reuse - theory and practice: - Efficiency/optimization vs. power expressiveness - New Standards Databases New developments and advanced topics in OODBs can be addressed. Where, when, and why a new technology is required. Reasons for transition to and acceptance of object databases including advantages (over older and/or other approaches) and new ideas should be presented. Example Topic Areas: - New OODB technology - New and novel uses of OODBs, such as for business objects - Distribution, concurrency, reliability, security - And WWW? - Advanced Languages Interfacing - Uses and Integration with other object systems - E.g. languages, CASE, business objects - New object query languages and use and 4GLs - Schema evolution and its importance/relationship to OOD. - Superiority of new OODB approaches over others - New standards and ideas Analysis And Design Methodology New techniques in analysis and design are always being devised. Older methods are evolving and fusing into newer methods. The need to utilize the new methodologies and how to best achieve their acceptance is of real importance today. Identifying future trends is of interest to readers. Comparisons between the new methodologies and what they imply, or at least why the new technique is superior. Example Topic Areas: - New and better methodologies and their use - Best or creative uses of OOA/D, perhaps in new application domains, such as business. - Most relevant domains of use, strengths and weaknesses - New techniques proven to be effective - CASE/METACASE support - Extensibility and reuse - Use in process - CMM/SPICE/Other approaches: standards, reviews, walkthroughs, JAD, RAD, Spiral Model, and etc. Modern practice and experience. - Improved cost drivers, moving effort upstream - New fusion efforts Process Software engineering processes are a hot topic today. The SEI's CMM level 1.0/2.0, ISO SPICE and the modern management practice of process improvement are of great relevance to today's software development. Discuss how object methodologies and technologies fit in with and better support modern software engineering processes, such as Boehm's Spiral Model of development. Example Topic Areas: - New and better development processes - how they relate to OO - OO's basis in modern and flexible processes, especially in analysis and design - Experience with modern process and OO - Handling the transition to modern from legacy processes, such as the waterfall model - Novel use of analysis models - Metrics and process - Process optimization - Process and methodology, suitability of various methods to various processes of development - Process specialization and generalization - what should be tailored and what should be standardized intra- and inter- organizationally. - Standards - ISO/SPICE, SEI, etc. Management - OD - Project Management - Testing Modern management theory and its application to OO development. TQM, CMM 2.0, SPICE, Baldridge, Deming and their relevance in todays markets. Best practices, world class standards, and productivity. Statistical control and process improvement. How do these relate to object technology and methodology? Modern learning theory and its application in education (at all levels) and practice. How OO affects or improves project management, planning and estimating, SCM, quality, and system evolution. Example Topic Areas: - TQM/CMM 2.0/SPICE/Baldridge/Deming applied to OO development. - Improved metrics: e.g., reduced cycle time, time to market, ROI, quality of life. - Effects of improvement efforts, including OO. - Introduction of new techniques and technologies, innovative approaches - Grass roots efforts at quality (stealth quality and SE?) - Instituting change with very modern technology and technique. - Staffing for new OO technology development - e.g. Boehm's 5 principles - Enterprise modeling and design, hypermodern techniques. - Dealing with user needs and expectations, early analysis. - New standards, Baldridge, ISO, etc. Education and Training How the new OO techniques are best taught and how training should be provided is of real importance today. One Level 5 organization provides 45 days training to all developers before starting, is this best? What are the alternatives? The need for improved education and training in both academia and industry, especially with regards to real-world development, is of importance. How should new OO techniques be taught or used in initial development efforts? Example Topic Areas: - Application of new learning techniques to object education; such as learning tools - Teaching/learning object technology - Experience reports - Transitioning from programming to object-oriented analysis, design, and programming - Learning curves. How long does it take to reach proficiency, or various levels of expertise at very modern techniques? Optimizing the learning curve. - Humphrey's PSP Contributors' Guidelines Object Currents Submissions All submissions must be sent directly to the Editor on diskette or via email. All articles are subject to peer review by the Editorial Board and selected members of the object community. Notification of acceptance and assignment to an issue will shortly follow the review process. All submissions are final; material will not be returned. Authors are required to assign copyright to SIGS publications. Copyright forms will be sent upon notification of acceptance. Special allowance can be made for submissions to reappear in future planned books. Style We request the following elements of style for all submissions: - Liberal use of WWW hypermedia facilities and multimedia are strongly encouraged. Object Currents provides a unique opportunity to present information in a superior way to readers, and this should be taken advantage of to the fullest extent possible. Make correct use of HTML (support is available). - Open articles with a few strong paragraphs to attract readers' attention. An introductory abstract is preferred. - Highlight possible pull-quotes. Keep pull-quotes in mind when writing. - No double returns, even after paragraphs. - Clearly mark major and minor subheads <1>, <2>, etc., if possible. - Use tabs instead of spaces for formatting tables, lists, code, etc. - Do not manually hyphenate; the page layout software will do this - Omit headers and footers. - Literature citations should be placed numerically in order of appearance at the end of the article; text citations should appear in parenthesis. - Charts or other graphics should be submitted in clear, reproducible hard copy, if possible. Format The preferred format for files is html in ASCII or Microsoft Word (V 6.0 or later preferred). Please note format clearly on diskette. Articles can be submitted in Word RTF or ASCII, to be placed in html by Object Currents. Media: Disks accepted: DOS 3.5" Email: RTF or ASCII files sent over Compuserve, 75027,1663 (75027.1663@compuserve.com). Submissions with attachments should be sent to rjh@geodesic.com. Contact Bob Hathaway, 75027.1663@compuserve.com, (312) 327-2121 (leave msg), with trouble on submissions. Alternate contact points are rjh@geodesic.com, and upon failure, lotech@inch.com. Manuscript Submission Schedule ISSUE: 1996 January - December 12 - Premier Issue February - January 5 March - February 1 April - February 23 May - March 23 June - April 23 July - May 23 August - June 23 September - July 23 October - August 23 November - September 23 December - October 23
From: majordomo@singnet.com.sg Newsgroups: comp.sys.next.programmer Subject: cancel: * Free Newsletter on Passion & Romance * Date: 5 Dec 1995 22:31:55 GMT Organization: PassionFRUIT Distribution: world Message-ID: <cancel.4a2h8r$f34@lantana.singnet.com.sg> Control: cancel <4a2h8r$f34@lantana.singnet.com.sg> Spam killing
From: Stefan Leuker <leuker> Newsgroups: comp.sys.next.programmer Subject: How to make DPS window the key window? Date: 6 Dec 1995 09:46:08 GMT Organization: RWTH -Aachen / Rechnerbetrieb Informatik Message-ID: <4a3op0$49h@news.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi there! Anyone of you know how to make a window that was created using the PSwindow command the NEXTSTEP key window? I want to get keystrokes using the DPSGetEvent command, but all keyboard input goes to another window on the screen (the key window, that is). PS: I am not using the appkit. So makeKey... isn't possible! Stefan -- (leuker@POOL.informatik.rwth-aachen.de)
From: dcoyle@goanna.mpi-hd.mpg.de (David A. Coyle) Newsgroups: comp.sys.next.programmer Subject: Group in ScrollView (IB) silliness Date: 6 Dec 1995 10:01:34 GMT Organization: University of Heidelberg, Germany Message-ID: <4a3plu$95v@sun0.urz.uni-heidelberg.de> I tried IB's Group in ScrollView function, and now have the following problems: 1) It's not possible to ctl-drag connect my custom view up to anything. (This can be worked around by connecting first and then grouping) 2), and more serious, my view (a subclass of MiscDragView) now is pathologically unable to receive events (mouse entered, moved, etc). Yes, I have implemented the responder methods (mouseEntered: etc...) ;-) I've tried [window makeFirstResponder:self], [window addToEventMask:NX...] and so on, to no effect. Telling the superview (ClipView) to set the doc cursor works, but that's all.... What extremely obvious thing have I overlooked? :-) Dave
From: meferg@digitalfoundry.com (Mark E. Ferguson) Newsgroups: comp.sys.next.programmer Subject: HELP...PDO PR2 under Windows NT Date: 6 Dec 1995 17:52:45 GMT Organization: The Digital Foundry, Inc Message-ID: <4a4l9e$8lj@news-2.csn.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII Hi All... I've been trying to build some code using the tools provided with PDO PR2 for Windows NT and have experienced a problem I hope you can help with. In some source directories I have no problem performing a make. In others I receive the following error: $make failed to spawn subshell [C://NextLibrary/Executables/sh] Invalid argument; errno=22 make[1]: *** [build_tools] Error 2 make: *** [library] Error 2 $ I'm using the Bourne Shell delivered in the PR2 release and have verified that sh is in the C:/NextLibrary/Executables directory. Since this is the same in the directories that I'm able to "make" properly, I'm at a real loss as to why I'm getting this problem. Can anyone help me on this one? Thanks a million in advance! Sincerely, Mark Ferguson meferg@digitalfoundry.com
Newsgroups: comp.sys.next.programmer From: klett002@maroon.tc.umn.edu (James P. Klett) Subject: EOF Adapter for MSSQL? Message-ID: <DJ6FM7.6C1@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: UofM Alumni Date: Wed, 6 Dec 1995 18:07:54 GMT I am wondering where the adapter for Microsoft's SQL Server is in the EOF package from NeXT. They say they have one specifically for MS SQL, but I only have one for Sybase and Oracle. Is there a package I havn't installed or do I need to just use SYBASE which I have been using, but it doesn't seem 100% right. Thanks, JIM ___ ___....-----'---'-----....___ ========================================= ___'---..._______...---'___ (___) _|_|_|_ (___) \\____.-'_.---._'-.____// klett002@maroon.tc.umn.edu
From: filip@filtronix.eunet.be (Filip Lingier) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep and DLLs Date: 6 Dec 1995 20:31:58 GMT Organization: Filtronix Inc. Distribution: world Message-ID: <4a4uju$9d@andromeda.filtronix.eunet.be> References: <4a2bl8$41v@sparcserver.lrz-muenchen.de> In article <4a2bl8$41v@sparcserver.lrz-muenchen.de> Georgios.Kabitoglou@eikon.e-technik.tu-muenchen.de (Ioannis Kabitoglou) writes: > at the moment I am evaluating the possibility of using OpenStep > for Windows95 in one of our industrial projects, and I would need > some info about whether it would be possible for an OpenStep-App > to access and use functions in an 16 Bit-DLL. If it is, what kind > of mechanismus would be used? You should ask this to the guys/girls at NeXT. Besides the handfull of alpha-testers outside of NeXT are they the only ones that can answer your question. The rest of us has to wait until the PR1 in Q1. Filip -- ---------------------------- FILTRONIX ----------------------------- Software Development Consultancy HTML Design info@filtronix.eunet.be
From: akira@interaccess.com (Doug McClure) Newsgroups: comp.sys.next.programmer Subject: NXTableView and NXEditableFormatters Date: 6 Dec 1995 22:08:47 GMT Organization: InterAccess, Chicago's best Internet Service Provider Message-ID: <4a549f$peu@nntp.interaccess.com> I've been trying to use a NXTableView from EOF to store information that the user can edit directly through the table view. The NXEditableFormatter class is supposedly responsible for the editing of a cells information. I want to be able to control the information that is being put in the cell, like no blank cells. NXEditableFormatter has three delegate methods that I want to use: formatterWillChangeValueFor:at:sender: formatterWillChangeValueFor:at:to:sender: formatterDidChangeValueFor:at:to:sender: Theoretically, these methods should allow me to make sure that the cells information is the way I want it before it is actually saved. However, I can't get any of these methods to be called. I setup the delegate for each formmatter for each column in the table view, and checked it in gdb. All the connections look fine, however, they just never get called. Maybe these methods aren't called when I think they are, but that doesn't make sense. From what I've read, they should be called once the user has entered information into a cell and typed return. Has anyone worked with this view enough to know how to get these methods to work? -doug
From: mmuni@plato.sky.bdm.com Newsgroups: comp.sys.next.programmer Subject: EOF Server 1.1 on HP-UNIX. Date: 6 Dec 1995 21:04:53 GMT Organization: BDM International, Inc. Message-ID: <4a50hl$p56@news.mcl.bdm.com> Keywords: EOF Need Help with EOF Server 1.1 on HP-UNIX. Scenario: We have installed PDO and EOF Server on HP-UNIX; Tto test EOF Server, I generated a Project file using Project Builder on a NextStep system running on Intel Machine; The Project was generated in as Tool. I have copied the code on to the HP-UNIX Machine and set the CC as gcc and added the path variable to look for gcc which comes with PDO, and EOF Server. I also make use of the gcc-make (/NextDeveloper/bin/make) on HP-UNIX while I make my project; and I get the following link error. This same example compiles fine in NextStep by adding the NeXT_p lib, but I don't have the same lib on HP NextDeveloper. Thanks -------- mmuni#258[~/Projects/Try]: /NextDe*/bin/make make: Entering directory `/users/mmuni/Projects/Try' make[1]: Entering directory `/users/mmuni/Projects/Try' gcc -Wall -O -I./sym -ObjC -o ./Try ./hppa1.1-nextpdo-hpux_obj/NTry_main.o -lEOAccess -lFoundation /bin/ld: Unsatisfied symbols: modf (code) collect2: ld returned 1 exit status make[1]: *** [Try] Error 1 make[1]: Leaving directory `/users/mmuni/Projects/Try' make: *** [tool] Error 1 make: Leaving directory `/users/mmuni/Projects/Try' mmuni#259[~/Projects/Try]: Follwoing is the Code and Makefile(s). ******** Codei: NTry_main.m ******** /* Generated by the NeXT Project Builder NOTE: Do NOT change this file -- Project Builder maintains it. */ #import <stdio.h> #import <foundation/NSObject.h> #import <foundation/NSString.h> #import <eoaccess/EOModel.h> #import <eoaccess/EODatabase.h> #import <eoaccess/EODatabaseContext.h> #import <eoaccess/EODatabaseChannel.h> void main(int argc, char *argv[]) { NSString *modelPath ; EOModel *myModel ; EODatabase *myDatabase ; EODatabaseContext *myContext ; EODatabaseChannel *myChannel ; // instantiate and initialize a model. modelPath = [EOModel findPathForModelNamed:@"PDSSDEV"] ; myModel = [[EOModel alloc] initWithContextsOfFile: modelPath] ; printf("I'm running on HP-UX\n") ; } **** Makefile **** # # Generated by the NeXT Project Builder. # # NOTE: Do NOT change this file -- Project Builder maintains it. # # Put all of your customizations in files called Makefile.preamble # and Makefile.postamble (both optional), and Makefile will include them. # NAME = Try PROJECTVERSION = 1.1 LANGUAGE = English MFILES = NTry_main.m OTHERSRCS = Makefile.preamble Makefile Makefile.postamble MAKEFILEDIR = /NextDeveloper/Makefiles/app MAKEFILE = tool.make INSTALLDIR = $(HOME)/bin INSTALLFLAGS = -c -s -m 755 SOURCEMODE = 444 LIBS = -lEOAccess -lFoundation DEBUG_LIBS = $(LIBS) PROF_LIBS = $(LIBS) -include Makefile.preamble include $(MAKEFILEDIR)/$(MAKEFILE) -include Makefile.postamble -include Makefile.dependencies **** Makefile.preamble ****
### # NeXT Makefile.preamble Template # Copyright 1993, NeXT Computer, Inc. # # This Makefile is used for configuring the standard app makefiles associated # with ProjectBuilder. # # Use this template to set attributes for a project, sub-project, bundle, or # palette. Each node in the project's tree of sub-projects and bundles # should have it's own Makefile.preamble and Makefile.postamble. # ############################################################################ ### ## Configure the flags passed to $(CC) here. These flags will also be ## inherited by all nested sub-projects and bundles. Put your -I, -D, -U, and ## -L flags here. To change the default flags that get passed to ${CC} ## (e.g. change -O to -O2), see Makefile.postamble. # Flags passed to compiler (in addition to -g, -O, etc) OTHER_CFLAGS = # Flags passed to ld (in addition to -ObjC, etc.) OTHER_LDFLAGS = BUNDLELDFLAGS = # use iff project is a bundle PALETTELDFLAGS = # use iff project is a palette ## Specify which headers in this project should be published to the outside ## world in a flat header directory given in PUBLIC_HEADER_DIR (which will be ## prepended by DSTROOT, below. Any subset of these public headers can be ## precompiled automatically after installation, with extra user-defined flags. PUBLIC_HEADER_DIR = PUBLIC_HEADERS = PUBLIC_PRECOMPILED_HEADERS = PUBLIC_PRECOMPILED_HEADERS_CFLAGS = ## Configure what is linked in at each level here. Libraries are only used in ## the final 'app' linking step. Final 'app' linking is only done via the ## 'app', 'debug', and 'profile' targets when they are invoked for ## the top-level app. # Additional relocatables to be linked in at this level OTHER_OFILES = # Additional libs to link apps against ('app' target) OTHER_LIBS = # Additional libs to link apps against ('debug' target) OTHER_DEBUG_LIBS = # Additional libs to link apps against ('profile' target) OTHER_PROF_LIBS = # More 'app' libraries when $(JAPANESE) = "YES" OTHER_JAPANESE_LIBS = # More 'debug' libraries when $(JAPANESE) = "YES" OTHER_JAPANESE_DEBUG_LIBS = # More 'profile' libs when $(JAPANESE) = "YES" OTHER_JAPANESE_PROF_LIBS = # If this is a bundle, and you *know* the enclosing application will not # be linking with a library which you require in your bundle code, then # mention it here so that it gets linked into the bundle. Note that this # is wasteful but sometimes necessary. BUNDLE_LIBS = ## Configure how things get built here. Additional dependencies, sourcefiles, ## derived files, and build order should be specified here. # Other dependencies of this project OTHER_PRODUCT_DEPENDS = # Built *before* building subprojects/bundles OTHER_INITIAL_TARGETS = # Other source files maintained by .pre/postamble OTHER_SOURCEFILES = # Additional files to be removed by `make clean' OTHER_GARBAGE = # Precompiled headers to be built before any compilation occurs (e.g., draw.p) PRECOMPS = # Targets to be built before installation OTHER_INSTALL_DEPENDS = # A virtual root directory (other than /) to be prepended to the $(INSTALLDIR) # passed from ProjectBuilder. DSTROOT = # Set the following to "YES" if you want the old behavior of recursively # cleaning all nested subprojects during 'make clean'. CLEAN_ALL_SUBPROJECTS = ## Add more obscure source files here to cause them to be automatically ## processed by the appropriate tool. Note that these files should also be ## added to "Supporting Files" in ProjectBuilder. The desired .o files that ## result from these files should also be added to OTHER_OFILES above so they ## will be linked in. # .msg files that should have msgwrap run on them MSGFILES = # .defs files that should have mig run on them DEFSFILES = # .mig files (no .defs files) that should have mig run on them MIGFILES = ## Add additional Help directories here (add them to the project as "Other ## Resources" in Project Builder) so that they will be compressed into .store ## files and copied into the app wrapper. If the help directories themselves ## need to also be in the app wrapper, then a cp command will need to be added ## in an after_install target. OTHER_HELP_DIRS = # Don't add more rules here unless you want the first one to be the default # target for make! Put all your targets in Makefile.postamble. **** Makefile.postamble ****
### # NeXT Makefile.postamble Template # Copyright 1993, NeXT Computer, Inc. # # This Makefile is used for configuring the standard app makefiles associated # with ProjectBuilder. # # Use this template to set attributes for a project, sub-project, bundle, or # palette. Each node in the project's tree of sub-projects and bundles # should have it's own Makefile.preamble and Makefile.postamble. Additional # rules (e.g., after_install) that are defined by the developer should be # defined in this file. # ############################################################################ ### # # Here are the variables exported by the common "app" makefiles that can be # used in any customizations you make to the template below: # # PRODUCT_ROOT - Name of top-level app-wrapper (e.g., Webster.app) # OFILE_DIR - Directory into which .o object files are generated. # (Note that this name is calculated based on the target # architectures specified in Project Builder). # DERIVED_SRC_DIR - Directory used for all other derived files # ALL_CFLAGS - All the flags passed to the cc(1) driver for compilations # # NAME - name of application, bundle, subproject, palette, etc. # LANGUAGE - langage in which the project is written (default "English") # ENGLISH - boolean flag set iff $(LANGUAGE) = "English" # JAPANESE - boolean flag set iff $(LANGUAGE) = "Japanese" # LOCAL_RESOURCES - localized resources (e.g. nib's, images) of project # GLOBAL_RESOURCES - non-localized resources of project # PROJECTVERSION - version of ProjectBuilder that output Makefile # APPICON - application icon file # DOCICONS - dock icon files # ICONSECTIONS - Specifies icon sections when linking executable # # CLASSES - Class implementation files in project. # HFILES - Header files in project. # MFILES - Other Objective-C source files in project. # CFILES - Other C source files in project. # PSWFILES - .psw files in the project # PSWMFILES - .pswm files in the project # SUBPROJECTS - Subprojects of this project # BUNDLES - Bundle subprojects of this project # OTHERSRCS - Other miscellaneous sources of this project # OTHERLINKED - Source files not matching a standard source extention # # LIBS - Libraries to link with when making app target # DEBUG_LIBS - Libraries to link with when making debug target # PROF_LIBS - Libraries to link with when making profile target # OTHERLINKEDOFILES - Other relocatable files to (always) link in. # # APP_MAKEFILE_DIR - Directory in which to find generic set of Makefiles # MAKEFILEDIR - Directory in which to find $(MAKEFILE) # MAKEFILE - Top level mechanism Makefile (e.g., app.make, bundle.make) # INSTALLDIR - Directory app will be installed into by 'install' target # Change defaults assumed by the standard app makefiles here. Edit the # following default values as appropriate. (Note that if no Makefile.postamble # exists, these values will have defaults set in common.make). # Add Makefile.preamble, Makefile.postamble, and Makefile.dependencies here if # you would like changes to them to invalidate previous builds. The project # depends on $(MAKEFILES) so that changes to Makefiles will trigger a re-build. #MAKEFILES = Makefile # Optimization flag passed to compiler: #OPTIMIZATION_CFLAG = -O # Flags always passed to compiler: #COMMON_CFLAGS = $(PROJECT_SPECIFIC_CFLAGS) -g -Wall # Flags passed to compiler in normal 'app' compiles: #NORMAL_CFLAGS = $(COMMON_CFLAGS) $(OPTIMIZATION_CFLAG) # Flags passed to compiler in 'debug' compiles: #DEBUG_CFLAGS = $(COMMON_CFLAGS) -DDEBUG # Flags passed to compiler in 'profile' compiles #PROFILE_CFLAGS = $(COMMON_CFLAGS) -pg $(OPTIMIZATION_CFLAG) -DPROFILE # Flags passed to yacc #YFLAGS = -d # Ownership and permissions of files installed by 'install' target #INSTALL_AS_USER = root # User to chown app to #INSTALL_AS_GROUP = wheel # Group to chgrp app to #INSTALL_PERMISSIONS = # If set, 'install' chmod's executable to this # Options to strip for bundles, apps with bundles, and apps without bundles, # respectively. #RELOCATABLE_STRIP_OPTS = -x -u #DYLD_APP_STRIP_OPTS = -A -n #APP_STRIP_OPTS = #TOOL_STRIP_OPTS = #LIBRARY_STRIP_OPTS = -x -S # Note: -S strips debugging symbols # (Note: APP_STRIP_OPTS and TOOL_STRIP_OPTS default to empty, but # developers doing their own dynamic loading should set this to # $(DYLD_APP_STRIP_OPTS)).
# Put rules to extend the behavior of the standard Makefiles here. Typical # user-defined rules are before_install and after_install (please don't # redefine things like install or app, as they are owned by the top-level # Makefile API), which are rules that get invoked before and after the install # target runs. Such rules should be specified with the '::' syntax rather than # a single colon.
Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer,comp.sys.next.misc From: Fabien_Roy@free.fdn.org Subject: EOF: multiple declarations for method `endEditing' Message-ID: <1995Dec7.005259.3295@free.fdn.org> Sender: news@free.fdn.org Organization: Fabien Roy Consultant, Paris, France Date: Thu, 7 Dec 1995 00:52:59 GMT How to get rid of this warning? This message arise when I started to use the method -endEditing to force an update on an NXTableview. BTW the program seems to work. Prog.m:203: warning: multiple declarations for method `endEditing' /NextDeveloper/Headers/eointerface/EOController.h: In function `endEditing': /NextDeveloper/Headers/eointerface/EOController.h:197: warning: using `-(void)endEditing' /NextDeveloper/Headers/eointerface/NXEditableFormatter.h: In function `endEditing': /NextDeveloper/Headers/eointerface/NXEditableFormatter.h:69: warning: also found `-(BOOL)endEditing' /NextDeveloper/Headers/eointerface/NXTableView.h: In function `endEditing': /NextDeveloper/Headers/eointerface/NXTableView.h:166: warning: also found `-endEditing' Fabien -- --------------------------------------------------------------------- Fabien_Roy@free.fdn.org (NextMail/MIME accepted) Fabien Roy Consultant NEXTSTEP/OPENSTEP/EOF Consultant, SYBASE DBA 10 rue de la DEFENSE 93100 MONTREUIL, France Tel: 33 1 45 28 32 23 Fax: 33 1 48 55 09 90
From: johnz@shellx.best.com (John Zollinger) Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer,comp.sys.next.misc Subject: Re: EOF: multiple declarations for method `endEditing' Followup-To: comp.sys.next.bugs,comp.sys.next.programmer,comp.sys.next.misc Date: 6 Dec 1995 19:15:02 -0800 Organization: Best Internet Communications Message-ID: <4a5m7m$7jn@shellx.best.com> References: <1995Dec7.005259.3295@free.fdn.org> Fabien_Roy@free.fdn.org wrote: : How to get rid of this warning? : This message arise when I started to use the method -endEditing to force an : update on an NXTableview. : BTW the program seems to work. : Prog.m:203: warning: multiple declarations for method `endEditing' : /NextDeveloper/Headers/eointerface/EOController.h: In function `endEditing': : /NextDeveloper/Headers/eointerface/EOController.h:197: warning: using : `-(void)endEditing' : /NextDeveloper/Headers/eointerface/NXEditableFormatter.h: In function : `endEditing': : /NextDeveloper/Headers/eointerface/NXEditableFormatter.h:69: warning: also : found `-(BOOL)endEditing' : /NextDeveloper/Headers/eointerface/NXTableView.h: In function `endEditing': : /NextDeveloper/Headers/eointerface/NXTableView.h:166: warning: also found : `-endEditing' Because the object you are sending the 'endEditing' method to is of type 'id' (so you can hook it up in IB), and the compiler finds multiple objects that have that method, it just picks one that it thinks you mean. It is easy to fix. Just type cast the object when you use it. Like so: [(NXTableView *)myTableView endEditing]; Then it will know what object you mean, and the warning will go away. This is a good way to do things anyway, so that the compiler can tell you if you screw something up. But, then I'm the type that makes sure my compiles have no warnings so that when one shows up, it catches my attention. Good luck, John Zollinger ProActive Consulting, Inc. proactiv@sunrem.com
From: kjz@wsfh105 (Peter Kohut) Newsgroups: comp.sys.next.programmer Subject: Q: 3 (unrelated) Questions Date: 7 Dec 1995 07:38:38 GMT Organization: Union Bank of Switzerland Message-ID: <4a65lu$kvr@ubszh.fh.zh.ubs.com> I'm stucked with the following 3 problems : 1) Where does the InterfaceBuilder has his preferences saved ? I have installed some Palettes (from the MiscKit) and one of them has screwed up the prog. (it reports something like "NXStringReadOnly: does not respond to - replaceWith" and then quits). 2) Is there an EASY way to give a subprocess access to a view in a main window without confusing DPS ? So far, I tried the usual cthread stuff, but, without creating an new view within the thread I was unable to write in an already existing view. 3) Just for learning purposes I want to use the DBKit and the DBModeler but I don't have a fullfledge Oracle or Sybase database system (.. for what anyway ? I have a standalone pc). I tried mSQL (which seems to be a very good prog) but there was no Adaptor around. Because I just started to investigate the NeXT system a little bit more in detail, I'm not the guy (yet) who is able to develop all the needed drivers or whatever one needs for such stuff. Therefore I'm looking for some Freeware/Shareware or very cheap commercial database (relational or object-oriented) packages which can be used for building small applications (with corresponding Adaptor and so on). I very appreciate any help, which can lead me somehow through the jungle of NeXTstep programming. -Peter-
From: paulus@nextdown.pe.utexas.edu (Paulus Adisoemarta) Newsgroups: comp.sys.next.programmer Subject: IPIP encap daemon ? Date: 7 Dec 1995 03:01:36 GMT Organization: Petroleum and Geosystem Engineering, U of Texas at Austin, Austin TX Distribution: world Message-ID: <4a5leg$mor@brazos.pe.utexas.edu> has anybody ported the IPIP encap daemon to NeXTstep ? thanks, Paulus -- Paulus Suryono Adisoemarta, N5SNN / YG1QN yono@parokinet.org n5snn@mail.utexas.edu paulus@nextdown.pe.utexas.edu
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.sys.next.programmer Subject: Re: Problem with "`variable' may be used uninitialized" warning Date: 2 Dec 1995 16:17:41 GMT Organization: Genoa Software Systems Message-ID: <49pu75$3iq@saturn.genoa.com> References: <49cqn9$64e@news.its.com> <DIsxo9.rC@euler.hnv.icem.de> <49n8e5$akl@papoose.quick.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In <49n8e5$akl@papoose.quick.com> James E. Quick wrote: > If your code compiles under -Wall with no warnings, it is clean. Oh, if only this were really true... -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
Newsgroups: comp.sys.next.programmer From: root@music.gla.ac.uk Subject: libmidi.a for Intel ??? Message-ID: <DJ7wnD.59A@udcf.gla.ac.uk> Keywords: midi next lib library Sender: news@udcf.gla.ac.uk (News) Organization: Glasgow University Computing Service Date: Thu, 7 Dec 1995 13:11:36 GMT Trying to compile csound FAT with midi support. Compiler complains: ld: for architecture i386 ld: warning /usr/local/lib/libmidi.a archive's cputype (6, architecture m68k) does not match cputype (7) for specified -arch flag: i386 (can't load from it) ld: Undefined symbols: _midi_set_owner _midi_error _midi_get_out_timer_port _midi_get_recv _midi_set_sys_ignores _midi_set_proto _midi_get_data _midi_timer_error _timer_start _midi_reply_handler *** Exit 1 Stop. The orst archive contains an updated midi driver and libs, but even these appear to be for motorola only (using otool.app to check). Am I missing something? Do these exist for Intel? Or has this library been superceded in some way by something... ? Thanks for any help (I know I could cut the MIDI part of csound out altogether, but I would rather solve the problem). Stephen Brandon _____________________________________________________ Systems Administator, Department of Music, e-mail: sbrandon@music.gla.ac.uk 14 University Gardens, (NeXT mail welcomed) University of Glasgow, Tel: +44 (0)141 330 6065 Glasgow. Fax: +44 (0)141 307 8018
From: Matija Exel <exel@lag.ensieg.fr> Newsgroups: comp.sys.next.programmer Subject: Re: Help: missing images in a bundle project Date: 7 Dec 1995 14:14:42 GMT Organization: E.N.S.I.E.G./Service Informatique et L.A.G. Message-ID: <4a6ssi$nlt@cicg-communication.grenet.fr> References: <4a1sup$flc@cicg-communication.grenet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit well, i'm back, having found the answer finally... so, for the benefit of other beginners: - the images not LOCAL to a nib file within a project of type bundle are not automatically accessible from an application importing the bundle. I am using these images as boutons' icons to get them without coding within windows. -- the solution: import (drop) these images within the Images suitcase (I am under NS3.2) of a nib's file window and choose "create LOCAL image" when asked by the "Deposit image" alert panel. - also to note: when viewing the images in a nib's file window, you cannot immediately know whether an image is local to the nib: you have to check the corresponding PB's images suitcase - if it's not there, then it is local to the nib. matija ----------------------------------------------------------------- Matija Exel, E.N.S.I.E.G., Service Informatique et L.A.G., Tel : 76 82 71 12 Fax: 76 82 63 88 e-mail : exel@lag.ensieg.fr (NO NextMail please) -----------------------------------------------------------------
From: pisul_cj@cowley.uwlax.edu (Charles Pisula S92) Newsgroups: comp.sys.next.programmer Subject: A Question about Key Down Events Date: 7 Dec 1995 20:26:38 GMT Organization: University of Wisconsin - La Crosse Message-ID: <4a7ilu$i60@alfred.acs.uwlax.edu> Hi all, I have some friends who are writting a pin-ball game on NS. They came to me with a problem and I can't seem to find the answer (although I can make some HACKS around their problem). The problem is as follows: - The movement of the flippers is controlled by the mouse. There is a nasty initial delay in the key-repeat rate which is determined by Preferences.app. Is there a way to programmatically set the repeat rate a certain responder wishes to use, or do you just have to fake continuous actions by mucking around with - peekAndGetNextEvent. Anyone who has tackled this problem before, I would appreciate some insight. Thank you, -- Chuck ------------------------------------------------- Steve Jobs quote From UnixWorld, April 1993 "If we give people an alternative to Microsoft... it will have been a greater good." ------------------------------------------------- ***
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: help links Message-ID: <DJ8J08.334@hurka.UUCP> Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) Date: Thu, 7 Dec 1995 21:14:32 GMT Hi All, does anybody know, how to handle the help links in the Text object? Something similar the Edit.app does. -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Text window with hole ? Date: 8 Dec 1995 08:08:07 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <4a8rp7$639@opal.southwind.net> Well the tiltle says it all I want to create a set of text/graphics windows that have holes in them filled by other text and graphics windows. basically the I need to track the mouse and change the editing procdures as I move from window to window and making holy (holey ?) windows seemed to be the slickest answer. Its similar to Nexts buttons but there overlay on the underlying window and square. I want mine to be able to assume any border shape if possible. Like the round pie chart in gator ftp but much more dynamic. The question is how? Mike
From: em@marcon.de Newsgroups: comp.sys.next.programmer Subject: Re: EOF Adapter for MSSQL? Date: 8 Dec 1995 10:01:10 GMT Organization: MARCON - Evstathios Marinos Consulting, Karlsruhe/Germany Message-ID: <4a92d7$ocs@marcon.marcon.de> References: <DJ6FM7.6C1@news.cis.umn.edu> In EOF Adapter for MSSQL? comp.sys.next.programmer <ArticleDisplayer: 0x9f234> writes, > I am wondering where the adapter for Microsoft's SQL Server is in the EOF > package from NeXT. > > They say they have one specifically for MS SQL, but I only have one > for Sybase and Oracle. Is there a package I havn't installed or > do I need to just use SYBASE which I have been using, but it > doesn't seem 100% right. > > > Thanks, JIM The standard Sybase EOF Adaptor shipped with EOF 1.1 workes with MS SQL Server 6.0. I didn't tested all functionality, but I hadn't any problems fetching, inserting, updating or deleting records. Stathis -- MARCON - Evstathios Marinos Consulting Evstathios Marinos | Phone : +49 721 37 71 78 Gartenstr. 2 | Fax : +49 721 37 71 79 76133 Karlsruhe (GERMANY) | E-Mail: em@marcon.de
Newsgroups: comp.sys.next.programmer From: stef@ziomm.fdn.org (Stephan Mertz) Subject: Problem using a horizontal NXTableView Message-ID: <1995Dec8.084312.454@ziomm.fdn.org> Keywords: EOF Sender: stef@ziomm.fdn.org Date: Fri, 8 Dec 1995 08:43:12 GMT Hi, I am using a horizontal NXTableView in my App and configure it following these steps: . [nxTableView setRowHeadingVisible:YES] . [nxTableView setColumnHeadingVisible:NO] . and some addRow:withTitle: The NXTableView looks right in the gui, but his behaviour remains like a vertical NXTableView: When i click on a cell, a row highlights not the column, and the tab key shifts the selected cell horizontally not vertically. Are there some workarounds to reverse his behaviour? Thanks. -- Stephan Mertz Tel/fax: [33] 88 44 47 25 NEXTSTEP Developer e-Mail: stef@ziomm.fdn.org 55, rue de Mulhouse (small NeXTmail accepted) 67100 Strasbourg FRANCE
From: Jeff Dekelver <dekelver@vnet.ibm.com> Newsgroups: comp.sys.next.programmer Subject: Re: sender? Date: Fri, 08 Dec 1995 09:54:45 -0600 Organization: IBM Rochester MN Message-ID: <30C85FC5.41C6@vnet.ibm.com> References: <49vfa8$322@opal.southwind.net> <DJ31Ix.L0x@novice.uwaterloo.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit In article <49vfa8$322@opal.southwind.net>, Michael Emmel <mike@hobbs.chem.usu.edu> wrote: > > >I've tried to find documentation on sender. >Its often used for links to Next objects. > >My question is is sender actually a keyword in Nexts Objective C ? >Does it provide the runtime isa of the instance ? > >For some reason I can't find the anything describing sender in the docs or >header files. > The sender is just an id that 'points' to the object that called it. Example: object A calls object B, and passes self as the parameter. object B then has an id that references object A. [objA callit:self]; -callit:sender { [sender updateScreen:... etc...]; return self; } Once you have an id that references the object that called it, you can do a lot of useful things. Example: A button calls a method when it get pressed, and sends self as the parameter. The method then can access the button through the sender id, and tell the button to change the text on itself. Just a top of the head example, I'm sure that you could come up with many other ways of using the sender id. -- Jeff DeKelver dekelver@vnet.ibm.com dekelver@cslab.uwlax.edu (for NeXT Mail)
From: sven.hennig@wiesbaden.netsurf.de (Sven Hennig) Newsgroups: comp.sys.next.programmer Subject: ---Please Read This--- Date: Fri, 08 Dec 1995 12:34:15 GMT Organization: Vistec GmbH Message-ID: <4a9ble$i6m@luna.vistec.com> Hi, I just wanted to give you the chance to earn some money in a very easy way.A friend of mine turned me on a company called Intercall Marketing, which offers a nice, uncomplicated way to get some more cash, just by callingthem and advertising a bit. The number of the company is 011-24-831-831 (if you're calling from the USA, in other countries it's (i think) ++248-313131). The call has a fee of $1.50, so I think (hope) this isn't to expensive for the possibility to get some more money. Now I'll try to explain how it works: After calling the number a recording gives you deatiled informationon what to to next. After a brief description you will be asked to enter a six digit account number of the person that gave you this number, and this should be my account number. It is -3 8 0 4 9 9- (this one is mine) and then you can start to earn big money for nearly doing nothing. To explain a little how it works, when you type in my account number, the computer will give you you're own account number and a personal PIN Number for your use only. Then it will record name and address for future accounting needs, i.e. payments. Here is where the money comes from: For every call made to this number, intercall receives $1.50. 50 Cents go to the account number you first typed in. But of course, now as you've got you're own account, you'll want people to call and type in your account number right away ! And I think, with the help of all the networking systems around, it won't be a problem to reach many people. Up to now its nothing special, BUT IT GETS EVEN BETTER. You not only make 50 cents from the first people who call using your number but also when they get people to call using their number you get another 25 Cents from them, plus another 25 cents from the people they get to call. So that means you get paid 3 Levels deep, which could amount to some serious $$$. An example: If you get 100 people to call (by advertising in the net, or in the local news papers), then you get 50$. If these people, let's say get another 50 people to call, it's already $1,250. But the third Level is the most important one(so you should perhaps hurry a bit), because if these people get 25 people each, that means that you'll get exactly $31,250 (just imagine, if every Level would get 100 people, you would get $ 250.000). Some good cash for nearly doing nothing, isn't it ? If you're wondering why Intercall does this, realize that they get 50 Cents for every call. 1st Level=$0.50, 2nd Level=$0.25, 3rd Level=$0.25 => $1.00. Remember that they'll get $1.50 for each call, so that leaves 50 cents per call. I normally dont try this things out. But it's (IMHO) not possible to loose much money, and just paying $1.50 for calling, and then perhaps getting much more cash, it's not too bad ? But now I stop trying to convince you. You have to decide if this possibility of earning cash is worth $1.50. Thank you very much for reading, i hope it didn'T bother you. C ya Sven H. ----------------Sven Hennig---------------- ------------Zum Kohlwaldfeld 2a------------ -------------D-65817 Eppstein------------- ------------Tel. ++49-6198-9218------------ ------------Data ++49-6198-9208------------ -E-Mail: sven.hennig@wiesbaden.netsurf.de-
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: Re: Unremovable cell image Date: 8 Dec 1995 16:57:10 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <4a9qp6$r4f@hippo.shef.ac.uk> I have asked the same question before, i.e., I have a matrix of action cell class called "matrixCell" which cannot remove some of the unused icons from screen. I have implemented some of the suggestions given by many people (thank you) and it still don't work, this time I wish to show the code, and hope that someone can spot my mistake. /* File : Controller.m --- inherit from "Object" class Instant variable id window -- connect to the main window id matrixCell -- connected to the matrixCell class, however -- I did't use "group scrollview" to group -- that matrix view. int lastSelectedCol -- the selected column number before -- user select the next one */ - appDidInit { ...... lastSelectedCol = 0; ...... } - renewMatrixCell { int cells; if (autoSynchronize) { cells = lastSelectedCol + 1; [matrixCell renewRows: 1 cols : cells]; [matrixCell sizeToCells]; [matrixCell selectCellAt: 0 :cells - 1]; [matrixcell update]; } return self; } - setAutoSynchronize: (BOOL) flag { autoSynchronize = flag; return self; } - iconSelected: sender // sender - from matrixCell class's mouseDown method { [self setAutoSynchronize: NO]; [window disableFlushWindow]; [matrixCell setAutodisplay: NO]; [self setLastColumn]; [self setAutoSynchronize: YES]; [self renewMatrixCell]; [[matrixCell setAutodisplay: YES] displayIfNeeded] ; [[window reenableFlushWindow] flushWindow]; return self; } - setLastColumn { id iconCells = [[List alloc] init]; int i = ([matrixCell selectedCol]); // user newly selected column while (i++ < lastSelectedCol) [iconCells addObject: [matrixCell cellAt: 0 :i]]; lastSelectedCol = [matrixCell selectedCol]; i = [iconCells count]; while (i--) [[iconCells objectAt: i] setDelegate: nil]; [iconCells free]; return self; } What my problem is, supposing we have 4 icons on the main window now, and the 4th icon is highlighted, if I clicks on the 2nd icon, I want the 2nd icon to be highlighted and the 3rd and 4th icon to be removed from the main window. Unfortunally, everytime when I do this, the 3rd and 4th icons are still appear on the screen, however, if I "RESIZE" the main window, they gone immediately and this proves that I have successfully remove 3rd & 4th icon's delegate away, but for some reason, they are still there. I think I did not "flush" the window properly, because "window" here is not the instance variable "window" of matrixCell. I did try [[matrixCell window] disableFlushWindow]; [[[matrixCell window] reenableFlushWindow] flushWindow]; and [[[[matrixCell window] makeFirstResponder] reenableFlushWindow] flushWindow]; but still cannot remove the 3rd and 4th icon. Your help will be much appreciated. Thanks Cheers, C.Yap
Newsgroups: comp.sys.next.programmer From: klett002@maroon.tc.umn.edu (James P. Klett) Subject: Re: EOF Adapter for MSSQL? Message-ID: <DJA95s.D4o@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Organization: UofM Alumni References: <DJ6FM7.6C1@news.cis.umn.edu> <4a92d7$ocs@marcon.marcon.de> Date: Fri, 8 Dec 1995 19:36:29 GMT In article <4a92d7$ocs@marcon.marcon.de>, em@marcon.de wrote: >Xref: news6.cis.umn.edu comp.sys.next.programmer:24000 >Path: umn.edu!spool.mu.edu!howland.reston.ans.net!blackbush.xlink.net!marcon.de!news >From: em@marcon.de>Newsgroups: comp.sys.next.programmer >Subject: Re: EOF Adapter for MSSQL? >Date: 8 Dec 1995 10:01:10 GMT >Organization: MARCON - Evstathios Marinos Consulting, Karlsruhe/Germany >Lines: 22 >Message-ID: <4a92d7$ocs@marcon.marcon.de> >References: <DJ6FM7.6C1@news.cis.umn.edu> >Reply-To: em@marcon.de >NNTP-Posting-Host: bianca.marcon.de >X-Newsreader: Kiwi [version .09] >Status: N > >In EOF Adapter for MSSQL? comp.sys.next.programmer <ArticleDisplayer: 0x9f234> writes, > >> I am wondering where the adapter for Microsoft's SQL Server is in the EOF >> package from NeXT. >> >> They say they have one specifically for MS SQL, but I only have one >> for Sybase and Oracle. Is there a package I havn't installed or >> do I need to just use SYBASE which I have been using, but it >> doesn't seem 100% right. >> >> >> Thanks, JIM > >The standard Sybase EOF Adaptor shipped with EOF 1.1 workes with MS SQL Server 6.0. I didn't tested all functionality, but I hadn't any problems fetching, inserting, updating or deleting records. > >Stathis The problem I am experiencing is that the Adapter does not recognize primary keys from the server. I have to manually assign them in EOModeler which is ok i guess, but it makes me wonder what else might be wrong? JIM ___ ___....-----'---'-----....___ ========================================= ___'---..._______...---'___ (___) _|_|_|_ (___) \\____.-'_.---._'-.____// klett002@maroon.tc.umn.edu
Newsgroups: comp.sys.next.programmer Control: cancel <4a9ble$i6m@luna.vistec.com> From: sven.hennig@wiesbaden.netsurf.de (Sven Hennig) Subject: cancel: ---Please Read This--- Organization: Vistec GmbH Message-ID: <cancel.4a9ble$i6m@luna.vistec.com> Date: Fri, 8 Dec 1995 19:31:34 GMT Cleaning up spam from luna.vistec.com.
From: Craig Benting <craig@fse-power.com> Newsgroups: comp.sys.next.programmer Subject: NeXTStep C Compiler Date: Fri, 08 Dec 1995 15:50:06 -0800 Organization: Aimnet Information Services Message-ID: <30C8CF2E.2D39@fse-power.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I got NS 3.3 for my Pentium system about a week ago mainly so I could get some basic experience in C programming in a UNIX environment and I was also interested in doing some advanced 3D graphic design (all of this without spending TOO much money). But, I assumed that NeXTStep (like all the other UNIX OS's) came with a basic C compiler like 'cc' on the R/S 6000. Am I just too new to NeXTStep to FIND the C compiler (I'd feel REALLY stupid if this were the case) or is it really true that the only way I can do C programming on NeXTStep is to get NeXT's Developer Upgrade (and pay $5000???)? I tried to download and use gcc v2.6 but I have to have a C compiler in the first place to compile gcc before I use it, right? HELP, I feel like I'm running around in circles! :-(
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <zander@cnext.crec.mipt.ru> Message-ID: <9512090254.AA00968@cnext.crec.mipt.ru> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Aleksey Sudakov <zander@cnext.crec.mipt.ru> Date: Sat, 9 Dec 95 05:54:48 +0300 Subject: [Q]:MiscINETAddress & MiscINETSocket Hello, I tried to contact Chris Kane but didn't got any reply. I am having a problem using MiscINETSocket. The problem is that instead of response from server I -receiveData:length: a screwed message I've sent to it. I guess the problem is a result of reading in separate thread. Could someone tell me is: "Is MiscINETSocket multithread safe?" Thanks in advance, Aleksey _________________________________________________________________ Aleksey Sudakov 1A-1 Kerchenskaya Street Moscow 113303,Russia. ________________________________________________________________ Office: (095)408-6641 Home: (095)121-6100 + 3-45, (095)121-0561 + 3-45 EMail: zander@cnext.crec.mipt.ru (NeXTMail & MIME are OK) WWW: http://www.crec.mipt.ru/~zander/
From: andrew.abernathy@mccaw.com (Andrew Abernathy) Newsgroups: comp.sys.next.programmer Subject: hideOtherApplications problem (Workspace request protocol) Date: 9 Dec 1995 03:22:07 GMT Organization: AT&T Wireless Services, Inc. Message-ID: <4aavcv$i5e@nwestmail.nwest.mccaw.com> Has anyone else had reason to attempt to use "hideOtherApplications" from the Workspace request protocol? I'm trying to use it, and it flat out doesn't seem to work. I got as simple as a small window with a button, the button sending a message to my controller object, which consists of nothing other than one method. Looks like: - hideOthers:sender { [[Application workspace] hideOtherApplications]; return self; } I build, run, and press the button, but nothing happens. I've confirmed that I get the Workspace object (an NXWorkspaceRequestProxy), and I send it the "hideOtherApplications" message with no problems. (Void return value, so that doesn't provide any clues.) Any ideas? Can anyone confirm either that it truly is broken or that I'm somehow overlooking something seriously obvious? This is on black hardware running 3.3, and on white hardware running 3.2. -- Any similarities between my views and those of AT&T are purely coincidental. andrew.abernathy@attws.com, AT&T Wireless Services NeXTmail, MIME, MSMail, and SunMail in a pinch 14335 Northeast 24th Street, Bldg B, Bellevue, WA 98007, U.S.A.
From: pbrown@asparagus.berkeley.edu (Paul Robert Brown) Newsgroups: comp.sys.next.programmer Subject: GNU runtime for NeXT black? Date: 9 Dec 1995 06:05:08 GMT Organization: U.C. Berkeley Math. Department. Message-ID: <4ab8uk$m04@agate.berkeley.edu> Hello. I downloaded the GNU C libraries (glibc1.09, libg++2.7.1, libobjects-0.1.3) and attempted to compile them on my NeXT black running 3.2. No luck, even with the proper config choices for the C++ and objective C libraries. Has anyone successfully compiled the lib's? I'm using gcc2.7.2, and I am doing the basics like using GNUmake, etc. My interest is in being able to properly compile X windows applications and other software that is expecting the GNU libraries. (eg., NeXT seems to be missing _strdup). I'm somewhat new to this, so I will humbly accept any suggestions offered. Thanks in advance. Paul
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: Re: NXTableView and NXEditableFormatters Message-ID: <DJBy6J.q2@hurka.UUCP> Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <4a549f$peu@nntp.interaccess.com> Date: Sat, 9 Dec 1995 17:35:07 GMT In article <4a549f$peu@nntp.interaccess.com> akira@interaccess.com (Doug McClure) writes: [...] > formatterWillChangeValueFor:at:sender: > formatterWillChangeValueFor:at:to:sender: > formatterDidChangeValueFor:at:to:sender: > > Theoretically, these methods should allow me to make sure that the cells > information is the way I want it before it is actually saved. > > However, I can't get any of these methods to be called. I setup > the delegate for each formmatter for each column in the table > view, and checked it in gdb. All the connections look fine, > however, they just never get called. Maybe these methods aren't > called when I think they are, but that doesn't make sense. From > what I've read, they should be called once the user has entered > information into a cell and typed return. > > Has anyone worked with this view enough to know how to get these > methods to work? Yes, it works for me. I am using - (BOOL)formatterWillChangeValueFor:indetifier at:index sender:formatter without any problems. Bye, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
From: dalpen@JSP.UMontreal.CA (DALPE Nathalie) Newsgroups: comp.sys.next.programmer Subject: Asm translator Date: 9 Dec 1995 01:10:39 GMT Organization: Universite de Montreal Distribution: world Message-ID: <4aanmf$45v@epervier.CC.UMontreal.CA> Is there a program that can translate assembler source generated by gcc for 680xx (MIT format) to traditional Motoral syntax ? It's kind of painful to do it by hand ... :-( Thank you, Francois Lanciault
From: vazquezr@physics.ucla.edu (Rick Vazquez) Newsgroups: comp.sys.next.programmer Subject: gcc Date: 9 Dec 1995 21:37:21 GMT Organization: University of California, Los Angeles Message-ID: <4acvih$pg6@saba.info.ucla.edu> Does anyone have gcc for the NeXT(X-windows)? There a few programs I would like to compile. I have Cub'X and when I try to compile I get an error telling me I need gcc. Rick UCLA Physics
From: jim77@freenet.asg.com (James Pratt) Newsgroups: comp.sys.next.programmer Subject: Where in Canada? Date: 9 Dec 1995 11:31:25 GMT Organization: Grand Rapids Free-Net Message-ID: <4abs2d$ct8@newsserv.grfn.org> A good friend who is the director of a programming firm in Kiev, Ukraine will soon have the opportunity to immigrate to Canada. I am posing this question for him here since his internet connections to the usenet are impossible. He asks, which city in Canada would be the best choice to live in if programming business opportunities are the number one selection factor? Please respond to him directly if you can help this man. Thank you! oleg@trion.kiev.ua
From: tuparev@EMBL-Heidelberg.DE (Georg Tuparev) Newsgroups: comp.sys.next.programmer Subject: Re: Q: 3 (unrelated) Questions Date: 10 Dec 1995 11:45:29 GMT Organization: University of Heidelberg, Germany Message-ID: <4aeh8p$s0e@sun0.urz.uni-heidelberg.de> References: <4a65lu$kvr@ubszh.fh.zh.ubs.com> In article <4a65lu$kvr@ubszh.fh.zh.ubs.com> kjz@wsfh105 (Peter Kohut) writes: > I'm stucked with the following 3 problems : > > 1) Where does the InterfaceBuilder has his preferences saved ? I have > installed some Palettes (from the MiscKit) and one of them has screwed up > the prog. (it reports something like "NXStringReadOnly: does not respond to > - replaceWith" and then quits). ~/.NeXT/defaults.nibd > 2) Is there an EASY way to give a subprocess access to a view in a main > window without confusing DPS ? So far, I tried the usual cthread stuff, but, > without creating an new view within the thread I was unable to write in an > already existing view. What do you mean saying "subprocess"? But in general, AppKit is NOT thread safe and it's a real pain (but possible) to focus the drawing operations from different threads to a single view. > 3) Just for learning purposes I want to use the DBKit and the DBModeler but > I don't have a fullfledge Oracle or Sybase database system (.. for what > anyway ? I have a standalone pc). I tried mSQL (which seems to be a very > good prog) but there was no Adaptor around. Because I just started to > investigate the NeXT system a little bit more in detail, I'm not the guy > (yet) who is able to develop all the needed drivers or whatever one needs > for such stuff. Therefore I'm looking for some Freeware/Shareware or very > cheap commercial database (relational or object-oriented) packages which can > be used for building small applications (with corresponding Adaptor and so > on). - Do not use DBKit! Use EOF instead; - There are adaptors for miniSQL: ftp://ftp.nmr.embl-heidelberg.de/pub/next/Database/Adatpors/..... -- Georg Tuparev EMBL / Protein Design Phone: +49 - 6221 - 387524 Meyerhofstr. 1 FAX: +49 - 6221 - 387517 D-69117 Heidelberg Germany Tuparev@EMBL-Heidelberg.de (NeXT-mail)
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: NeXTStep C Compiler Date: 10 Dec 1995 18:40:44 GMT Organization: Information Technology Solutions, Inc. Message-ID: <4af9jc$3mn@news.its.com> References: <30C8CF2E.2D39@fse-power.com> Craig Benting <craig@fse-power.com> wrote: > I got NS 3.3 for my Pentium system about a week ago mainly so I > could get some basic experience in C programming in a UNIX > environment and I was also interested in doing some advanced 3D > graphic design (all of this without spending TOO much money). But, > I assumed that NeXTStep (like all the other UNIX OS's) came with a > basic C compiler like 'cc' on the R/S 6000. The base 'cc' compiler that some Unix systems used to ship with was normally a deliberately crippled version that was only intended was use when building a new kernel. > Am I just too new to NeXTStep to FIND the C compiler (I'd feel REALLY > stupid if this were the case) or is it really true that the only way I > can do C programming on NeXTStep is to get NeXT's Developer Upgrade (and > pay $5000???)? It's really true that the only way you can do C programming under NEXTSTEP is to purchase NS/Developer. > I tried to download and use gcc v2.6 but I have to have > a C compiler in the first place to compile gcc before I use it, > right? HELP, I feel like I'm running around in circles! :-( Actually, you can even get some pre-compiled versions of the compiler from various FTP sites, but just the compiler won't get you anywhere without the header files and libraries (and documentation). -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 11 Dec 1995 05:15:09 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <4ageot$9sd@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 200+ ISV company pages - 400+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://nova.cc.purdue.edu: Lots of older stuff ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
From: Joey Coyle <u22878@uicvm.uic.edu> Newsgroups: comp.sys.next.programmer Subject: Indexing Kit Guru needed. Date: 11 Dec 1995 07:42:18 GMT Organization: University of Illinois at Chicago Message-ID: <4agncq$1fkq@tigger.cc.uic.edu> Basically, I need to go through a directory of files and move the ten oldest files to a different directory. Thanks Joey Coyle u22878@uicvm.uic.edu
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <ocs@ms.mff.cuni.cz> Message-ID: <199512110544.AA13017@ns.ms.mff.cuni.cz> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Ondra Cada <ocs@ms.mff.cuni.cz> Date: Mon, 11 Dec 95 06:16:37 +0100 Subject: sound: listening with zero priority Organization: OCSoftware Hullo, is there somebody who understand the SoundKit well? So as to prepare my voice control system I'd need to record continually, while allowing other tasks to play - even on PC's with the stupid one-DMA cards. Help please! I had prepared the receiving subproject using standard NXRecordStream, but it locks the sound device so that nobody can play anything (understandably, with only one DMA). IMHO there should be a way to automatically interrupt the recording when _any_ task wants to play, and resume it as soon as the playing is done. Is it? In this particular case my software don't need even be informed that the recording is temporarily suppressed; it would be perfecly sufficient if simply the soundStream:didRecordData:size:forBuffer: meesage (or its equivalent at other software level) is not sent while somebody is playing. --- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK
From: mikecam@unixg.ubc.ca (Michael C. Cam) Newsgroups: comp.sys.next.programmer Subject: Re: I'm giving up on Model-View-Controller Date: 11 Dec 1995 08:56:14 GMT Organization: The University of British Columbia Distribution: world Message-ID: <4agrne$95h@nntp.ucs.ubc.ca> References: <498rrr$igq@saturn.genoa.com> In article <498rrr$igq@saturn.genoa.com> Alex Blakemore <alex@genoa.com> writes: > In <489629906wnr@hps1.demon.co.uk> Andy Robinson wrote: > > I've adhered as closely as I can to the MVC paradigm. ... but > > I'm wondering if I'd be better to just bin it. > > It occurs to me that the most natural way to go ahead would be > > to have my 'business objects' linked quite tightly to UI objects. > > > Are there any problems in such an approach? > > YES, there are serious problems with such a approach. > This is the voice of bloodied experience in this case. > > If your business objects are tightly tied to the GUI, they cannot be reused > in several other contexts. For instance, in a batch or command line program > or a back end server app. Or in a batch test driver. Or in an app that has > a different kind of GUI. > > Do you really want to repeat all your testing by hand each time? > > For instance, if your model objects can stand alone, untied to any > particular type of interface, you can build multiple front ends, say one for > WebObjects, one for OpenStep, even X, curses, or command line ones. You > can also reuse your business objects in other contexts and other apps more > easily. > > Don't mix them up. Your business objects shouldn't even know their > controller's exist. > > Another warning sign is putting up alert panels inside model objects to > report errors. > Don't do it. Use exceptions or another way to report the error to the caller > and let the caller decide what to do about it (put up a panel, beep, log to > a file etc) > Its a little more work, but much more flexible (and thus reusable). > Totally agree. I programmed for a while not knowing this concept of model-view-control but after about a year I started doing it wihtout even knowing it and am not turning back. It simply came upon as a much better way of doing things. > > Thus ... I could send it [a customer object] > > messages like '[myCustomer runDialog:self] > > and it would pop up the appropiate kind of panel for > > setting its attributes etc. This would then let me build > > fairly sophisticated views where a double-click on a line > > of text representing an object would result in a panel > > being run, without the UI needing to know what kind of > > object it was being sent to. > > If you think about it, you can get the same effects without violating the > "separation of concerns" principle. For instance, you can use protocols, > categories, delegation, exceptions and notification in several different > ways to add object specific UI behavior, but still keep the model objects > separable from a specific UI. > > > And what is the cleanest way to give my business objects > > access to the IB objects it needs? > > Don't give them direct access to the GUI. just don't. Use a controller of > some sort. > > Good luck. > > -- > Alex Blakemore > alex@genoa.com NeXT, MIME and ASCII mail accepted I currently separate my objects as follows: The main object encompasses all the behaviour of what I am trying to model. This is where you have to be careful and ask yourself is anything I put in here other than what the object essentially is? Try to be a minimalist and leave in only what is required to get basic functionality out of it. Then I have a parallel object called the controller object. This is used to set the attributes of my object and call it to do certain tasks, etc. In most cases this object is created specifically for the main object but can be used for several sub/super classes of that object. This object knows how your main object works and knows the types of view objects that will be used to access your main object. I also subclass this object in parallel with my main object The other end is a view object and this is what the user sees, and interacts with. This is where the appkit classes focus on. Using Nextstep you probably won't have to write any of your own custom view objects. These objects, through the services of your control object, are used to view your main object and also change it. Note that in some cases objects will only sometimes need a controller and view. Put yourself in the thinking that it won't need a controller or view and create it with this assumption. Then add the other stuff as a separate object as you need it. Your control object takes values from your main object and updates the view object (as in the case of REVERT or SHOW VALUES). Your control object can also take values from the view object and update your main object (as in the case of OK or ACCEPT VALUES). Keep this in mind and you will be on your way to creating objects with model-view-control paradigm with fewer obstacles along the way. ..Mike. ___________________________________________________________________ | | | ___ ^ ... /\ BEAUTIFUL | | _|_::| ___o '|`^ .. o_ . .. /\ / \ BRITISH | | |:::|:| \ \, ^ '|`|` (`_|/____') / / /\ COLUMBIA | | |:::|:| (o)/ (o) '|`'|`|`` ,,/ . ... . .. / \ | |-------------------------------------------------------------------| | Michael C. Cam E-MAIL (NeXT & MIME) PHONE 604-263-7609 | | Open Object Solutions mikecam@unixg.ubc.ca FAX 604-263-7609 | |___________________________________________________________________|
Newsgroups: comp.sys.next.programmer From: jpanico@netcom.com (Joe Panico) Subject: Re: EOF Adapter for MSSQL? Message-ID: <jpanicoDJFB3p.58G@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) References: <DJ6FM7.6C1@news.cis.umn.edu> <4a92d7$ocs@marcon.marcon.de> <DJA95s.D4o@news.cis.umn.edu> Date: Mon, 11 Dec 1995 13:07:01 GMT Sender: jpanico@netcom8.netcom.com : The problem I am experiencing is that the Adapter does not recognize : primary keys from the server. I have to manually assign them in : EOModeler which is ok i guess, but it makes me wonder what else : might be wrong? This is probably not a bug, but a feature ;). EOModeler probably has no way of tracking, in a server independent fashion, what the servers idea of a primary key is. The Oracle adaptor will not recognize primary key constraints from the server either. : JIM : ___ : ___....-----'---'-----....___ : ========================================= : ___'---..._______...---'___ : (___) _|_|_|_ (___) : \\____.-'_.---._'-.____// klett002@maroon.tc.umn.edu -- Joe Panico NeXTStep/OpenStep Developer BLaCKSMITH Inc. jpanico@netcom.com /* Please no NeXTMail, I can't read it at this address */
From: Bruno.Bienfait@EROS.CCC.uni-erlangen.de (Bruno Bienfait) Newsgroups: comp.sys.next.programmer Subject: Problem with DJGPP (gcc crosscompiler to DOS) Date: 11 Dec 1995 13:45:56 GMT Organization: Regionales Rechenzentrum Erlangen, Germany Message-ID: <4ahcmk$jb3@rznews.rrze.uni-erlangen.de> I am using this program : "Djgpp is a DOS port of gcc, it is hosted under DOS (actually under a DOS extender) and produces executables that run under DOS (well, the extender again). This is simply a "port" of djgpp that hosts it under NeXTSTEP (m68k or i386) and yet still produces executables that run under DOS." I am using it to port relatively small c programs. My problem is that the exe program crashes the PC when it returns to DOS. This happens with different programs checked with purify on a Sun. Has anyone similar problem and eventually a solution ? Thanks, Bruno ------------------------------------------------ Bruno.Bienfait@EROS.CCC.Uni-Erlangen.de http://schiele.organik.uni-erlangen.de/Bruno_Bienfait/home.html http://schiele.organik.uni-erlangen.de/Bruno_Bienfait/HotPostscript.html ------------------------------------------------
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: creating classes at runtime Date: 11 Dec 1995 16:58:32 GMT Organization: Information Technology Solutions, Inc. Message-ID: <4ahnvo$5ql@news.its.com> References: <49qc19$nc0@lace.colorado.edu> gmecchia@cc.colorado.edu wrote: > is it possible in Objective-C to create classes at runtime without > recompiling? i.e., is there something like a "metaclass" object of > which an instance can be created and attributes and selectors added or > attached to it? Yes to both questions. The low level interface is controlled by functions like objc_addClass(), objc_getMetaClass(), and so forth. However, it's easier to work at a higher level and dynamicly load bundles. If you wish to add new classes to the runtime, and you should examine Categories (or even class_poseAs() or [class1 poseAs:class2]; if you wish to change the way certain classes behave. If you wanted to go truly crazy, you could even have your program spit out source code to soemwhere in /tmp or some such, fork() and run the compiler on this dynamicly generated source code, and then dynamicly load in these new classes. > Are there any publications available on such a topic for any programming > language/environment? /NextLibrary/Documentation/NextDev/GeneralRef/15_RunTime/Functions/RunTimeF unctions.rtf -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
Newsgroups: comp.sys.next.programmer From: p25231@email.mot.com Subject: backspace key with rlogin doesn't work Organization: MOTOROLA Distribution: usa Date: Mon, 11 Dec 1995 16:13:16 GMT Message-ID: <1995Dec11.161316.8537@schbbs.mot.com> Sender: news@schbbs.mot.com (SCHBBS News Account) When I rlogin from my Next to a Sun work station, my backspace key no longer works. Ctrl-h works as a backspace key, but I was wondering if there is anything I can do on my Next or Sun account to retain my backspace key? - Thanks, Mark p25231@email.next.com
From: dave@turbocat.snafu.de (David Wetzel) Newsgroups: comp.sys.next.hardware,comp.sys.next.programmer,comp.sys.next.software Subject: Re: NEx000 driver source code needed Date: 9 Dec 1995 18:28:56 GMT Organization: Turbocat's Development, Germany Message-ID: <4ackh8$b3@turbocat.snafu.de> References: <1995Dec5.115123.7265@free.fdn.org> Fabien_Roy@free.fdn.org wrote: > I know it was derived from a LINUX driver and I want to add support for the > cheap PCI NE2000 compatible ethernet cards. > > Fabien Look at an ftp.netbsd.org mirror site. I guess, the NetBSD code is easier to port than the Linux stuff. (Linux is System V) (NetBSD 1.1 is the current Version) _ _ _(_)(_)_ David Wetzel, Turbocat's Development, (_) __ (_) Buchhorster Strasse, D-16567 Muehlenbeck/Berlin, FRG, _/ \_ Phone +49 33056 82151, Fax +49 33056 82152 (______) dave@turbocat.snafu.de (NeXTMail)
From: "Dorothy M. Golde" <qcchp@interaccess.com> Newsgroups: comp.sys.next.programmer Subject: US - CHICAGO, Il. NeXTSTEP Opportunities Date: 11 Dec 1995 21:00:40 GMT Organization: QCC Message-ID: <4ai65o$2la@nntp.interaccess.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Currently we are engaged in a major project in Chicago. We are now going to phase II which will include interfacing NeXTSTEP and Unix to a Tandem System. Anyone with NeXTSTEP and Unix experience willing to take on a major challenge we would be interested in talking with you. Please contact me directly as follows: Dorothy Golde QCC Inc. 708-736-1656 phone 708-736-1654 fax qcchp@interaccess.com e-mail Thank you, I look forward to hearing from you soon.
From: s9510225@bf.rmit.edu.au (Louis Lai) Newsgroups: comp.sys.next.programmer Subject: Programmers' behavior & needs survey Date: 12 Dec 1995 05:57:08 GMT Organization: Royal Melbourne Institute of Technology, Melbourne, Australia. Message-ID: <4aj5jk$p44@aggedor.rmit.EDU.AU> NNTP-Posting-User: s9510225 Software development provides some of business's most lurid horror stories. Stories of projects only one-third finished but already costing double or triple their budgets are common. So are stories of projects that were outrageously late and those that never work at all. There are many views to this problem. "The major problems of our work are not so much technological as sociological in nature. Most managers are willing to concede the idea that they've got more people worries than technical worries. But they seldom manage that way." -- DeMarco & Lister: Peopleware(1987) "Many programmers and analysts have complained to me that their work holds no meaning to them... [They] stay on the job, draw the salary, and bad-mouth their employers at every safe opportunity." -- Weinberg: Understanding the Professional Programmer(1988) "While the software [programmers] develop becomes increasingly sophisticated, relations between programmer and manager remain shockingly primitive." -- Licker: The Art of Managing Software Dev. People(1985) "[Programmers are] arrogance's born in a belief of rectitude and superiority, and [are] ignorance's born in a blindness to shortcomings." -- O'Brien: Software Production Management(1992) Whatever the reasons are, there's a need to understand the programmers themselves. The aim of this research is to elicit information on the needs and behavior of software programmers. Information that will, hopefully, better managers in managing these professionals. If you are working or have worked as a professional programmer, please take 15 to 20 minutes to answer the following questionnaire. This questionnaire is in: http://www.bf.rmit.edu.au/~s9510225/ The results will be posted at this location also. I like to thank in advance to those who participated in this survey. Your contribution will surely advance the knowledge in this field. Thank you. Yours sincerely, Louis Lai, s9510225@bf.rmit.edu.au Faculty of Business, Royal Melbourne Institute of Technology, Australia.
From: mgm@holodeck3 (Mark G. Mendel) Newsgroups: comp.sys.next.programmer Subject: Bundles for Mail.app Date: 8 Dec 1995 20:10:38 GMT Organization: Integrity Solutions, Inc. Message-ID: <4aa63u$6fp@medusa.is.com> Keywords: bundle, nextstep, mail Can someone point me to documentation on how one writes bundles for Mail.app, like the URLifier? -- Mark Mendel, mgm@is.com
From: cedman@capitalist.princeton.edu (Carl Edman) Newsgroups: comp.sys.next.programmer Subject: Re: Bundles for Mail.app Date: 12 Dec 1995 14:30:29 GMT Organization: Princeton University Message-ID: <4ak3m5$lq9@cnn.Princeton.EDU> References: <4aa63u$6fp@medusa.is.com> Keywords: bundle, nextstep, mail In article <4aa63u$6fp@medusa.is.com>, Mark G. Mendel <mgm@holodeck3> wrote: > Can someone point me to documentation on how one writes bundles for > Mail.app, like the URLifier? To the best of my knowledge there is no general publicly available documentation of the interface. To write EnhanceMail I had to reverse-engineer Mail.app (for which class-dump and gdb were invaluable). If you want to write a bundle today it would probably be easier to start from EnhanceMail rather than doing all the work from scratch. In particular if you only want one small feature added, this can often be done by adding just a few lines to EnhanceMail and I'd be happy to include those in future releases of EnhanceMail. Carl Edman
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: Unremovable cell image ver 3 Date: 12 Dec 1995 18:58:11 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <4akjc3$nmv@hippo.shef.ac.uk> Thank you for everyone who has help me on this issue. I have solved the problem by sending my main window [window display] to cause all its subviews to redisplay instead of sending [window flushWindow] Just a conceptual question, can anyone tell me what are the differences between "display" and "flushWindow" method ? It seems like "flushWindow" method does not cause those "dirty" views to redraw themselves, especially when those views are made of a matrix of cells. Although I have solved the problem but I am still a little bit confused. Thank you. C.Yap
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: Continue Unremovable Cell image 3 Date: 12 Dec 1995 19:08:35 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <4akjvj$p6s@hippo.shef.ac.uk> Also, can I know under what circumstances I should use "display" and what circumstances I should use "flushWindow". Thank again... C.Yap
From: <> Newsgroups: comp.sys.next.programmer Subject: DB 2 EOF adaptor ??? Date: 12 Dec 1995 19:43:00 GMT Organization: Internet Systems Ltd Message-ID: <4akm04$4qh@bronwyn.isl.com> Hi all, anyone used or heard of a reliable DB/2 eof? Thanks in advance. djames@isl.com
From: nextjet@ids.net Newsgroups: comp.sys.next.programmer Subject: 21' megapixel with pci macs????? Date: Tue, 12 Dec 95 16:04:02 +500 Organization: IDS World Network Internet Access Service, (800)IDS-1680 Message-ID: <4akqoc$bct@paperboy.ids.net> need web address for company that makes pci cards thta allow next monitors to work with powermacs thanks in advance. german gobel.
Newsgroups: comp.sys.next.programmer From: gerald@kurt.in-berlin.de (Gerald Erdmann) Subject: Re: sound: listening with zero priority Message-ID: <1995Dec12.213837.4347@kurt.in-berlin.de> Sender: news@kurt.in-berlin.de References: <199512110544.AA13017@ns.ms.mff.cuni.cz> Date: Tue, 12 Dec 1995 21:38:37 GMT Ondra Cada <ocs@ms.mff.cuni.cz> wrote: > Hullo, > > is there somebody who understand the SoundKit well? So as to > prepare my voice control system I'd need to record continually, > while allowing other tasks to play - even on PC's with the stupid > one-DMA cards. Help please! > > I had prepared the receiving subproject using standard > NXRecordStream, but it locks the sound device so that nobody can > play anything (understandably, with only one DMA). IMHO there should > be a way to automatically interrupt the recording when _any_ task > wants to play, and resume it as soon as the playing is done. Is it? I know the SoundKit very well but I don't think it's possible. > In this particular case my software don't need even be informed > that the recording is temporarily suppressed; it would be perfecly > sufficient if simply the soundStream:didRecordData:size:forBuffer: > meesage (or its equivalent at other software level) is not sent > while somebody is playing. My idea. Pose a new Class YourNXPlayStream with a modified playData method. This method checks if SoundKit is recording und stops this action. But how to start it again? Hmm ..... difficult. Much luck, Gerald --------------------------------------------------------------------- | GERALD ERDMANN | email: gerald @ kurt.in-berlin.de (NeXTmail welcome) | voice: +49 30 372 43 10 (Germany - Berlin) | crypt: pgp2 public key available |
Newsgroups: comp.sys.next.programmer From: brianw@sounds.wa.com (Brian Willoughby) Subject: New i386 NEXTSTEP Sound solution needs Sound System Driver sources Message-ID: <DJHvHJ.Mut@sounds.wa.com> Organization: Sound Consulting, Bellevue, WA, USA Date: Tue, 12 Dec 1995 22:22:31 GMT I would like to write a NEXTSTEP driver for the Ensoniq Soundscape multimedia card. I have just finished writing the Windows NT driver for Ensoniq which supports all (five or so) revisions of their hardware and firmware. This card has either an AD1848 or AD1845 CODEC, and is thus very similar to the Microsoft Windows Sound System card - with the addition of MPU-401 MIDI and a great deal of custom hardware. Gateway is shipping these cards in a probably all of their new machines. Since I understand that the Microsoft Sound System card is the best performer for NEXTSTEP, and since that card is no longer in production, it seems to me that the Ensoniq Soundscape could become very popular for NEXTSTEP users who need a solid sound solution. I would like to start with the Sound System Driver sources, merge any additions necessary for MPU401 support, and then add Soundscape-specific capabilities. There really is not any documentation of the Soundscape hardware outside of Ensoniq, so I am the prime candidate for writing this NEXTSTEP driver. Can anyone tell me where to find the Sound System Driver sources for NEXTSTEP's DriverKit? If anyone at NeXT is listening, I believe that this is an important opportunity which would warrant releasing the sources, under non-disclosure if need be. Of course, this supposes that they are not already available. I will attempt to call NeXT this week, although I have no idea who I should be talking to there. The card has SoundBlaster emulation capabilities, but since the Ensoniq engineers required the NT driver to work in native mode, I doubt that using the NEXTSTEP SoundBlaster driver would perform very well (not to mention the fact that the Soundscape would have to be set into SoundBlaster emulation mode somehow). -- Brian Willoughby Software Design Engineer, BSEE from NCSU NeXTmail welcome Sound Consulting: Software Design and Development BrianW@SoundS.WA.com Bellevue, WA <http://nwlink.com/cyberartists/brianw/brianw.html>
From: jpcurry@unix.amherst.edu (JAMES PRESCOTT CURRY) Newsgroups: comp.sys.next.programmer Subject: QUIX Mac OS port to Black Boxes: Info Please! Date: 13 Dec 1995 01:15:46 GMT Organization: Amherst College, Amherst MA, USA Message-ID: <4al9g2$bot@amhux3.amherst.edu> Any info regarding QUIX Mac OS to black boxes would be greatly appreciated. Specifically, does QUIX support communications, so a mac web browser would run on it? thanks. jpcurry@amherst.edu
Newsgroups: comp.sys.next.programmer From: glen@prosoft.com (Glen Biagioni) Subject: Re: appkit API - what's missing: persistent ivars? Message-ID: <DJI2qD.Jp@prosoft.com> Sender: glen@prosoft.com (Glen Biagioni) Organization: ProSoft Solutions, Inc. References: <4akd86$eue@news.xmission.com> Date: Wed, 13 Dec 1995 00:59:00 GMT don@misckit.com writes > glen@prosoft.com (Glen Biagioni) wrote: > > In article <4ad57a$anj@news.xmission.com> don@misckit.com writes: > > > EOF... [...] is definitely an > > > improvement over simple target/action stuff. [...] > > > > Yes, except for the fact that there does not seem to be any facility for > > dealing with text field return key presses in the standard manner (ie. end > > editing and take action). Or am I missing something? > > Isn't that what target/action is for? Using a combination of EOF's > vision of MVC coupled with target/action (targeting a custom > controller subclass) and making sure you use the various delegate > options (text delegates, etc.) gives you pretty powerful and > flexible control over what is happening in the GUI. Anything > more complex than this (and probably this) belongs in csn.programmer. > Switched from csn.advocacy. I'm really lost on this. Here is my understanding. In fact, I have build my own EOAssociations and a bunch of other gobbledeegook just to get around this. Have I done all this work for naught? 1. We can't use IB to instantiate subclasses of EOController. 2. EOAssociations take over the target action paradigm, and cause you all kinds of trouble when you attempt to intervene (which I do, in fact). 3. For textfields, they also take over the text delegate role. 4. EOController delegate methods can tell you when a textfield is edited, but not how the field is exited. Hence we don't know when return was pressed (ie. when the target's action is activated). Please set me straight. -- Glen Biagioni ProSoft Solutions Inc. glen@prosoft.com (NeXTmail Welcome) Bus:(604)324-3311 Fax:(604)324-9431
From: Bruno.Bienfait@EROS.CCC.uni-erlangen.de (Bruno Bienfait) Newsgroups: comp.object,comp.lang.java,comp.sys.next.programmer Subject: Re: NeXT success stories? Date: 13 Dec 1995 17:44:12 GMT Organization: Regionales Rechenzentrum Erlangen, Germany Message-ID: <4an3dc$5hk@rznews.rrze.uni-erlangen.de> References: <DJHMqA.CvC@eunet.ch> In article <DJHMqA.CvC@eunet.ch> gerold@ariel.infodesign.ch (Gerold Rupprecht) writes: > In article <494tt3$o6r@nntp.interaccess.com> > andy@thymaster.interaccess.com (Andy Faibishenko) writes: > > Lately I have been trying to sort out my feelings towards NeXT, and > > decided to post this to see if I could generate an interesting > discussion. > > > > Are there companies out there who have deployed NeXT based solutions on > a > > large scale(i.e. enterprise-wide, 500+ users, connections to big > Relational > > databases, etc...). If so, was the experience as delightful as NeXT > would > > have you believe from its PR. > > > > It seems to me from playing with NeXT and reading their literature that > > if what they say is true, their products should be the leaders in the OO > > software development community, yet this doesn't seem to hold true in > > reality. > > > > What is the reason for this dichotomy? Are their products not as good > > as they say they are, is it a marketing issue, are they ahead of their > time? > > > > Andy Faibishenko > > Metamor Technologies, Ltd. > > faibisa@metamor.com > It is simply great. I met the system administrators in San Fransisco in > 1994. He has 1000 users in 22 cities, and can support them with a staff of > 6, of which 3 are part time. They are in the advertising business in Texas > and other eastern US states. > > I have been programming on DOS, MAC, Windows, VMS and NeXTSTEP. The last > is what I use for myself! If I could I would not use anything else. Until > IT managers wake up, they will not know what they are missing. The all in > cost of Windows is horrendous! > > The reason for the demise of Taligent is subtle. It was due to the choice > of the operating system. C++ puts responsibility on the client to > predefine all his objects. NeXTSTEP chose Objective C, much more > intuitive, but most importantly the supplier of the object carrys the > responsibility for supplying the code to respect a given protocol. > > Let me give an example. Your job is to create a car simulator application. > C++ will be the best choice to define an engine- you never change it for > the life of the application. But how will you deal with every possible > object that could be put into the trunk? With run time binding, you do not > care. The object supplier is responsible. Your application can now load > sand, suitcases, water, anything, as long as it has a method called eg. > loadInTrunk (presumably each object can ask where their is remaining space > left in the trunk). > > This drastically reduces the total code needed in an application. Taligent > died with some 155,000 methods defined. I think there are about 2000 > methods defined in NeXTSTEP. I do not know many programmers who read > dictionaries for fun.... > > Hope this convinces you, > > Gerold Rupprecht > Geneva, Switzerland I am wondering if the problem is also due to strong typing or not. Would it be possible to make a NeXTSTEP with a more dynamic language like e.g., Java, which has also strong typing ? Bruno ------------------------------------------------ Bruno.Bienfait@EROS.CCC.Uni-Erlangen.de http://schiele.organik.uni-erlangen.de/Bruno_Bienfait/home.html ------------------------------------------------
Newsgroups: comp.sys.next.programmer From: glen@prosoft.com (Glen Biagioni) Subject: cafebabe, MABs, and Java Message-ID: <DJJAJL.JK@prosoft.com> Sender: glen@prosoft.com (Glen Biagioni) Organization: ProSoft Solutions, Inc. Date: Wed, 13 Dec 1995 16:45:21 GMT I'm wondering about the use of cafebabe as the magic number for Next MAB files. I notice that Java uses cafebabe for .class files. Is this a conflict in the use of cafebabe as a magic number, or is cafebabe the magic number for some self describing object file format? Or is it something else? -- Glen Biagioni ProSoft Solutions Inc. glen@prosoft.com (NeXTmail Welcome) Bus:(604)324-3311 Fax:(604)324-9431
From: dcl@panix.com (David C. Lambert) Newsgroups: comp.sys.next.programmer Subject: Re: hideOtherApplications problem (Workspace request protocol) Date: 13 Dec 1995 13:03:52 -0500 Organization: PANIX Public Access Internet and Unix, NYC Message-ID: <4an4i8$nvk@panix.com> References: <4aavcv$i5e@nwestmail.nwest.mccaw.com> In <4aavcv$i5e@nwestmail.nwest.mccaw.com> andrew.abernathy@mccaw.com (Andrew Abernathy) writes: >Has anyone else had reason to attempt to use "hideOtherApplications" >from the Workspace request protocol? I'm trying to use it, and it >flat out doesn't seem to work. I got as simple as a small window >with a button, the button sending a message to my controller object, >which consists of nothing other than one method. Looks like: >Any ideas? Can anyone confirm either that it truly is broken or that >I'm somehow overlooking something seriously obvious? I can confirm that this method is completely non-functional. I had to resort to PS hacking to get the function in Fiend. -- David C. Lambert dcl@panix.com (finger for PGP 2.6.2 public key) (key fingerprint "5F 88 1A 54 3C EA DA FA F5 8E 0B 68 48 4C 02 48")
From: Matt_Watson@next.com (Matt Watson) Newsgroups: comp.sys.next.programmer,comp.lang.java Subject: Re: cafebabe, MABs, and Java Date: 13 Dec 1995 18:19:41 GMT Organization: NeXT Computer, Inc. Distribution: usa Message-ID: <4an5ft$3q4@news.next.com> References: <DJJAJL.JK@prosoft.com> In article <DJJAJL.JK@prosoft.com> glen@prosoft.com (Glen Biagioni) writes: > I'm wondering about the use of cafebabe as the magic number for Next MAB > files. I notice that Java uses cafebabe for .class files. Is this a > conflict in the use of cafebabe as a magic number, or is cafebabe the > magic number for some self describing object file format? Or is it > something else? Someone at Sun decided to pick the same magic number for Java's .class files as our MAB files (some ex-NeXT folks worked on the early Java implementation). I sent mail to the Java group at Sun a while back regarding this as a potential conflict, but got no response. Too late now. matt.
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: Asm translator Date: 13 Dec 1995 19:45:44 GMT Organization: Information Technology Solutions, Inc. Message-ID: <4anah8$d8g@news.its.com> References: <4aanmf$45v@epervier.CC.UMontreal.CA> dalpen@JSP.UMontreal.CA (DALPE Nathalie) wrote: > Is there a program that can translate assembler source generated by gcc > for 680xx (MIT format) to traditional Motoral syntax ? It's kind of > painful to do it by hand ... :-( The C pre-processor with appropriate macros appears to be capable. Consult the source for gzip-1.2.4, specificly match.S. The section taken from that appears to provide (at least some) of the right constructs for portability: ------------------------------- #ifdef sysV68 /* Try Motorola Delta style */ # define GLOBAL(symbol) global symbol # define TEXT text # define FILE(filename) file filename # define invert_maybe(src,dst) dst,src # define imm(data) &data # define reg(register) %register # define addl add.l # define addql addq.l # define blos blo.b # define bhis bhi.b # define bras bra.b # define clrl clr.l # define cmpmb cmpm.b # define cmpw cmp.w # define cmpl cmp.l # define lslw lsl.w # define lsrl lsr.l # define movel move.l # define movew move.w # define moveb move.b # define moveml movem.l # define subl sub.l # define subw sub.w # define subql subq.l # define IndBase(bd,An) (bd,An) # define IndBaseNdxl(bd,An,Xn) (bd,An,Xn.l) # define IndBaseNdxw(bd,An,Xn) (bd,An,Xn.w) # define predec(An) -(An) # define postinc(An) (An)+ #else /* default style (Sun 3, NeXT, Amiga, Atari) */ # define GLOBAL(symbol) .globl symbol # define TEXT .text # define FILE(filename) .even # define invert_maybe(src,dst) src,dst # if defined(sun) || defined(mc68k) # define imm(data) #data # else # define imm(data) \#data # endif # define reg(register) register # define blos bcss # if defined(sun) || defined(mc68k) # define movel movl # define movew movw # define moveb movb # endif # define IndBase(bd,An) An@(bd) # define IndBaseNdxl(bd,An,Xn) An@(bd,Xn:l) # define IndBaseNdxw(bd,An,Xn) An@(bd,Xn:w) # define predec(An) An@- # define postinc(An) An@+ #endif /* styles */ -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <zander@cnext.crec.mipt.ru> Message-ID: <9512131659.AA00420@cnext.crec.mipt.ru> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Aleksey Sudakov <zander@cnext.crec.mipt.ru> Date: Wed, 13 Dec 95 19:59:16 +0300 Subject: Need info on different DBMS. Hello everybody, Could you please email me your experience working with different DBMS using EOF. I'll summarize for the group or better put the summary on WWW. Generally, I'm interested in the following information How good does it handle large ( about 10GB and more ) data sets? How easy is it integrated with EOF? How good is the SQL support? Where could I find adaptor for it and how much does it cost? Any other information are greatly welcome. I recall posts about mSQL recently, but I haven't archive them. Could somebody repost them to me. Thanks, Aleksey. _________________________________________________________________ Aleksey Sudakov 1A-1 Kerchenskaya Street Moscow 113303,Russia. ________________________________________________________________ Office: (095)408-6641 Home: (095)121-6100 + 3-45, (095)121-0561 + 3-45 EMail: zander@cnext.crec.mipt.ru (NeXTMail & MIME are OK) WWW: http://www.crec.mipt.ru/~zander/
From: jwissner@voyager.net (Jim Wissner) Newsgroups: comp.sys.next.programmer Subject: Re: I'm giving up on Model-View-Controller Date: 3 Dec 1995 17:28:47 GMT Organization: Voyager Information Networks, Inc. Message-ID: <49smof$51i@vixa.voyager.net> References: <489629906wnr@hps1.demon.co.uk> <1995Nov26.190600.17827@news.bogo.co.uk> <49loc0$s89@solaris.cc.vt.edu> In <49loc0$s89@solaris.cc.vt.edu> Chuck_Esterbrook@orcacomputer.com wrote: [snip] > > The file routines don't know how to print all the objects in the universe. > Instead each object knows how to print itself. > > As far as separation goes, it seems to me that there are two easy ways to do > this. [1] Subclassing. CustomerGUI inherits from Customer. [2] My preferred > method is Objective-C categories kept in separate modules (i.e., .h and .m > files). For example: > [snip - category example] > > > Then if I want to reuse Customer in a non-GUI setting I simply leave out the > CustomerGUI module with no ill effects. > > Has anyone used this approach? Any comments? > Absolutely. I use this approach everywhere. A class such as "Customer" should, IMHO, be totally free of anything having to do with a GUI. Consider this: I recently finished working on a Human Resources system, where one of the central classes was (you guessed it) an Employee class. The first thing I did was create an app for creating and editing employees, using EOF of course. But, I also needed to create a handful of daemons to perform various processing nightly. The last thing in the world I want to do is have references to interface stuff, since it has no meaning in this context, and it would mean that I have to link against the appkit, etc (actually, I still do, since the eoaccess library has appkit references in it (mumble, groan) but that's beside the point). Categories, I think, are such a nice solution. As Chuck mentioned, you can add the category in the apps where you need it, and leave it out where you don't. Incidentally, I use categories for separating all sorts of functionality, not simply for separating GUI from non-GUI code. Any object that has different, definable sets of behaviour in different contexts, can be nicely broken down into categories. This also keeps your source files from being huge and jumbled, an added bonus. Just my $0.02, of course! Later, -- Jim Wissner jwissner@voyager.net NeXT Mail Encouraged!
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: DPS and Unix ? Date: 13 Dec 1995 18:55:27 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <4an7iv$plj@opal.southwind.net> I'm wanting to reltae the Postcript contex to a Unix pid. Nextstep has the display postcript functions currentactiveapp and setactiveapp which provides sets the context number for and application. The way I understand it each application gets a postscript context for drawing (right wrong ?) It can fork of more drawwing contexts but all contexts are owned by one appp otherwise the currentactiveapp would fail with a fork context. (It doesn't seem to) This leads to the propelm that a context is not and shouldn't be a unique identifier for a app. No problem I have Unix pids for that. If so I should be able to find the Unix pid's of all application that have a current context and thus find out who's printing to the screen how many windows etc from the window server. The probelm I have is currentactiveapp/setactiveapp are the only poscript operator I can find that returns the context assosiated with a app. On the poscript side I have: screenlist array context screenlist subarray Fills the array with the window numbers of all windows in the screen list that are owned by the PostScript context specified by context. It returns the subarray containing those window numbers, in order from front to back. If array isn't large enough to hold them all, this operator will return the frontmost windows that fit in the array. If context is 0, all windows in the screen list are returned. currentowner window currentowner context Returns a number identifying the PostScript context that currently owns the specified window. By default, this is the PostScript context that created the window. From these two I get all current poscript contexes. What I want is to do is find the application that owns a context and from there since contex's arn't uniqe get the pid for the application. For example a poscript operator context ownerapp int string Were ownerapp returns the pid and name of the app. In a system independent way this would just return a string. Is there such a beastie? Or does anybody know of any way to get it that not the terrible hack I'm contemplating? I don't want to do the obvious and given the context setactiveapp and the get its pid. This will run through every application making it active ugh. Thanks mike@hobbs.chem.usu.edu Mike
From: espeyton@ix.netcom.com (Espeyton) Newsgroups: comp.sys.next.programmer Subject: clickTable, breakTable and other fun stuff Date: 14 Dec 1995 06:12:18 GMT Organization: Netcom Message-ID: <4aof82$ku9@cloner2.ix.netcom.com> Mime-Version: 1.0 Hy'all, Does any one have any samples of code using a breakTable or clickTable, or know of any documentation on these tables. I can find almost none besides the breakTable:, clickTable: and related set*: methods. Any pointers? I am working on a simple text editor and would like to add some neat-o functionality, these two tables could greatly simplify my work (I think!). Also, does anyone know of a way to retrieve the (Start/End)position of the current paragraph you are in, in a text object? I am trying to highlight a whole paragraph with selectCharactersFrom:to: but I don't know how to get it to work. (Being able to use a findText: type of method that looks for anything besides literals would be useful to findText:ignoreCase:backwards:wrap is really nice but very limited). Thanks in advance for any help, Eric Peyton espeyton@ix.netcom.com
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <daveg@crt.com> Message-ID: <9512141539.AA00593@nx_chi> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Dave Goodman <daveg@crt.com> Date: Thu, 14 Dec 95 09:39:09 -0600 Subject: Programmatically setting an NXSplitView?? Nextmail_Accepted: Certainly!!! I am trying to institute an NXDefault in my app which will allow me to bring up my window with the NXSplitView placed where the user left it the last time they used the app. I've figured out how to force the split view to a certain position using "splitView:getMinY:maxY:ofSubviewAt:". What I can't figure out is what message to send to the NXSplitView to make it invoke that delegate message. I have tried resetting its frame and its size but that didn't seem to do the trick. It would appear that only the user dragging the divider sends the message. If any of you have solved this problem before, I would appreciate any clues you can pass on. Thanks! - Dave David Goodman daveg@crt.com [NeXT/MIME] Senior Systems Engineer NationsBank (NationsBanc-CRT) Tel: 312-234-2368 Fax: 312-234-2186 "Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Calling C functions from postscript Date: 14 Dec 1995 18:49:45 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <4aprka$kof@opal.southwind.net> There seems to be no support in the postscript language to call C programs. In fact I can't even faind a generic "sytem" type call. Is this true or am I missing something. The problem with Pswrap is that its not dynamic. You can not PSWrap dynamic postscript code something of a bummer. It looks like I must use a Yap type system to deal with dynamic PScode. : ( Thanks mike@hobbs.chem.usu.edu Mike
From: espeyton@ix.netcom.com (Espeyton) Newsgroups: comp.sys.next.programmer Subject: breakTable, clickTable, and more Date: 15 Dec 1995 00:41:56 GMT Organization: Netcom Message-ID: <4aqg8k$mqo@cloner3.netcom.com> Mime-Version: 1.0 Hy'all, I hope this isn't a repost, but I can't find the one I posted yesterday! I need help with the usage of a clickTable or a breakTable in a Text object. Does anyone have any pointers or know of where I can find source code??? I am working on an editor and these two objects (which aren't documented at all by next,inc) look like they could be what I need to use. Any help at all would be appreciated. Also, does anyone know of a way to find the end of the paragraph that you are currently in, in a text object (I mean the return character). The findText:ignoreCase:backwards:wrap: function doesn't seem to be able to do that - it accepts literals only. I need to find to end of a paragraph. Thanks for all the help, Eric Peyton epeyton@ix.netcom.com
From: cwolf@wolfware.com (Christopher Wolf) Newsgroups: comp.sys.next.programmer Subject: Re: Programmatically setting an NXSplitView?? Date: 15 Dec 1995 00:51:36 GMT Organization: WolfWare (http://www.wolfware.com/) Message-ID: <4aqgqo$qgr@shellx.best.com> On 12/14/95, Dave Goodman wrote: >I am trying to institute an NXDefault in my app which will allow me >to bring up my window with the NXSplitView placed where the user >left it the last time they used the app. > >I've figured out how to force the split view to a certain position >using "splitView:getMinY:maxY:ofSubviewAt:". What I can't figure >out is what message to send to the NXSplitView to make it invoke >that delegate message. > >I have tried resetting its frame and its size but that didn't seem >to do the trick. It would appear that only the user dragging the >divider sends the message. The splitView:getMinY:maxY:ofSubviewAt: will allow you to constrain the positioning when a user drags the divider bar but is not useful for establishing the initial position of the divider bar as you discovered. I use the following code snippet to establish the initial split view position.... assumes that splitView is the entire split view and upperView and lowerView are the upper and lower views of the splitView respectively. ... NXRect splitViewFrame, upperViewFrame, lowerViewFrame; [upperView getFrame: &upperViewFrame]; [lowerView getFrame: &lowerViewFrame]; [splitView getFrame: &splitViewFrame]; upperViewFrame.size.height = DESIRED_SPLIT_VALUE; lowerViewFrame.size.height = splitViewFrame.size.height - upperViewFrame.size.height - [splitView dividerHeight]; lowerViewFrame.origin.y = upperViewFrame.size.height + [splitView dividerHeight]; [upperView setFrame: &upperViewFrame]; [lowerView setFrame: &lowerViewFrame]; [window display]; ... One other note about split view positioning is that if the splitview itself scales when the window is resized you might have to implement the - splitView:resizeSubviews: if you want better control over the final size of the various views comprising the splitview after a resize. (i.e. default behavior is to scale all views proportionately but what I desired for example was for the lower view to shrink as much as possible before beginning to change the size of the upper view when the window was made smaller.) Good luck. -- Christopher Wolf / WolfWare cwolf@wolfware.com (NeXTmail & MIME accepted) For information about the NewsFlash newsreader for NeXTSTEP check out WolfWare's home page: http://www.wolfware.com/
From: schenke@rcs1.urz.tu-dresden.de Newsgroups: comp.sys.next.programmer Subject: NSDebug ? Date: 15 Dec 1995 11:21:08 GMT Organization: TU Dresden (URZ) Message-ID: <4arln4$sho@rks1.urz.tu-dresden.de> Hi, I am fairly new to NS programming (2 month or so) and just started to enter the EO-world. Of course now I have to deal with the NSObject hirarchy as opposed to the appkit/Object one that had been sufficient up to now. My problem now is : How does one debug (with gdb) NSObjects ? They don't have any instance variables besides 'isa', so how do I, for example, find out what text is contained in a NSString object? Another problem is, gdb doesn't seem to be able to step through List/NSArray objects, is there a workaround for this ? I have heard of a 'printFor Debugger:' method implemented by 'normal' Objects, which is changed to 'description' by NSObject. Can I access this one somehow ? Do I have to do any setting up of the debugger (like changing 'print-object' so it calls 'description' instead of 'printForDebugger:'. Can gdb display the NSString object 'description' hands back ? Should I add any categories to the NSObject structure to facilitate debugging? Any help with this would be appreciated, as I am doing my diploma work and need to use EO. replies to rcs1.urz.tu-dresden.de or this newsgroup thanx in advance Racer
From: leb@netcom.com (Larry E. Baker) Newsgroups: comp.object,comp.lang.java,comp.sys.next.programmer Subject: Re: NeXT success stories? Date: Wed, 13 Dec 1995 22:59:28 GMT Organization: SABRE Decision Technologies Message-ID: <4arrob$32u@aadt.sdt.com> References: <DJHMqA.CvC@eunet.ch> <4an3dc$5hk@rznews.rrze.uni-erlangen.de> Bruno.Bienfait@EROS.CCC.uni-erlangen.de (Bruno Bienfait) wrote: >In article <DJHMqA.CvC@eunet.ch> gerold@ariel.infodesign.ch (Gerold >Rupprecht) writes: >> In article <494tt3$o6r@nntp.interaccess.com> >> andy@thymaster.interaccess.com (Andy Faibishenko) writes: [... all providing thoughtful comments on why NeXT isn't as successful as it [sh/c]ould be...] Let me offer a slightly different >OPINION< on why NeXT isn't the winner I had once thought it would be. When the NeXT machine came out, it was, quite simply, an order of magnitude more powerful than anything else on the market at the time. It was easier to program, easier to use, cleaner, prettier, faster, more robust, more flexible, and it could do windows (smirk). But you couldn't buy it. Only college students and universities could buy it. And, to boot, if Steve Jobs thought you were buying a "server configuration," he'd cancel your order, because according to the Book of Jobs, NeXT machines weren't intended to be servers, but peers on a network. This kind of thinking also promoted the boot-from-CD philosophy that performance-crippled many of the machines. When NeXT finally stooped to selling machines to the unwashed masses, they chose Computerland as their sole supplier. You can imagine how clueful the ComputerLand salespeople were WRT a complex system (Mach kernel, UNIX capabilities, OO technologies, all sorts of nifty (complex) software, etc. ad nauseum) like that. They had a hard time figuring out how to sell PCs. They put the NeXT machine in a corner and hid it, for fear that someone might ask them a question about what it was. In short, they made this neat thing, and then made it impossible for anyone to buy it. They shut out the people that could afford it. They killed their own product. Damn shame, that. I still think it's the most powerful box out there, bar none. There are other reasons why NeXTStep hasn't succeeded as an "open" operating system (it isn't open, only people like IBM can afford to license it, etc.), but that can wait for another day, and another discussion, if anyone's inclined. LEB -- Larry Baker (larryb@sdt.com)
From: chuck@its.com (Chuck Swiger) Newsgroups: comp.sys.next.programmer Subject: Re: gcc Date: 15 Dec 1995 17:07:46 GMT Organization: Information Technology Solutions, Inc. Message-ID: <4asa12$m6b@news.its.com> References: <4acvih$pg6@saba.info.ucla.edu> vazquezr@physics.ucla.edu (Rick Vazquez) wrote: > Does anyone have gcc for the NeXT(X-windows)? There a few programs I > would like to compile. I have Cub'X and when I try to compile I get an > error telling me I need gcc. Assuming you have NS/Developer installed: ln -s /bin/cc /bin/gcc ...will let programs that try to autoconfigure themselves for gcc know that the system 'cc' compiler is actually gcc. If you don't have NS/Developer installed, getting gcc won't do anything useful. -Chuck -- Charles Swiger -- chuck@its.com | Information Technology Solutions, Inc. --------------------------------+--------------------------------------- CrashCatcher Development, Systems and Networking Administrator
From: Cedar Systems <Cedar@cedar.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Programmatically setting an NXSplitView?? Date: Fri, 15 Dec 95 09:17:18 GMT Organization: Cedar Systems Message-ID: <819019038snz@cedar.demon.co.uk> References: <9512141539.AA00593@nx_chi> In article <9512141539.AA00593@nx_chi> daveg@crt.com "Dave Goodman" writes: > I am trying to institute an NXDefault in my app which will allow me > to bring up my window with the NXSplitView placed where the user > left it the last time they used the app. > Dave, The approach that we have taken with NXSplitView is to invoke the resizeSubviews: method to initiate setting the NXSplitView's subviews to particular positions. If you implement the delegate method splitView:resizeSubviews:, that will then be invoked for you to adjust the sizes of the subviews as appropriate. If the documentation for these two methods is not enough, I can send you example code. Good luck, Paul Heffernan, Product Development Manager. ----------------------------------------------- Cedar Systems email: phef@cedar.demon.co.uk www: coming soon! telephone: +44 1242 239221 facsimile: +44 1242 254367 -----------------------------------------------
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: Possible ? Date: 15 Dec 1995 18:26:05 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <4aseju$rqp@hippo.shef.ac.uk> Hi there, Just an enqury of a possibility of an implementation. Supposing I have a main window and a matrix of action cell. I would want to implement sets of "dynamic" bottons. These set of buttons are dynamic in the sense that, when I click on different action cell in the matrix, different set of buttons will appear. _______________________________________________________________________ | My main window | |_______________________________________________________________________| | | | | | _________________________________________________________________ | | | _______ _______ _______ | | | | | | | | | | | | | | | | | | | | | | | | |_____| |_____| |_____| | | | | icon 1 icon 2 icon 3 | | | |---------------------------------------------------------------| | | |<| |> | | | ----------------------------------------------------------------| | | | | _________________________________________________________________ | | | __________ ___________ __________ | | | | | Button | | Button | | Button | | | | | |___1____| |____2____| |____3___| | | | | | | | |---------------------------------------------------------------| | | | | | This is how it works, when the user clicks on "icon 1", the first set of buttons i.e., "Button 1", "Button 2" & "Button 3" will appear and from there user can click on any of the button to perform some tasks. If users clicks on "icon 2", another set of buttons says "Button 4", "Button 5" and "Button 6" will appear and repalce the first set of buttons on the screen. All the buttons have different funcitons to perform, depending on which icon the user is currently selected. I would want to know the possibility of such implementation, if you think it is possible, and you know how to do it, can you please tell me, or even better, if you know somewhere have similar examples, please kindly tell me. Thanks in advance. C.Yap
From: u8313513@cc.nctu.edu.tw () Newsgroups: comp.sys.next.programmer Subject: Re: EOF Adapter for MSSQL? Date: 15 Dec 1995 19:47:33 GMT Organization: National Chiao-Tung University, Taiwan Message-ID: <4asjcl$hnk@netnews.nctu.edu.tw> References: <DJ6FM7.6C1@news.cis.umn.edu> <4a92d7$ocs@marcon.marcon.de> <DJA95s.D4o@news.cis.umn.edu> <jpanicoDJFB3p.58G@netcom.com> NNTP-Posting-User: u8313513 I use the M$ SQL Server 6.0 on NT( multi-protocol, NetBUI and TCP/IP ) and I can use Delphi to connect the M$ SQL Server succesfully, but I always get the error message if I want to connect from NeXTSTEP Sybase:Server name not found in interface file. I saw there are some documnents for Orale but not for Sybase or M$ SQL Mark
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: rld_load sometimes loads not everything... is this workaround ok? Date: 15 Dec 1995 19:39:33 GMT Organization: my own Message-ID: <4asitm$25b@gate.seicom.net> Howdy, I am trying to get elk 3.0 (a scheme implementation) running on NS. From the readme it says that dynamic loading on NeXTSTEP 3.x is not reliable because rld_load sometimes does not load the symbols. For what I have tried this seems to be true, however I found a way to get it running. The following code fragment from rld_load.c shows how (The UPPERCASE comments shows the differences to the original): .... Disable_Interrupts; /* Construct a stream for error logging: */ if ((err_stream = NXOpenFile (fileno (stderr), NX_WRITEONLY)) == 0) Primitive_Error ("NXOpenFile failed"); retval = rld_load (err_stream, /* report error messages here */ &hdr, /* return header address here */ filenames, /* load this */ "/tmp/eload"); /* doesn't work if NULL?! CHANGED FROM: "/dev/null" */ NXClose (err_stream); if (retval != 1) Primitive_Error ("rld_load() failed"); /* ADDED TO GET SYMBOLS */ elfd=open("/tmp/eload",O_RDONLY,0); fstat(elfd,&statbuf); retval = map_fd(elfd,0,&memfile,TRUE, statbuf.st_size); close(elfd); /* END ADDED TO GET SYMBOLS, 'retval' not evaluated yet */ /* Grab the symbol table from the just-loaded file: */ if (The_Symbols) Free_Symbols (The_Symbols); The_Symbols = Snarf_Symbols (memfile); /* CHANGED FROM: The_Symbols = Snarf_Symbols (hdr); */ Call_Initializers (The_Symbols, 0, PR_CONSTRUCTOR); Call_Initializers (The_Symbols, 0, PR_EXTENSION); Enable_Interrupts; Alloca_End; ... In short I take the outfile from the rld_load call (it does not work if the parameter is NULL, but 'man rld_load' tells me it does...?), map it into memory and feed this to the Mach-O parser to get at the symbols. If I only use the 'hdr' as set by the rld_load call this does not work reliable... For some .o files it will for others it won't. Has anyone deeper knowledge why rld_load does not load the complete thing and if the above workaround is a valid one (it seems to run all examples and tests ok!)? Or are there better solutions for this (Remember this is no obj-c code and I have to use rld_load)? What happens to a mapped file if the original is deleted or overwritten? - Frank --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy "In cantonese C++ is called C ga ga"
From: Lee Willis <lee@multigen.com> Newsgroups: comp.sys.next.programmer Subject: Re: I'm giving up on Model-View-Controller Date: 15 Dec 1995 20:05:55 GMT Organization: MultiGen Message-ID: <4askf3$on0@voyager.Internex.NET> References: <498rrr$igq@saturn.genoa.com> <4agrne$95h@nntp.ucs.ubc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Speaking of the Model/View/Controller paradigm: Are there any good books on MVC? I've seen it described briefly in a number of books, but I've never seen a book that did any in depth information on it, any teach-yourself-MVC kind of stuff. -- Lee Willis MultiGen Inc. 550 S Winchester Blvd. Suite 500 San Jose, CA 95128 (408) 261-4100
From: John Kheit <jkheit@cnj.digex.net> Newsgroups: comp.sys.next.programmer Subject: Re: Possible ? Date: 16 Dec 1995 00:58:36 GMT Organization: monoChrome, Inc. Message-ID: <4at5js$bvn@news4.digex.net> References: <4aseju$rqp@hippo.shef.ac.uk> cnyap@dcs.shef.ac.uk (Chih Nam Yap) wrote: > Supposing I have a main window and a matrix of action cell. I > would want to implement sets of "dynamic" bottons. These set of > buttons are dynamic in the sense that, when I click on different > action cell in the matrix, different set of buttons will appear. [snip] > This is how it works, when the user clicks on "icon 1", the > first set of buttons i.e., "Button 1", "Button 2" & "Button 3" > will appear and from there user can click on any of the button > to perform some tasks. If users clicks on "icon 2", another > set of buttons says "Button 4", "Button 5" and "Button 6" will > appear and repalce the first set of buttons on the screen. > All the buttons have different funcitons to perform, depending > on which icon the user is currently selected. > > I would want to know the possibility of such implementation, if > you think it is possible, and you know how to do it, can you > please tell me, or even better, if you know somewhere have similar > examples, please kindly tell me. The above sounds just like an inspector...but w/o a popup, just using buttons. The short answer is yes. The easiest route for you? Probably using the tools in the MiscKit that aid in doing inspector type work (which isn't all that hard to do even from scratch. The Garfinkle (sp?) book has some very straight forward examples on this). -- Thanks, take care, later, John Kheit )^> %^) =^) monoChrome, Inc. | New York Law School NEXTSTEP Developer | Opinions expressed represent me only... Telepathy, It's coming | MIME & NeXTmail OK--PPP (3P) jkheit@cnj.digex.net | http://cnj.digex.net/~jkheit
From: msnyder@NeXT.com (Michael Snyder) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep and DLLs Date: 16 Dec 1995 01:19:39 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <4at6rb$im3@news.next.com> References: <4a2bl8$41v@sparcserver.lrz-muenchen.de> Ioannis Kabitoglou writes > Hi, > > at the moment I am evaluating the possibility of using OpenStep for > Windows95 in one of our industrial projects, and I would need some info > about whether it would be possible for an OpenStep-App to access and use > functions in an 16 Bit-DLL. If it is, what kind of mechanismus would be > used? The only part of your question that I'm competent to address is the phrase "OpenStep for Windows95". At this moment there is no such animal in the works (although it may come some day). OpenStep for Windows NT will be released next year, but the two are very different critters.
From: mcgredo@crl.com (Donald R. McGregor) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep and DLLs Date: 15 Dec 1995 17:46:18 -0800 Organization: Murder, Inc. Message-ID: <4at8da$93r@crl11.crl.com> References: <4a2bl8$41v@sparcserver.lrz-muenchen.de> <4at6rb$im3@news.next.com> In article <4at6rb$im3@news.next.com>, Michael Snyder <msnyder@NeXT.com> wrote: :>The only part of your question that I'm competent to address is the phrase :>"OpenStep for Windows95". At this moment there is no such animal in the :>works (although it may come some day). OpenStep for Windows NT will be :>released next year, but the two are very different critters. I had heard that OS/NT and OS/W95 were going to be the same product, as in exactly the same executables on the same CD. Was I misinformed, or am I misunderstanding? -- Don McGregor | Two quarts of Coke a day might not make you healthy, mcgredo@crl.com | wealthy, or wise, but it sure does keep you wired.
From: Scott Byer <byer@mv.us.adobe.com> Newsgroups: comp.sys.next.programmer Subject: Re: Calling C functions from postscript Date: 15 Dec 1995 18:04:40 -0800 Organization: Adobe Systems Incorporated, Mountain View, CA Sender: byer@birch.mv.us.adobe.com Message-ID: <psu431epc7.fsf@birch.mv.us.adobe.com> References: <4aprka$kof@opal.southwind.net> In-reply-to: mike@hobbs.chem.usu.edu's message of 14 Dec 1995 18:49:45 GMT Michael Emmel writes: Michael> The problem with Pswrap is that its not dynamic. You can not PSWrap Michael> dynamic postscript code something of a bummer. It looks like I must Michael> use a Yap type system to deal with dynamic PScode. : ( All pswrap is doing is constructing binary object sequences. That's just an alternative representation of the PostScript itself. You can construct BOSes "manually" yourself. The pswrap sources are part of the DPS Client Library constribution to X, so you can take a look for some hints. -- Scott Byer mailto:byer@mv.us.adobe.com Adobe Systems Incorporated These are my opinions, and 1585 Charleston Road, P.O. Box 7900 do not necessarily reflect Mountain View, CA 94039-7900 the opinions of my employer. === ===
From: indy@ux1.cso.uiuc.edu (weintz steven cortelou) Newsgroups: comp.sys.next.programmer Subject: Re: Possible ? Date: 16 Dec 1995 02:24:12 GMT Organization: University of Illinois at Urbana Message-ID: <4atakc$jlr@vixen.cso.uiuc.edu> References: <4aseju$rqp@hippo.shef.ac.uk> <4at5js$bvn@news4.digex.net> John Kheit <jkheit@cnj.digex.net> writes: >cnyap@dcs.shef.ac.uk (Chih Nam Yap) wrote: >> Supposing I have a main window and a matrix of action cell. I >> would want to implement sets of "dynamic" bottons. These set of >> buttons are dynamic in the sense that, when I click on different >> action cell in the matrix, different set of buttons will appear. [snip snip] >The above sounds just like an inspector...but w/o a popup, just using >buttons. The short answer is yes. The easiest route for you? >Probably using the tools in the MiscKit that aid in doing inspector >type work (which isn't all that hard to do even from scratch. The >Garfinkle (sp?) book has some very straight forward examples on this). I'm trying to do exactly this with the Tools panel of my imagemapping app. I'm working with the MiscSwapView class from the MiscKit. Check it out. http://www.misckit.com/ or ftp://ftp.thoughtport.com/ P.S. Yes, I'm still working on IsMap.app! -- Steve Weintz * Partner, New Media, Ltd. P.O. Box 742 * Urbana, IL 61801 steve@dave-world.net * 217.344.5303 * 217.344.8981 fax Staff Visioneer, Beckman Institute Visualization Facility * indy@uiuc.edu
From: Matt_Watson@next.com (Matt Watson) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep and DLLs Date: 16 Dec 1995 08:17:27 GMT Organization: NeXT Computer, Inc. Distribution: world Message-ID: <4atvan$kee@news.next.com> References: <4at6rb$im3@news.next.com> Keywords: win95 openstep In article <4at6rb$im3@news.next.com> msnyder@NeXT.com (Michael Snyder) writes: > The only part of your question that I'm competent to address is the > phrase "OpenStep for Windows95". At this moment there is no such animal > in the works (although it may come some day). Sorry, Mike, but the cat's out of the bag. Check out: http://www.next.com/OpenStep/Products/OPENSTEP/Welcome.html matt. --- Matt Watson +-------------------------------------------+ Casual Observer | Claims to the contrary notwithstanding, | NeXT Computer, Inc. | everyone @NeXT.com speaks for NeXT. | Matt_Watson@NeXT.com +-------------------------------------------+
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Programmatically setting an NXSplitView?? Date: 16 Dec 1995 02:12:53 -0800 Organization: x Sender: robert@steffi.accessone.com Message-ID: <eloodjp0a.fsf@steffi.accessone.com> References: <9512141539.AA00593@nx_chi> To: daveg@crt.com Try setting the frame rectangles of the subviews rather than that other method. -- "Mary ate a little lamb and punk rock isn't dead" (PGP key: send email with Subject: request pgp key)
From: gad@eclipse.its.rpi.edu (Garance A. Drosehn) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep and DLLs Date: 16 Dec 1995 04:40:39 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Distribution: world Message-ID: <4atik7$ikp@usenet.rpi.edu> References: <4at8da$93r@crl11.crl.com> In article <4at8da$93r@crl11.crl.com> mcgredo@crl.com (Donald R. McGregor) writes: > In article <4at6rb$im3@news.next.com>, Michael Snyder <msnyder@NeXT.com> wrote: > :> The only part of your question that I'm competent to address is > :> the phrase "OpenStep for Windows95". At this moment there is no > :> such animal in the works (although it may come some day). OpenStep > :> for Windows NT will be released next year, but the two are very > :> different critters. > > I had heard that OS/NT and OS/W95 were going to be the same > product, as in exactly the same executables on the same CD. Was > I misinformed, or am I misunderstanding? Last I heard they were going to be separate products, and indeed products on separate time-lines. I remember that at some point Jobs was saying OpenStep/WinNT would go beta in December, and that there "was no reason to expect any problems" with having a Win95 version available sometime in 1996. --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: gad@eclipse.its.rpi.edu (Garance A. Drosehn) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT success stories? Date: 16 Dec 1995 04:49:30 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Distribution: world Message-ID: <4atj4q$isk@usenet.rpi.edu> References: <4arrob$32u@aadt.sdt.com> leb@netcom.com (Larry E. Baker) writes: > Let me offer a slightly different >OPINION< on why NeXT isn't > the winner I had once thought it would be. > > When the NeXT machine came out, it was, quite simply, an order > of magnitude more powerful than anything else on the market at > the time. It was easier to program, easier to use, cleaner, > prettier, faster, more robust, more flexible, and it could do > windows (smirk). > > But you couldn't buy it. The original NeXT (the cube) was not faster than anything else on the market at the time. To the user, it wasn't faster than a mid-range Mac, never mind the most expensive Unix boxes that were available back then. The original wasn't fast enough for the people with deep pockets, and it was too expensive for people who were looking to buy PC's. It wasn't really until the 68040-based Macs and NeXTSTEP 2.0 that NeXT was a really good buy compared to the competition. By then, NeXT was selling to anyone interested in buying. > Only college students and universities could buy it. And, to > boot, if Steve Jobs thought you were buying a "server > configuration," he'd cancel your order, because according to the > Book of Jobs, NeXT machines weren't intended to be servers, but > peers on a network. This kind of thinking also promoted the > boot-from-CD philosophy that performance-crippled many of the > machines. There was never a boot-from-CD philosophy. There was a magento- optical philosophy which did hurt performance, even though it was a neat idea in many ways. Just now the technology for MO drives is getting to the point that NeXT needed to have it for their idea to work. If they could have had the Apex drive on the original NeXTstations, for instance, it could have been a great matchup. They still would have needed a floppy or a CD-ROM drive, of course! > There are other reasons why NeXTStep hasn't succeeded as an "open" > operating system (it isn't open, only people like IBM can afford > to license it, etc.), but that can wait for another day, and > another discussion, if anyone's inclined. Perhaps a discussion for csn.advocacy, sometime. -- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
From: cfleming@alleg.edu (Chuck Fleming) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT success stories? Date: 16 Dec 1995 19:07:50 GMT Organization: Best Internet Communications Message-ID: <4av5e6$l33@shellx.best.com> On 12/15/95, Garance A. Drosehn wrote: >leb@netcom.com (Larry E. Baker) writes: >> Let me offer a slightly different >OPINION< on why NeXT isn't >> the winner I had once thought it would be. >> >> When the NeXT machine came out, it was, quite simply, an order >> of magnitude more powerful than anything else on the market at >> the time. It was easier to program, easier to use, cleaner, >> prettier, faster, more robust, more flexible, and it could do >> windows (smirk). >> >> But you couldn't buy it. > >The original NeXT (the cube) was not faster than anything else >on the market at the time. To the user, it wasn't faster than >a mid-range Mac, never mind the most expensive Unix boxes that >were available back then. > >The original wasn't fast enough for the people with deep >pockets, and it was too expensive for people who were >looking to buy PC's. > >It wasn't really until the 68040-based Macs and NeXTSTEP 2.0 >that NeXT was a really good buy compared to the competition. >By then, NeXT was selling to anyone interested in buying. > > The January 1989 issue of MACWORLD offers some data that would indicate that the NeXT really was a good buy even in the 030 days. Granted it was too expensive for most people looking to buy a PC, and you couldn't get one if you weren't in academia, but according to the price comparision given in the "What's Next?" article, it cost $18,375 (list) and $11,045 (consortium price) to bring a comparable Mac system up to the level of the $6500 NeXT. Chuck -- ############################################ Charles G. Fleming Head Juggler, Software Development Group Allegheny College cfleming@alleg.edu NeXT Mail preferred ############################################
Newsgroups: comp.sys.next.programmer From: rdl@world.std.com (Robert La Ferla) Subject: Re: New i386 NEXTSTEP Sound solution needs Sound System Driver sources In-Reply-To: brianw@sounds.wa.com's message of Tue, 12 Dec 1995 22:22:31 GMT Message-ID: <RDL.95Dec17002247@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <DJHvHJ.Mut@sounds.wa.com> Date: Sun, 17 Dec 1995 05:22:47 GMT It would be nice to see your driver and a driver for the Turtle Beach cards too. Robert La Ferla Registered OPENSTEP / NEXTSTEP Consultant Boston, MA Tel: + 1 (617) 252-0088 Fax: + 1 (617) 252-0004 E-mail: Robert_La_Ferla@hot.com In article <DJHvHJ.Mut@sounds.wa.com> brianw@sounds.wa.com (Brian Willoughby) writes: Xref: world comp.sys.next.programmer:25923 Newsgroups: comp.sys.next.programmer Path: world!news.kei.com!newsfeed.internetmci.com!in2.uu.net!nwnews.wa.com!nwfocus.wa.com!sounds!brianw From: brianw@sounds.wa.com (Brian Willoughby) Organization: Sound Consulting, Bellevue, WA, USA Date: Tue, 12 Dec 1995 22:22:31 GMT Lines: 37 I would like to write a NEXTSTEP driver for the Ensoniq Soundscape multimedia card. I have just finished writing the Windows NT driver for Ensoniq which supports all (five or so) revisions of their hardware and firmware. This card has either an AD1848 or AD1845 CODEC, and is thus very similar to the Microsoft Windows Sound System card - with the addition of MPU-401 MIDI and a great deal of custom hardware. Gateway is shipping these cards in a probably all of their new machines. Since I understand that the Microsoft Sound System card is the best performer for NEXTSTEP, and since that card is no longer in production, it seems to me that the Ensoniq Soundscape could become very popular for NEXTSTEP users who need a solid sound solution. I would like to start with the Sound System Driver sources, merge any additions necessary for MPU401 support, and then add Soundscape-specific capabilities. There really is not any documentation of the Soundscape hardware outside of Ensoniq, so I am the prime candidate for writing this NEXTSTEP driver. Can anyone tell me where to find the Sound System Driver sources for NEXTSTEP's DriverKit? If anyone at NeXT is listening, I believe that this is an important opportunity which would warrant releasing the sources, under non-disclosure if need be. Of course, this supposes that they are not already available. I will attempt to call NeXT this week, although I have no idea who I should be talking to there. The card has SoundBlaster emulation capabilities, but since the Ensoniq engineers required the NT driver to work in native mode, I doubt that using the NEXTSTEP SoundBlaster driver would perform very well (not to mention the fact that the Soundscape would have to be set into SoundBlaster emulation mode somehow). -- Brian Willoughby Software Design Engineer, BSEE from NCSU NeXTmail welcome Sound Consulting: Software Design and Development BrianW@SoundS.WA.com Bellevue, WA <http://nwlink.com/cyberartists/brianw/brianw.html>
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Something better than RTFM from Next? Date: 17 Dec 1995 07:17:57 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <4b0g75$i7b@opal.southwind.net> This is related to my poscrtipt question since RTFM failed me. Its directed to Next but I think its good for anyone with public domain programs and it may get rid of a lot of Usenet traffic esp form me :) I wish they would put all there docs on the web. Hint Hint. Another neat idea would be to give people the option of providing there email adresses to otheres who hit certian doc pages. This gets rid of the fluff : ) Thus I could search the web for Next's info on DPS find the best man pages if they don't solve it publish my email adrees and maybe a short explnation of my problem. Also maybe a button that I can acces once I register that I can click from unsolved to solved. These link could have and expration date etc and a "me to" link for peole with similar problems. If somebody else comes a long that is RTFMing they can email me to see if I solved it, remind me to change my question to solved etc. This provides a dynamic connection for people working on similar problems. If a problem is common say 50% of the people acces the page to solve the same problem Next could link it in as a FAQ to the man page. I think this would be a hell of a lot better demo for the power and dynamics of webobjects than looking at stupid cars I can't afford : ) mike@hobbs.chem.usu.edu Mike
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep and DLLs Date: 17 Dec 1995 16:57:54 GMT Organization: Sense Networking Seattle (www.oz.net) Distribution: world Message-ID: <4b1i6i$pmt@emerald.oz.net> References: <4a2bl8$41v@sparcserver.lrz-muenchen.de> <4at6rb$im3@news.next.com> msnyder@NeXT.com (Michael Snyder) wrote: > The only part of your question that I'm competent to address is the phrase > "OpenStep for Windows95". At this moment there is no such animal in the > works (although it may come some day). OpenStep for Windows NT will be > released next year, but the two are very different critters. This comment seems inconsistent with what NeXT is saying on its Web site. There NeXT states that OpenStep for Windows will support the development of apps under both Windows 95 and NT. It also shows screen shots of IB running under both Windows 95 and NT. I don't doubt that OpenStep for Windows 95 and NT are 2 different products and that the development of OpenStep for Windows NT is farther along because NT has been available and stable much longer than 95, but if no OpenStep for Windows 95 product is in the works, is the IB screen shot on NeXT's Web site a fake? We have potential customers who have chosen Windows 3.1 as their desktop standard and plan to move to Windows 95 when it's stable. Moving to Windows NT would be much more expensive for them because of its greater hardware resource requirements and cost. We have assured them that our product will be available as an OpenStep for Windows 95 app based on what NeXT has been saying publicly. If NeXT no longer has definite plans to produce OpenStep for Windows 95, it needs to reflect this fact on its Web site. In addition, a public announcement needs to be made so that we and others don't lose credibility with potential customers. -- Art Isbell NeXT & MIME Mail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: stevem@RADium.ca (Stephen MacDougall) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep and DLLs Date: 17 Dec 1995 18:16:36 GMT Organization: ftn Internet Distribution: world Message-ID: <4b1mq4$3cf@master.ftn.net> References: <4a2bl8$41v@sparcserver.lrz-muenchen.de> <4at6rb$im3@news.next.com> In <4at6rb$im3@news.next.com> Michael Snyder wrote: > Ioannis Kabitoglou writes > > Hi, > > > > at the moment I am evaluating the possibility of using OpenStep for > > Windows95 in one of our industrial projects, and I would need some info > > about whether it would be possible for an OpenStep-App to access and use > > functions in an 16 Bit-DLL. If it is, what kind of mechanismus would be > > used? > > The only part of your question that I'm competent to address is the phrase > "OpenStep for Windows95". At this moment there is no such animal in the > works (although it may come some day). OpenStep for Windows NT will be > released next year, but the two are very different critters. > According to NeXT, and Steve Jobs at Object World, OPENSTEP for NT will be released Q1'96, and OPENSTEP for Win95 will be aimed for later in the year, as it is currently in the works. They just have to do some GUI work to the interface, as the Win95 interface is going to become the MS standard, even on NT. If for some reason, OS for Win95 is later than that, don't quote me. I am not a representative of NeXT, and they are perfectly able to change their itinerary without notifying me!! ]-) ]-) ( Though, if they should wish to keep me up to date with OS for Win95, I will not get upset!! ]-) ]-) ) -- ==================================================== Stephen MacDougall RADium Technology Centre (Canada) stevem@RADium.ca NeXT and MIME mail gladly accepted ====================================================
From: Bruno.Bienfait@EROS.CCC.uni-erlangen.de (Bruno Bienfait) Newsgroups: comp.sys.next.programmer Subject: A minimal App needs 1.5 MB of memory. Why so much ? Date: 18 Dec 1995 08:36:59 GMT Organization: Regionales Rechenzentrum Erlangen, Germany Message-ID: <4b397b$etm@rznews.rrze.uni-erlangen.de> I have built a minimal NeXTSTEP app with project builder (without writing any code ). This Application needs 1.45 Mb on NS 3.2 (ps -aux). Why so much ? I wonder if each app has a complete separate copy (code+data) of the objective-C run-time. Bruno
Newsgroups: comp.sys.next.programmer From: p25231@email.mot.com Subject: Plotting polygons? Organization: MOTOROLA Distribution: usa Date: Sun, 17 Dec 1995 23:08:22 GMT Message-ID: <1995Dec17.230822.13058@schbbs.mot.com> Sender: news@schbbs.mot.com (SCHBBS News Account) I have the method shown below for plotting polygons in a view. It works OK, but I would like to make the following improvements/changes: 1. Would it be possible and faster to use pswrap for plotting a polygon with an arbitrary number of points? 2. I am plotting multiple polygons using multiple calls to the method below. Some polygons overlap, and I would like to be able to see the underlying polygons using alpha to achieve transparency. Do I need to use compositing to achieve this effect, and what's the easiest way to do this? - Thanks for any help or comments Mark p25231@email.mot.com - drawFilledPolygonAtX:(float*)xData andY:(float *)yData number:(int)numberPts fill:(float)color withColor:(BOOL)colorOn { // // Draw the polygon: // if(numberPts) { start = 0; // // Get the bounds and the scaling // bbox = [self getBBox]; PSnewpath(); PSsetlinewidth(lineWidth); [self getXScale:&xscale yScale:&yscale xMin:&x_min xMax:&x_max yMin:&y_min yMax:&y_max]; // // Move to first point in poly: // point_ctr = op_ctr = 0; [self addBoundedXPoint:xData[start] yPoint:yData[start] xMin:x_min xMax:x_max yMin:y_min yMax:y_max to:&pts[point_ctr] ]; point_ctr += 2; ops[op_ctr++] = dps_moveto; // // Draw lines to succeeding points // while(++start < numberPts) { [self addBoundedXPoint:xData[start] yPoint:yData[start] xMin:x_min xMax:x_max yMin:y_min yMax:y_max to:&pts[point_ctr] ]; point_ctr += 2; ops[op_ctr++] = dps_lineto; } if(colorOn) NXSetColor(poly_color); else PSsetgray(color); // Draw the fill DPSDoUserPath(pts, point_ctr, dps_float, ops, op_ctr, bbox, dps_ufill); // Draw the outline PSsetgray(NX_BLACK); DPSDoUserPath(pts, point_ctr, dps_float, ops, op_ctr, bbox, dps_ustroke); } return self; }
From: wkwong@bellman.eng.ohio-state.edu (Waihon Andrew Kwong) Newsgroups: comp.sys.next.programmer Subject: Re: I'm giving up on Model-View-Controller Date: 18 Dec 1995 01:37:17 GMT Organization: The Ohio State University Message-ID: <4b2gkd$7sl@charm.magnus.acs.ohio-state.edu> References: <498rrr$igq@saturn.genoa.com> <4agrne$95h@nntp.ucs.ubc.ca> <4askf3$on0@voyager.Internex.NET> In article <4askf3$on0@voyager.Internex.NET> Lee Willis <lee@multigen.com> writes: >Speaking of the Model/View/Controller paradigm: > >Are there any good books on MVC? I've seen it described briefly >in a number of books, but I've never seen a book that did any in >depth information on it, any teach-yourself-MVC kind of stuff. > > >-- >Lee Willis MultiGen Inc. 550 S Winchester Blvd. Suite 500 > San Jose, CA 95128 (408) 261-4100 > MVC originally come from smalltalk....so, any complete smalltalk reference should have a section dedicated to MVC. Andy -- //|| // @ E-mail: wkwong@ee.eng.ohio-state.edu // ||// @ 75662.2020@compuserve.com //==||\\ @ "If you put your mind to it, you can accompish anything!" // || \\ @ "NeXTMAIL and MIME IS WELCOME!"
From: briman101@aol.com (BriMan101) Newsgroups: comp.sys.next.programmer Subject: US - Chicago/IL - 10 x NeXTSTEP Developers - New Projects - to 80k+Bonus Date: 17 Dec 1995 21:51:25 -0500 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <4b2kvd$scm@newsbf02.news.aol.com> Several of my top Chicago based clients are searching for career minded NeXTSTEP developers for new 1996 development projects. Candidates will be responsible for development of new financial based systems using NeXTSTEP, Sybase or Oracle, EOF, Objective-C and AppKit. You must have NeXTSTEP development experience, coupled with good interpersonal skills. All applications will be handled in the strictest confidence. Contact: Brian Mitchell Datacom Technology Group Inc 212-629-5720 212-629-3374(FAX)
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <ocs@ms.mff.cuni.cz> Message-ID: <199512181046.AA03169@ns.ms.mff.cuni.cz> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Ondra Cada <ocs@ms.mff.cuni.cz> Date: Mon, 18 Dec 95 11:46:24 +0100 Subject: DO nice trick Organization: OCSoftware Hi all the Distributed Objects users, Are you aware that no method in multi client server is guaranted to be processed mutually exclusive with any other method? More specifically, should some method inside multi client server communicate with a client by a proxy, _any_ other server method can be called there: -server_method_1 { ... } -server_method_2:aProxy { ... [aProxy something]; // HERE might be called server_method_1! ... } In fact, this very strange behavior is indirectly documented: the connection (used to communicate with the proxy) can serve other client's DO request, which in turm might trigger any other server method. Sorry to bore you if you had known this, but I guess almost nobody understand till his/her program start crashing irreguralry due to some critical section violation. Here is a working example: #import <appkit/appkit.h> #import <remote/NXProxy.h> #import <sys/types.h> #define NAME "Nice trick, huh?!?" @interface Proxy:Object @end @implementation Proxy -(int)client {return getpid();} @end @interface Server:Object { int mutex; } -(void)mutex:proxy; @end @implementation Server -(void)mutex:proxy { int i; mutex++; // well, we don't use threads, so this method should // be uninterruptible, shouldn't it? And the "mutex" // part of the following printout should be always 1. for (i=0;i<5;i++) { printf("%d: mutex=%d (client %d)\n",i,mutex,[proxy client]); sleep(1); } mutex--; } @end void main(void) { id main; if ((main=[NXConnection connectToName:NAME])==NULL) [[NXConnection registerRoot:[Server new] withName:NAME] run]; else [main mutex:[Proxy new]]; } simply make this program, run it for the first time as server and then concurrently several times as clients - you'll get something like 0: mutex=1 (client 9921) 1: mutex=1 (client 9921) 2: mutex=1 (client 9921) 0: mutex=3 (client 9923) 1: mutex=3 (client 9923) 2: mutex=3 (client 9923) 3: mutex=3 (client 9923) 4: mutex=3 (client 9923) 0: mutex=2 (client 9922) 1: mutex=2 (client 9922) 2: mutex=2 (client 9922) 3: mutex=2 (client 9922) 4: mutex=2 (client 9922) 3: mutex=1 (client 9921) 4: mutex=1 (client 9921) --- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK
From: mcgredo@crl.com (Donald R. McGregor) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep and DLLs Date: 17 Dec 1995 19:41:04 -0800 Organization: Universal Export Message-ID: <4b2nsg$ru7@crl7.crl.com> References: <4a2bl8$41v@sparcserver.lrz-muenchen.de> <4at6rb$im3@news.next.com> <4b1mq4$3cf@master.ftn.net> In article <4b1mq4$3cf@master.ftn.net>, Stephen MacDougall <stevem@RADium.ca> wrote: :>According to NeXT, and Steve Jobs at Object World, OPENSTEP for NT will be :>released Q1'96, and OPENSTEP for Win95 will be aimed for later in the year, :>as it is currently in the works. It's more like Q2, last I heard. Probably just betas in Q1. They do have a drop-dead date then, however, due to customer requirements. -- Don McGregor | Two quarts of Coke a day might not make you healthy, mcgredo@crl.com | wealthy, or wise, but it sure does keep you wired.
From: sanguish@digifix.com Newsgroups: comp.sys.next.announce,comp.sys.next.advocacy,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.programmer,comp.sys.next.misc,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.next.bugs,comp.soft-sys.nextstep Subject: NEXTSTEP Resources on the Internet Date: 18 Dec 1995 05:15:11 GMT Organization: Digital Fix Development Distribution: inet Message-ID: <4b2tcv$1i9@digifix.digifix.com> Topics include: Stepwise NEXTSTEP/OpenStep Information WWW site eduSTEP WWW site NeXT Computer, Inc. WWW site comp.sys.next newsgroups related newsgroups comp.sys.next newsgroups mailing list ftp sites NeXTanswers Stepwise NEXTSTEP/OpenStep Information WWW site =============================================== This online community resource includes - 188+ ISV company pages - 433+ ISV product descriptions - NEXTSTEP Developer Directory - NEXTSTEP Community WhitePages - NEXTSTEP User Group Directory - comp.sys.next archives - User Group information - Mailing List archives and information You can connect via the world wide web at: http://www.stepwise.com/ Additionally there is a Mail Server available. You can get information on using the mail server at ns-products@stepwise.com Suggestions or comments can be directed to me at sanguish@digifix.com If you would like to get your company and product information on Stepwise, please contact me at sanguish@digifix.com. eduSTEP WWW site ================ http://www.nmr.embl-heidelberg.de/eduStep/ eduStep aims to provide up-to-date information on: - NextStep tools and projects for scientists. - Third-party products interesting for the educational and scientific community (with educational discounts noted, where they exist). - A listing of resellers and shops interested in working with customers in the educational community. - Conferences, meetings, workshops - Major projects, such as SciTools, EMBL's project to develop a NextStep scientific work environment - Status reports on GNUStep, a freely-available implementation of OpenStep now being developed NeXT Computer, Inc. WWW site ============================ http://www.next.com comp.sys.next.* newsgroups ========================== news:comp.sys.next.advocacy This is the "why NEXTSTEP is better (or worse) than anything else in the known universe" forum. It was created specifically to divert lengthy flame wars from .misc. news:comp.sys.next.announce Announcements of general interest to the NeXT community (new products, FTP submissions, user group meetings, commercial announcements etc.) This is a moderated newsgroup, meaning that you can't post to it directly. Submissions should be e-mailed to next-announce@digifix.com where the moderator (Scott Anguish) will screen them for suitability. Archives are available by ftp at ftp://ftp.stepwise.com/pub/Next_Announce_Archives Messages posted to announce should NOT be posted or crossposted to any other comp.sys.next groups. news:comp.sys.next.bugs A place to report verifiable bugs in NeXT-supplied software. Material e-mailed to Bug_NeXT@NeXT.COM is not published, so this is a place for the net community find out about problems when they're discovered. This newsgroup has a very poor signal/noise ratio--all too often bozos post stuff here that really belongs someplace else. It rarely makes sense to crosspost between this and other c.s.n.* newsgroups, but individual reports may be germane to certain non-NeXT- specific groups as well. news:comp.sys.next.hardware Discussions about NeXT-label hardware and compatible peripherals, and non-NeXT-produced hardware (e.g. Intel) that is compatible with NEXTSTEP. In most cases, questions about Intel hardware are better asked in comp.sys.ibm.pc.hardware. Questions about SCSI devices belong in comp.periphs.scsi. This isn't the place to buy or sell used NeXTs--that's what .marketplace is for. news:comp.sys.next.marketplace NeXT stuff for sale/wanted. Material posted here must not be crossposted to any other c.s.n.* newsgroup, but may be crossposted to misc.forsale.computers.workstation or appropriate regional newsgroups. news:comp.sys.next.misc For stuff that doesn't fit anywhere else. Anything you post here by definition doesn't belong anywhere else in c.s.n.*--i.e. no crossposting!!! news:comp.sys.next.programmer Questions and discussions of interest to NEXTSTEP programmers. This is primarily a forum for advanced technical material. Generic UNIX questions belong elsewhere (comp.unix.questions), although specific questions about NeXT's implementation or porting issues are appropriate here. Note that there are several other more "horizontal" newsgroups (comp.lang.objective-c, comp.lang.postscript, comp.os.mach, comp.protocols.tcp-ip, etc.) that may also be of interest. news:comp.sys.next.software This is a place to talk about [third party] software products that run on NEXTSTEP systems. news:comp.sys.next.sysadmin Stuff relating to NeXT system administration issues; in rare cases this will spill over into .programmer or .software. Related Newsgroups ================== news:comp.soft-sys.nextstep Like comp.sys.next.software and comp.sys.next.misc combined. Exists because NeXT is a software-only company now, and comp.soft-sys is for discussion of software systems with scope similar to NEXTSTEP. news:comp.lang.objective-c Technical talk about the Objective-C language. Implemetations discussed include NeXT, Gnu, Stepstone, etc. news:comp.object Technical talk about OOP in general. Lots of C++ discussion, but NeXT and Objective-C get quite a bit of attention. At times gets almost philosophical about objects, but then again OOP allows one to be a programmer/philosopher. (The original comp.sys.next no longer exists--do not attempt to post to it.) Exception to the crossposting restrictions: announcements of usenet RFDs or CFVs, when made by the news.announce.newgroups moderator, may be simultaneously crossposted to all c.s.n.* newsgroups. Getting the Newsgroups without getting News =========================================== Thanks to Michael Ross at antigone.com, the main NEXTSTEP groups are now available as a mailing list digest as well. next-nextstep-d next-advocacy-d next-announce-d next-bugs-d next-hardware-d next-marketplace-d next-misc-d next-programmer-d next-software-d next-sysadmin-d (For a full description, send mail saying LISTS to <digestif@antigone.com>). The subscription syntax is essentially the same as LISTSERV's. To subscribe, send a message to <digestif@antigone.com> saying: SUB Listname YourName Example: SUB next-hardware-d John Doe The ftp sites ============= ftp://ftp.cs.orst.edu: The main site for North American submissions ftp://ftp.informatik.uni-muenchen.de: (Peanuts) Located in Germany. ftp://ftp.dn.net/pub/next Peanuts mirror in the US ftp://terra.stack.urc.tue.nl (Dutch NEXTSTEP User Group) and ftp://cube.sm.dsi.unimi.it (Italian NEXTSTEP User Group) ftp://ftp.nmr.embl-heidelberg.de/pub/next/ eduStep ftp://ftp.next.com: See below ftp.next.com and NextAnswers@next.com ===================================== [from the document ftp://ftp.next.com/pub/NeXTanswers/1000_Help] Welcome to the NeXTanswers information retrieval system! This system allows you to request online technical documents, drivers, and other software, which are then sent to you automatically. You can request documents by fax or Internet electronic mail, read them on the world-wide web, transfer them by anonymous ftp, or download them from the BBS. NeXTanswers is an automated retrieval system. Requests sent to it are answered electronically, and are not read or handled by a human being. NeXTanswers does not answer your questions or forward your requests. USING NEXTANSWERS BY E-MAIL To use NeXTanswers by Internet e-mail, send requests to nextanswers@next.com. Files are sent as NeXTmail attachments by default; you can request they be sent as ASCII text files instead. To request a file, include that file's ID number in the Subject line or the body of the message. You can request several files in a single message. You can also include commands in the Subject line or the body of the message. These commands affect the way that files you request are sent: ASCII causes the requested files to be sent as ASCII text SPLIT splits large files into 95KB chunks, using the MIME Message/Partial specification REPLY-TO address sets the e-mail address NeXTanswers uses These commands return information about the NeXTanswers system: HELP returns this help file INDEX returns the list of all available files INDEX BY DATE returns the list of files, sorted newest to oldest SEARCH keywords lists all files that contain all the keywords you list (ignoring capitalization) For example, a message with the following Subject line requests three files: Subject: 2101 2234 1109 A message with this body requests the same three files be sent as ASCII text files: 2101 2234 1109 ascii This message requests two lists of files, one for each search: Subject: SEARCH Dell SCSI SEARCH NetInfo domain NeXTanswers will reply to the address in your From: line. To use a different address either set your Reply-To: line, or use the NeXTanswers command REPLY-TO <your-address> If you have any problem with the system or suggestions for improvement, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY FAX To use NeXTanswers by fax, call (415) 780-3990 from a touch-tone phone and follow the instructions. You'll be asked for your fax number, a number to identify your fax (like your phone extension or office number), and the ID numbers of the files you want. You can also request a list of available files. When you finish entering the file numbers, end the call and the files will be faxed to you. If you have problems using this fax system, please call Technical Support at 1-800-848-6398. You cannot use the fax system outside the U.S & Canada. USING NEXTANSWERS VIA THE WORLD-WIDE WEB To use NeXTanswers via the Internet World-Wide Web connect to NeXT's web server at URL http://www.next.com. USING NEXTANSWERS BY ANONYMOUS FTP To use NeXTanswers by Internet anonymous FTP, connect to FTP.NEXT.COM and read the help file pub/NeXTanswers/README. If you have problems using this, please send mail to nextanswers-request@next.com. USING NEXTANSWERS BY MODEM To use NeXTanswers via modem call the NeXTanswers BBS at (415) 780-2965. Log in as the user "guest", and enter the Files section. From there you can download NeXTanswers documents. FOR MORE HELP... If you need technical support for NEXTSTEP beyond the information available from NeXTanswers, call the Support Hotline at 1-800-955-NeXT (outside the U.S. call +1-415-424-8500) to speak to a NEXTSTEP Technical Support Technician. If your site has a NeXT support contract, your site's support contact must make this call to the hotline. Otherwise, hotline support is on a pay-per-call basis. Thanks for using NeXTanswers! Written by: Eric P. Scott (mailto:eps@toaster.SFSU.EDU) and Scott Anguish (mailto:sanguish@digifix.com) Additions from: Greg Anderson (mailto:Greg_Anderson@afs.com) Michael Pizolato (mailto:alf@epix.net) Dan Grillo (mailto:dan_grillo@next.com)
Newsgroups: comp.sys.next.programmer From: Joakim Johansson <jocke@rat.se> Subject: Re: DO nice trick Message-ID: <DJsDzK.JLv@rat.se> Sender: jocke@rat.se (Joakim Johansson) Organization: Research & Trade, AB. References: <199512181046.AA03169@ns.ms.mff.cuni.cz> Date: Mon, 18 Dec 1995 14:38:04 GMT In article <199512181046.AA03169@ns.ms.mff.cuni.cz> writes: > [snip] > -server_method_2:aProxy > { > ... > [aProxy something]; // HERE might be called server_method_1! > ... > } This could only happen if "-something" is a synchronous method call. > In fact, this very strange behavior is indirectly documented: the > connection (used to communicate with the proxy) can serve other > client's DO request, which in turm might trigger any other server > method. Sorry to bore you if you had known this, but I guess almost > nobody understand till his/her program start crashing irreguralry > due to some critical section violation. This is actually an essential feature in (P)DO which allows for callbacks during synchronous method calls. If you want to ensure that you don't get interrupted from other clients, you have to use an asynchronous protocol instead (which you probably want to do if you get serious about using (P)DO anyway). Our experience has been that it's a Very Good Idea (tm) to do the majority of (P)DO calls asynchronous.. (avoiding interrupts as this as well as (especially) improving throughput in the (P)DO system). Joakim -- Joakim Johansson Software Developer, Research & Trade jocke@rat.se <NeXTmail, MIME>
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Re: Calling C functions from postscript (Answer) Date: 18 Dec 1995 16:10:11 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <4b43p4$eg1@opal.southwind.net> References: <4aprka$kof@opal.southwind.net> In article <4aprka$kof@opal.southwind.net> mike@hobbs.chem.usu.edu (Michael Emmel) writes: > > > There seems to be no support in the postscript language to call C > programs. > > In fact I can't even faind a generic "sytem" type call. > > Is this true or am I missing something. > > The problem with Pswrap is that its not dynamic. You can not PSWrap > dynamic postscript code something of a bummer. It looks like I must use a > Yap type system to deal with dynamic PScode. : ( > Well heres a partial answer I recived from Roger Peppe <rog@ohm.york.ac.uk> It seems there is a nicely undocumented function DPSPrintf() He used the example DPSPrintf(DPSGetCurrentContext(), "postscript goes here...") Now does Next document this function anywhere? The only thing I could find in digital librarian was in List.rtf - GeneralRef/03_Common/Classes were it seems somebody at Next goofed and acutally mentioned it. Maybe some simple things like does it perform a gsave grerestore what is it's return values? I'm pissed this little gem is so well hidden : ( It works the reverse of the way I asked my question but if I had asked about calling arbitary postscript from C, which is what I really wanted I felt I would get tons of uneeded info on PSWrap. I figure other people might be intrested in the existance of this undocumented function. I wonder what other neat DPS functions Next has that it refuses to share? mike@hobbs.chem.usu.edu Mike
From: rusk@advis.com (Patrick Dean Rusk) Newsgroups: comp.sys.next.programmer Subject: Re: EOF: multiple declarations for method `endEditing' Date: 18 Dec 1995 16:35:30 GMT Organization: Advanced Information Solutions, Inc. Message-ID: <4b458i$68c@gate.advis.com> References: <1995Dec7.005259.3295@free.fdn.org> Fabien_Roy@free.fdn.org writes > How to get rid of this warning? > > Prog.m:203: warning: multiple declarations for method `endEditing' Cast the object to which you're sending the message to whatever is its appropriate class (NXTableView in this case, I think). --- Patrick Dean Rusk (P) 617.350.8818 x122 Advanced Information Solutions, Inc. (F) 617.350.7696 268 Summer St., 7th Floor (E) rusk@advis.com Boston, MA 02210-1108 (W) http://www.advis.com
Newsgroups: comp.sys.next.programmer From: beaver@il.us.swissbank.com (Jason Beaver) Subject: Re: NSDebug ? Message-ID: <1995Dec18.191425.28836@il.us.swissbank.com> Sender: root@il.us.swissbank.com (Operator) Organization: Swiss Bank Corporation CM&T Division References: <4arln4$sho@rks1.urz.tu-dresden.de> Date: Mon, 18 Dec 1995 19:14:25 GMT Here's a category on Object which replaces the printForDebugger: method with one with prints the object's description (if it implements it and returns an object), otherwise returns the class name and pointer (just like printForDebugger: does normally). @implementation Object(Debugging) - (void)printForDebugger:(NXStream *)stream { struct objc_method_description *method = [self descriptionForMethod:@selector(description)]; NSString *description = nil; if (self == [self class]) { description = [NSString stringWithCString:[(Object *)self name]]; } else { if (*(method->types) == '@') description = [(NSObject *)self description]; else description = [NSString stringWithFormat:@"<%s: %p>",[(Object *)self name],self]; } NXPrintf(stream,"%s",[description cString]); } @end jason __________________ Jason Beaver Swiss Bank Corp. #import <std/disclaimer.h>
From: frank@this.net (Frank M. Siegert) Newsgroups: comp.sys.next.programmer Subject: Re: Calling C functions from postscript (Answer) Date: 18 Dec 1995 18:17:38 GMT Organization: my own Message-ID: <4b4b82$j0c@gate.seicom.net> References: <4aprka$kof@opal.southwind.net> <4b43p4$eg1@opal.southwind.net> mike@hobbs.chem.usu.edu (Michael Emmel) wrote: > I wonder what other neat DPS functions Next has that it refuses to share? > mike@hobbs.chem.usu.edu (Sorry, I stumbled over this thread just today...) Quite a lot.... not refusing to share but refusing to document right! Maybe they think mere mortals should not dive too deep into this... but use the higher level methodes. Now, can you say: 'To boldly go where only a few has gone before...' BTW DPSPrintf is partly documented - just look in the header file dpsclient/dpsclient.h. Others calls that could be of some value are DPSWriteData and DPSWritePostScript. I use quite a lot of these functions in my PostScript debugger BeYAP. A way to do some animations in a info view or similar using DPS functions is: - drawSelf:(NXRect *)rects :(int)rectCount { % neglecting the rects above, remember this is only of educational value PSgsave(); while (....postscript_data_available...) { ...read_a_single_line_of_data... NX_DURING { DPSPrintf(DPSGetCurrentContext()," %s ",the_single_line_of_data); NXPing(); } NX_HANDLER { fprintf(stderr,"Errors during display of Info Panel... (%s) !\n", the_single_line_of_data); } NX_ENDHANDLER } PSgrestore(); return self; } in a subclass of View. Every line is interpreted and drawn. You have the animation script (in postscript) separate from the application, so you can change it quite easily. BTW The real problem is not getting PS data into the interpreter but to get arbitary data back to the application without waiting for it (say without a pswrap, but async)... - Frank --- Frank M. Siegert [frank@this.net] -- Home Page http://hades.tue.schwaben.de/~frank NeXTSTEP & PostScript Guy "In cantonese C++ is called C ga ga"
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Mon, 18 Dec 95 17:57:09 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9512181657.AA06424@flexus> Subject: Re: text manipulation Hello experts, I'm doing some text manipulation using flex and bison ((better) GNU equivalents of lex and yacc), but there are still occasions that I want to match things from C code. (For instance, I've matched a string, and then I want to detect substrings according to a particular pattern. I could do that by first hackishly commanding a sc_detect_format start condition in flex from bison, returning a token indicating the precise format, and then I could direct the scanning of the substrings from bison, using several more start conditions in flex. This becomes a bit tedious after a while, however.) Therefore my question: are there tools/libraries on the NEXTSTEP platform to enrich the strcmp-and-such family of functions, allowing regular expressions, but avoiding flex? E.g. (if object-oriented), la=[LexicalAnalyser new]; [la useRESyntax:"lex"]; [la addRE:"re_isupper" meaning:"[A-Z]"]; [la addRE:"re_islower" meaning:"[a-z]"]; [la addRE:"re_isalpha" meaning:"{re_isupper}|{re_islower}"]; [la addRE:"re_isdigit" meaning:"[0-9]"]; [la addRE:"re_isxdigit" meaning:"{re_isdigit}|[A-F]|[a-f]"]; [la addRE:"re_isalnum" meaning:"{re_isdigit}|{re_isalpha}"]; [la addRE:"re_isspace" meaning:"[\\t\\n\\v\\f\\r\\ ]"]; [la addRE:"re_ispunct" meaning:"[\\ -\\/]|[\\:-\\@]|[\\[-\\`]|[\\{-\\~]"]; [la addRE:"re_isgraph" meaning:"[\\!-\\~]"]; [la addRE:"re_isprint" meaning:"\" \"|{re_isgraph}"]; [la addRE:"re_iscntrl" meaning:"[\\x00-\\x1f]|\\x7f"]; /*...*/ if([la check:str againstRE:"{re_isdigit}+\\\\. " matchLength:&length]){ /*...*/ } More down-to-earth is welcome too. I specifically need to work with strings, not files. Thanks, Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** The year 2000 will be the last year of the 20th century. ***
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.software From: andrew@otter.cuug.ab.ca(Andrew Tyldesley) Subject: Are you missing bcp on your black Sybase server?? Sender: news@cuug.ab.ca Message-ID: <DJrDF0.9CB@cuug.ab.ca> Date: Mon, 18 Dec 1995 01:28:12 GMT Organization: Calgary UNIX User's Group Hi, Sorry for the cross post but I really need some help with this one. A few years ago I bought an unopened version of Sybase Server (rel. ver. 4.1) for NeXT hardware . I have only just installed it to do some work with EOF and have found that bcp and bcptrans are missing and are not part of the package reported by Install.app. Anyhow this is what is in my /usr/sybase/bin directory, anyone know what's missing?: buildmaster* console* dataserver* isql* probe* syman* upgrade4* Also, if you do have the missing programs I would really appreciate a copy of them. I don't think that would violate the copyright since I own a copy of the server software and I'm quite sure bcp etc. are supposed to part of it (according to NeXT answers). Thanks for any help you can give. Andrew
From: cfleming@alleg.edu (Chuck Fleming) Newsgroups: comp.sys.next.programmer Subject: Re: Calling C functions from postscript (Answer) Date: 18 Dec 1995 22:07:44 GMT Organization: Best Internet Communications Message-ID: <4b4ong$cog@shellx.best.com> On 12/18/95, Michael Emmel wrote: >In article <4aprka$kof@opal.southwind.net> mike@hobbs.chem.usu.edu >(Michael Emmel) writes: > >It seems there is a nicely undocumented function > >DPSPrintf() > >Now does Next document this function anywhere? > Yes. It is documented in volume titled "Supplemental Documentation" which was part of the NeXT Developer's Library. The copyright is 1990. It also is documented in "Programming the Display PostScript System with NeXTstep" from Adobe. > >I figure other people might be intrested in the existance of this >undocumented function. > It is also documented in Summaries/05_DisplayPS/ClientLibSummary.rtf, under the Sending Data to the Window Server section, which can be found with Digital Librarian. >I wonder what other neat DPS functions Next has that it refuses to share? > Perhaps you should look a little harder before making false accusations. Chuck -- ############################################ Charles G. Fleming Head Juggler, Software Development Group Allegheny College cfleming@alleg.edu NeXT Mail preferred ############################################
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <ocs@ms.mff.cuni.cz> Message-ID: <199512182013.AA10041@ns.ms.mff.cuni.cz> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) From: Ondra Cada <ocs@ms.mff.cuni.cz> Date: Mon, 18 Dec 95 11:46:24 +0100 Subject: DO nice trick Organization: OCSoftware Hi all the Distributed Objects users, Are you aware that no method in multi client server is guaranted to be processed mutually exclusive with any other method? More specifically, should some method inside multi client server communicate with a client by a proxy, _any_ other server method can be called there: -server_method_1 { ... } -server_method_2:aProxy { ... [aProxy something]; // HERE might be called server_method_1! ... } In fact, this very strange behavior is indirectly documented: the connection (used to communicate with the proxy) can serve other client's DO request, which in turm might trigger any other server method. Sorry to bore you if you had known this, but I guess almost nobody understand till his/her program start crashing irreguralry due to some critical section violation. Here is a working example: #import <appkit/appkit.h> #import <remote/NXProxy.h> #import <sys/types.h> #define NAME "Nice trick, huh?!?" @interface Proxy:Object @end @implementation Proxy -(int)client {return getpid();} @end @interface Server:Object { int mutex; } -(void)mutex:proxy; @end @implementation Server -(void)mutex:proxy { int i; mutex++; // well, we don't use threads, so this method should // be uninterruptible, shouldn't it? And the "mutex" // part of the following printout should be always 1. for (i=0;i<5;i++) { printf("%d: mutex=%d (client %d)\n",i,mutex,[proxy client]); sleep(1); } mutex--; } @end void main(void) { id main; if ((main=[NXConnection connectToName:NAME])==NULL) [[NXConnection registerRoot:[Server new] withName:NAME] run]; else [main mutex:[Proxy new]]; } simply make this program, run it for the first time as server and then concurrently several times as clients - you'll get something like 0: mutex=1 (client 9921) 1: mutex=1 (client 9921) 2: mutex=1 (client 9921) 0: mutex=3 (client 9923) 1: mutex=3 (client 9923) 2: mutex=3 (client 9923) 3: mutex=3 (client 9923) 4: mutex=3 (client 9923) 0: mutex=2 (client 9922) 1: mutex=2 (client 9922) 2: mutex=2 (client 9922) 3: mutex=2 (client 9922) 4: mutex=2 (client 9922) 3: mutex=1 (client 9921) 4: mutex=1 (client 9921) --- Ondra Cada ocs@earn.cvut.cz NeXTMAIL and MIME OK
From: Tummescheit@tu-harburg.d400.de (Hubertus Tummescheit) Newsgroups: comp.sys.next.programmer Subject: How to compile irc2.8.2 Date: 18 Dec 1995 23:08:31 GMT Organization: Technische Universtaet Hamburg-Harburg Message-ID: <4b4s9f$fuc@rztsun.tu-harburg.de> Hi Folks, I'm for sure not the only one who had trouble compiling irc2.8.2. I tried it several ways, with and without the -posix and -lposix switches, I couldn't get it to link. Does anybody have an idea? Thanx Hubertus ============================================================================= = Hubertus Tummescheit Internet: Tummescheit@tu-harburg.d400.de Grindelallee 148 20146 Hamburg Tel.: +49 (0)40 450 4526 ============================================================================= ==
From: tikin@wsc.com (Martin Lavertu) Newsgroups: comp.sys.next.programmer,comp.sys.next.bug Subject: Distributed Objects, NextStep 3.3, Network Message Server Date: 19 Dec 1995 01:06:27 GMT Organization: WSC Investment Services, Inc. Message-ID: <4b536j$df@cerberus.wsc.com> Hi, I have experienced problems with Distributed Objects and NextStep 3.3. We have upgraded a few machines to 3.3 lately and suddenly applications using DOs started to break. In order to find the problem, I built a small DO application where the client connects to the server, sends a message that gets printed on the server side and disconnects. The server and client does not use EOF and Foundation Kit and they are not being ran under the AppKit. As said before, my server object has only one public method which prints a message and returns an integer. Now, if I run the client several times in a row, I get different problems depending on the OS version the server and the client is running. Server Client Problem 3.2 3.2 No problem, works like a charm 3.2 3.3 After 128 connections, I get timeout on receiving (11013) and the connection cannot be established. The server is still available. 3.3 3.2 After 128 connections, the server cannot handle more connections. The message "handleRequestOnPortal: id <target> not available" appears on the server side while the exception 11007(NX_objectNotAvailableException) is raised on the client side. 3.3 3.3 Same problems as the third setup + problems of the second setup. Now the most interesting thing is by changing the server method to be "oneway void" instead of returning an integer, the previous problems described above disappear. But they seem to reappear later, after establishing and freeing 1500 to 2000 connections on 3.3. No more messages can't be sent and no errors are generated (the usual exception is not even raised). My tiny distributed application is compiled under 3.3, and I get the same problems when it's compiled under 3.2. I would like to know if anyone of you have had similar problems. It looks like that connections are not being freed and the maximum number of connections which is 128 is reached. Also, there is a new feature under 3.3 which automatically closes connections that are idle for more than 2.5 minutes. So if run the client every 1 or 2 seconds, you will be able to establish more than 128 connections. Thanks, -- Martin Lavertu WSC Investment Group martin@wsc.com
Newsgroups: comp.sys.next.programmer From: kris@schulung.netuse.de (=?ISO-8859-1?Q?Kristian_K=F6hntopp?=) Subject: Re: A minimal App needs 1.5 MB of memory. Why so much ? Sender: kris@white.schulung.netuse.de (Kristian Koehntopp) Organization: =?ISO-8859-1?Q?entf=E4llt?= Message-ID: <DJstzI.36z@white.schulung.netuse.de> References: <4b397b$etm@rznews.rrze.uni-erlangen.de> Date: Mon, 18 Dec 1995 20:23:41 GMT Bruno.Bienfait@EROS.CCC.uni-erlangen.de (Bruno Bienfait) writes: >I have built a minimal NeXTSTEP app with project builder (without writing >any code ). >This Application needs 1.45 Mb on NS 3.2 (ps -aux). It doesn't. This is the process in-memory size, but this does count in all shared libraries mapped into the address space of this process. While these libraries take up real memory (once), they do already are in memory when you log in. So starting your minimal up does not really cost you 1.5 MB extra memory. Take /NextDeveloper/Apps/ProcessMonitor.app for a more detailed view at your applications memory. Kristian -- Kristian Koehntopp, Wassilystrasse 30, 24113 Kiel, +49 431 688897 "Bill Gates wife has informed him that the deployment of Bill Gates IV has been delayed for another 6 months due to a redesign of the user interface."
Newsgroups: comp.sys.next.programmer From: tom@hukatronic.cz (Tomas Hurka) Subject: DO and NSAutoreleasePool (was: Re: DO nice trick) Message-ID: <DJt03v.2G5@hurka.UUCP> Keywords: DO NSAutoreleasePool Sender: tom@hurka.UUCP (Tomas Hurka) Organization: Hukatronic (H.C.C.) References: <199512181046.AA03169@ns.ms.mff.cuni.cz> Date: Mon, 18 Dec 1995 22:35:55 GMT Hi ! In article <199512181046.AA03169@ns.ms.mff.cuni.cz> writes: > Are you aware that no method in multi client server is guaranted to > be processed mutually exclusive with any other method? [...] > In fact, this very strange behavior is indirectly documented: the > connection (used to communicate with the proxy) can serve other > client's DO request, which in turm might trigger any other server > method. Sorry to bore you if you had known this, but I guess almost > nobody understand till his/her program start crashing irreguralry > due to some critical section violation. This is especially very dangerous when combining DO with autoreleasing used in EOF. [NSAutoreleasePool release] on the server side must be called only from the server main event loop. Otherwise, due to the DO behavior mentioned above, [NSAutoreleasePool release] can be called inside any server method, which communicates with the client. Best regards, -- Tomas Hurka tom@hukatronic.cz NeXTMAIL and MIME OK (international mail <50 KB accepted)
Newsgroups: comp.sys.next.programmer From: rm@califhistsoc.org (Robert MacKimmie) Subject: Re: NeXT success stories?-(My version on one small point...) Message-ID: <DJt5zv.8L0@califhistsoc.org> Sender: rm@califhistsoc.org (Robert MacKimmie) Organization: California Historical Society, San Francisco 415-567-1848 References: <4av5e6$l33@shellx.best.com> Date: Tue, 19 Dec 1995 00:43:07 GMT In article <4av5e6$l33@shellx.best.com> cfleming@alleg.edu (Chuck Fleming) writes: > The January 1989 issue of MACWORLD offers some data that would > indicate that the NeXT really was a good buy even in the 030 days. > Granted it was too expensive for most people looking to buy a PC ... according to the > price comparision given in the "What's Next?" article, it cost $18,375 > (list) and $11,045 (consortium price) to bring a comparable Mac system > up to the level of the $6500 NeXT. At my non-profit, we got started with a small pilot grant from a foundation, to digitize collections and make them available online. I had been with Macintosh since 1984, but I knew from firsthand experience that Mac sucked when it came to databases--big ones, I mean. When I walked into a store in SF and seeing black hardware, I asked "what about NeXT?" This guy got a very excited look on his face and said, "It can do this, and this and this and that and this..." Bottom line: a Mac Quadra with 1/2 gig drive and 16 megs of memory cost $15,000 while a similarly outfitted NeXT cost only $10,500. And the NeXT truly could "do this, and this and this and that and this..." We had to buy used '030 Cubes to get the project off the ground and prove the concept, but now we have 14 machines and work accomplished. It has been worth it to be productive for the past four years. I would have been shrill and would have been pulling my hair out all this time if I was using some other platform. I would have preferred a more bouyant outcome for the regular end-user, but you pays your money and you takes your chance. Robert MacKimmie RM@calhist.org
From: willi@eitaco.tuwien.ac.at (Wilhelm Pitzeier) Newsgroups: comp.sys.next.hardware,comp.sys.next.software.comp.sys.next.misc,comp.sys.next.programmer,de.comp.sys.next Subject: Soundblaster 16 Mixer Date: 19 Dec 1995 09:23:02 GMT Organization: Vienna University of Technology, Austria Message-ID: <4b609m$lob@news.tuwien.ac.at> Hello! NeXTanswers 1810 states that the Soundblaster 16 Mixer supports CD-in, line-in and microphone-in. I couldn't test the other two inputs, but when I connect a source to the external line-in, I can't hear anything (though recording works fine). My questions are: - Does the driver have a bug or is it simply that the mixer is initialized to zero? - If it is initialized to zero, is there any application to change the mixer's settings? (Sound preferences doesn't support the mixer). - Or how can one program such an application? NXSound doesn't provide an interface to the mixer. It surely isn't a hardware problem, since it works fine with Windows95 (which even has a built-in front-end for the mixer). Many thanks, Willi -- ********************* Wilhelm Pitzeier ********************* * Technische Universitaet Wien ** Inst. f. Computergraphik * *************** A-1040 Karlsplatz 13 / 1861 **************** *** E-Mail: pitzeier@eiunix.tuwien.ac.at (NEXT/MIME/ISO) *** ****** Tel. (+43 1) 58801/4109 ** Fax (+43 1) 5042583 ****** ************************************************************
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Re: Calling C functions from postscript (Answer) Date: 19 Dec 1995 16:47:17 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <4b6qal$b13@opal.southwind.net> References: <4b4ong$cog@shellx.best.com> In article <4b4ong$cog@shellx.best.com> cfleming@alleg.edu (Chuck Fleming) writes: > > On 12/18/95, Michael Emmel wrote: > >In article <4aprka$kof@opal.southwind.net> mike@hobbs.chem.usu.edu > >(Michael Emmel) writes: > > > >It seems there is a nicely undocumented function > > > >DPSPrintf() > > > >Now does Next document this function anywhere? > > > > Yes. It is documented in volume titled "Supplemental Documentation" > which was part of the NeXT Developer's Library. The copyright is > 1990. It also is documented in "Programming the Display PostScript > System with NeXTstep" from Adobe. > The book I have from Adobe is the Poscript Language Reference Manual for level II. It documents many of the display poscript feature. It also suggests (I can't find the pages) That one look at the documentation provided by the vendor. The additional documentation "The Display Postscript Sytem Refernce Manual" is prominently mentioned. It's next on my to buy list. For finicail reasons I must be very consevative on my book purchases. I was unaware of a Nextstep specific one published by Adobe. I will certainly call Adobe and find out about this book. I think I just got my Christmas Present. : ) > > > >I figure other people might be intrested in the existance of this > >undocumented function. > > > > It is also documented in Summaries/05_DisplayPS/ClientLibSummary.rtf, > under the Sending Data to the Window Server section, which can be > found with Digital Librarian. > From: Summaries/05_DisplayPS/ClientLibSummary.rtf void DPSPrintf(DPSContext context, const char *format, ...) Wow that's excellent documentation from Next. Easy to find since I din't know the name of the function I was looking for just knew that there should be one with the functionality I wanted. Now does this function perform a /gsave /grestore on entry exit? Seems that Nexts "documentation" doesn't mention that. > >I wonder what other neat DPS functions Next has that it refuses to > share? > > > > Perhaps you should look a little harder before making false > accusations. > > Chuck > I will continue to stand by the fact that this function is not well documented by Next I know its mentioned but considering its utility I think it deserves far more than that. And in the private email I've recieved Nobody else is happy about how Next's has documented it. Theres nothing to suggest that a function like this is avialable in Next documents one has to stumble upon it. In my case once someone told me the name I found it. If you think this function is well documented than I hope your not writing documentation for Next. I will continue to make the accusation that Next's documentation has some serious holes in it. And I think that many people have found that critical or useful info is not present in Nexts documentation. I'm sure if we started recording various "bugs" in the documentation and work arounds one would be able to publish a book that would be a bestseller among Nextstep Programmers. mike@hobbs.chem.usu.edu Mike
From: Lee Willis <lee@multigen.com> Newsgroups: comp.sys.next.programmer Subject: Re: I'm giving up on Model-View-Controller Date: 19 Dec 1995 19:36:54 GMT Organization: MultiGen Message-ID: <4b748m$gir@voyager.Internex.NET> References: <498rrr$igq@saturn.genoa.com> <4agrne$95h@nntp.ucs.ubc.ca> <4askf3$on0@voyager.Internex.NET> <4b2gkd$7sl@charm.magnus.acs.ohio-state.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit wkwong@bellman.eng.ohio-state.edu (Waihon Andrew Kwong) wrote: >In article <4askf3$on0@voyager.Internex.NET> Lee Willis <lee@multigen.com> writes: >>Speaking of the Model/View/Controller paradigm: >> >>Are there any good books on MVC? I've seen it described briefly >>in a number of books, but I've never seen a book that did any in >>depth information on it, any teach-yourself-MVC kind of stuff. > >MVC originally come from smalltalk....so, any complete smalltalk reference >should have a section dedicated to MVC. Those that I've seen have only a concept overview. I was looking for more in-depth. I understand the basic concept, I'm looking for subtleties. e.g. I've seen some MVC implementations where the model broadcasts specific change notices, like: -attributeFooDidChange -attributeBarGotBigger -attributeGlobWasDeleted I've seen other MVC implementations that only broadcast a generic change notice and make the view figure out what. -somethingAboutMeChangedAndYouHaveToFigureOutWhat I've seen other MVC implementations that don't broadcast change notices at all, only increment a statecode value (each change bumps the statecode), and the view decides when to refresh itself by checking if the statecode changed. I've seen MVC's that offer to send custom messages when something happens (e.g. target/action in NextStep), and MVC's that only send their own notification messages (e.g. "-textDidChange"). I was hoping to find a book that would compare/contrast the stengths and weaknesses of each of these, among other things. -- Lee Willis MultiGen Inc. 550 S Winchester Blvd. Suite 500 San Jose, CA 95128 (408) 261-4100
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT success stories? Date: 19 Dec 1995 19:56:10 GMT Organization: On-Ramp; Individual Internet Connections; Dallas/Ft Worth/Houston, TX USA Message-ID: <4b75cq$9di@news.onramp.net> References: <4an3dc$5hk@rznews.rrze.uni-erlangen.de> (Bruno Bienfait) writes: > I am wondering if the problem is also due to strong typing or not. Would > it be possible to make a NeXTSTEP with a more dynamic language like e.g., > Java, which has also strong typing ? Java is by no means a more "dynamic" language than Objective-C in the OO sense. Java has no concept of selectors - that is, no - perform: functionality as Objective-C and SmallTalk do. This makes it impossible to implement interface builders and distributed or persistant objects without writing your own runtime. Java and C++ share this lack of functionality. -- Steve Dekorte NeXTmail, MIME welcome. AOL bites
From: heberlei@cs.ucdavis.edu (Louis Todd Heberlein) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep and DLLs Date: Tue, 19 Dec 1995 12:13:40 -0800 Organization: UC Davis, Computer Science Dept. Distribution: world Message-ID: <heberlei-1912951213400001@dissertation.cs.ucdavis.edu> References: <4at6rb$im3@news.next.com> <4atvan$kee@news.next.com> > Sorry, Mike, but the cat's out of the bag. Check out: > > http://www.next.com/OpenStep/Products/OPENSTEP/Welcome.html Wow! Are those real screenshots? As a non-windows user they sure look real to me. > products on separate time-lines. I remember that at some point > Jobs was saying OpenStep/WinNT would go beta in December, and that > there "was no reason to expect any problems" with having a Win95 > version available sometime in 1996. > According to NeXT, and Steve Jobs at Object World, OPENSTEP for NT will be > released Q1'96, and OPENSTEP for Win95 will be aimed for later in the year, > It's more like Q2, last I heard. Probably just betas in Q1. They do > have a drop-dead date then, however, due to customer requirements. Being in the software game for too long, I've learned to take predicted release dates with a grain of salt. I would just be terribly surprised to see OpenStep ship on anything other than Solaris first. Anyone out there have any comments on this? Anyone know what big customer is pushing the Windows release? Has NeXT diverted much effort away from OpenStep/Solaris? (If you can't tell, I am very eagerly awaiting OpenStep/Solaris) > We have potential customers who have chosen Windows 3.1 as their desktop > standard and plan to move to Windows 95 when it's stable. Moving to Windows > NT would be much more expensive for them because of its greater hardware > resource requirements and cost. We have assured them that our product will > be available as an OpenStep for Windows 95 app based on what NeXT has been > saying publicly. Everyone I know who has switched to Windows 95 (not many, I admit) have upgraded their hardware; more disk, more memory, one even upgraded their CPU. Add in the extra overhead of running OpenStep on Windows 95, and I have a hard time believing that your customers won't have to upgrade their hardware. > If NeXT no longer has definite plans to produce OpenStep for Windows 95, > it needs to reflect this fact on its Web site. In addition, a public > announcement needs to be made so that we and others don't lose credibility > with potential customers. This hasn't appeared to be a real big concern with NeXT in the past. :-( Todd
From: "Jonathan W. Hendry" <steeldrv@ix.netcom.com> Newsgroups: comp.sys.next.programmer Subject: Re: NeXT success stories? Date: Tue, 19 Dec 1995 17:50:23 -0500 Organization: Steel Driving Software, Inc. Message-ID: <30D741AF.6BBE@ix.netcom.com> References: <4an3dc$5hk@rznews.rrze.uni-erlangen.de> <4b75cq$9di@news.onramp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Speaking of NeXT success stories, apparently IBM was recently running a series of object technology seminars, centered on Smalltalk. At one session (if not more) their success story was MCI's Friends and Family. A NeXTStep project. Naturally, they didn't bother to mention that. -- Jonathan W. Hendry Steel Driving Software, Inc. Delphi and NeXTSTEP consulting and software development. Cincinnati, Ohio
From: cfleming@.alleg.edu (Chuck Fleming) Newsgroups: comp.sys.next.programmer Subject: Re: Calling C functions from postscript (Answer) Date: 20 Dec 1995 00:03:23 GMT Organization: Best Internet Communications Message-ID: <4b7jsb$l0p@shellx.best.com> On 12/19/95, Michael Emmel wrote: > >I will continue to stand by the fact that this function is not well >documented by Next I know its mentioned but considering its utility I >think it deserves far more than that. **************************************************************** From the Supplemental Documentation volume which was part of the NeXT Developer Library. (page 52) void DPSPrintf(xtxt, fmt, [, arg ...]); DPSContext ctxt; char *fmt sends string 'fmt' to 'ctxt' with the optional arguments converted, formatted, and logically inserted into the string in a manner identical to the Standard C Library routine printf. It is useful for sending formatted data or a short PostScript language program to a context. **************************************************************** Chuck
From: mcgredo@crl.com (Donald R. McGregor) Newsgroups: comp.sys.next.programmer Subject: Re: I'm giving up on Model-View-Controller Date: 19 Dec 1995 17:35:43 -0800 Organization: Universal Export Message-ID: <4b7p9f$q4k@crl12.crl.com> References: <498rrr$igq@saturn.genoa.com> <4askf3$on0@voyager.Internex.NET> <4b2gkd$7sl@charm.magnus.acs.ohio-state.edu> <4b748m$gir@voyager.Internex.NET> In article <4b748m$gir@voyager.Internex.NET>, Lee Willis <lee@multigen.com> wrote: :>Those that I've seen have only a concept overview. I was looking :>for more in-depth. I understand the basic concept, I'm looking for subtleties. :>e.g. I've seen some MVC implementations where the model broadcasts :>specific change notices, like: :> :> -attributeFooDidChange :>I was hoping to find a book that would compare/contrast the stengths and :>weaknesses of each of these, among other things. That's a specific example of a more general construct called "Observer" in the fine book _Design Patterns_. As the authors put it, you use it when you want a number of objects to cooperate, but you don't want the design of the objects to be tightly coupled. They list the applicability as: -When an abstraction has two aspects, one dependent on the other. Encapsulating these aspects in separate objects lets you vary and reuse them independently. - When a change to one object requries changing others, and you don't know how many objects need to be changed. - When an object should be able to notify other objects without making assumptions about who these objects are. In other words, you don't want these objects tightly coupled. -- Don McGregor | Two quarts of Coke a day might not make you healthy, mcgredo@crl.com | wealthy, or wise, but it sure does keep you wired.
From: hugues@precipice.fdn.fr (Hugues RICHARD) Newsgroups: comp.sys.next.programmer Subject: Re: A minimal App needs 1.5 MB of memory. Why so much ? Date: 19 Dec 1995 20:12:31 GMT Organization: Individual - France Message-ID: <4b76bf$uq@precipice.fdn.fr> References: <4b397b$etm@rznews.rrze.uni-erlangen.de> Bruno.Bienfait@EROS.CCC.uni-erlangen.de (Bruno Bienfait) wrote: >I have built a minimal NeXTSTEP app with project builder (without writing >any code ). > >This Application needs 1.45 Mb on NS 3.2 (ps -aux). > > >Why so much ? > >I wonder if each app has a complete separate copy (code+data) of the >objective-C run-time. > >Bruno Is it a stripped version (/bin/strip) or a version for debugging ? Hugues. -------------------------------------------------------------------- hugues@precipice.fdn.fr - France (small NeXTMail OK) ------------ NS3.2 ------------ NS3.0J ------------ :-) ------------
From: nathan@nai.net (Nathan F. Janette) Newsgroups: comp.sys.next.programmer Subject: Re: OpenStep and DLLs Date: 20 Dec 1995 04:00:46 GMT Organization: North American Internet Company Message-ID: <4b81pe$q1s@a3bsrv.nai.net> References: <4a2bl8$41v@sparcserver.lrz-muenchen.de> <4at6rb$im3@news.next.com> <4b1i6i$pmt@emerald.oz.net> art@cubicsol.com (Art Isbell) wrote: > We have potential customers who have chosen Windows 3.1 as their > desktop standard and plan to move to Windows 95 when it's stable. > Moving to Windows NT would be much more expensive for them because > of its greater hardware resource requirements and cost. Except for simple usage I think Windows 95 does/will require about the same hardware investment as NT. Further, NT will acquire the updated GUI sometime next year. NT should offer by far the best chance of OPENSTEP working reasonably on a Microsoft OS platform. --- Nathan Janette NEXTSTEP & Unix Systems Management and Development Consultant East Haven, CT Internet: nathan@nai.net
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.software From: rdl@world.std.com (Robert La Ferla) Subject: Re: Are you missing bcp on your black Sybase server?? In-Reply-To: andrew@otter.cuug.ab.ca's message of Mon, 18 Dec 1995 01:28:12 GMT Message-ID: <RDL.95Dec19234317@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <DJrDF0.9CB@cuug.ab.ca> Date: Wed, 20 Dec 1995 04:43:17 GMT bcp is indeed missing. It shouldn't be hard to rewrite it. Robert La Ferla Registered OPENSTEP / NEXTSTEP Consultant Boston, MA Tel: + 1 (617) 252-0088 Fax: + 1 (617) 252-0004 E-mail: Robert_La_Ferla@hot.com In article <DJrDF0.9CB@cuug.ab.ca> andrew@otter.cuug.ab.ca(Andrew Tyldesley) writes: Xref: world comp.sys.next.programmer:25976 comp.sys.next.software:24127 comp.sys.next.sysadmin:27175 Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.software Path: world!news.kei.com!newsfeed.internetmci.com!in1.uu.net!uunet.ca!news.uunet.ca!cuugnet!news From: andrew@otter.cuug.ab.ca(Andrew Tyldesley) Sender: news@cuug.ab.ca Date: Mon, 18 Dec 1995 01:28:12 GMT Organization: Calgary UNIX User's Group X-Newsreader: RadicalNews (TM) v0.7 Beta Lines: 25 Hi, Sorry for the cross post but I really need some help with this one. A few years ago I bought an unopened version of Sybase Server (rel. ver. 4.1) for NeXT hardware . I have only just installed it to do some work with EOF and have found that bcp and bcptrans are missing and are not part of the package reported by Install.app. Anyhow this is what is in my /usr/sybase/bin directory, anyone know what's missing?: buildmaster* console* dataserver* isql* probe* syman* upgrade4* Also, if you do have the missing programs I would really appreciate a copy of them. I don't think that would violate the copyright since I own a copy of the server software and I'm quite sure bcp etc. are supposed to part of it (according to NeXT answers). Thanks for any help you can give. Andrew
From: tiggr@es.ele.tue.nl (Pieter Schoenmakers) Newsgroups: comp.sys.next.programmer Subject: Re: DO nice trick Date: 20 Dec 1995 12:48:21 +0100 Organization: Eindhoven University of Technology Sender: tiggr@tom.es.ele.tue.nl Message-ID: <x7n38orm62.fsf@tom.es.ele.tue.nl> References: <199512181046.AA03169@ns.ms.mff.cuni.cz> <DJsDzK.JLv@rat.se> In-reply-to: Joakim Johansson's message of Mon, 18 Dec 1995 14:38:04 GMT In article <DJsDzK.JLv@rat.se> Joakim Johansson <jocke@rat.se> writes: Our experience has been that it's a Very Good Idea (tm) to do the majority of (P)DO calls asynchronous.. Even with the captials it still is an understatement. Our experience is that every synchronous method in a DO protocol will be a major pain in the future. Maybe not today, but certainly tomorrow. (avoiding interrupts as this as well as (especially) improving throughput in the (P)DO system). When you're talking about throughput as in responsiveness, i.e. number of messages per second, you're right. On throughput as in `bandwidth': one should not attempt to shove large amounts of data through nmserver, as it will be slow (much slower than a tcp connection) and often unable to maintain the mach message semantics, either by dropping connections, minute-long coma's or simply dying. --Tiggr
From: gdauen@cosy.sbg.ac.at (Gerd Dauenhauer) Newsgroups: comp.sys.next.programmer Subject: non-PS printerdriver Date: 20 Dec 1995 14:41:54 GMT Organization: Dept. of Computer Science, University of Salzburg Message-ID: <4b97bi$i5t@esel.cosy.sbg.ac.at> Hi! Has anyone written (or access to sourcecode for) a driver for an Epson SQ850 inkjet printer (LQ compatible)? If so, please mail! I even would be glad to get at least code for a simple matrix printer to develop my own driver from that. Thanks and marry X-mas to all! Gerd Dauenhauer (gdauen@cosy.sbg.ac.at)
Newsgroups: comp.sys.next.programmer From: usenet@eunet.ch Subject: Re: EOF Adapter for MSSQL? Message-ID: <DJw6q8.6En@eunet.ch> Organization: A customer of EUnet AG, Switzerland References: <4asjcl$hnk@netnews.nctu.edu.tw> <DJ6FM7.6C1@news.cis.umn.edu> <4a92d7$ocs@marcon.marcon.de> <DJA95s.D4o@news.cis.umn.edu> <jpanicoDJFB3p.58G@netcom.com> Date: Wed, 20 Dec 1995 15:51:43 GMT In Re: EOF Adapter for MSSQL? comp.sys.next.programmer <ArticleDisplayer: 0x9420c> writes, > I use the M$ SQL Server 6.0 on NT( multi-protocol, NetBUI and TCP/IP ) > and I can use Delphi to connect the M$ SQL Server succesfully, > but I always get the error message if I want to connect from > NeXTSTEP > > Sybase:Server name not found in interface file. Give the right name of your MS SQL-Server in the DB-Login-Panel. Apart from that you need to add/create a line, describing your MS SQL-Server in the file /usr/sybase/interfaces. Like this: SYBASE master tcp next-ether sparc5 2025 query tcp next-ether sparc5 2025 console tcp next-ether sparc5 2026 debug tcp next-ether sparc5 2027 trace tcp next-ether sparc5 2028 DSLISTEN master tcp next-ether localhost 2025 DSQUERY query tcp next-ether localhost 2025 DSCONSOLE console tcp next-ether localhost 2026
From: chin@bznet.com (Bill Chin) Newsgroups: comp.sys.next.programmer Subject: Re: A minimal App needs 1.5 MB of memory. Why so much ? Date: 20 Dec 1995 17:39:54 GMT Organization: BIZNET Internet Services Message-ID: <4b9hpb$mfg@HAL.bznet.com> References: <4b397b$etm@rznews.rrze.uni-erlangen.de> Bruno.Bienfait@EROS.CCC.uni-erlangen.de (Bruno Bienfait) wrote: >I have built a minimal NeXTSTEP app with project builder >(without writing any code ). > >This Application needs 1.45 Mb on NS 3.2 (ps -aux). This is misleading... >Why so much ? > >I wonder if each app has a complete separate copy (code+data) of the >objective-C run-time. If you link the MallocDebug library to your minimal app and check, you'll see that the app probably allocates a total of around 40k. Even this isn't totally accurate since it doesn't take into account the impact the app has on system resources. Try also using ProcessMonitor and AppInspector. The ps -aux listing is an interpretation of the actual Mach information. It appears to also factor in shared libraries and memory that might be shared with other processes. -- Bill Chin - chin@bznet.net - NeXTmail welcomed
From: rog@ohm.york.ac.uk (Roger Peppe) Newsgroups: comp.sys.next.programmer Subject: Re: Calling C functions from postscript (Answer) Date: 20 Dec 1995 17:04:57 GMT Organization: Department of Electronics, University of York, UK. Message-ID: <4b9fnp$5la@netty.york.ac.uk> References: <4b4ong$cog@shellx.best.com> <4b6qal$b13@opal.southwind.net> On 19 Dec 1995 16:47:17 GMT, Michael Emmel <mike@hobbs.chem.usu.edu> wrote: >I will continue to make the accusation that Next's documentation has some >serious holes in it. And I think that many people have found that critical >or useful info is not present in Nexts documentation. I'm sure if we >started recording various "bugs" in the documentation and work arounds one >would be able to publish a book that would be a bestseller among Nextstep >Programmers. next don't seem to consider functions worth documenting. classes are fine (they're `object oriented' and therefore fit in with their intended direction) unix had one man page for each related group of functions. (finding the description for a particular function is merely a matter of typing `man functionname'.) next do not index their function definitions. it is quite laborious to find the definition of a particular function under nextstep because all functions for a particular section are documented in the same file (17 files document approx. 650 functions!) and it is impossible to look for the definition of a function without finding all references to it as well. this is quite apart from the fact that many functions have little or no documentation at all. (a declaration in a header is _not_ adequate, particularly when example NeXT code uses the function!) oh that HeaderViewer was not so crippled with respect to documentation! rog. p.s. my views only, of course.
From: tiggr@es.ele.tue.nl (Pieter Schoenmakers) Newsgroups: comp.sys.next.programmer,comp.sys.next.bug Subject: Re: Distributed Objects, NextStep 3.3, Network Message Server Followup-To: comp.sys.next.programmer Date: 20 Dec 1995 20:01:54 +0100 Organization: Eindhoven University of Technology Sender: tiggr@tom.es.ele.tue.nl Message-ID: <x7wx7r5zkt.fsf@tom.es.ele.tue.nl> References: <4b536j$df@cerberus.wsc.com> In-reply-to: tikin@wsc.com's message of 19 Dec 1995 01:06:27 GMT In article <4b536j$df@cerberus.wsc.com> tikin@wsc.com (Martin Lavertu) writes: I have experienced problems with Distributed Objects and NextStep 3.3. We have upgraded a few machines to 3.3 lately and suddenly applications using DOs started to break. We've seen this (or something very similar and probably related) happen long before, not just on some combination with 3.3. The problem was tracked down to nmserver not being able to cope with too many server lookups in a short period of time. I can't remember exactly, but I expect these lookups were global lookups, i.e. not restricted to the current host. One way we got around this problem in some applications was to `cache' connections by retaining the server proxy---no lookup is needed when the server is in the cache. --Tiggr
Newsgroups: comp.sys.next.programmer From: gdkuch@daisy.uwaterloo.ca (Jerry Kuch) Subject: Re: NeXT success stories?-(My version on one small point...) Message-ID: <DJw4wI.Fp1@watdragon.uwaterloo.ca> Sender: news@watdragon.uwaterloo.ca (USENET News System) Organization: University of Waterloo References: <4av5e6$l33@shellx.best.com> <DJt5zv.8L0@califhistsoc.org> Date: Wed, 20 Dec 1995 15:12:17 GMT In article <DJt5zv.8L0@califhistsoc.org>, Robert MacKimmie <rm@califhistsoc.org> wrote: >In article <4av5e6$l33@shellx.best.com> cfleming@alleg.edu (Chuck Fleming) >writes: > >Bottom line: a Mac Quadra with 1/2 gig drive and 16 megs of memory cost >$15,000 while a similarly outfitted NeXT cost only $10,500. And the NeXT >truly could "do this, and this and this and that and this..." We had to >buy used '030 Cubes to get the project off the ground and prove the >concept, but now we have 14 machines and work accomplished. Weird... did Quadras and black hardware really walk the earth at the same time? The overlap was fairly slight wasn't it...? The discontinuation of black hardware seems like it was so long ago... -- Jerry Kuch EMail: gdkuch@mercator.math.uwaterloo.ca, NeXTMail welcome. IMPORTANT NEWS: Scripts for "Godzilla Vs. Desutoroia" had envisaged the monster's main target as the 1996 World City Expo in Tokyo but the idea fell through when Gov. Yukio Aoshima cancelled the event.
From: s9510225@bf.rmit.edu.au (Louis Lai) Newsgroups: comp.sys.next.programmer Subject: Programmers' behavior & needs survey Date: 20 Dec 1995 23:42:18 GMT Organization: Royal Melbourne Institute of Technology, Melbourne, Australia. Message-ID: <4ba70q$6em@aggedor.rmit.EDU.AU> NNTP-Posting-User: s9510225 Software development provides some of business's most lurid horror stories. Stories of projects only one-third finished but already costing double or triple their budgets are common. So are stories of projects that were outrageously late and those that never work at all. There are many views to this problem. "The major problems of our work are not so much technological as sociological in nature. Most managers are willing to concede the idea that they've got more people worries than technical worries. But they seldom manage that way." -- DeMarco & Lister: Peopleware(1987) "Many programmers and analysts have complained to me that their work holds no meaning to them... [They] stay on the job, draw the salary, and bad-mouth their employers at every safe opportunity." -- Weinberg: Understanding the Professional Programmer(1988) "While the software [programmers] develop becomes increasingly sophisticated, relations between programmer and manager remain shockingly primitive." -- Licker: The Art of Managing Software Dev. People(1985) "[Programmers are] arrogance's born in a belief of rectitude and superiority, and [are] ignorance's born in a blindness to shortcomings." -- O'Brien: Software Production Management(1992) Whatever the reasons are, there's a need to understand the programmers themselves. The aim of this research is to elicit information on the needs and behavior of software programmers. Information that will, hopefully, better managers in managing these professionals. If you are working or have worked as a professional programmer, please take 15 to 20 minutes to answer the following questionnaire. This questionnaire is in: http://www.bf.rmit.edu.au/~s9510225/ The results will be posted at this location also. I like to thank in advance to those who participated in this survey. Your contribution will surely advance the knowledge in this field. Thank you. Yours sincerely, Louis Lai, s9510225@bf.rmit.edu.au Faculty of Business, Royal Melbourne Institute of Technology, Australia.
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: White BackGround!!! Date: 21 Dec 1995 13:51:32 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <4bbop4$klm@hippo.shef.ac.uk> Hi there, I would like to ask question on iconbuilder about icon's white background, not white christmas :) Currently, I have happily used iconbuilder to build some 48x48 icons (tiff file). However, when I use these icons in my matrix of action cell, all icons have a square boundary and white background. I wish to build icons that look like the folder icon in the file viewer or shelf. The folder icon seems to have a transparent background, can I know how to do it, also if I do not wish to do "alpha", is it possible to build icon with transparent background ? Thank you very much and I wish everybody a merry christmas and happy new year. C.Yap
From: mitroo@magnus.acs.ohio-state.edu (Varun Mitroo) Newsgroups: comp.sys.next.programmer Subject: Getting pages of a fax document programmatically Date: 21 Dec 1995 14:13:48 GMT Organization: The Ohio State University Message-ID: <4bbq2s$cp1@charm.magnus.acs.ohio-state.edu> Sorry if this has already been discussed before, but I can't keep up with this newsgroup. I'm trying to find an easy way in NEXTSTEP to examine faxes and access the individual pages in a multi-page fax file. If I use the displayImageFromFile: method of NXImage, I can view the first page of a fax. Is there an easy way to first find the total number of pages of a fax, and then access each page individually? Thanks in advance, Varun
From: peter@mathworks.com (Peter Greis) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT success stories?-(My version on one small point...) Date: 21 Dec 1995 21:15:24 GMT Organization: The MathWorks, Inc., Natick, MA 01760 Message-ID: <4bcipc$k39@turing.mathworks.com> References: <4av5e6$l33@shellx.best.com> <DJt5zv.8L0@califhistsoc.org> <DJw4wI.Fp1@watdragon.uwaterloo.ca> Jerry Kuch (gdkuch@daisy.uwaterloo.ca) wrote: : In article <DJt5zv.8L0@califhistsoc.org>, : Robert MacKimmie <rm@califhistsoc.org> wrote: : >In article <4av5e6$l33@shellx.best.com> cfleming@alleg.edu (Chuck Fleming) : >writes: : > : >Bottom line: a Mac Quadra with 1/2 gig drive and 16 megs of memory cost : >$15,000 while a similarly outfitted NeXT cost only $10,500. And the NeXT : >truly could "do this, and this and this and that and this..." We had to : >buy used '030 Cubes to get the project off the ground and prove the : >concept, but now we have 14 machines and work accomplished. : : Weird... did Quadras and black hardware really walk the earth at the same time? : The overlap was fairly slight wasn't it...? The discontinuation of black : hardware seems like it was so long ago... : : -- : Jerry Kuch EMail: gdkuch@mercator.math.uwaterloo.ca, NeXTMail welcome. : IMPORTANT NEWS: Scripts for "Godzilla Vs. Desutoroia" had envisaged : the monster's main target as the 1996 World City Expo in Tokyo : but the idea fell through when Gov. Yukio Aoshima cancelled the event. Actually, I did keep track of this when I bought my cube.. the '040 cubes where out 9-10 months before the Quadras started shipping. I sold the IIci I had at the time because I needed something that "really ran unix". just me, -peter
From: mike@hobbs.chem.usu.edu (Michael Emmel) Newsgroups: comp.sys.next.programmer Subject: Re: Calling C functions from postscript (Answer) Date: 22 Dec 1995 06:29:56 GMT Organization: SouthWind Internet Access, Inc. Distribution: world Message-ID: <4bdj95$mr9@opal.southwind.net> References: <4b7jsb$l0p@shellx.best.com> In article <4b7jsb$l0p@shellx.best.com> cfleming@.alleg.edu (Chuck Fleming) writes: > > On 12/19/95, Michael Emmel wrote: > > > >I will continue to stand by the fact that this function is not well > >documented by Next I know its mentioned but considering its utility I > >think it deserves far more than that. > > **************************************************************** > From the Supplemental Documentation volume which was part of the NeXT > Developer Library. (page 52) > > void DPSPrintf(xtxt, fmt, [, arg ...]); > DPSContext ctxt; > char *fmt > > sends string 'fmt' to 'ctxt' with the optional arguments converted, > formatted, and logically inserted into the string in a manner identical to the > Standard C Library routine printf. It is useful for sending formatted data or > a short PostScript language program to a context. > **************************************************************** > > Chuck > > I can't find it on my 3.3 devlopers CD ?? Ohh now it wasn't included and there's and obtuse reference on page 112 of the General Reference? I have had two books metioned too me now one by Adobe "Programming the Display Postscript Sytem with Nextstep" and this one. Strangly enough I ran across a reference to the book by Adobe it was in the corner of a mail in post card in the back of the "red" book. Maybe Next could point out the avialability of this book and the Supplemental Documentation? In a readily aseccible place that most people would read. Maybe with a line in the general documentation stating that these functions are documented in the supplemental documentation? I guess I was under the mistaken impression that Next had "all" of there doc's on the devloper CD rom. I am pissed about this, but mainly because I am completely alone in programming Nextstep I have no other resouces but what is avialable through the doc's and usenet. Thank you for pointing out this source of info I will call Next and get the price/ISBN for this documentation. I have written papers for the scientic journals and have spent quit a bit of time searching for papers/references. Compare the documentation found in the Journals with that avialable in computer science and I think you will see why I think computer the computer docs are completly inadequate. Hell the scietific reference is the equivlent of todays http and was avialable in a good library say 200-5000 years ago. Cruzing the Journals following links is not nearly as pleasent and experience it requires a strong back and a bunch of nickels but a least you find what your looking for : ) I don't want to argue this anymore I fell that the function was not documented in a decent manner and there were no clues as to were I could find out about it. (Remember I just had a gut feeling it must exist I did not know it's name) I have found the answer to my question on the usnet and the names of two intresting books I was unaware of. Thank You mike mike@hobbs.chem.usu.edu
From: swiet@hops.cs.jhu.edu (Alex Swietlicki) Newsgroups: comp.sys.next.programmer Subject: Re: How to compile irc2.8.2 Date: 22 Dec 1995 03:11:51 GMT Organization: The Johns Hopkins University CS Department Message-ID: <slrn4dk8fn.sc8.swiet@hops.cs.jhu.edu> References: <4b4s9f$fuc@rztsun.tu-harburg.de> On 18 Dec 1995 23:08:31 GMT, Hubertus Tummescheit <Tummescheit@tu-harburg.d400.de> wrote: |Hi Folks, | |I'm for sure not the only one who had trouble compiling irc2.8.2. I tried it |several ways, with and without the -posix and -lposix switches, I couldn't |get it to link. Does anybody have an idea? This question seems to be asked often enough... This is what you can do to compile irc 2.8.2 on NS3.2: Run configure, edit things in include/config.h, then make these changes in include/defs.h: #undef HAVE_SETSID #define NEED_GETCWD 1 #undef HAVE_UNAME #undef HAVE_DIRENT_H #undef HAVE_MEMORY_H #define HAVE_SYS_DIR_H 1 #undef USE_SIGACTION #define BSDWAIT 1 #define HAVE_SYS_WAIT_H 1 also, add this line to defs.h: #define WSTOPSIG(s) (s).w_stopsig in the Makefile, make these changes: (get rid of all posix stuff) CFLAGS = -O2 -fomit-frame-pointer LIBS = -ltermcap [I'm not sure if -fomit-frame-pointer will give you that extra register, but it can't hurt. :) ] -- Alex Swietlicki | "Recognizing the most intuitive division of a problem into swiet@cs.jhu.edu | objects, even objects that seem potentially useless at umop ap!sdn peaj | first glance, is one of the skills necessary to effect- noh 'a^!ssajdwI | ively write code in C++." ---A C++ Teaching Assistant
From: wireju@wi.uni-muenster.de (Reinhard Jung) Newsgroups: comp.sys.next.programmer Subject: ANNOUNCE: WWW based questionnaire about Software Development Date: Fri, 22 Dec 1995 10:00:42 UNDEFINED Organization: Wirtschaftsinformatik Uni Muenster Message-ID: <wireju.48.003B7A06@wi.uni-muenster.de> Dear Internet participant, as part of a research project at the University of Muenster (Germany) we are conducting aquestionnaire on worldwide distributed software development. Our success (i.e. our ability to produce interesting results) depends on your cooperation. Pleasetake a few minutes to answer only 9 questions. We prepared a WWW readable form that will take only 5 minutes (at a maximum) to fill out. If you use a WWW browser for reading netnews you can simply click here: <a href="http://www.uni-muenster.de/WiWi/quest.html">Questionnaire</a> <p> If not, please use the following address to locate the form: http://www.uni-muenster.de/WiWi/quest.html The results will be available at the end of February 1996 through WWW. The form contains a dedicated link. Greetings from Germany, Reinhard Jung University of Muenster Institute of Business Informatics Grevener Strasse 91 48159 Muenster (GERMANY) Tel. +49 251 927551 Fax +49 251 839754 email: jungr@uni-muenster.de
From: Sven Droll Newsgroups: comp.sys.next.programmer Subject: Re: White BackGround!!! Date: 22 Dec 1995 10:25:35 GMT Organization: University of Wuerzburg, Germany Message-ID: <4be12v$ao2@winx03.informatik.uni-wuerzburg.de> References: <4bbop4$klm@hippo.shef.ac.uk> cnyap@dcs.shef.ac.uk (Chih Nam Yap) wrote: > >Hi there, > > I would like to ask question on iconbuilder about icon's white background, >not white christmas :) > > Currently, I have happily used iconbuilder to build some 48x48 icons >(tiff file). However, when I use these icons in my matrix of action cell, >all icons have a square boundary and white background. I wish to build icons >that look like the folder icon in the file viewer or shelf. The folder icon >seems to have a transparent background, can I know how to do it, also if I do >not wish to do "alpha", is it possible to build icon with transparent background >? > >Thank you very much and I wish everybody a merry christmas and happy new year. > > > >C.Yap Hi Chih Nam(?) The only thing you can do is (as far as I know) USING alpha. I never heared of a transparent color without alpha. Frohe Weihnacht und'n gut'n Rutsch! (for those few non-Germans: merry christmas and a happy new year) -- Sven Droll __ ______________________________________________________/ / ______ __ sdroll@cip.mathematik.uni-wuerzburg.de / /_/ ___/ /_ _/ _/ =====\_/======= LOGOUT FASCISM! ___________________________________________________________________ NeXT-mail welcome ;-))
From: Andy Robinson <Andy@hps1.demon.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: NeXT success stories? Date: Fri, 22 Dec 1995 11:45:38 GMT Organization: High Performance Sports Ltd. Message-ID: <556793654wnr@hps1.demon.co.uk> References: <4an3dc$5hk@rznews.rrze.uni-erlangen.de> <DJHMqA.CvC@eunet.ch> A very small success story: Eight weeks ago, we opened an indoor rock-climbing centre in London. In five months of VERY part-time work, despite being totally new to Next, I was able to knock up the systems I needed (with invaluable help from Paul Lynch - thanks). We're only tracking users' details so far, and I'm sure my coding is atrocious, but the development environment is a joy to work with. We have about ten employees. One or two have used PC applications, most are totally new. We are open seven days a week until late, so it is kind of 'mission critical'. Since opening, I have had just two phone calls at home with problems. In both cases someone had switched off (and rebooted) the server, and I told them how to restart the database. Not one network problem. Not one General Protection Fault. We had some hiccups configuring the first couple of machines, but then P&L Systems brought us a fresh one, plugged it in, and It Just Worked. My staff (really new to computers) all understand file systems, networks and email thanks to the wonderful User Interface. When the people on reception want to run off another 200 registration forms, they can do it. When the printer in the office is out of paper, it tells them. Never a hitch. Lots of customers have come in and said 'Wow! Next!' and seriously lost interest in climbing... It was also cheaper than doing it with Windows.... Count your blessings. This is the best platform in the world. Merry Christmas. -- Andy Robinson andy@hps1.demon.co.uk High Performance Sports Tel 0181-211-7000 My opinions in this forum ARE those of High Performance Sports, because I'm the only one here who can switch on a PC...
Newsgroups: comp.sys.next.programmer Control: cancel <wireju.48.003B7A06@wi.uni-muenster.de> From: wireju@wi.uni-muenster.de (Reinhard Jung) Subject: cancel: ANNOUNCE: WWW based questionnaire about Software Development Organization: Wirtschaftsinformatik Uni Muenster Message-ID: <cancel.wireju.48.003B7A06@wi.uni-muenster.de> Date: Fri, 22 Dec 1995 15:29:32 GMT Cleaning up spam from wi.uni-muenster.de
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <doug@thoughtful.com> Date: Fri, 22 Dec 95 10:34:16 -0700 From: doug@thoughtful.com (Douglas Simons) Message-ID: <9512221734.AA01793@thoughtful.com> Subject: Re: Calling C functions from postscript (Answer) On 12/22/95 Michael Emmel wrote: > In article <4b7jsb$l0p@shellx.best.com> cfleming@.alleg.edu (Chuck > Fleming) writes: > > > > On 12/19/95, Michael Emmel wrote: > > > > > >I will continue to stand by the fact that this function is not > > > well documented by Next I know its mentioned but considering > > > its utility I think it deserves far more than that. > > > > **************************************************************** > > From the Supplemental Documentation volume which was part of the > > NeXT > > Developer Library. (page 52) > > > > void DPSPrintf(xtxt, fmt, [, arg ...]); > > DPSContext ctxt; > > char *fmt > > > > sends string 'fmt' to 'ctxt' with the optional arguments > > converted, > > formatted, and logically inserted into the string in a manner > > identical to the > > Standard C Library routine printf. It is useful for sending > > formatted data or > > a short PostScript language program to a context. > > **************************************************************** > > > > Chuck > > > > > > I can't find it on my 3.3 devlopers CD ?? Michael, I wouldn't feel bad about not being able to find this documentation. I think Chuck Fleming is showing his longevity as a NeXT developer -- the "Supplemental Documentation" is the last volume of the "NeXT Developer's Library" from around 2.0 days, I think (the date on my copy is 12/90 !). That set of documentation became obsolete when the "new" (3.0) books were published by Addison Wesley in November 1992. I doubt that NeXT will sell you a copy now. BTW, the "Supplemental Documentation" is just a collection of reprints of various documents from Adobe, plus a mangled RTF spec from Microsoft. It contains two page 52's (and about ten page 10's) since each section is numbered separately. Cheers, Doug
From: Dominik Westner <dominik@gowest.ppp.informatik.uni-muenchen.de> Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs Subject: Categories not recognized by InterfaceBuilder Date: 22 Dec 1995 19:37:51 GMT Organization: TeDoc, Munich, Germany Message-ID: <4bf1ef$263@cube.ppp.informatik.uni-muenchen.de> Hi folks, I encountered the following problem concerning the use of categories within InterfaceBuilder: There are several cases to consider: 1) Category for a custom class myclass inheriting from Object: This works fine. I can drag any header file which contains a category interface and the method will show up for myclass. 2) Category for a NeXT class inheriting from Object: This does not work properly. The method does NOT show up in the classes view for the class. WORKAROUND: Before dragging the category header file into InterfaceBuilder, define it as follows: @interface Application:Responder (Test) - test: sender; @end then remove ":Responder" (This is not valid ObjectiveC). NOTE: Sometimes the other action methods defined in the class disapear. 3) Category for a custom class myclass inheriting from NSObject: This is the same as 2). 4) Category for a NeXT class inheriting from NSObject: This is the same as 2) but the NOTE seems to always hold in this case. Valid for Release 3.3 (v460) Is there any proper workaround for the cases 2) - 4)??? Is this a known problem? Am I making something wrong? Thanks and a Happy New Year. -- Dominik --- Dominik Westner "Everything is possible in an infinite universe" _____________________________________Willi, the painter Munich, Germany (NOT :-)
From: Andreas Dieberger <andreas.dieberger@lcc.gatech.edu> Newsgroups: comp.sys.next.programmer Subject: Does anybody know where sigset_t is defined? Date: 22 Dec 1995 19:55:45 GMT Organization: GIT Distribution: world Message-ID: <4bf2g1$fcc@mordred.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hi. Sorry to bother you about a maybe very stupid question. I am trying to compile the LambdaMOO system on a NeXT. Its not my NeXT and I have access via telnet only and no access to any documentation. Well here is the problem we have (thats a except from an ongoing discussion on the MOO mailing list). Maybe one of you knows exactly what right from the top of his/her head... >> >my-signal.h:34: undefined type, found `sigset_t' >> >my-signal.h:35: undefined type, found `sigset_t' >> >my-signal.h:39: undefined type, found `sigset_t' >> >my-signal.h:39: undefined type, found `sigset_t' >> >> I'm having the same problem compiling 1.7.9p2 on NeXT. >The problem is that the NeXT folks provide certain POSIX functions >(sigemptyset, sigaddset, and sigprocmask) but don't declare the type of their >arguments (sigset_t) in the right header file <signal.h>. If someone will tell >me where they *do* declare that type (*if* they do), I'll try to add a case to >the configuration script to work around NeXT's bug. Can somebody of you help, please? Thanks a lot, Andreas ----------------------------------------------------------- Andreas Dieberger Georgia Institute of Technology School of Literature, Communication and Culture Atlanta, Georgia 30332-0165 Tel: (404) 894-8009 Fax: (404) 894-1287 andreas.dieberger@lcc.gatech.edu dieberger.chi@xerox.com http://www.gatech.edu/lcc/idt/Faculty/andreas_dieberger/ -----------------------------------------------------------
From: GWILLEM@alpha.ntu.ac.sg (Van Schaik Willem Anthon Johan ) Newsgroups: comp.sys.next.programmer Subject: Re: White BackGround!!! Date: 23 Dec 1995 12:48:51 GMT Organization: Nanyang Technological University Message-ID: <4bgtrj$knq@ntuix.ntu.ac.sg> References: <4bbop4$klm@hippo.shef.ac.uk> Chih Nam Yap (cnyap@dcs.shef.ac.uk) wrote: : Currently, I have happily used iconbuilder to build some 48x48 icons : (tiff file). However, when I use these icons in my matrix of action cell, : all icons have a square boundary and white background. I wish to build icons : that look like the folder icon in the file viewer or shelf. The folder icon : seems to have a transparent background, can I know how to do it, also if I do : not wish to do "alpha", is it possible to build icon with transparent background You can use IconBuilder to create (partly) transparent icons. The easiest way is to make the transparent-to-be area some "strange" color, let's say red. Then check the Format that you have alpha enabled (I'm not having my NeXT at hand, so the names are a bit roughly). Then in the color-panel, select white, 0% opaque = 100% transparent and deselect the draw-in-overlay (???) button. Then use the fill function to replace the red area with the transaparent white. Save the icon and do Update-Viewer in the file-viewer, else the old icon remains used. Success, couple of years ago I too had a big fight with this topic. Willem
Newsgroups: comp.sys.next.programmer From: js@euler.hnv.icem.de (Juergen Sell) Subject: Re: Getting pages of a fax document programmatically Message-ID: <DK2AKH.15u@euler.hnv.icem.de> Sender: js@euler.hnv.icem.de (Juergen Sell) Organization: Ink Unknown References: <4bbq2s$cp1@charm.magnus.acs.ohio-state.edu> Date: Sat, 23 Dec 1995 23:00:17 GMT Varun Mitroo writes > Sorry if this has already been discussed before, but I can't keep up with > this newsgroup. > > I'm trying to find an easy way in NEXTSTEP to examine faxes and access the > individual pages in a multi-page fax file. > > If I use the displayImageFromFile: method of NXImage, I can view the first > page of a fax. Is there an easy way to first find the total number of pages > of a fax, and then access each page individually? Is not the total number of pages (among other things) kept in the accompanying .ctl file in /usr/spool/NeXTFaxes/<fax-name>/<user>/read ? If the doc was received or converted into a 'true' fax corresponding to Next's FaxReader.app, the control file should be present. Juergen --- Fon +49 511 4406-88 NeXTMail welcome No Mime Fax +49 511 4406-17 == What time do we live in when revolution reminds us of soap powder, == when spontaneity and freedom get associated with instant coffee, == when a politician's idea of social change is changing names == when changing title bars' colors to mainstream hype is considered progress?
From: dnelson@core.symnet.net (Dru Nelson) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.software Subject: Re: Are you missing bcp on your black Sybase server?? Followup-To: comp.sys.next.sysadmin,comp.sys.next.programmer,comp.sys.next.software Date: 24 Dec 1995 10:33:57 GMT Organization: S y m N e t - North Florida Internet Access (info@symnet.net) Message-ID: <4bjaal$aq4@tempest.symnet.net> References: <DJrDF0.9CB@cuug.ab.ca> <RDL.95Dec19234317@world.std.com> Robert La Ferla (rdl@world.std.com) wrote: : bcp is indeed missing. It shouldn't be hard to rewrite it. Is this a joke? Dru SymNet
From: caradoc@neta.com (Santa ) Newsgroups: comp.sys.next.programmer Subject: Santa's Xmas Gift to you all Date: Sun, 24 Dec 1995 23:44:06 GMT Organization: North Pole - Spam Central Message-ID: <4bkklf$a18@news1.goodnet.com> Rudolf, the red-nosed raindeer. Had a very shiny nose - and if you ever saw it you would even say it glows. ................ Then one foggy Christmas night, Santa came and said, Rudolf with your nose so bright, won't you SPAM the world tonight.............................................. YES I WILL SANTA SPAM SPAM SPAM SPAM SPAM
From: caradoc@neta.com (Santa ) Message-ID: <cancel.4bkklf$a18@news1.goodnet.com> Control: cancel <4bkklf$a18@news1.goodnet.com> Newsgroups: comp.sys.next.programmer Subject: cmsg cancel <4bkklf$a18@news1.goodnet.com> Date: Mon, 25 Dec 1995 08:16:55 KST UDP SPAM cancelled by jem@xpat.postech.ac.kr.
Newsgroups: comp.sys.next.programmer From: raddude@ripco.com (Jr. Chemist) Subject: ANYONE NEED A HYPERCARD PROGRAMMER OR GUIDE? Message-ID: <DK4AEs.7M7@rci.ripco.com> Sender: usenet@rci.ripco.com (Net News Admin) Organization: Ripco BBS, Free Trial account (312) 665-0065 Date: Mon, 25 Dec 1995 00:52:04 GMT e mail me at raddude@ripco.com --
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.sys.next.programmer Subject: Re: I'm giving up on Model-View-Controller Date: 21 Dec 1995 04:33:38 GMT Organization: Genoa Software Systems Message-ID: <4bao32$1fb@saturn.genoa.com> References: <498rrr$igq@saturn.genoa.com> <4agrne$95h@nntp.ucs.ubc.ca> <4askf3$on0@voyager.Internex.NET> <4b2gkd$7sl@charm.magnus.acs.ohio-state.edu> <4b748m$gir@voyager.Internex.NET> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In <4b748m$gir@voyager.Internex.NET> Lee Willis wrote: > I was looking for more in-depth. I understand the basic concept, I'm looking for subtleties. [excellent questions related to notification deleted] > I was hoping to find a book that would compare/contrast the stengths and > weaknesses of each of these, among other things. As Donald McGregor mentioned, the Design Patterns book is a good place to start. Though even the very general observer pattern has drawbacks as far as maintenance goes. (its hard to see the subtle dependencies between objects) Another place you might start looking is in the extensive faqs for comp.object There is a lot of information in that enormous faq. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.programmer Subject: Cassandra version 1.7a Date: 26 Dec 1995 18:54:26 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <4bpgd3$fim@usenet.rpi.edu> For those of you who remember Cassandra, I've got a somewhat newer version available. The source has been changed a bit to get rid of a lot of compile-time warnings, and I've fixed a few minor bugs. I also removed it's screen-saver feature, because I've always thought that Backspace did a better job and the Cassandra screen-saver support never quite worked right anyway. It is compiled quad-fat now, too. It probably requires that you're running NeXTSTEP 3.0 or better. I haven't done all that much to the source (although I did get all the latest source, which isn't true of most source-archives of it that I've found on the FTP sites), and what I've done is not all that pretty. However, it seems to work fine for me, running on m68k and Intel hardware over the past few months. Consider it alpha software, seeing that I'm sure I haven't tested all of it's features. I don't make any promises of future support, although I wouldn't mind getting email of any problems you find in it. I am also releasing the source that I've got, so you can fix things if you're annoyed about something that I'm not getting to. For now it's only available at: ftp://eclipse.its.rpi.edu/NeXT/apps/Cassandra_f/ which is a folder that has four single-architecture binaries, as well as a quad-fat version. The source for it is also there, in a separate archive. Merry christmas. --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu ITS Systems Programmer (handles NeXT-type mail) Rensselaer Polytechnic Institute; Troy NY USA
Newsgroups: comp.sys.next.programmer From: federico@heinz.com (Federico Heinz) Subject: Developing for NEXTSTEP vs OPENSTEP---a critical business decision Message-ID: <1995Dec27.234416.4569@heinz.com> Sender: usenet@heinz.com Organization: F. HEINZ Consultora Date: Wed, 27 Dec 1995 23:44:16 GMT With the impending release of OPENSTEP/Mach (aka NEXTSTEP 4.0) and of the OPENSTEP-compliant version of Solaris (I keep forgetting the version number), we independent software developers face a rather difficult decision, with very little hard data on which to base it. Eventually, we will all be talking OPENSTEP, but what should we be doing right now? The technical point is the following: on one hand, NEXTSTEP 4.0 will run NEXTSTEP 3.3 applications (at least NeXT promised us it would), but of course it won't work the other way around. On the other hand, NEXTSTEP 3.3 applications will neither run nor _compile_ under OPENSTEP/Solaris (NEXTSTEP 4.0 apps will run under OPENSTEP/Solaris, but it requires a recompile). Now suppose you have, or are in the process of creating an app, should you stick with NEXTSTEP 3.3 for the time being, or just jump to the OPENSTEP bandwagon? These are the available options: 1) You keep maintaining your code under 3.3 for the time being. ADVANTAGES - You are independent of NeXT and/or SunSoft meeting or missing any deadlines - You cover the whole NEXTSTEP 3.x and 4.x market DISADVANTAGES - You keep adding lines of NEXTSTEP to your code base, which will have to be ported to OPENSTEP sooner or later. This means that the more you do now, the more you will need to do later. - You fail to cover the OPENSTEP/Solaris market! 2) You move to OPENSTEP as soon as possible, and forget about NEXTSTEP 3.x ADVANTAGES - Minimum porting effort. It will still take you some manpower to do, but the sooner you do it, the less it will take. - You cover the NEXTSTEP 4.x and OPENSTEP/Solaris markets - You are all of a sudden serving a market other than pure-NEXTSTEP DISADVANTAGES - You fail to serve all current NEXTSTEP users that won't upgrade to 4.0 (I hear there are even people who still use NEXTSTEP 2.1, and are happy at that) - You may meet your deadlines, but will NeXT and SunSoft do the same? You won't be able to ship _anything_ until at least one of them actually releases the corresponding system software - OPENSTEP is not shipping. We know it's there, we know it's cool, but as long as it's not shipping, it's vapor. And developing for vapor is dangerous POTENTIAL DISADVANTAGE - since the nib file format is not (repeat, _not_) part of the OPENSTEP spec, there is no guarantee that nibs created under OPENSTEP/Mach will be compatible with OPENSTEP/Solaris, or the other way around. Of course, it is not altogether out of the question either, but I have been unable to get an authoritative answer on this issue. NEXTSTEP has other undocumented areas (such as the NXTypedStream format) that may present similar problems. 3) You move your code to OPENSTEP, but still maintain a NEXTSTEP 3.3 branch ADVANTAGES - You cover the whole market DISADVANTAGES - Costly and cumbersome. Merging bug fixes and enhancements must be done entirely by hand, and is probably even impossible---the result being that you must multiply all your development efforts by two. Keeping versions in sync becomes a nightmare for everyone involved. 4) You give up programming altogether, and start a career as a tattoo artist :-) I for one think that alternative 3 above is at or beyond the brink of being impracticable. Keeping two different code bases for the same app means basically having two apps, to care for, no matter how similar they may seem to the user. It's true that only the development effort must be duplicated (user docs, marketing, etc. may remain common to both versions), but it still is too big a burden for the typical NEXTSTEP ISV. Alternative 2 is tempting. Programming for NEXTSTEP always was fun, except for the bits of C drudgery that still remained, and in OPENSTEP most of those have been removed. OPENSTEP is technically superior to NEXTSTEP, there's no doubt about it, but the most compelling advantage of going OPENSTEP to serve a market other than the one dominated by NeXT. Don't get me wrong, I don't want to get rid of NeXT, they do really great stuff, but I do think they need serious competition on their own field. The really troubling aspect of alternative 2 is leaving out all those who don't upgrade to 4.0. Maybe it's just my naturally good disposition, but I don't expect neither NeXT nor SunSoft to significantly slip the release dates. However, there's no way of telling how much of the installed base will stay with 3.x, and while this market may not be huge, at least it exists. The OPENSTEP market, however promising it may be, has still to be born. I'm still wavering. Where are _you_ putting your money? Federico Heinz
From: nextjet@ids.net Newsgroups: comp.sys.next.programmer Subject: Need NEXTSTEP DOCS 1.0 and up. Date: Wed, 27 Dec 95 23:46:56 +500 Organization: IDS World Network Internet Access Service, (800)IDS-1680 Message-ID: <4bt7g3$ns2@paperboy.ids.net> need nextstep docs 1.0 and up any condition let me make a bid.
From: kwong@plato.ucs.mun.ca (Kai S. Wong) Newsgroups: comp.sys.next.programmer Subject: EO tutorial for msql Date: 28 Dec 1995 16:08:36 GMT Organization: Memorial University of Newfoundland Message-ID: <4bufe4$ajm@coranto.ucs.mun.ca> Netter, Is there a tutorial for EO on the net? Where can I find one that comform to msql? I am learning EO. Could any kind soul out there could help me please. Thanks! --KAI-- -- Email: kwong@morgan.ucs.mun.ca | NeXTStep/intel 3.3 URL: http://www.cs.mun.ca/~kwong/ | NeXTMAIL & MIME Welcome "Whatever you do will be insignificant, but it is very important that you do it." --Mahatma Gandhi
From: gideon@csarc.otago.ac.nz (Gideon King) Newsgroups: comp.sys.next.programmer Subject: Re: Developing for NEXTSTEP vs OPENSTEP---a critical business decision Date: 28 Dec 1995 20:45:48 GMT Organization: University of Otago, Dunedin, NZ Message-ID: <4buvls$vsg@celebrian.otago.ac.nz> References: <1995Dec27.234416.4569@heinz.com> In article <1995Dec27.234416.4569@heinz.com> federico@heinz.com (Federico Heinz) writes: > With the impending release of OPENSTEP/Mach (aka NEXTSTEP > 4.0) and of the OPENSTEP-compliant version of Solaris (I > keep forgetting the version number), we independent software > developers face a rather difficult decision, with very > little hard data on which to base it. Eventually, we will > all be talking OPENSTEP, but what should we be doing right > now? > Just think about what NeXT themselves have had to do: - They have literally millions of lines of code to convert to OpenStep - They have had to port it in a very short time scale - They have produced tools to make the porting as painless as possible - They have said that they will be making these tools available to all developers This means that you will get porting tools that have been tested on millions of lines of code. I would say that given this situation, it is best to continue developing under 3.3 (possibly with some use of the new foundation classes if your customers have access to the libraries), and do the conversion when openstep arrives. NeXT have said that the tools will do most of the work for you, but there are one or two things you have to do manually. Apparently they are flagged for you, so it's pretty easy. Does anyone at NeXT want to give us more details? --- Gideon King | Phone +64-3-479 8347 University of Otago | Fax +64-3-479 8529 Computer Science Applied | e-mail gideon@csarc.otago.ac.nz Research Centre | NeXT mail, MIME ok Department of Computer Science | P.O. Box 56 | Mental Floss prevents Moral Decay Dunedin | New Zealand | WWW access: http://www.csarc.otago.ac.nz:805/PersonalHomePages/Gideon.htmld/
From: art@cubicsol.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: OpenStep nib conversion Date: 28 Dec 1995 23:26:54 GMT Organization: Sense Networking Seattle (www.oz.net) Distribution: world Message-ID: <4bv93u$dgq@emerald.oz.net> NeXT appears to have done a VERY thorough job producing automated code conversion scripts that will do most of the NS-to-OpenStep (OS) code conversion. Andrew Stone, Stone Design, has produced a nice guide that chronicles his experiences with the OS 4.0 PR1 conversion process with an extensive problem/solution section. But neither NeXT nor Andrew dwell much on nib conversion which is a major concern for me because our app has over 500 nibs containing many custom objects including about 10,000 commercial palette objects. These custom objects are all Objects now, but will be converted to NSObjects by IB 4.0, I presume. Apparently, the IB API has changed so that IBPalette, IBInspector, etc. will need to be converted and the palette rebuilt before it will load in IB 4.0. Does this mean that we will need 3 versions of every palette we use? - the current version that can be loaded by the current IB - a version with the IB API converted, but still containing Objects so existing nibs can be loaded - a version with Objects converted to NSObjects. Before any nib conversion can proceed, all nib objects will need to exist in Object and NSObject versions, I presume. This could be a significant coordination problem, especially for nibs that contain commercial objects, especially if the original vendor has vanished and source isn't available :-( I'd appreciate any comments about how you envision the nib conversion process to proceed. -- Art Isbell NeXT & MIME Mail: art@cubicsol.com NeXT Registered Consultant Voice/Fax: +1 408 335 2515 Trego Systems Voice Mail: +1 408 335 1154 CaseServ: NEXTSTEP managed care US Mail: Felton, CA 95018-9442 contract and case management solutions
From: kwanguhu@connectus.com Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: color coded text editor for writing code? Date: 29 Dec 1995 01:52:42 GMT Organization: AltNet - Affordable Usenet Access - http://www.alt.net Distribution: world Message-ID: <4bvhla$nfk@tofu.alt.net> Summary: color coded text editor Keywords: color coded, text editor Is there, or are there plans of making available a color coded code editor like Codewright (under MS Windows). If there is one available comercial or otherwise could someone point me in the right direction please. I am starting to feel very deprived and getting tired of explaining why I am still using Edit on my Intel box when I could be using a nifty color coded programming environment like Codewright on my other development PC. GRRR I hope there is something out there even if it is still in beta. ------ ================================================================== E. Kamau Wanguhu International Game Technology Systems Engineer mailto:kwanguhu@intgame.com Phone: 1.702.686.1144 (o o) mailto:kamau@connectus.com FAX: 1.702.686.1299 -----ooO-(_)-Ooo----- ===================================================================
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software From: rdl@world.std.com (Robert La Ferla) Subject: Re: color coded text editor for writing code? In-Reply-To: kwanguhu@connectus.com's message of 29 Dec 1995 01:52:42 GMT Message-ID: <RDL.95Dec28223921@world.std.com> Sender: rdl@world.std.com (Robert La Ferla) Organization: The World Public Access UNIX, Brookline, MA References: <4bvhla$nfk@tofu.alt.net> Date: Fri, 29 Dec 1995 03:39:21 GMT Emacs.app supports color. Robert La Ferla Registered OPENSTEP / NEXTSTEP Consultant Boston, MA Tel: + 1 (617) 252-0088 Fax: + 1 (617) 252-0004 E-mail: Robert_La_Ferla@hot.com In article <4bvhla$nfk@tofu.alt.net> kwanguhu@connectus.com writes: Xref: world comp.sys.next.misc:45951 comp.sys.next.programmer:26027 comp.sys.next.software:24229 Path: world!news.kei.com!newsfeed.internetmci.com!in1.uu.net!news.alt.net!newspost1.alt.net!usenet From: kwanguhu@connectus.com Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Date: 29 Dec 1995 01:52:42 GMT Organization: AltNet - Affordable Usenet Access - http://www.alt.net Lines: 17 Distribution: world Reply-To: kwanguhu@connectus.com Summary: color coded text editor Keywords: color coded, text editor X-Newsreader: Kiwi [version .09] Is there, or are there plans of making available a color coded code editor like Codewright (under MS Windows). If there is one available comercial or otherwise could someone point me in the right direction please. I am starting to feel very deprived and getting tired of explaining why I am still using Edit on my Intel box when I could be using a nifty color coded programming environment like Codewright on my other development PC. GRRR I hope there is something out there even if it is still in beta. ------ ================================================================== E. Kamau Wanguhu International Game Technology Systems Engineer mailto:kwanguhu@intgame.com Phone: 1.702.686.1144 (o o) mailto:kamau@connectus.com FAX: 1.702.686.1299 -----ooO-(_)-Ooo----- ===================================================================
From: espeyton@ix.netcom.com (Espeyton) Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: Re: color coded text editor for writing code? Date: 29 Dec 1995 06:30:03 GMT Organization: Netcom Distribution: world Message-ID: <4c01tb$npn@ixnews3.ix.netcom.com> References: <4bvhla$nfk@tofu.alt.net> Mime-Version: 1.0 Keywords: color coded, text editor In article <4bvhla$nfk@tofu.alt.net>, kwanguhu@connectus.com says... > >Is there, or are there plans of making available a color coded code editor like Codewright (under MS Windows). > >If there is one available comercial or otherwise could someone point me in the right direction please. > >I am starting to feel very deprived and getting tired of explaining why I am still using Edit on my Intel box when I could be using a nifty > >I hope there is something out there even if it is still in beta. > >------ >================================================================== >E. Kamau Wanguhu International Game Technology >Systems Engineer mailto:kwanguhu@intgame.com >Phone: 1.702.686.1144 (o o) mailto:kamau@connectus.com >FAX: 1.702.686.1299 -----ooO-(_)-Ooo----- >=================================================================== > > I have been working on a syntax highlighter for NEXT for a couple of weeks now. It is very, very alpha right now. I am hoping to develope it along the lines of CodeWright or WinEdit, etc. I don't know how much interest there is in making it public, let me know if anyone is interested. I know Emacs.app supports color, but a lightweight editor is what I hope to achieve, without the bloat of such a large system. Eric Peyton espeyton@ix.netcom.com
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.sys.next.programmer Subject: Re: NeXT success stories? Date: 23 Dec 1995 05:28:18 GMT Organization: Genoa Software Systems Message-ID: <4bg41i$1bb@saturn.genoa.com> References: <4an3dc$5hk@rznews.rrze.uni-erlangen.de> <4b75cq$9di@news.onramp.net> <30D741AF.6BBE@ix.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In <30D741AF.6BBE@ix.netcom.com> "Jonathan W. Hendry" wrote: > Speaking of NeXT success stories, apparently IBM was recently running > a series of object technology seminars, centered on Smalltalk. > At one session (if not more) their success story was MCI's Friends > and Family. A NeXTStep project. > Naturally, they didn't bother to mention that. Evidently, there is a group in MCI using and pushing Smalltalk, just as there is a group betting on NEXTSTEP. So its possible that both NeXT and IBM/Smalltalk can claim some fame from MCI's Friends and Family program. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: wfc@cl.cam.ac.uk (W F Clocksin) Newsgroups: comp.sys.next.programmer Subject: ButtonCells: better to use image or icon? Date: 29 Dec 1995 13:42:11 GMT Organization: University of Cambridge, England Message-ID: <4c0r7j$6lk@lyra.csx.cam.ac.uk> Is it faster to access/modify the little pictures on ButtonCells by using their icon (char *) name or their image NXImage? Is one more 'primitive' than the other, so if you ask for one then appkit needs to convert it from the other?
Newsgroups: comp.sys.next.programmer From: stephan@rodion.muc.de (Stephan Wacker) Subject: Re: Indexing Kit Guru needed. In-Reply-To: Joey Coyle's message of 11 Dec 1995 07:42:18 GMT To: Joey Coyle <u22878@uicvm.uic.edu> Message-ID: <STEPHAN.95Dec27171408@rodion.muc.de> Sender: stephan@rodion.muc.de (Stephan Wacker) Organization: Transmogrifiers Ltd. References: <4agncq$1fkq@tigger.cc.uic.edu> Date: Wed, 27 Dec 1995 16:14:08 GMT On 11 Dec 1995 07:42:18 GMT, Joey Coyle (JC) wrote: In article <4agncq$1fkq@tigger.cc.uic.edu> Joey Coyle <u22878@uicvm.uic.edu> writes: JC> JC> Basically, I need to go through a directory of files and move JC> the ten oldest files to a different directory. JC> Thanks Joey Coyle u22878@uicvm.uic.edu Maybe you can do it from the shell: ---- #! /bin/sh where='someDirectory' ls -t | tail -10 | sed -e 's#[@/*]$##' -e "s#.*#mv & $where#" | sh ---- #! /bin/csh set where='someDirectory' ls -t | tail -10 | sed -e 's#[@/*]$##' -e "s#.*#mv & $where#" | sh ---- Hope that helps, Stephan -- _______________________________________________________________________ Stephan Wacker stephan@rodion.muc.de [NeXTMail YES];
Newsgroups: comp.sys.next.programmer From: stephan@rodion.muc.de (Stephan Wacker) Subject: Re: Unremovable cell image In-Reply-To: cnyap@dcs.shef.ac.uk's message of 8 Dec 1995 16:57:10 GMT To: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Message-ID: <STEPHAN.95Dec27180923@rodion.muc.de> Sender: stephan@rodion.muc.de (Stephan Wacker) Organization: Transmogrifiers Ltd. References: <4a9qp6$r4f@hippo.shef.ac.uk> Date: Wed, 27 Dec 1995 17:09:23 GMT On 8 Dec 1995 16:57:10 GMT, Chih Nam Yap (CNY) wrote: In article <4a9qp6$r4f@hippo.shef.ac.uk> cnyap@dcs.shef.ac.uk (Chih Nam Yap) writes: CNY> CNY> I have asked the same question before, i.e., I have a matrix of action cell CNY> class called "matrixCell" which cannot remove some of the CNY> unused icons from screen. I have implemented some of the suggestions CNY> given by many people (thank you) and it still don't work, this CNY> time I wish to show the code, and hope that someone can spot my mistake. CNY> CNY> CNY> /* CNY> File : Controller.m --- inherit from "Object" class CNY> CNY> Instant variable id window -- connect to the main window CNY> id matrixCell -- connected to the matrixCell class, however CNY> -- I did't use "group scrollview" to group CNY> -- that matrix view. CNY> CNY> int lastSelectedCol -- the selected column number before CNY> -- user select the next one CNY> */ CNY> CNY> - appDidInit CNY> { CNY> ...... CNY> lastSelectedCol = 0; CNY> ...... CNY> } CNY> CNY> CNY> - renewMatrixCell CNY> { CNY> int cells; CNY> CNY> if (autoSynchronize) CNY> { CNY> cells = lastSelectedCol + 1; CNY> CNY> [matrixCell renewRows: 1 cols : cells]; CNY> [matrixCell sizeToCells]; CNY> [matrixCell selectCellAt: 0 :cells - 1]; CNY> [matrixcell update]; CNY> } CNY> return self; CNY> } CNY> CNY> CNY> CNY> - setAutoSynchronize: (BOOL) flag CNY> { CNY> autoSynchronize = flag; CNY> return self; CNY> } CNY> CNY> CNY> CNY> - iconSelected: sender // sender - from matrixCell class's mouseDown method CNY> { CNY> [self setAutoSynchronize: NO]; CNY> [window disableFlushWindow]; CNY> [matrixCell setAutodisplay: NO]; CNY> CNY> [self setLastColumn]; CNY> CNY> [self setAutoSynchronize: YES]; CNY> [self renewMatrixCell]; CNY> CNY> [[matrixCell setAutodisplay: YES] displayIfNeeded] ; CNY> CNY> [[window reenableFlushWindow] flushWindow]; CNY> return self; CNY> } CNY> CNY> CNY> CNY> - setLastColumn CNY> { CNY> id iconCells = [[List alloc] init]; CNY> int i = ([matrixCell selectedCol]); // user newly selected column CNY> CNY> while (i++ < lastSelectedCol) CNY> [iconCells addObject: [matrixCell cellAt: 0 :i]]; CNY> CNY> lastSelectedCol = [matrixCell selectedCol]; CNY> CNY> i = [iconCells count]; CNY> while (i--) CNY> [[iconCells objectAt: i] setDelegate: nil]; CNY> CNY> [iconCells free]; CNY> return self; CNY> } CNY> CNY> CNY> CNY> CNY> What my problem is, supposing we have 4 icons on the main window now, and the CNY> 4th icon is highlighted, if I clicks on the 2nd icon, I want CNY> the 2nd icon to be highlighted and the 3rd and 4th icon to be removed from the CNY> main window. Unfortunally, everytime when I do this, the 3rd and 4th icons CNY> are still appear on the screen, however, if I "RESIZE" the main window, they CNY> gone immediately and this proves that I have successfully remove 3rd & 4th CNY> icon's delegate away, but for some reason, they are still there. I think CNY> I did not "flush" the window properly, because "window" here is not the CNY> instance variable "window" of matrixCell. I did try CNY> CNY> CNY> [[matrixCell window] disableFlushWindow]; CNY> CNY> [[[matrixCell window] reenableFlushWindow] flushWindow]; CNY> and CNY> CNY> [[[[matrixCell window] makeFirstResponder] reenableFlushWindow] CNY> flushWindow]; CNY> CNY> but still cannot remove the 3rd and 4th icon. CNY> CNY> CNY> Your help will be much appreciated. Thanks CNY> CNY> CNY> Cheers, CNY> CNY> C.Yap I'm not very sure if I understand your problem, but I did something similar in one of my own apps. Basically, I have a matrix of two columns and variable number of rows. When the matrix is (re-)built from an internal list, that list invokes the following method: - fillMatrix { int i, n; VocabEntry *item; Matrix *matrix = [controller vocabMatrix]; [matrix setAutodisplay: NO]; // finish editing [[[matrix window] firstResponder] resignFirstResponder]; [matrix clearSelectedCell]; [matrix renewRows: 0 cols: 2]; for( i = 0, n = [self count]; i < n; i++ ) { item = [self objectAt: i]; [item appendToMatrix: matrix]; // which calls [matrix addRow]; } // for i [[[matrix sizeToCells] setAutodisplay: YES] update]; return self; } // fillMatrix: The only significant difference between your code and mine is that you invoke [matrixCell update] (in renewMatrixCell) _before_ [matrixCell setAutodisplay: YES] (in iconSelected:). Hope that helps, Stephan -- _______________________________________________________________________ Stephan Wacker stephan@rodion.muc.de [NeXTMail YES]; -- _______________________________________________________________________ Stephan Wacker stephan@rodion.muc.de [NeXTMail YES];
From: df@watershed.com (Dirk Fromhein) Newsgroups: comp.sys.next.programmer Subject: Re: Developing for NEXTSTEP vs OPENSTEP---a critical business decision Date: Fri, 29 Dec 1995 18:40:42 -400 Organization: Watershed Technologies, Inc. Message-ID: <4c1ddj$2hv@caesar.ultra.net> References: <1995Dec27.234416.4569@heinz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry, but you asked... You may have heard of it... Windows NT :-) -df In article <1995Dec27.234416.4569@heinz.com> Federico Heinz <federico@heinz.com> wrote: [munch] > I'm still wavering. Where are _you_ putting your money? > > Federico Heinz >
From: tikin@hasc.ca (Martin Lavertu) Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs Subject: Distributed Object, NS 3.2 & 3.3 Date: 28 Dec 1995 21:19:36 GMT Organization: School of Computer Science, McGill U, Montreal Message-ID: <4bv1l8$f21@lisa.cs.mcgill.ca> Hi, Have you experienced problems using distributed objects under 3.2 and/or 3.3 or porting your applications from 3.2 to 3.3 that makes use of DOs? If so, please let me know. I have experienced a few problems with them lately and I'd like to know if I'm the only having problems. They are essentially related to the new feature in NS 3.3 where connections are closed if they are idle for more than 2.5 minutes. I have also some workarounds. Thanks, -- Martin Lavertu martin@hasc.ca
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <flexus!rfschtkt@maze.ruca.ua.ac.be> Date: Tue, 26 Dec 95 09:39:17 +0100 From: Raf Schietekat <flexus!rfschtkt@maze.ruca.ua.ac.be> Message-ID: <9512260839.AA11104@flexus> Subject: Re: text manipulation Hello, I received answers from "Erik M. Buck" <embuck@cca.rockwell.com> and Art Isbell <aisbell@cubicsol.com> (thanks!). Erik suggested any free regular expression library, in particular regex from the university of Toronto, Canada. ``It is also available in several packages on ftp.cs.orst.edu. (See the CVS sources there. It is used in many many things, comes with ansi-C source, etc.)'' I didn't check this out, yet. Art suggested the MiscKit's MiscString. Well, I've got an extra disk now, so I went ahead and built it (version 1.6.2). The source shows that this is derived from (or inspired by) the Toronto sources and from GNU. There are some problems, however (briefly, and only the tough ones): - no regex syntax documentation, - no reliable longest-match matching. Furthermore, keeping a string in one contiguous block of memory does not bode well for the performance of search-and-replace operations on little stringies of a quarter meg or so (I could be mistaken). So I'm not entirely happy. (Ask me for details if you want them.) But I really need something to split up a string into parts according to a regular expression the (s)ed way (with \( and \) matching by \1, \2 etc.). This is something that (f)lex does not do in a straightforward way (one needs to hack around with / and several start conditions to make several passes, at least, that is how I did it once). MiscString's -grep:before:middle:after: methods are not smart enough. Can the Toronto regex do this? And of course, I need it last week. :-) Thanks, Raf Schietekat, RfSchtkt@maze.ruca.ua.ac.be (NeXTmail), Flanders, Belgium If I don't answer: my mail relay can't handle !, % or .uucp, I think *** Santa Claus is a fraud. Fortunately for him, Sinterklaas (or Saint Nicholas for the English spoken) is a *real saint*, so I don't suppose he's considering litigation. Sinterklaas brings presents on the 6th of December each year. If you think I'm biased because I live in Sint-Niklaas (sic), you don't have to take my word for it: look it up in Webster's! ***
From: tyf@ucsee.EECS.Berkeley.EDU (Tin-Yau Fung) Newsgroups: comp.sys.next.programmer Subject: Color in emacs Date: 30 Dec 1995 06:53:54 GMT Organization: University of California, Berkeley Message-ID: <4c2nm2$41@agate.berkeley.edu> Hi, Someone earlier asked for a color-caple editor to highlight keywords. Some followups suggested emacs. How do I highlight keywords in Emacs 4.1 in NS for c, obj c , or scheme? Help appreciated. Thanks.
From: robert@steffi.accessone.com (Robert Nicholson) Newsgroups: comp.sys.next.programmer Subject: Re: Color in emacs Date: 30 Dec 1995 10:43:39 -0800 Organization: x Sender: robert@steffi.accessone.com Message-ID: <eag4a9yuc.fsf@steffi.accessone.com> References: <4c2nm2$41@agate.berkeley.edu> To: tyf@ucsee.EECS.Berkeley.EDU (Tin-Yau Fung) Go and look up font-lock.el -- "For I am Costanza, lord of the Idiots" (PGP key: send email with Subject: request pgp key)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.