This is Prog-09.gz in view mode; [Up]
From: Malte Tancred (malte@oops.se) Newsgroups: biz.jobs.offered,comp.databases.object,comp.jobs,comp.jobs.computer,comp.jobs.offered,comp.lang.c++,comp.lang.objective-c,comp.object.corba,comp.soft-sys.nextstep,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software Subject: Re: AT&T Wireless Services - SEATTLE - SENIOR PROGRAMMER ANALYST FOR DATA MODELING AND SYSTEM DESIGN Date: 30 Aug 1996 10:00:29 GMT Organization: Taide Net Message-ID: <506e3t$sj3@parabol.taide.net> References: <01bb93a5.4889d4e0$61629dcc@karen95> In-Reply-To: <01bb93a5.4889d4e0$61629dcc@karen95> On 08/27/96, "The Washington Firm, Ltd." wrote: [snipped ad] Boring adds doesn't belong in this news group. I don't want to read this shit. Post your ads in the right group! Malte -- Malte Tancred OOPS art, HB malte@oops.se http://www.oops.se/~malte
Newsgroups: comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin,comp.sys.northstar,comp.sys.nsc.32k,comp.sys.oric,comp.sys.palmtops,comp.sys.pen,comp.sys.powerpc,comp.s From: dsr@lns598.lns.cornell.edu Sender: <kkooim@ix.netcom.com> Date: 29 Aug 1996 09:32:14 EDT Control: cancel <01bb954c$26ef7120$2e84d6ce@yanee> Subject: cmsg cancel <01bb954c$26ef7120$2e84d6ce@yanee> Message-ID: <cancel.01bb954c$26ef7120$2e84d6ce@yanee> Spam/MMF cancelled by dsr@lns598.lns.cornell.edu original subject was Earn extra money fast!!
From: katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) Newsgroups: comp.sys.next.programmer Subject: IndexingKit any chance to comppile in 4.0 ? Date: 29 Aug 1996 21:06:28 GMT Organization: a white NeXT Message-ID: <5050ok$e6a@news.vanderbilt.edu> I have got several apps using IndexingKit so my question: Is there a chance to compile these apps using the libIndexing_s.a and _p.a from NS3.3 (including the header files) Or is this simply a mission impossible and my sourcecode is to be thrown away (unacceptable). Cat. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/ _/_/ _/_/ Thomas Katzlberger _/_/ _/_/ katzlbt@vuse.vanderbilt.edu _/_/ _/_/ @aWhiteNeXT.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: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.sys.next.programmer Subject: Environment variables & NXDefaults Date: 30 Aug 1996 02:32:59 GMT Organization: OnRamp Technologies; ISP; Dallas/Ft Worth/Houston, TX USA Message-ID: <505jsr$dpk@news.onramp.net> NeXT apps launched from the workspace can't see UNIX environment variables - But code that looks for UNIX environment variables in a NeXT app will treat NXDefaults ass the same thing. That's ok, but I'm having problems getting the same behavior in OpenStep. Has anyone gotten this to work on OpenStep? Steve
From: altenber@acpub.duke.edu (Lee Altenberg) Newsgroups: comp.sys.next.programmer Subject: Category connections break w/ IB parse Date: 29 Aug 1996 22:46:38 -0400 Organization: Duke University, Durham, NC, USA Message-ID: <505kme$55a@news.duke.edu> Interface Builder NS3.3 is giving me problems when I use categories. I am putting a group of target/action methods for a custom view into a category. When I parse the custom view in IB, it breaks all the connections I have made from buttons in the app window to the methods in the category. If I parse just the custom view's .h file, IB deletes the category methods from the Actions of the custom view. I can get them back by parsing the category's .h file, but then all the connections are broken. This happens even when I select in IB both of the .h files to parse. Now, I suppose I could fix things by declaring the target/action methods in the custom view's .h file, instead of the category's .h file. But that is breaking proper OO programming style. Any tips on the right way to fix things will be greatly appreciated. ======================================================================= Lee Altenberg, Ph.D. Research Affiliate, University of Hawai`i at Manoa Office: Maui High Performance Computing Center 550 Lipoa Parkway, Suite 100 Kihei, Maui HI 96753 Phone: (808) 879-5077 x 296 (work), (808) 879-5018 (fax) E-mail: altenber@mhpcc.edu <NeXTMail and MIME: altenber@pueo.mhpcc.edu> Web: http://pueo.mhpcc.edu/~altenber/ =======================================================================
From: jeremy@inetnebr.com (Jeremy Bettis) Newsgroups: comp.sys.next.programmer Subject: Re: unidentifiable module warnings? Date: 30 Aug 1996 03:17:53 GMT Organization: Internet Nebraska Message-ID: <505mh1$eqm@hawk.inetnebr.com> References: <32234CE9.1FE1@boulder.colorado.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Adam Fedor <fedor@boulder.colorado.edu> In article <32234CE9.1FE1@boulder.colorado.edu>, Adam Fedor <fedor@boulder.colorado.edu> writes: > Aug 23 08:30:23 Compose[20029] *** Class MebesReader comes from > unidentifiable module/framework 'Compose' > Aug 23 08:30:23 Compose[20029] *** Class MathDoubleArray comes from > unidentifiable module/framework 'Compose' > > Anyone know what it means or how to get rid of it? I'm just assuming > it has something to do with NSBundle, since when I don't call the > NSBundle code I don't get the warnings. Curiously, these warnings don't > appear when I run the program under gdb. NSBundle is looking for your main bundle as the prefix to argv[0]. Since you were calling the program on the command line, it thinks the full path of your bundle is "Compose" and cannot find it. gdb fills in the full path, as does double clicking in the File Viewer. -- Jeremy Bettis -*- PGP public key available,send mail with subj "Send pgp key" Home: jeremy@tddi.inetnebr.com Work: jeremy@hksys.com NeXTMAIL/MIME/PGP accepted
From: daniel@vis.inf.ethz.ch (Daniel Gerald Kluge) Newsgroups: comp.sys.next.programmer Subject: How do I get per process statistics ? Date: 1 Sep 1996 22:08:17 GMT Organization: Verein der Informatikstudierenden an der ETH Zuerich Message-ID: <slrn52k2ah.1md.daniel@vis-next.iiic.ethz.ch> I was looking for an easy way (no /dev/kmem fun) to get some resource usage statistics for a process and discovered to my displeasure, that not only isn't vtimes(3C) not available anymore, but getrusage(2) which superseds vtimes doesn't implement all the functionality vtimes did. Is there another way to get some more statistics (memory, pagefault), than just what getrusage and task_info() return ? -daniel -- Daniel G. Kluge - President VIS / http://www.vis.inf.ethz.ch/~daniel/ E-Mail: daniel@vis.inf.ethz.ch (NeXT-Mail welcome) [ Pager 152-99-54082 ] VIS: ETH-Zentrum IFW B29 CH-8092 Zuerich Tel 01/632-7212 Fax 01/632-1172 Oeffnungszeiten waehrend dem Semester : Mo - Fr : 1215 - 1300
Newsgroups: comp.lang.perl.misc,comp.sys.next.programmer From: Russell_Schulz@locutus.ofB.ORG (Russell Schulz) Subject: Re: NextStep 2.1 and Perl 5? Message-ID: <960901.122425.2p9.rnr.w164w@locutus.ofB.ORG> Date: Sun, 1 Sep 1996 12:24:25 -0600 References: <gregf-2808961826460001@newsgate.sps.mot.com> Organization: Private System, Edmonton, AB, Canada CC: poster gregf@vulture.sps.mot.com (Greg Ferguson) writes: > I have a NextStation running NextStep 2.1. me too. isn't it sad how everything says `Copyright 1990', yet it mostly works at least as well and looks as nice as NT does today? > I finally told configure to use the defaults and 'gnore the warnings. I did it too, but in about four passes 1. Configure -d got your result changed usemyalloc to 'n' 2. Configure -der /bin/ld complained about needing ranlib on -lnm got rid of -lnm in the libs entry it said WHOA! a lot, because it hadn't been able to run a lot of test cases, so I also removed all the d_* lines 3. Configure -der dynaloader couldn't find mach-o/*, so I told it not to use the dynaloader with dl_ext='none' 4. make perl and now I have a perl executable, which says: perl -v This is perl, version 5.003 with EMBED built under next at Aug 31 1996 13:17:50 + suidperl security patch -- Russell_Schulz@locutus.ofB.ORG Shad 86c
From: allanmac@blueprint.com (Allan MacKinnon) Newsgroups: comp.sys.next.programmer Subject: Re: user.h Date: 29 Aug 1996 16:55:41 GMT Organization: ZIPNET.NET - The NorthEast US's premier ISP Message-ID: <504i2d$mru@news.zipnet.net> References: <32220AAE.7F8A@alcatrazd.com> Cc: masa@alcatrazd.com In <32220AAE.7F8A@alcatrazd.com> Masaharu Fukuyama wrote: > Hi I'm new to NeXTStep Developer Environment. I've just got new > OpenStep Developer and try to compile a driver, but erroe message > appears as follows:- > /NextLibrary/Frameworks/System.framework/Headers/bsd/sys/user.h:135: > underfined type, found 'lock_data_t' > > Is this a bug on user.h or any other mistake in program itself? > > According to the OS 4.0 ReleaseNotes: ----------- OpenStep Release 4.0 Copyright OPENSTEP 4.0 Release Notes: Driver Development OPENSTEP 4.0 cannot be used to develop Mach device drivers. Because NEXTSTEP 3.3 device drivers work on OPENSTEP 4.0 systems, we recommend that you use NEXTSTEP 3.3 Developer to create device drivers. ----------- ASM -- Allan MacKinnon mailto:allanmac@blueprint.com Boston, MA (617) 424-0615
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer,misc.jobs.offered,misc.jobs.contract Subject: NEXTSTEP/Contract--Long Term/Va Date: 2 Sep 1996 17:33:27 GMT Organization: Norden 1 Communications Message-ID: <50f5p7$9kq@tofu.alt.net> Programmer/analyst/developer NEXTSTEP--------------------Commercial experience Objective C-----------------Commercial experience EOF-------------------------A plus Contract--------------------Long term Area------------------------Virginia Must Be---------------------US Citizen,Canadian Citizen, or US Greencard 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: Garance A Drosehn <gad@eclipse.its.rpi.edu> Newsgroups: comp.sys.next.advocacy,comp.sys.next.bugs,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin Subject: Re: Asking a favor Date: 3 Sep 1996 02:40:21 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Message-ID: <50g5ql$11g@usenet.rpi.edu> References: <01bb9798$69b121e0$331543a4@lullaby> "Duncan Idaho" <everblue@ucla.edu> wrote: > I'm looking to utilize the Recycler animation in NeXTSTEP in a > Windoze app I'm currently working on. Unfortunately I sold my > copy a while back so I have to get the bitmaps from someone else. "Utilize", as in "copy" and "use without permission"? My guess is that you'll be treading on some copyright issues that you should not be treading on. What makes you think you have the right to use those images for some application you're writing? --- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu Senior Systems Programmer (MIME & NeXTmail capable) Rensselaer Polytechnic Institute; Troy NY USA
From: neuss@isa.informatik.th-darmstadt.de.NOSPAM (Christian Neuss) Newsgroups: comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.sysadmin Subject: Re: Q: IBM DORS hard disc and BLACK Hardware Followup-To: comp.sys.next.hardware,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.sysadmin Date: 3 Sep 1996 13:14:33 GMT Organization: Fachbereich Informatik, TH Darmstadt, Deutschland Message-ID: <50havp$epd@rs18.hrz.th-darmstadt.de> References: <DwyM3M.M8@oic.de> Juergen Moellenhoff (jurgen@oic.de) wrote: > how can I use an IBM DORS (2GB) hard disc with black Hardware? I can > remember that the hard disc needs modifications, but I can't remember > what it was. Never done it myself (I was too chicken the disk wouldn't work, so I went for the Quantum Fireball instead). I've heard however it *must* be jumpered to asynchronous SCSI mode, which is easy if you've managed to get hold of the docs. I was told the jumper settings can be found from IBM's Web site. Since you post from a German domain: Ask in de.comp.sys.next. I think the DORS was discussed there some weeks ago. Hope this helps, Chris -- // Christian Neuss "I ride tandem with a random.." // http://www.informatik.th-darmstadt.de/~neuss/ // fax: (+49) 6151 16 5472
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.sys.next.programmer Subject: OpenStep: non-positive window number? Date: 3 Sep 1996 17:46:38 GMT Organization: OnRamp Technologies; ISP; Dallas/Ft Worth/Houston, TX USA Message-ID: <50hqtu$bns@news.onramp.net> I'm having the following problem in OpenStep - When I click on an NSBrowser I get: Sep 3 10:32:46 MyApp[18681] *** Assertion failure in -[NSMatrix _gatherFocusStateInto:upTo:], NSView.m:1698 Sep 3 10:32:46 MyApp [18681] non-positive window number This happens in the main app loop - not in my code: (gdb)bt #0 0x50509cc in _msg_receive_trap () #1 0x505057f in _msg_receive () #2 0x18070da8 in -[_NSPortSet acceptInput:beforeDate:] () #3 0x18072a73 in -[NSRunLoop acceptInputForModeInfo:beforeDate:] () #4 0x18011018 in -[NSRunLoop acceptInputForMode:beforeDate:] () #5 0x600c3a6 in _DPSNextEvent () #6 0x6018798 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] () #7 0x6023f14 in -[NSApplication run] () I don't do anything strange with views in this app. Anyone know what might cause this? Steve
From: katzlbt@vuse.vanderbilt.edu (Thomas Katzlberger) Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: Java: guavac & kaffe compiled BUT: Date: 3 Sep 1996 22:15:53 GMT Organization: a white NeXT Message-ID: <50iamp$e9d@news.vanderbilt.edu> Hi all! Ok I finally managed to compile guavac and kaffe. kaffe was a tricky thing but foolowing these steps may help: 1. run configure 2. edit config.h copy to the end of config.h (from config.h.in) /* Hacks to configure NeXT */ #if defined(NeXT) #undef HAVE_SYS_UTSNAME_H /* this line was edited by configure unintentionally */ #define HAVE_DYN_UNDERSTORE 1 #endif 3. delete ## in kaffevm/jit/funcs.c (wait for error) 4. in Makefile delete -lm from the line LIBS = -lm 5. Don't run make but gmake !! I used gcc-2.7.2 Then I tried to compile HelloWorld: --- import java.lang.*; class Main { public static void main(String argv[]) { System.out.println("Hello World"); } } --- garfield> guavac test2 Compilation Successful: 1 classes or interfaces found: * Main garfield> kaffe Main Failed to locate native function: java/io/FileDescriptor.initSystemFD(Ljava/io/FileDescriptor;I)Ljava/io/FileDescriptor; Failed to catch exception ... aborting: java/lang/UnsatisfiedLinkError BTW: if I use the guavac classes kaffe deadlocks or crashes. Using the kaffe classes (kaffe...sun.tar.gz or so at the kaffe ftp) gives the result above. Any other imports I tried didn't help. Possibly I have to crank up gdb and investigate in kaffe, but any other hints are appreciated. Cat. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/_/ _/_/ _/_/ Thomas Katzlberger _/_/ _/_/ katzlbt@vuse.vanderbilt.edu _/_/ _/_/ @aWhiteNeXT.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: laurent@planon.qc.ca (Laurent Daudelin) Newsgroups: comp.sys.next.programmer Subject: Re: Programmatically setting the cursor position in a TextField. Anyone? Anyone? Date: 3 Sep 1996 15:49:01 GMT Organization: Communications Accessibles Montreal, Quebec Canada Distribution: world Message-ID: <50hk1d$ngk@tandem.CAM.ORG> References: <4vsvke$dge@bdmserver.mcl.bdm.com> In article <4vsvke$dge@bdmserver.mcl.bdm.com> tparchme@plato.sky.bdm.com writes: > Does anyone know how to programmitically place a cursor in a > specific character position in a TextField? I've looked at all the > methods in the Text and TextField classes but haven't come up with > anything. I'm also looking for an example of how to use the > setCharFilter: method in the Text class. > > Thanks - > > TP I've been able to successfully control the cursor movement in a TextField by subclassing the Text class and returning an instance of this subclass as the field editor of the TextField window. I'm not using the 'setCharFilter:' method to have control. Basically, all you have to do is to override the 'keyDown:', 'mouseDown:', 'cut:', 'copy:', 'delete:', 'clear:' and 'paste:' methods to achieve it, and a bit of play with the 'getSel::' and the 'setSet::' methods and you're done. Email me if you want the details. -Laurent. -- ****************************************************************** Laurent Daudelin, Lead Software Engineer- Planon TELEXPERTISE Inc. laurent@planon.qc.ca <-- NeXTMail welcome! (MIME Mail welcome too!)
From: "Duncan Idaho" <everblue@ucla.edu> Newsgroups: comp.sys.next.advocacy,comp.sys.next.bugs,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.sysadmin Subject: Re: Asking a favor Date: 4 Sep 1996 03:01:34 GMT Organization: University of California, Los Angeles Message-ID: <01bb99ca$41ed87f0$871443a4@lullaby> References: <01bb9798$69b121e0$331543a4@lullaby> <50g5ql$11g@usenet.rpi.edu> Actually, it's for personal use.
Date: 04 Sep 1996 07:48:00 +0200 From: ncoelle@nuppy.harz.de (Niels Coelle) Newsgroups: comp.sys.next.programmer Message-ID: <6GEtZ$SqwmB@nuppy.harz.de> Subject: Need a hint where to look Hy folks I am new to UNIX programming. So I need a hint: What are the equivalences for the DOS-Functions _findfirst(), _findnext()? For which keywords I have to search in the man-pages? thanks Niels -- Niels Coelle Fido : 2:2437/120.23 Seilerstr. 11 Internet: ncoelle@nuppy.harz.de 38678 Clausthal-Zellerfeld,FRG Voice : 49-5323-94916 ## CrossPoint v3.1 R ##
From: michaela@delorean (Michael Amirault) Newsgroups: comp.sys.next.programmer Subject: NiftyMatrix for OpenStep Date: 3 Sep 1996 21:53:43 GMT Organization: AT&T Wireless Services, Inc. Message-ID: <50i9d7$o6s@nwestmail.nwest.mccaw.com> Has anyone converted the NiftyMatrix object in the ScrollDoodScroll developer examples to OpenStep? I've tried but I can't quite get the drawing to work right. When you drag a cell it erases everything underneath it. Any ideas?? Thanks, Mike
From: gvandyk@icon.co.za Newsgroups: comp.sys.next.programmer Subject: Re: Need a hint where to look Date: 4 Sep 1996 09:40:28 GMT Organization: E.S. Systems cc (Financial Systems Development) Message-ID: <50jiqc$gt5@hermes.is.co.za> References: <6GEtZ$SqwmB@nuppy.harz.de> In-Reply-To: <6GEtZ$SqwmB@nuppy.harz.de> On 09/04/96, Niels Coelle wrote: >Hy folks > >I am new to UNIX programming. So I need a hint: > >What are the equivalences for the DOS-Functions _findfirst(), _findnext()? > >For which keywords I have to search in the man-pages? You can search for example scandir. -- Regards, Gerrit van Dyk email: gvandyk@icon.co.za (NeXTMail welcome) E.S. Systems cc The OBJECT is the ADVANTAGE
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer,misc.jobs.offered,misc.jobs.contract Subject: NEXTSTEP/Contract--Long Term/Va Date: 4 Sep 1996 12:20:40 GMT Organization: Norden 1 Communications Message-ID: <50js6o$93m@tofu.alt.net> Programmer/analyst/developer NEXTSTEP Objective C Commercial experience Contract-------------Long term Area-----------------Virginia Must Be--------------US Citizen,Canadian Citizen or US Greencard. -- ehutch@norden1.com (419) 893-6367 [fax] Omni Search (419) 893-6334 [voice] 1310 Craig Maumee, Ohio 43537
From: Paul Heffernan <phef@cedar.co.uk> Newsgroups: comp.sys.next.programmer Subject: Re: Programmatically setting the cursor position in a TextField. Anyone? Anyone? Date: Wed, 4 Sep 1996 14:01:08 +0100 Organization: Cedar Systems Distribution: world Message-ID: <puhUAEAU2XLyEwe4@cedar.co.uk> References: <4vsvke$dge@bdmserver.mcl.bdm.com> MIME-Version: 1.0 In article <4vsvke$dge@bdmserver.mcl.bdm.com>, tparchme@plato.sky.bdm.com writes >Does anyone know how to programmitically place a cursor in a >specific character position in a TextField? I've looked at all the >methods in the Text and TextField classes but haven't come up with >anything. I'm also looking for an example of how to use the >setCharFilter: method in the Text class. > >Thanks - > >TP The TextField uses a shared Text object to handle the Text editing - the problem is getting hold of that Text object. There are several ways to do this - this one should work for you. First implement a Window method to get the shared Text object: @interface Window(CedarSystemsSolution) - textFieldSharedText; @end @implementation Window(CedarSystemsSolution) - textFieldSharedText { return fieldEditor; } @end Now in your code that needs to do the setSel, you can do the following: ... id textEditor; int fromPos, toPos; ... [myTextField selectText:nil]; textEditor = [[myTextField window] textFieldSharedText]; [textEditor setSel:fromPos :toPos]; ... It is important to do the selectText: first, as this adds the sharedText as a subview of myTextField and copies the field's contents into the shared text. Hope this helps a bit. Paul. ------------------------------------------------------------------ Paul Heffernan, Product Development Manager. Cedar Systems, 2440 The Quadrant, Aztec West, Bristol BS12 4AQ, UK Phone: +44 (0) 1454 878708 Fax : +44 (0) 1454 878608
From: Bob Hathaway <objcur@wwa.com> Newsgroups: comp.sys.next.programmer,comp.lang.oberon,comp.object.logic,comp.lang.scheme,comp.lang.beta Subject: Object Currents - ANNOUNCEMENT/CALL FOR PAPERS- Free New Journal Followup-To: comp.object Date: 4 Sep 1996 09:16:58 -0500 Organization: Object Currents Sender: objcur@sashimi.wwa.com Message-ID: <50k30q$3ln@shoga.wwa.com> Summary: Object Currents - ANNOUNCEMENT/CALL FOR PAPERS- Free New Journal Keywords: Free WWW OO Object-Oriented Journal OBJECT CURRENTS =============== OBJECT CURRENTS ONLINE HYPERTEXT JOURNAL FREE NEW MONTHLY OBJECT-ORIENTED FORUM Location: http://www.sigs.com/objectcurrents/ Editor: Bob Hathaway <objcur@wwa.com> Issues: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep - Available Now Next Issue: October 1 Publisher: SIGS: C++ Report, JOOP/ROAD, Object Magazine, Object Expert, Smalltalk Report, X Journal, Java Report, Object Buyer's Guide, ... This is an invitation to join us at Object Currents and view, engage in, and participate in the latest in object-oriented technology using the newest in information technology, the WWW. Object Currents is a complete new free monthly journal with original Feature Articles, Columns, and Departments along with 7 to 10 *new* articles from SIGS' Journals. NEW NEWS We welcome two new columnists to help bring us at least 6 columns every month; Professor Dr. Brian Henderson-Sellers whom many know from his work and many articles on object-orientation, notably ROAD and JOOP; and Dr. Ian Mitchell, whom many know from his several articles in OCJ. Please see the Columnists section below for more information. Both are world-class in the OO community and can now convey their insights on the object model regularly thru OCJ beginning in October. Each has an entry in our September issue. OCJ ARTICLES We are accepting original Feature Articles which include honorarium and the opportunity to publish. Please see our URL for Authors' Guidelines. Object Currents' World Class Columnists: Watts Humphrey: SEI Process Director, CMM & PSP Inventor Bertrand Meyer: Eiffel, OO Design and Software Engineering Francois Bancilhon: President, O2 Technology, Leading ODBMS Expert Michael Jesse Chonoles: Chief of Methodology, Advanced Concepts Center of Lockheed Martin David Shang: OO Programming Language Designer, Motorola Labs Michael Spertus: President, Geodesic Systems, Program Automation New Columnists: Prof. Brain Henderson-Sellers: Director, Centre for Object Technology Applications and Research (Victoria) and Professor of Computer Science (Object Technology) Swinburne University of Technology Ian Mitchell: Dr. Mitchell heads the Rapid Prototyping Laboratory: http://osiris.sund.ac.uk/research/canopus/mitchell/rpl.html Interviews: January: Grady Booch February: James Rumbaugh March: Ivar Jacobson (Part I) - Get the latest on the UML June: Steve Mellor, Plus Jacobson (Part II) Soon: Sally Shlaer Newsgroup Dialog: - Monthly "Best Thread" from comp.object Robert Martin Week in OT: Jane Grau - Late breaking news on object technology 4 times/month Feature Articles: Jan 96 Understanding Objects by Understanding Variables and Functions Dr. Stefano A. Cerri A Comparison of Objects with Frames and OODBs Dr. Xindong Wu Feb 96 On the applicability of the evolving Unified Method to Rapid Functional Prototyping Ian Mitchell Extending the Object Oriented Languages Type Notion Hugues Lecoeuche Mar 96 Back To Basics - Greater Programming Power Multiple Polymorphism and True Type Systems, Recursive Types and Pointer Semantics, Meta Systems and Reflection, Prototyping and Dynamic Inheritance Part I (MP & TTS, RT & PS) - Editor Simple Shared Objects Robert Ott Apr 96 On a Semantic Net for Object Spotting Ian Mitchell, Norman Parrington, Peter Dunne, and John Moses Measuring Coupling in Object-Oriented Systems Martin Hitz and Behzad Montazeri Special: An Updated *Running* Version Of Understanding Objects Dr. Stefano A. Cerri Editorial: Back To Basics - Greater Programming Power Part II - Meta Systems and Reflection May 96 Practical Prototyping, Part One Ian Mitchell, Norman Parrington, Peter Dunne, and John Moses UniSQL's Next-Generation Object-Relational Database Management System F. Kim New: Newsgroup Dialog - Exploring a C++ Metamorphism Proposal Jun 96 Objects And Binary Relations A.Girow Practical Prototyping, Part Two Ian Mitchell, Norman Parrington, Peter Dunne, and John Moses Jul 96 O3CASE: Operational Object Oriented CASE Rakesh Agarwal, Marco Torchiano and Giorgio Bruno Practical Prototyping, Part Three Ian Mitchell, Norman Parrington, Peter Dunne, and John Moses Aug 96 Methods and Arhitectures - A Vision Sally Shlaer Broad New Vistas Elliot Coates The OOA Report - Book Review John Yeager Sep 96 A User Friendly, Object-Oriented Multi-Media Mail Filterer Craig Cockburn Towards a Rigorous Expression of the OO Vernacular Ian Mitchell & Peter Dunne Cannonical Web Concurency Control & Database Intraction Design Pattern Editorial - Article soon Soon: Editorial: Back To Basics - Greater Programming Power Part III - Prototyping and Dynamic Inheritance Departments: Several including Newsgroup Dialog, Editorial, C++ Puzzle, Code Watch, Question + Answer. Best new articles from SIGS January, February, March, April, May, June, and July 1996 issues including: C++ Report, JOOP/ROAD, Object Magazine, Smalltalk Report, Object Expert, Object Buyer's Guide Thanks to our readership for patronage, praise, and feedback. Please keep visiting or give us a try soon. Please also feel free to inform friends and colleagues of this free new medium. From the Guidelines: Object Currents' unique hypertext media provides for advances over earlier journals - links to home pages, sites, databases and information servers, interaction, animation, graphics, code retrieval and execution, expanded pages, video, virtual reality and chat sessions. While all of these may not have appeared in these first issues, they will appear in the future. Check it out! Best Regards, Bob Hathaway Robert John Hathaway III Editor in Chief Object Currents Hypertext Journal Email: objcur@wwa.com - Correspondence, Submissions
From: don@misckit.com Newsgroups: comp.sys.next.programmer Subject: Re: NiftyMatrix for OpenStep Date: 4 Sep 1996 17:27:53 GMT Organization: XMission Internet (801 539 0900) Message-ID: <50ke6p$1p6@news.xmission.com> References: <50i9d7$o6s@nwestmail.nwest.mccaw.com> michaela@delorean (Michael Amirault) wrote: > > Has anyone converted the NiftyMatrix object in the ScrollDoodScroll > developer examples to OpenStep? I've tried but I can't quite get the > drawing to work right. When you drag a cell it erases everything underneath > it. > > Any ideas?? I know we're working on it for the MiscKit (the MiscMatrix contains the functionality of NiftyMatrix as well as several other useful extensions, such as varying cell size). If you can wait for the work to be done, I'd recommend using it... -- Later, -Don Yacktman don@misckit.com <a href="http://www.misckit.com/don.html">My home page</a>
From: yannick@uranus.univ-lr.fr (Yannick Buisson) Newsgroups: comp.sys.next.programmer Subject: drag and drop in NXTableView Date: 4 Sep 1996 19:15:07 GMT Organization: Universite de La Rochelle Message-ID: <50kkfr$cm6@hpuniv.univ-lr.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I would like to develop a tableview which allow the " drag and drop" like in matrix in Interface Builder. In this case, in first you select a cell and when you drag and drop it, there is an exchange between two cells. In the tableView,I want drag and drop a cell in a same column. did anybody already develop a system like that ? Where can I find some example for "drag and drop" in a matrix objet like with IB? All help is appreciated. Thanks. -- //// (. .) ----oOO--(_)--OOo-------------------------------------------- Yannick BUISSON Centre de Ressources Informatiques Université de La Rochelle tel prof. : 46 45 82 14. fax prof. : 46 45 82 45. Email (NeXTMail , MIME) : -> yannick@cri.univ-lr.fr
From: giddings@fen.chem.wisc.edu (Michael Giddings) Newsgroups: comp.sys.next.programmer Subject: A way to compile 3.3 source in 4.0 (I'm halfway there) Date: 4 Sep 1996 22:26:15 GMT Organization: University of Wisconsin Madison Distribution: world Message-ID: <50kvm7$19rk@news.doit.wisc.edu> Keywords: openstep compile Today I played around with trying to compile a small 3.3 app I have under 4.0. The compile goes fine, as expected, by setting it up to use the 3.3 headers. The link doesn't go okay. So I tried placing a 3.3 version of libNeXT_s.a and libNeXT_p.a into the /usr/lib on the 4.0 system, and the link went fine _except_ for failure to resolve about 10 or 15 symbols related to Sound stuff, all of which start with _SND . . . It seems if I could get beyond this little hurdle of these strange Sound related symbols, it would be possible to compile 3.3 stuff using the new Project Builder under 4.0. That would be great then we could actually upgrade our systems here rather than waiting until everything has been converted to OpenStep compliance. Anybody have any ideas why the _SND* entries in the library are the only ones causing problems? Might there be a way to get rid of these references using libtool? Has this question already been asked? Thanks -- Michael Giddings giddings@whitewater.chem.wisc.edu |---------\-----------/|\------------/---------|
Newsgroups: comp.sys.next.programmer From: stes@cwi.nl (David Stes) Subject: Re: NiftyMatrix for OpenStep Message-ID: <Dx9wH4.IvM@cwi.nl> Sender: news@cwi.nl (The Daily Dross) Organization: CWI, Amsterdam References: <50i9d7$o6s@nwestmail.nwest.mccaw.com> <50ke6p$1p6@news.xmission.com> Date: Thu, 5 Sep 1996 18:53:28 GMT In article <50ke6p$1p6@news.xmission.com> don@misckit.com writes: > >I know we're working on it for the MiscKit (the MiscMatrix contains >the functionality of NiftyMatrix as well as several other useful >extensions, such as varying cell size). If you can wait for the >work to be done, I'd recommend using it... > Talk about "object reuse"...
From: steel456@aol.com (Steel456) Newsgroups: comp.sys.next.programmer Subject: NeXT Professionals needed ASAP Date: 5 Sep 1996 16:11:52 -0400 Organization: America Online, Inc. (1-800-827-6364) Sender: root@newsbf02.news.aol.com Message-ID: <50nc68$pk@newsbf02.news.aol.com> We are the Premier search and recruiting firm for NeXT Professionals in the USA. We have a number of exclusive clients who have retained our services to search for the best permanent NeXTSTEP, Objective-C and strong OO Architects on the market.We are now recruiting for positions from coast to coast from Developers to Senior Developers.We have critical needs for 10 Senior NeXT Developers If you have experience developing within the NeXT environment and are considering looking to leverage your career, now is the time and we are the firm to talk to. Please call us at: Corporate Resource Associates Bruce Rennert 800-662-9797 Fax 800-814-3100
From: tom@basil.icce.rug.nl (Tom Hageman) Newsgroups: comp.sys.next.programmer Subject: Re: A way to compile 3.3 source in 4.0 (I'm halfway there) Message-ID: <9609052017.AA27090@basil.icce.rug.nl> Date: 5 Sep 96 20:17:31 GMT Sender: tom@basil.icce.rug.nl MIME-Version: 1.0 (NeXT Mail 3.3 v118.2) Content-Type: text/plain In article <50kvm7$19rk@news.doit.wisc.edu>, Michael Giddings <giddings@whitewater.chem.wisc.edu> wrote: > Today I played around with trying to compile a small 3.3 app I have under > 4.0. The compile goes fine, as expected, by setting it up to use the 3.3 > headers. > > The link doesn't go okay. So I tried placing a 3.3 version of libNeXT_s.a > and libNeXT_p.a into the /usr/lib on the 4.0 system, and the link went fine > _except_ for failure to resolve about 10 or 15 symbols related to Sound > stuff, all of which start with _SND . . . On NS3.3 the SND* routines reside in /lib/libsys_s.a. So I suspect you'd also need to copy and link against that one. I don't know if it collides with stuff in the System.framework if you do so, and if so, how to avoid this. Would be an interesting experiment, I guess... Let us know how it goes if you decide to try it. Hope this helps, Tom. -- __/__/__/__/ Tom Hageman <tom@basil.icce.rug.nl> [NeXTmail/Mime OK] __/ __/_/ IC Group <tom@icgned.nl> (work) __/__/__/ "Ed is the standard text editor" __/ _/_/ -- Unix Programmer's Manual
From: tom@basil.icce.rug.nl (Tom Hageman) Newsgroups: comp.sys.next.programmer Subject: Re: objectAtIndex vs. objectAt Message-ID: <9609052037.AA27113@basil.icce.rug.nl> Date: 5 Sep 96 20:37:24 GMT Sender: tom@basil.icce.rug.nl MIME-Version: 1.0 (NeXT Mail 3.3 v118.2) Content-Type: text/plain In article <501l1n$bhr@lion.embl-heidelberg.de>, Dinu C. Gherman <gherman@embl-heidelberg.de> wrote: > In article <3219749C.1178@ctp.com> Georg Tuparev <georg_tuparev@ctp.com> > writes: > > Because is more meaningful! If you say objectAt ... you expect > > yet another word, and you tend to asks "at what". > > > > If you still didn't seen it, writing OS sources is like writing > > normal spoken text. It is easier to memorize the new method names > > and much more easier to read the program (without extra comments). > > Agree, but sometimes things get slightly overdone, resulting in > method names like "stringByDeletingLastPathComponent". Are we > supposed to return to some remake of COBOL? Or wouldn't a name > like "deleteLastPathComponent" be equally clear? IMO, not in this particular example. Does your `-deleteLastPathComponent' modify the target string, or does it leave the target unmodified and return a new string instance? By its name, I would guess the former, while you intend the latter. > Moreover, I expected to find some more naming consistency > with 4.0 than before, but was pretty amazed of still finding > things like: > > "stringByDeletingPathExtension" vs. "pathExtension". > > Both of them return strings, so why not name them something like: > > "stringByDeletingPathExtension" vs. "stringFormedFromPathExtension" or > "deletePathExtension" vs. "pathExtension". Yeah, that's a bit inconsistent. My vote would be for `-pathSansExtension' or something like that, definitely not `-deletePathExtension' for the reason given above. > It should be clear that all these are only sent to strings, > anyway, isn't it? Another example is an inconsistency over two > classes. In NSArray you write "subarrayWithRange:" where in > NSString it's "substringFromRange:". Why's that? I'd expect > this from the Microsuck Foundation Classes, but from NeXT? Um. You've got a point there... > Anyway, the thing that sucks most with NSStrings is that they > have never heard of regular expressions. I just love that in > Python. Is this too complicated for Unicode strings, or was > it just left as an exercise for the MiscKit heros? Maybe I get > that for mucho dinero, if I ask NeXT HQ? Regexps are for UNIX weenies. ;-) -- __/__/__/__/ Tom Hageman <tom@basil.icce.rug.nl> [NeXTmail/Mime OK] __/ __/_/ IC Group <tom@icgned.nl> (work) __/__/__/ "Ed is the standard text editor" __/ _/_/ -- Unix Programmer's Manual
From: Steve Coleman - SEWP <scoleman@sewp.nasa.gov> Newsgroups: comp.sys.next.programmer Subject: Getting database context for NeXT/NT 'tool' application Date: Thu, 05 Sep 1996 15:18:06 -0400 Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Message-ID: <322F276E.1ADB@sewp.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I have been trying for several days now to port a OpenSTEP/Mach tool to the NT environment. My first problem was that the PATH information for the EOModel was hard-coded and different (mount points, drive letters, and slashes going the wrong way) for each platform. After trying to get a portable way for finding the EO I decided to place the EO in the same directory with the tool and require the tool to be envoked with the full path of the EXE file however I now find that it can not use the EO to create a usable EOEditingContext on NT because there is no mainBundle. I am new to the NeXT environment and was wondering if someone else has already crossed this bridge. Please! Someone show me how dumb I am. All comments welcome! Thanks. 8*} Source: NS_DURING NSString* appStr = [[NSString alloc] initWithCString:argv[0]]; NSString* appDir = [appStr stringByDeletingLastPathComponent]; NSString* eoPath = [appDir stringByAppendingPathComponent:@"Sewp1CurrentClin.eomodeld"]; EOModel* eoModel = [[EOModel alloc] initWithContentsOfFile:eoPath]; printf("eoModel=%s adaptor=%s\n", [[eoModel name]cString], [[eoModel adaptorName]cString]); database = [[EODatabase alloc] initWithModel:eoModel]; // Exception!! //databaseContext = [[EODatabaseContext alloc] initWithDatabase:database]; //EOObjectStoreCoordinator* coordinator = [EOObjectStoreCoordinator alloc]; //[coordinator addCooperatingObjectStore:databaseContext]; //context = [[EOEditingContext alloc] initWithParentObjectStore:coordinator]; NS_HANDLER fprintf(stderr,"Oops! %s %s \n", [[localException name] cString], [[localException reason] cString]); NS_ENDHANDLER exit(0); Output: eoModel=Sewp1CurrentClin adaptor=Sybase Sep 05 14:24:35 SpsClinLstNt[166] *** Class Sewp1CurrentClin comes from unidentifiable module/framework 'G:/scoleman/NextDev/Projects/SpsClinLstNt/SpsClinLstNt.exe' Sep 05 14:24:35 SpsClinLstNt[166] *** Warning: could not determine main bundle Oops! NSInvalidArgumentException *** -[NSConcreteMutableArray addObject:]: attempt to insert nil object
From: ˇyoussef@hegel2.cs.chalmers.se.cs.chalmers.se (Youssef Ali,1000) Newsgroups: comp.sys.next.programmer Subject: HELP !!! Pasteboard Date: 4 Sep 1996 08:23:02 GMT Organization: Chalmers University of Technology Message-ID: <50je96$muq@nyheter.chalmers.se> Hello ! After performing a copy/cut operation in some application and move to another application, I would like to know how to read the data in the pasteboard when the paste menucell in the second application is clicked (but before it is performed). Iam very gratefull for all the help I can get. My E-mail is youssef@cs.chalmers.se
From: INTEGRAL TECHNOLOGIES, INC. <integral@ix.netcom.com> Newsgroups: comp.sys.next.programmer Subject: JOB in (DC, VA, MD, NC) C++/OOA/INTERNET/RDBMS/NextStep Date: Fri, 06 Sep 1996 05:43:44 GMT Organization: Netcom Message-ID: <50odcv$f3o@dfw-ixnews3.ix.netcom.com> Several entry level programmer to senior programmer analyst and technical lead/managers are needed immediately. Permanent and consulting positions are available in Virginia, Washington DC and North Carolina (Research Triangle) with large telecommunication companies. Required: BS or higher degree in CS, IS or related fields; strong presentation; US Citizenship or Green Card holders Experience in Unix and any of: OOA/OOD, Client/Server, RDBMS, Internet SmallTalk, NextStep, OpenStep, Objective-C,C++/C, CGI, Java, perl. For more information. and other openings please visit us at: www.durability.com/integral Please fax or email resume to: Email: integral@ix.netcom.com Fax:: (703) 893-5049 Attn: Ben Jazi INTEGRAL Technologies Inc., Inc
From: giddings@fen.chem.wisc.edu (Michael Giddings) Newsgroups: comp.sys.next.programmer Subject: One way to compile 3.3 source in 4.0 Date: 6 Sep 1996 15:04:53 GMT Organization: University of Wisconsin - Madison Distribution: world Message-ID: <50peil$2ehu@news.doit.wisc.edu> References: <9609052017.AA27090@basil.icce.rug.nl> Keywords: compile openstep nextstep Cc: hayden@whitewater.chem.wisc.edu My inquiry under the title "A way to compile 3.3 source in 4.0 (I'm halfway there)" generated enough bits and pieces of information that I figured out one way to compile 3.3 stuff with 4.0. So, thanks to those who responded to my query. I will list the steps that I took to make a medium-sized 3.3 app we wrote here compile using OpenStep 4.0. You will need access to some 3.3 libraries that aren't included with 4.0. 1. Open the project with the new PB. Use the inspector and under "header search order" specify the following: /NextDeveloper/OpenStepConversion/3.3Headers. 2. Now, copy the following libraries from a 3.3 system to /usr/lib or /usr/local/lib on your OpenStep 4.0 machine: /usr/lib/libNeXT_s.a /lib/libsys_s.a /lib/libdyld.a You may need to copy additional libraries as required by your app. 3. You will need to use the 3.3 version of crt0.o located in /lib for linking. So rename /lib/crt0.o on your OpenStep machine to something else temporarily, then copy /lib/crt0.o from a 3.3 machine. (WARNING: This or other steps described here could have side effects I am not aware of so proceed at your own risk!) Does anyone know how to override the default use of /lib/crt0.o? That would be a cleaner route. 4. For some reason, you have to build the app using the -static flag. The only way I found of successfully doing this is modifying the Makefile and changing the line: CODE_GEN_STYLE = DYNAMIC to CODE_GEN_STYLE = STATIC Now, there is a problem with this. When you make a change to your project, this file gets overwritten by ProjectBuilder and reverts back to Dynamic. So, BEFORE you change this line, make sure your project is set up the way you want it to be and that you have saved it, THEN make this change (note: you can still modify source files without a problem, and if you do need to modify your project you'll have to then go back and change the Makefile again). Does anyone know of a way to force PB to not change this back every time? 5. You will have to add a line at the end of your makefile.postamble that places the nibs in the correct place for a 3.3 binary, otherwise the app will not run. I added the following lines: app:: mv <appwrapper name>/Resources/English.lproj <appwrapper name> where <appwrapper name> gets replaced by the name of your application wrapper (.app) directory. With those steps, It seems one can compile 3.3 source using the 4.0 ProjectBuilder. If anyone comes up with refinements to this process, I would like to hear of them. Michael Giddings UW Madison Chemistry
From: randyj@lowana.sbs.ohio-state.edu (Randy Jackson) Newsgroups: comp.sys.next.programmer Subject: iomanip.h errors on c++ compilation? Date: 6 Sep 1996 15:50:34 GMT Organization: The Ohio State University Message-ID: <50ph8a$61f@charm.magnus.acs.ohio-state.edu> Please reply to randyj@lubra.sbs.ohio-state.edu, NOT randyj@lowana.sbs.ohio-state.edu -- thank you. If there is a faq I can be pointed to for the solution to my problem, please help me locate it. Otherwise, I'd appreciate advise. When I #include <iomanip.h> and attempt to compile a c++ program, I get the following error messages: lowana> cc read.cc -lg++ In file included from read.cc:4: /NextDeveloper/Headers/g++/iomanip.h:61: parse error before `>' /NextDeveloper/Headers/g++/iomanip.h:63: parse error before `>' /NextDeveloper/Headers/g++/iomanip.h:141: semicolon missing after declaration of `smanip<int>' /NextDeveloper/Headers/g++/iomanip.h: In function `int setbase (int)': /NextDeveloper/Headers/g++/iomanip.h:141: aggregate value used where an integer was expected /NextDeveloper/Headers/g++/iomanip.h: At top level: /NextDeveloper/Headers/g++/iomanip.h:61: parse error before `>' /NextDeveloper/Headers/g++/iomanip.h:63: parse error before `>' /NextDeveloper/Headers/g++/iomanip.h:146: semicolon missing after declaration of `smanip<long unsigned int>' /NextDeveloper/Headers/g++/iomanip.h: In function `int resetiosflags (long unsigned int)': /NextDeveloper/Headers/g++/iomanip.h:146: aggregate value used where an integer was expected cc: Internal compiler error: program cc1objplus got fatal signal 10 lowana> I am currently only using iomanip.h for the "endl" output constant, and my program compiles and runs just fine when I substitute "\n" for endl and comment out the iomanip.h include. However, I intend to use the other manipulators in the future, so I need to discover the compilation problem. Any helpful advice will be appreciated. Thanks. Randy Jackson Please reply to randyj@lubra.sbs.ohio-state.edu, NOT randyj@lowana.sbs.ohio-state.edu -- thank you. -- Randy Jackson, Associate Professor ,_ o __o Geography, The Ohio State University / //\, _`\<,_ 1036 Derby Hall, 154 North Oval Mall \>> | (*)/ (*) Columbus OH 43210-1361 \\, FAX (614) 292 6213 randyj@lubra.sbs.ohio-state.edu
From: Mahesh Saptharishi <mahesh+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Help: Driver kit error message Date: Fri, 6 Sep 1996 18:27:05 -0400 Organization: Sophomore, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA Message-ID: <QmA_It_00iWVME9F0v@andrew.cmu.edu> Hello all, I was wondering if you could tell me what the following error message means: Warning: building empty bundle Any help will be appreciated. -Mahesh
From: alvin@cse.ucsc.edu (Alvin Jee) Newsgroups: comp.sys.next.programmer Subject: Re: iomanip.h errors on c++ compilation? Date: 6 Sep 1996 20:50:31 GMT Organization: UC Santa Cruz CIS/CE Message-ID: <50q2qn$his@darkstar.ucsc.edu> References: <50ph8a$61f@charm.magnus.acs.ohio-state.edu> Hello! You don't mention which compiler you are using. If you are using the compiler that came with the NeXT, then your errors make sense. Bascially, the NeXT C++ compiler does not handle templates in C++. From the error messages you posted, it looks like iomanip is using templates. That won't work. The solution is to get the latest gnu compiler and use that. -- -- Alvin Jee alvin@cse.ucsc.edu NeXTMail gleefully accepted!
From: "Millennium Warrior" <everblue@ucla.edu> Newsgroups: comp.sys.next.programmer,comp.sys.next.software Subject: IconDock now has a homepage! Get NeXTSTEP look and feel in Windows Date: 7 Sep 1996 22:15:13 GMT Organization: University of California, Los Angeles Message-ID: <01bb9cc6$d2395150$d81443a4@lullaby> THE most precise imitation of NeXTSTEP AppDock now has a homepage at http://home1.gte.net/everblue
Date: 08 Sep 1996 09:39:00 +0200 From: ncoelle@nuppy.harz.de (Niels Coelle) Newsgroups: comp.sys.next.programmer Message-ID: <6GUyVWe5wmB@nuppy.harz.de> Subject: Where to start? Hy! I am new to NeXT-Step Programming. Before I come up with stupid questions I want to browse the online docs. But where to start? Is a programmers-FAQ available? cu Niels -- Niels Coelle Fido : 2:2437/120.23 Seilerstr. 11 Internet: ncoelle@nuppy.harz.de 38678 Clausthal-Zellerfeld,FRG Voice : 49-5323-94916 ## CrossPoint v3.1 R ##
Newsgroups: comp.sys.next.programmer,comp.sys.next.software From: sam@musical.fdn.org (Sam Przyswa) Subject: dbm & gdbm with gdbmAdaptor Message-ID: <DxFHzI.9Ds@musical.fdn.org> Sender: sam@musical.fdn.org (Sam Przyswa) Organization: Rock'n Jazz BBS (The Music Land) Date: Sun, 8 Sep 1996 19:26:05 GMT Does anybody have any experience with dbm and gdbm, I tried to use it with the Mike Henry's gdbmAdaptor but it seems had a bug in the DB libraries, we can't suppress a record in the base, the others functions work fine. I have checked the NeXTAnswers but nothing about. Sam -- Sam Przyswa System Operator Rock'n Jazz BBS Music & MIDI E-Mail:sam@musical.fdn.org <MIME & NeXTMail> Paris - France French Data Network - http://www.fdn.fr/ 33-1-4054-8604
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: Can someone help with an inheritance puzzler? Date: 8 Sep 1996 22:47:19 GMT Organization: OnRamp Technologies; ISP; Dallas/Ft Worth/Houston, TX USA Message-ID: <50vidn$6v4@news.onramp.net> References: <slrn53086d.hf7.davet@Fast.thomas.home> <50ps4l$kqe@news.onramp.net> <x7bufijxqk.fsf@tom.es.ele.tue.nl> Cc: tiggr@es.ele.tue.nl Pieter Schoenmakers wrote: Steve Dekorte writes: > ...class clusters are ugly and slow > > Why slow? By concept or by implementation? For one thing, you can't truly subclass from them. Say you want to "subclass" NSArray. With clusters you can multiply your message overhead by x2 because every method in NSArray has to be re-implementing in your "subclass" which then calls an NSArray. -- Steve Dekorte - OpenStep Developer - Anaheim, CA "Fundamentalism isn't about religion. It's about power." - S. Rushdie
From: "Eric A. Dubiel" <eadubie@rs6000.cmp.ilstu.edu> Newsgroups: comp.lang.objective-c,comp.sys.next.programmer,comp.os.linux.development.apps Subject: GCC 2.7.2.1 4 GNUSTEP out 4 PowerPC architectures! Date: Sun, 08 Sep 1996 21:15:59 -0500 Organization: Illinois State University- Instructional Technology Services Message-ID: <32337BB7.220A@rs6000.cmp.ilstu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit For those who haven't heard, GCC 2.7.2.1 is now working on PowerPC architectures! While it's not just for GNUSTEP, it's paramount to the "completion" of the GNUSTEP environment. see the GNUSTEP pages- http://www.gnustep.org/ ---------------------------------------- Eric A. Dubiel; http://www.ilstu.edu/~eadubie mailto:eadubie@rs6000.cmp.ilstu.edu ASCII, MIME, SUN or NeXT Mail; PGP ok. * PGP public key available, send mail with subj "Send PGP Key" Instructional Technology Services- Illinois State University Understanding is best learned via experience ALL VIEWS EXPRESSED REPRESENT MYSELF ONLY
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer,misc.jobs.offered,misc.jobs.contract Subject: NEXTSTEP/Contract---Long Term/Va Date: 9 Sep 1996 13:08:27 GMT Organization: Norden 1 Communications Message-ID: <5114sb$jdb@tofu.alt.net> Programmer/analyst/developer NEXTSTEP--------------------Commercial experience Objective C-----------------Commercial experience EOF-------------------------A Plus Contract--------------------Long Term Area------------------------Virginia Must Be---------------------US Citizen or Greencard holder 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
Newsgroups: comp.sys.next.programmer From: Nitezki@NiDat.sub.org (Peter Nitezki) Subject: Re: Where to start? Message-ID: <DxGFHF.2IB@nidat.sub.org> Sender: nitezki@nidat.sub.org (Peter Nitezki) Organization: private site of Peter Nitezki, Kraichtal, Germany References: <6GUyVWe5wmB@nuppy.harz.de> Date: Mon, 9 Sep 1996 07:29:39 GMT In article <6GUyVWe5wmB@nuppy.harz.de> ncoelle@nuppy.harz.de (Niels Coelle) writes: > Hy! > > I am new to NeXT-Step Programming. Before I come up with stupid > questions I want to browse the online docs. But where to start? > Is a programmers-FAQ available? > There comes a printed beginners tutorial plus Obj-C language reference with the Dev CD. And there are the NextDeveloper.bshlf and DevTools.bshlf in /NextLibrary/Bookshelves for online reference. This should do for a starter... -- Peter Nitezki | Nitezki@NiDat.sub.org # Blessed art thou who knoweth Staarenbergstr. 44 | Tel.: +49 7251 62495 # not about the pleasure and D-76703 Kraichtal | Fax : +49 7251 69215 # delight of being hooked GERMANY | E-mail defunct, sorry # up to the Net. Peter 1,3-5
Newsgroups: comp.sys.next.programmer From: Bob Griffin <rgriffin@techsol.com> Subject: Problem with OpenStep 4.0 Serial Ports Content-Type: text/plain; charset=us-ascii Message-ID: <32344504.7FEC@techsol.com> Sender: news@pfizer.com (News Admin) Content-Transfer-Encoding: 7bit Organization: Technology Solutions Inc. Mime-Version: 1.0 Date: Mon, 9 Sep 1996 16:25:40 GMT I upgraded from NextStep 3.3 to 4.0 recently on Intel hardware. My 3.3 apps that open "/dev/cua" and "/dev/cub" (i.e. COM1,COM2) have crashed, such as my fax software. It seems that the device names are now treated as invalid. I wrote a little C program to open the ports and I still get an open failure. Maybe I missed something in the documentation. Any help would be appreciated. Thanks.
From: shill@iphysiol.unil.ch (Sean Hill) Newsgroups: comp.sys.next.programmer Subject: Foundation in palettes Date: 9 Sep 1996 15:30:56 GMT Organization: University of Lausanne CH (Switzerland) Message-ID: <511d7g$9g0@cisun2000.unil.ch> Is it possible to make a palette which uses foundation 3.3? If a palette depends on some categories will it still work ok? Thanks for any info. sean shill@iphysiol.unil.ch
From: Annard Brouwer <annard@mtcorp.com> Newsgroups: comp.sys.next.programmer Subject: Re: Problem with OpenStep 4.0 Serial Ports Date: 9 Sep 1996 18:58:34 GMT Organization: PSW Technologies Message-ID: <511pcq$d2m@digdug.pswtech.com> References: <32344504.7FEC@techsol.com> Bob Griffin <rgriffin@techsol.com> wrote: >I upgraded from NextStep 3.3 to 4.0 recently on Intel hardware. My 3.3 >apps that open "/dev/cua" and "/dev/cub" (i.e. COM1,COM2) have crashed, >such as my fax software. It seems that the device names are now treated >as invalid. > The problem is that OPENSTEP doesn't by default install the TTYPortServer. Once you've installed this it should work without a problem. This one buggered me and my colleagues some time ago! Good luck, Annard --- Annard Brouwer PSW Technologies, Inc. OPENSTEP software engineer (consultant)
From: steve@blacksmith.com (Steven Meyer) Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs Subject: Serial ports and 3.3 black - bug? Date: 9 Sep 1996 15:11:04 -0400 Organization: BLaCKSMITH Inc. Message-ID: <511q48$59b@chutney.BLaCKSMITH.com> I've been tracking down a problem I've had with Taylor uucp for awhile now, and I've figured out my problem. Questions are, does this happen for everyone, and is it in fact a bug, or am I misreading something? Here's the basic situation. It appears that opening a process's control terminal when that terminal is a serial port _and that port is not already open under its proper name_, wedges the port in that direction, until it is opened under its proper name. The purpose here is to diassociate the process from its control terminal. However, it appears that the only way to do so is to open /dev/tty and send the right ioctl; even if you know the right device, by its proper name, and have an open descriptor to it, you can't send the ioctl to that, you need to use /dev/tty. The short program below demonstrates the problem. Basically, it diassociates from its terminal, opens /dev/cufb and /dev/ttyb alternately, then opens /dev/tty, then tries to open /dev/ttyb again. Once /dev/cub is the control terminal, and /dev/tty is opened (and closed), you can never open /dev/ttyb. As a matter of fact, no process will be able to open /dev/ttyb until some process has opened /dev/cub. Interestingly enough, it does work if you bracket the open of /dev/tty with open/close of /dev/cub. That is, open /dev/cub open /dev/tty close /dev/cub send ioctl to /dev/tty close /dev/tty does work. But that requires knowing what your current control terminal is, and the whole point of the /dev/tty synonym, as I understand it, is not to have to know. So, could anyone running 3.3 black: 1) Compile up this little program and run it (probably as root, to get access to the ports) and let me know if they get "Device busy: Second open of ttyb" as I do. I ask this, because I'm the only person I know who has this problem with Taylor uucp, so I'm wondering if I'm the only person this happens to. 2) Explain why this is proper behavior, if it is. Thanks. Steve Meyer smeyer@blacksmith.com ===================== #import <libc.h> int main(int argc, char**argv) { int o; /* Detach from ttypx */ o = open ("/dev/tty", O_RDONLY); if (o >= 0) { ioctl (o, TIOCNOTTY, 0); close (o); } /* Open cub - becomes control terminal */ o = open("/dev/cub", O_RDONLY); if (o >= 0) close (o); else perror("First open of cub"); /* Open ttyb - becomes control terminal */ o = open("/dev/ttyb", O_RDONLY); if (o >= 0) close (o); else perror("First open of ttyb"); /* Open cub - becomes control terminal. Note if we try to use the ioctl here, it will return success, but the not actually succeed in detaching. */ o = open("/dev/cub", O_RDONLY); if (o >= 0) close (o); else perror("Second open of cub"); /* Detach from cub using /dev/tty - will leave no control terminal, but also munges port - see next open. Sending the ioctl or not doesn't matter; it's the open of /dev/tty which causes the problem. */ o = open ("/dev/tty", O_RDONLY); if (o >= 0) { int io; io = ioctl (o, TIOCNOTTY, 0); if (io != 0) perror("ioctl"); close (o); } else perror("Open of /dev/tty"); /* Open ttyb - would become control terminal if successful. Fails with "Device busy" */ o = open("/dev/ttyb", O_RDONLY); if (o >= 0) close (o); else perror("Second open of ttyb"); exit(0); } -- Steve Meyer BLaCKSMITH, Inc. smeyer@blacksmith.com (NeXTMail accepted)
From: nisse@lysator.liu.se (Niels Möller) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer,comp.os.linux.development.apps Subject: Re: GCC 2.7.2.1 4 GNUSTEP out 4 PowerPC architectures! Followup-To: comp.lang.objective-c Date: 09 Sep 1996 22:44:11 +0200 Organization: Lysator Computer Society, Linköping University, Sweden Sender: nisse@tindra.lysator.liu.se Message-ID: <nn7mq3e7vo.fsf@tindra.lysator.liu.se> References: <32337BB7.220A@rs6000.cmp.ilstu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit "Eric A. Dubiel" <eadubie@rs6000.cmp.ilstu.edu> writes: > For those who haven't heard, GCC 2.7.2.1 is now working on PowerPC > architectures! Do you have any details? I couldn't find any info about this at > see the GNUSTEP pages- > http://www.gnustep.org/ /niels
From: allanmac@blueprint.com (Allan MacKinnon) Newsgroups: comp.sys.next.programmer Subject: help with kl_util and kl_ld Date: 9 Sep 1996 21:17:18 GMT Organization: <<<>>> Distribution: world Message-ID: <5121gu$sf7@news.zipnet.net> I'm trying to get Satoshi Adachi's BPF implementation to work under OpenStep/Mach 4.0 and am running into problems when I try to load the server. ---------------- Adding server with relocatable /usr/local/lib/kern_loader/bpf/bpf_reloc /usr/local/lib/kern_loader/bpf/bpf_reloc is thin mach-o Allocating server bpf Server bpf linking /usr/local/lib/kern_loader/bpf/bpf_reloc against /mach Server bpf linking relocatable "/usr/local/lib/kern_loader/bpf/bpf_reloc" kern_loader: Link failed rld(): Undefined symbols: <------------- WHERE DOES THIS dyld_stub_binding_helper <------------- SYMBOL COME FROM? kern_loader: server bpf won't link Server bpf didn't initialize Server bpf deallocating Server bpf Deallocated kl_util : server won't relocate (108) ----------------- Anyone know where this symbol 'dyld_stub_binding_helper' comes from? ASM -- Allan MacKinnon mailto:allanmac@blueprint.com Boston, MA (617) 424-0615
From: allanmac@blueprint.com (Allan MacKinnon) Newsgroups: comp.sys.next.programmer Subject: Re: help with kl_util and kl_ld Date: 9 Sep 1996 22:15:26 GMT Organization: <<<>>> Distribution: world Message-ID: <5124tv$cj@news.zipnet.net> References: <5121gu$sf7@news.zipnet.net> In <5121gu$sf7@news.zipnet.net> Allan MacKinnon wrote: > > > I'm trying to get Satoshi Adachi's BPF implementation > to work under OpenStep/Mach 4.0 and am running into > problems when I try to load the server. > > ---------------- > > Adding server with relocatable /usr/local/lib/kern_loader/bpf/bpf_reloc > /usr/local/lib/kern_loader/bpf/bpf_reloc is thin mach-o > Allocating server bpf > Server bpf linking /usr/local/lib/kern_loader/bpf/bpf_reloc against /mach > Server bpf linking relocatable "/usr/local/lib/kern_loader/bpf/bpf_reloc" > kern_loader: Link failed > rld(): Undefined symbols: <------------- WHERE DOES THIS > dyld_stub_binding_helper <------------- SYMBOL COME FROM? > kern_loader: server bpf won't link > Server bpf didn't initialize > Server bpf deallocating > Server bpf Deallocated > kl_util : server won't relocate (108) > > ----------------- > > Anyone know where this symbol 'dyld_stub_binding_helper' > comes from? > > ASM > I hate to followup to my own posts, but I read the OS4.0 Release Notes (duh) and this is what it said: ------------------------------------------------------------- Changes · Building drivers and kernel servers. If you are building drivers and kernel servers, be sure to include -static on the command line so that position-dependent code is generated. Compilation with the -dynamic option assumes that the dynamic link editor (/usr/lib/dyld) is present in the running program, and that is not the case for modules to be loaded into the kernel. ------------------------------------------------------------- It loads OK now. ASM -- Allan MacKinnon mailto:allanmac@blueprint.com Boston, MA (617) 424-0615
From: Charles William Swiger <cs4w+@andrew.cmu.edu> Newsgroups: comp.sys.next.bugs,comp.sys.next.programmer Subject: Re: Serial ports and 3.3 black - bug? Date: Mon, 9 Sep 1996 18:34:48 -0400 Organization: Fifth yr. senior, Computer Science, Carnegie Mellon, Pittsburgh, PA Message-ID: <cmB9i8600WBOA5VUVF@andrew.cmu.edu> References: <511q48$59b@chutney.BLaCKSMITH.com> In-Reply-To: <511q48$59b@chutney.BLaCKSMITH.com> Excerpts from netnews.comp.sys.next.programmer: 9-Sep-96 Serial ports and 3.3 black .. by Steven Meyer@blacksmith. > So, could anyone running 3.3 black: > > 1) Compile up this little program and run it (probably as root, to get > access to the ports) and let me know if they get "Device busy: Second > open of ttyb" as I do. Yes, I get that message as well. > 2) Explain why this is proper behavior, if it is. Beats me. I've managed to avoid needing to understand the deeper mysteries of the tty(4) terminal interface. :-) -Chuck Charles Swiger | cs4w@andrew.cmu.edu | standard disclaimer ----------------+---------------------+--------------------- I know you're an optimist if you think I'm a pessimist.
From: gad@eclipse.its.rpi.edu (Garance A. Drosehn) Newsgroups: comp.sys.next.programmer Subject: Re: One way to compile 3.3 source in 4.0 Date: 9 Sep 1996 22:34:25 GMT Organization: Rensselaer Polytechnic Institute, Troy NY, USA Distribution: world Message-ID: <51261h$i9o@usenet.rpi.edu> References: <50peil$2ehu@news.doit.wisc.edu> giddings@fen.chem.wisc.edu (Michael Giddings) writes: > My inquiry under the title "A way to compile 3.3 source in 4.0 > (I'm halfway there)" generated enough bits and pieces of information > that I figured out one way to compile 3.3 stuff with 4.0. So, > thanks to those who responded to my query. > > I will list the steps that I took to make a medium-sized 3.3 app > we wrote here compile using OpenStep 4.0. You will need access > to some 3.3 libraries that aren't included with 4.0. After having done the following steps, you have a NS-3.3 app which can run on your NS-4.0 machine, right? (with no major source-code changes). But will the result be able to run on standard NS-3.3 systems? > 1. Open the project with the new PB. Use the inspector and under > "header search order" specify the following: > /NextDeveloper/OpenStepConversion/3.3Headers. > > 2. Now, copy the following libraries from a 3.3 system to /usr/lib > or /usr/local/lib on your OpenStep 4.0 machine: > /usr/lib/libNeXT_s.a > /lib/libsys_s.a > /lib/libdyld.a > You may need to copy additional libraries as required by your app. > > 3. You will need to use the 3.3 version of crt0.o located in /lib for > linking. So rename /lib/crt0.o on your OpenStep machine to > something else temporarily, then copy /lib/crt0.o from a 3.3 > machine. (WARNING: This or other steps described here could > have side effects I am not aware of so proceed at your own > risk!) > Does anyone know how to override the default use of /lib/crt0.o? > That would be a cleaner route. > > 4. For some reason, you have to build the app using the -static flag. The > only way I found of successfully doing this is modifying the > Makefile and changing the line: > CODE_GEN_STYLE = DYNAMIC > to > CODE_GEN_STYLE = STATIC > Now, there is a problem with this. When you make a change to > your project, this file gets overwritten by ProjectBuilder > and reverts back to Dynamic. So, BEFORE you change this line, > make sure your project is set up the way you want it to be > and that you have saved it, THEN make this change (note: you > can still modify source files without a problem, and if you > do need to modify your project you'll have to then go back > and change the Makefile again). Does anyone know of a way to > force PB to not change this back every time? > > 5. You will have to add a line at the end of your makefile.postamble > that places the nibs in the correct place for a 3.3 binary, > otherwise the app will not run. I added the following lines: > > app:: > mv <appwrapper name>/Resources/English.lproj <appwrapper name> > > where <appwrapper name> gets replaced by the name of your > application wrapper (.app) directory. > > > With those steps, It seems one can compile 3.3 source using the > 4.0 ProjectBuilder. If anyone comes up with refinements to this > process, I would like to hear of them. > > Michael Giddings > UW Madison Chemistry -- Garance Alistair Drosehn = gad@eclipse.its.rpi.edu Senior Systems Programmer (MIME & NeXTmail capable) Rensselaer Polytechnic Institute; Troy NY USA
From: batmon@abico.com.tw (Mon-Sen Yang) Newsgroups: comp.sys.next.programmer Subject: Install NeXT to a Notebook computer Date: Tue, 10 Sep 1996 03:59:20 GMT Organization: j%nki~w€RJ3M-26XPLZ8L-BFGD44CT-1EA6BC82 Message-ID: <512sfa$99n@netnews.hinet.net>
Newsgroups: comp.sys.next.software,comp.sys.next.programmer From: "Timothy J. Luoma" <luomat@nerc.com> Subject: looking for: makeinfo Message-ID: <Pine.NXT.3.95.960910010406.1641A-100000@charisma> Date: Tue, 10 Sep 1996 01:08:52 -0400 Organization: Princeton Theological Seminary Return-Receipt-To: luomat@nerc.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII sorry for the crosspost, I'm really not sure which group is better. Anyway, please reply via email (I really don't follow the 'programmer' group since I would ask way too many questions). I've tried to compile more than a few programs which have failed, and I think it has something to do with this: checking for makeinfo... false configure: warning: ***** makeinfo utility not found ***** The latest failure was git-4.3.12 under m68k-next-nextstep3 (3.2 to be precise). Two questions: 1) does anyone have 'git' compiled for m68k (3.2 or 3.3) 2) does anyone have or know where I can find the 'makeinfo' tool the programs are looking for? Thanks If anyone else is interested in the answer, drop me a line and I'll share whatever I find out Thanks TjL
From: emarinos@marcon.de <Evstathios Marinos> Newsgroups: comp.sys.next.programmer Subject: Re: Getting database context for NeXT/NT 'tool' application Date: 7 Sep 1996 17:28:40 GMT Organization: MARCON - Evstathios Marinos Consulting, Karlsruhe/Germany Message-ID: <50sbc8$70k@marcon.marcon.de> References: <322F276E.1ADB@sewp.nasa.gov> In Getting database context for NeXT/NT 'tool' application comp.sys.next.programmer <ArticleDisplayer: 0xa7548> writes, > Hi, > > I have been trying for several days now to port a OpenSTEP/Mach tool > to the NT environment. My first problem was that the PATH information > for the EOModel was hard-coded and different (mount points, drive > letters, and slashes going the wrong way) for each platform. After > trying to get a portable way for finding the EO I decided to place > the EO in the same directory with the tool and require the tool to be > envoked with the full path of the EXE file however I now find that it > can not use the EO to create a usable EOEditingContext on NT because > there is no mainBundle. > > I am new to the NeXT environment and was wondering if someone else has > already crossed this bridge. Please! Someone show me how dumb I am. > All comments welcome! > > Thanks. 8*} > > > Source: > > NS_DURING > NSString* appStr = [[NSString alloc] initWithCString:argv[0]]; > NSString* appDir = [appStr stringByDeletingLastPathComponent]; > NSString* eoPath = [appDir > stringByAppendingPathComponent:@"Sewp1CurrentClin.eomodeld"]; > EOModel* eoModel = [[EOModel alloc] initWithContentsOfFile:eoPath]; > > printf("eoModel=%s adaptor=%s\n", > [[eoModel name]cString], > [[eoModel adaptorName]cString]); > > database = [[EODatabase alloc] initWithModel:eoModel]; // Exception!! > > //databaseContext = [[EODatabaseContext alloc] > initWithDatabase:database]; > //EOObjectStoreCoordinator* coordinator = [EOObjectStoreCoordinator > alloc]; > //[coordinator addCooperatingObjectStore:databaseContext]; > //context = [[EOEditingContext alloc] > initWithParentObjectStore:coordinator]; > > NS_HANDLER > fprintf(stderr,"Oops! %s %s \n", > [[localException name] cString], > [[localException reason] cString]); > NS_ENDHANDLER > exit(0); > > > Output: > > eoModel=Sewp1CurrentClin adaptor=Sybase > Sep 05 14:24:35 SpsClinLstNt[166] *** Class Sewp1CurrentClin comes from > unidentifiable module/framework > 'G:/scoleman/NextDev/Projects/SpsClinLstNt/SpsClinLstNt.exe' > Sep 05 14:24:35 SpsClinLstNt[166] *** Warning: could not determine main > bundle > Oops! NSInvalidArgumentException *** -[NSConcreteMutableArray > addObject:]: attempt to insert nil object The easiest way would be the following: Create a Framework project with a dummy class and your .eomodeld as a resource. Then link your tool against this framework. When your tool starts, the framework is loaded. From that moment you can access the model without a problem. Just invoke the following commands: (No error handling coded) EOModelGroup *modelGroup = [EOModelGroup defaultModelGroup]; EOModel *model = [modelGroup modelNamed:@"Sewp1CurrentClin"]; EOObjectStoreCoordinator *coordinator = [[EOObjectStoreCordinator alloc]init]; EOEditingContext *editingContext = [[EOEditingContext alloc]initWithParentObjectStore:coordinator]; EODatabaseContext *databaseContext = [EODatabaseContext registeredDatabaseContextForModel:model editingContext:editingContext]; This should work. The advantage is that you can install the framework in any loacation you like. If you link your tool against the framework in this location, it will always be found and your model is accessable without hardcoding the path in your tool. Another way would be the following. Create a Bundle which contains your model and load it before you have to access the model. When the bundle is loaded [EOModelGroup defaultModelGroup] will find it and you are able to access the model. This works for EOF 2.0 PR2 (OPENSTEP MACH 4.0, OPENSTEP NT 4.0 Prerelease) 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
From: dcl@panix.com (David C. Lambert) Newsgroups: comp.sys.next.programmer,comp.sys.next.software,comp.sys.next.misc Subject: ATTENTION FIEND USERS Date: 10 Sep 1996 11:18:57 -0400 Organization: PANIX Public Access Internet and Unix, NYC Message-ID: <5140t1$rc3@panix.com> I have relocated, so the address given for Fiend correspondence in the Fiend "Info->Suggestion..." menu item is now invalid. Fiend correspondence should now be directed to dcl@panix.com. - dcl -- 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: Ernest Aleixandre Newsgroups: comp.sys.next.bugs,comp.sys.next.hardware,comp.sys.next.marketplace,comp.sys.next.misc,comp.sys.next.programmer Control: cancel <514f8o$a1e@fin.firstnations.ca> Subject: cmsg cancel <514f8o$a1e@fin.firstnations.ca> Date: 10 Sep 96 19:57:51 GMT Organization: First Nations Network Inc. Message-ID: <cancel.514f8o$a1e@fin.firstnations.ca> Article cancelled by news@service3.uky.edu.
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: Can someone help with an inheritance puzzler? Date: 10 Sep 1996 23:17:11 GMT Organization: OnRamp Technologies; ISP; Dallas/Ft Worth/Houston, TX USA Message-ID: <514stn$l9f@news.onramp.net> References: <slrn53086d.hf7.davet@Fast.thomas.home> <1996Sep9.200504.18220@instep.bc.ca> <slrn53benv.a0.davet@Fast.thomases.com> Cc: davet@gte.net Dave Thomas wrote: ...class clusters... > Poor is understating it. Classes who through off objects of a totally > separate class on construction break a fundamental contract between > developers and their clients. As a user of these classes, you can never > really be sure that you're getting what you asked for. > > This seems like a big, nasty kludge to me. I agree. > And just when I thought I'd found a language I could use. Let's not confuse the Objective-C language with one company's libraries. (For example, I use my own FoundationKit which helps to avoid these problems.) -- Steve Dekorte - OpenStep Developer - Anaheim, CA "Fundamentalism isn't about religion. It's about power." - S. Rushdie
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: <9609101156.AA05875@amtec001.amtec.co.jp> Date: Tue, 10 Sep 96 20:56:35 +0900 Subject: Graphics on OpenStep/NT Hi, Steppers. How about graphics envionment on OpenStep/NT? Since there will be no filter programs like OmniImageFilter, if I have to build graphical application that cooperates with WindowsApps, I will meet many difficulties. Next, may I do drag & drop operation between OpenStepApps and WindowsApps? If may not, it's very sad. Thanks in advance. --- Tetuya TAKEO ttakeo@amtec.co.jp (NeXTmail welcomed!) ttakeo@tcp-ip.or.jp (NeXTmail welcomed!) phone +81-532-63-1253(office), +81-532-55-5517(home)
From: aisbell@ix.netcom.com (Art Isbell) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: cmsg cancel <515a8h$9fb@dfw-ixnews3.ix.netcom.com> Control: cancel <515a8h$9fb@dfw-ixnews3.ix.netcom.com> Date: 11 Sep 1996 03:12:29 GMT Organization: Netcom Message-ID: <515amt$gss@dfw-ixnews4.ix.netcom.com> cancel
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <luomat@nerc3.nerc.com> Message-ID: <199609110114.VAA10688@nerc3.nerc.com> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) In-Reply-To: <Pine.NXT.3.95.960910010406.1641A-100000@charisma> From: "Timothy J. Luoma" <luomat@nerc3.nerc.com> Date: Tue, 10 Sep 96 21:15:24 -0400 Subject: SOLVED (Re: looking for: makeinfo) References: <Pine.NXT.3.95.960910010406.1641A-100000@charisma> Organization: Princeton Theological Seminary Return-Receipt-To: luomat@nerc.com Solution to anyone who cares: EDIT git SOURCE CODE (suggestion from the author): It seems that I have omitted the following code from src/stat.h. Please add it after the definition of S_IRWXG, near the end. #ifndef S_IRWXO #define S_IRWXO 0000007 #endif TERMINFO Terminfo can most easily be retrieved from the gnu texinfo package, ie: ftp://prep.ai.mit.edu/pub/gnu/texinfo-3.7.tar.gz It compiles fine (with gcc and ginstall, don't know how well it would work without them)... TjL -- Timothy J. Luoma <luomat@nerc.com> http://www.nerc.com/~luomat NeXTstep Web Page: http://www.nerc.com/~luomat/next Misc NeXT Info: http://www.nerc.com/~luomat/next/mailserver
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: Can someone help with an inheritance puzzler? Date: 9 Sep 1996 06:53:38 GMT Organization: Genoa Software Systems Message-ID: <510eti$gd@saturn.genoa.com> References: <slrn53086d.hf7.davet@Fast.thomas.home> <50ps4l$kqe@news.onramp.net> <x7bufijxqk.fsf@tom.es.ele.tue.nl> <50vidn$6v4@news.onramp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dekorte@suite.com In <50vidn$6v4@news.onramp.net> Steve Dekorte wrote: > > ...class clusters are ugly and slow > For one thing, you can't truly subclass from them. > Say you want to "subclass" NSArray. With clusters > you can multiply your message overhead by x2 because every > method in NSArray has to be re-implementing in your "subclass" > which then calls an NSArray. Do you mean to imply that you really need to override every method when you subclass a class cluster? Fortunately, that is not really the case. You need only implement the primitive methods NSArray has only two primitive methods for example: count and objectAtIndex: All other methods are really "convenience methods" implemented by invoking primitive methods upon self. Designing classes in this way makes subclassing much easier/effective, regardless of whether its a class cluster or not. Granted you may pay a messaging penalty but its well worth it IMHO to avoid the maintenance nightmare of actually overriding every method. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: (Izidor Jerebic) Newsgroups: comp.sys.next.programmer Subject: Profiling in 4.0 ? Date: 11 Sep 1996 10:57:02 GMT Organization: Select Technology Message-ID: <5165tu$5bf@lazar.select-tech.si> Keywords: profile, openstep Hi, Anybody managed to profile an app in NS 4.0 ? I built an application (sparc only) with 'profile' target. When I double-click the App.profile, it throws out (on console) a lot of messages about classes which are implemented in X and X_profile (Foundation, AppKit, ...), and then 'bus error'. Izidor Jerebic SELECT Technology email: izidor.jerebic@select-tech.si
Newsgroups: comp.sys.next.programmer From: benoit@quest.fdn.org (Benoit Marchant) Subject: Framework debuging ? Message-ID: <1996Sep11.144830.2715@quest.fdn.org> Keywords: Framework debug Sender: news@quest.fdn.org Organization: Quest International / Unilever - Neuilly, France Date: Wed, 11 Sep 1996 14:48:30 GMT Hi, I try to find a (quite) simple way to debug a framework with a test application. I succeeded to compile the two frameworks in debug. But I can't launch the test app with the debug compiled frameworks. Even by specifiying the search order in PB, gdb looks into ~/Library/frameworks for th frameworks. May be MiscKit people had the same troubles ? Do we have to build a regular application to debug sources that finally will be in frameworks .. Thanks in advance for any help ! Benoit Marchant benoit@quest.fdn.org
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.programmer Subject: GNU make 3.75 crashes with NEXTSTEP Date: 11 Sep 1996 15:40:49 GMT Organization: University of Heidelberg, Germany Message-ID: <516mi1$h42@sun0.urz.uni-heidelberg.de> Has anybody else seen this ? GNU make 3.74 works fine for me with 3.x, but 3.75 crashes on certain projects. Gregor -- | Gregor Hoffleit Mathematisches Institut, Uni HD | | flight@mathi.uni-heidelberg.de INF 288, 69120 Heidelberg, Germany | | (NeXTmail, MIME) (49)6221 54-5771 fax 54-8312 | | PGP Key fingerprint = 23 8F B3 38 A3 39 A6 01 5B 99 91 D6 F2 AC CD C7 |
From: Urs Gubser <ezhgc4@ny.ubs.com> Newsgroups: comp.sys.next.programmer Subject: MallocDebug Date: Wed, 11 Sep 1996 12:08:54 -0400 Organization: Union Bank of Switzerland Message-ID: <3236E416.2D91@ny.ubs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm trying to use the MallocDebug library but get link-errors with the libsys_s library. I tried to re-arrange the libraries so that the debug library is always first, but it doesn't seem to make any difference. I'm also using the -all_load flag. Is that the reason? Is there another way to find memory-leaks easily? Does the MallocDebug still work with Foundation and EOF on NS3.3? - Urs
From: (Izidor Jerebic) Newsgroups: comp.sys.next.programmer Subject: Sybase libraries in 4.0 ? Date: 11 Sep 1996 11:01:51 GMT Organization: Select Technology Message-ID: <51666v$5da@lazar.select-tech.si> Keywords: sybase, openstep Hi, In all releases of NEXTSTEP until 4.0 there was Sybase client library (libsybdb.a). In 4.0 it is not present. Is this omission an error or are we left without it? I tried to copy and link the library from 3.3 system and the application works for now. Is this correct way? How about the new releases of Sybase client libraries? Izidor Jerebic SELECT Technology email: izidor.jerebic@select-tech.si I open h file when I'm editing .m file? Izidor Jerebic SELECT Technology email: izidor.jerebic@select-tech.si
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: Can someone help with an inheritance puzzler? Date: 11 Sep 1996 17:42:36 GMT Organization: OnRamp Technologies; ISP; Dallas/Ft Worth/Houston, TX USA Message-ID: <516tmc$8g5@news.onramp.net> References: <slrn53086d.hf7.davet@Fast.thomas.home> <50ps4l$kqe@news.onramp.net> <x7bufijxqk.fsf@tom.es.ele.tue.nl> <50vidn$6v4@news.onramp.net> <510eti$gd@saturn.genoa.com> Cc: alex@genoa.com Alex Blakemore wrote: Steve Dekorte wrote: > > > ...class clusters are ugly and slow > > For one thing, you can't truly subclass from them. > > Say you want to "subclass" NSArray. With clusters > > you can multiply your message overhead by x2 because every > > method in NSArray has to be re-implementing in your "subclass" > > which then calls an NSArray. > > Do you mean to imply that you really need to override every method > when you subclass a class cluster? Fortunately, that is not really the case. > > You need only implement the primitive methods > NSArray has only two primitive methods for example: > count and objectAtIndex: > > All other methods are really "convenience methods" implemented by > invoking primitive methods upon self. That's true. Unfortunately objectAtIndex: is the method you'll probably be calling most in performance critical code. -- Steve Dekorte - OpenStep Developer - Anaheim, CA "Fundamentalism isn't about religion. It's about power." - S. Rushdie
From: Charles William Swiger <cs4w+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: GNU make 3.75 crashes with NEXTSTEP Date: Wed, 11 Sep 1996 13:47:42 -0400 Organization: Fifth yr. senior, Computer Science, Carnegie Mellon, Pittsburgh, PA Message-ID: <YmBjgyi00WBOA362xw@andrew.cmu.edu> References: <516mi1$h42@sun0.urz.uni-heidelberg.de> In-Reply-To: <516mi1$h42@sun0.urz.uni-heidelberg.de> Excerpts from netnews.comp.sys.next.programmer: 11-Sep-96 GNU make 3.75 crashes with .. by Gregor Hoffleit@mathi.un > Has anybody else seen this ? GNU make 3.74 works fine for me with 3.x, > but 3.75 crashes on certain projects. Sure. 3.75 contains a bug which I've encountered, tracked down, and have created a patch for. Let me know whether this prevents the crashes you've seen.... ------------- Forwarded message -------------- Message-Id: <199609052004.QAA05044@tertius.res.cmu.edu> X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3) From: Charles Swiger <chuck> Date: Thu, 5 Sep 96 16:04:54 -0400 To: bug-gnu-utils@prep.ai.mit.edu Subject: Bug in GNU Make 3.75 Hello, I've discovered a bug in GNU Make 3.75. This was on a m68k-next-nextstep3 system compiling using gcc 2.7.2.1 (with "gcc -pipe -g" being the only compiler options used). The resulting executable calls abort() and coredumps immediately. A sample session with gdb: (gdb) run Starting program: /ChuckSpace/User/chuck/gnu/make-3.75/make Program received signal 6, IOT trap 0x5007922 in kill () (gdb) bt Reading in symbols for file.c...done. Reading in symbols for main.c...done. #0 0x5007922 in kill () #1 0xd4 in ?? () #2 0x50567f0 in abort () #3 0x6c4c in lookup_file (name=0x7b370 "") at file.c:54 #4 0x75bc in snap_deps () at file.c:413 #5 0x9318 in main (argc=1, argv=0x3fff924, envp=0x3fff92c) at main.c:1058 (gdb) up #1 0xd4 in ?? () (gdb) #2 0x50567f0 in abort () (gdb) #3 0x6c4c in lookup_file (name=0x7b370 "") at file.c:54 54 abort (); (gdb) up #4 0x75bc in snap_deps () at file.c:413 (gdb) p d $1 = (struct dep *) 0x7b35c (gdb) p *d $2 = { next = 0x7b348, name = 0x7b370 "", file = 0x0, changed = 0 } It appears that the dependancy hash functions don't want a null string being passed to them, so I make a simple patch to fix this, and the resulting binary appears to behave correctly: *** file.c_OLD Thu Sep 5 15:44:28 1996 --- file.c Thu Sep 5 15:44:04 1996 *************** *** 408,414 **** for (f = files[i]; f != 0; f = f->next) for (f2 = f; f2 != 0; f2 = f2->prev) for (d = f2->deps; d != 0; d = d->next) ! if (d->name != 0) { d->file = lookup_file (d->name); if (d->file == 0) --- 409,415 ---- for (f = files[i]; f != 0; f = f->next) for (f2 = f; f2 != 0; f2 = f2->prev) for (d = f2->deps; d != 0; d = d->next) ! if ((d->name != 0) && (*(d->name) != 0)) { d->file = lookup_file (d->name); if (d->file == 0) (This may be fixing a symptom rather than the cause, however-- I don't know whether null strings should ever be in the dependancy lists or not.) -Chuck Charles Swiger | cs4w@andrew.cmu.edu | standard disclaimer ----------------+---------------------+--------------------- I know you're an optimist if you think I'm a pessimist.
From: frank@cobra.smart.net (Frank Cobia) Newsgroups: comp.sys.next.programmer Subject: Making an IB 4.0 Palette Date: 12 Sep 1996 02:47:29 GMT Organization: Smartnet Internet Services [via news] Message-ID: <517tk1$np@news.smart.net> I have been trying to make a palette under OPENSTEP 4.0, but have been having a few problems. Specifically I have been trying to make a palette with a connection inspector and connection objects. My problem is that the interface seems to have changed, but the only documentation I can find is in the headers. Some changes are simply renaming methods, but there have been many methods added and the others seem to have changed their behavior slightly. I have been able to make a rather buggy palette. Can anyone help me, provide documentation or an example? Thanks, Frank
From: aisbell@ix.netcom.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: OPENSTEP/Mach POSIX support (was OpenStep PPP) Date: 12 Sep 1996 02:42:32 GMT Organization: Netcom Distribution: world Message-ID: <517tao$549@dfw-ixnews10.ix.netcom.com> References: <323507FA.26DD@oboe.aix.calpoly.edu> <Pine.HPP.3.95.960911175455.15681A-100000@hphalle0.informatik.tu-muenchen.de> <516r7m$15at@msunews.cl.msu.edu> perkins@cps.msu.edu (Stephen J. Perkins) wrote: > In > <Pine.HPP.3.95.960911175455.15681A-100000@hphalle0.informatik.tu-muenchen.de> > Bernhard Scholz wrote: > > It _exactly_ the same as you get for NS3.3. That's it. The support is > > just the compiled public version of PPP and Perl5 as well as Taylor UUCP > > and Samba. No big deal IMHO. > > Actually... I understand that it has been modified to remove all POSIX code. > NeXT has promised to release the modified source. I don't know if the LKS > was modified or not. Which begs the question - does OPENSTEP/Mach support POSIX? libposix.a is no longer included and my attempt to build a mkfifo utility using the POSIX mkfifo() function fails under OPENSTEP :-( -- Art Isbell NeXT/MIME Mail: aisbell@ix.netcom.com Trego Systems Voice/Fax: +1 408 335 2515 CaseServ: NEXTSTEP/OpenStep Voice Mail: +1 408 335 1154 managed care solutions US Mail: Felton, CA 95018-9442
From: lars@ibp.de (Lars Immisch) Newsgroups: comp.sys.next.programmer Subject: gdb 4.14 for NeXT available? Date: 11 Sep 1996 21:26:11 GMT Organization: Immisch, Beckert & Partner Message-ID: <517apj$lbk@news.ppp.net> Hi, I just tried to build gdb (actually a cross-gdb) on my black 3.3 Station. configure(!) aborted with: configure: error: *** Gdb does not support host m68k-next-nextstep3 Does anyone know a way out of this terrible dilemma? Maybe someone added NeXT-support? Or knows about the last version of gdb that supported NeXT (there must have been one)? Unfortunately, I cannot use the supplied gdb because I need a cross-gcc. The debugee is also an m68k family processor (m68302), but it is using coff. Any help is greatly appreciated. Thanks, Lars Immisch lars@ibp.de
From: dirk@object-factory.com (Dirk Olmes) Newsgroups: comp.sys.next.programmer Subject: Re: MallocDebug Date: 12 Sep 1996 06:49:29 GMT Organization: Object Factory GmbH (Germany) Message-ID: <518bpp$bsj@isabella.object-factory.com> References: <3236E416.2D91@ny.ubs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Urs Gubser <ezhgc4@ny.ubs.com> wrote: > I'm trying to use the MallocDebug library but get link-errors with the > libsys_s library. I tried to re-arrange the libraries so that the debug > library is always first, but it doesn't seem to make any difference. I'm > also using the -all_load flag. Is that the reason? > Is there another way to find memory-leaks easily? > > Does the MallocDebug still work with Foundation and EOF on NS3.3? yes, it does. Here is what the flag in my Makefile.preamble look like OTHER_LDFLAGS = -m -all_load You will still get warnings about duplicate symbols but the result will work and you will be able to trace the App with MallocDebug. Hope it helps, -dirk --- _____________________________________________________________________ Dirk Olmes OBJECT FACTORY Gesellschaft für Informatik und Datenverarbeitung mbH Lohbachstraße 12, 58239 Schwerte, Germany Telephon +49 (0) 2304 945 220 Telefax +49 (0) 2304 945 226 dirk@object-factory.com http://www.object-factory.com/
From: randyj@lowana.sbs.ohio-state.edu (Randy Jackson) Newsgroups: comp.sys.next.programmer Subject: include files not installed in gcc installation Date: 12 Sep 1996 12:20:48 GMT Organization: The Ohio State University Message-ID: <518v70$7gq@charm.magnus.acs.ohio-state.edu> I just downloaded gcc.2.7.2, built it successfully, ran make install ... , as per instructions. No files were transferred to /usr/local/include, which is where I understand the include files to belong. Of course, when I try to compile with gcc, I get error messages on include files not found. Can anyone tell me how to fix this? I am using NS3.3 on an Intel pentium. Another question I have concerns ./configure, which identifies the processor as an i386. Should I override this with i586 since I'm running on a pentium chip? Or would it make a difference? Thanks. Randy please respond to jackson.21@osu.edu -- Randy Jackson, Associate Professor ,_ o __o Geography, The Ohio State University / //\, _`\<,_ 1036 Derby Hall, 154 North Oval Mall \>> | (*)/ (*) Columbus OH 43210-1361 \\, FAX (614) 292 6213 randyj@lubra.sbs.ohio-state.edu
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer,misc.jobs.contract,misc.jobs.offered Subject: NEXT/Contract--Long term/Va Date: 12 Sep 1996 15:23:42 GMT Organization: Norden 1 Communications Message-ID: <5199tu$cvm@tofu.alt.net> Programmer/analyst/developer NEXT Objective C EOF---------A Plus Contract--Long Term Virginia Must Have---Excellent Communication Skills 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: (Izidor Jerebic) Newsgroups: comp.sys.next.programmer Subject: Re: MallocDebug Date: 12 Sep 1996 08:00:40 GMT Organization: Select Technology Message-ID: <518fv8$9sq@lazar.select-tech.si> References: <3236E416.2D91@ny.ubs.com> In article <3236E416.2D91@ny.ubs.com> Urs Gubser <ezhgc4@ny.ubs.com> writes: > I'm trying to use the MallocDebug library but get link-errors with the > libsys_s library. I tried to re-arrange the libraries so that the debug > library is always first, but it doesn't seem to make any difference. I'm > also using the -all_load flag. Is that the reason? > Is there another way to find memory-leaks easily? > > Does the MallocDebug still work with Foundation and EOF on NS3.3? > > - Urs The problem is the -all_load flag, because there are symbols which are defined in both system and MallocDebug libraries. So you have to find the way to link without -all_load flag. izidor
From: (Izidor Jerebic) Newsgroups: comp.sys.next.programmer Subject: Console in PB 4.0 ? Date: 12 Sep 1996 08:46:06 GMT Organization: Select Technology Message-ID: <518ike$a1i@lazar.select-tech.si> Keywords: project builder, console, log, openstep Hi, I am very annoyed by new ProjectBuilder. Ok, everybody writes buggy code (more or less). But the design should not assume non-buggy application. Now, what is the problem: when during a build process there is an error, unknown to PB (or maybe a bug inside PB), I get e.g. 'link error' or simply 'build failed'. Well, and? What should I do now? Bang my head against the wall? In 3.3, I could see the output of all the programs in building process, so I could find the error or try to find a workaround. In 4.0, I'm left clueless, just hoping that if I reboot the machine, somehow it will work. Sometimes it does. Does this remind anybody of something (hint: WINDOZE)? Maybe I just overlooked something - if I did, I apologize and ask for instructions, how to trace the building process in PB 4.0. On the other hand, if this is intentional, I beg those people at NeXT, which are not recently hired WINDOZE fans, to give us some kind of console. Please? Izidor Jerebic SELECT Technology email: izidor.jerebic@select-tech.si
From: icardena@sumter.cso.uiuc.edu (Ian Patrick Cardenas) Newsgroups: comp.sys.next.programmer Subject: Re: Console in PB 4.0 ? Date: 12 Sep 1996 18:58:27 GMT Organization: University of Illinois at Urbana Message-ID: <519mgj$21s@vixen.cso.uiuc.edu> References: <518ike$a1i@lazar.select-tech.si> Keywords: project builder, console, log, openstep (Izidor Jerebic) writes: >Hi, >Now, what is the problem: when during a build process there is an error, >unknown to PB (or maybe a bug inside PB), I get e.g. 'link error' or >simply 'build failed'. Well, and? What should I do now? Bang my head >against the wall? > That's what I did at first :) In the build window there's a dimpled split-window bar (sorry...can't recall the technical term) that by default is all the way down (hiding the console). Just enlarge that window for the more verbose output. later, -- Ian P. Cardenas (icardena@uiuc.edu) 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.
From: "Eric A. Dubiel" <eadubie@rs6000.cmp.ilstu.edu> Newsgroups: comp.sys.next.advocacy,comp.sys.next.marketplace,comp.sys.next.misc,comp.sys.next.programmer,comp.sys.next.sysadmin,comp.sys.next.software Subject: GNUstep/MediaBook Developer CD-ROM OUT!!! Date: Thu, 12 Sep 1996 19:58:29 -0500 Organization: Illinois State University- Instructional Technology Services Message-ID: <3238B1A7.46C6@rs6000.cmp.ilstu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit WOW, check it out at: http://www.net-community.com GNUstep/MediaBook Developer CD CD purchase Price: $30 The purchase of the CD-ROM comes with installation support; resolution of problems concerning installation of the software from the CD onto the user's system as well as help with basic setup tasks comes free of charge. Summary description of CD contents GNU Objective-C compiler and many GNU binary utilities The well known GNU compiler with the most up-to-date enhancements to the Objective-C Runtime Library. GNUstep Base Library A library of general-purpose, non-graphical Objective-C classes. It includes classes for strings, collections, byte streams, typed coders, invocations, notifications, notification dispatchers, times, network ports, remote object messaging support (distributed objects), event loops, and random number generators. GNUstep GUI Library The frontend library of general-purpose, graphical Objective-C classes. It includes classes for events, fonts, colors, applications, menus, windows, views, controls such as buttons, textfields, rich text, sliders, and popup buttons. A backend library is required for a specific graphics system. GNUstep GUI X/DPS Backend A backend library for the X/Windows graphics system. Work is continuing to interface with the Display Ghostscript System so that a completely full-functional postscript imaging system will be available. MediaBook WIN32 Backend A backend library for the Win32 API. MediaBook Objective-C Random Library A freely distributable set of Objective-C classes for psuedo-random number generators and distributions. MediaBook Objective-C 3D Graphics Library A library of 3D graphical Objective-C classes based on top of OpenGL and integrated with the GNUstep GUI Library. It includes classes for lights, shape hierarchies, polygons, polyhedrons, rendering and viewpoint control, and graphical primitives such as cones, cylinders, spheres, and points. Also includes a parser for the Manchester Scene Description language (MSDL) and the Virtual Reality Modelling Language (VRML) Version 1.0 specification. MediaBook Objective-C Speech Synthesis Library A library of Objective-C classes for text to speech synthesis. Currently supports the Eloquent speech synthesis engine and is only available for Microsoft Windows NT and Windows 95. NET-Community is committed to developing and supporting free software. Five dollars from the sale of each CD will goes towards the continued development of GNUstep. Please support free software. ---------------------------------------- Eric A. Dubiel; http://www.ilstu.edu/~eadubie mailto:eadubie@rs6000.cmp.ilstu.edu ASCII, MIME, SUN or NeXT Mail; PGP ok. * PGP public key available, send mail with subj "Send PGP Key" Instructional Technology Services- Illinois State University Understanding is best learned via experience ALL VIEWS EXPRESSED REPRESENT MYSELF ONLY
From: David.Hinz@mci.com (David Hinz) Newsgroups: comp.sys.next.programmer Subject: pthreads for NS 3.3 (again) Date: 13 Sep 1996 04:32:07 GMT Organization: MCI Communications Message-ID: <51ao47$lro@hermes.dna.mci.com> About a month ago I posted a request for information on pthreads for NS 3.3. Several people responded that a library was available at http://www.hasc.ca/hasc/software/pthreads/. The main Web page at www.hasc.ca is accessable but I can't seem to get to the /hasc/software/pthreads pages. Does anyone know if the pthread library is still available through hasc? If someone has the library could I get a copy of it? Is it available on any of the NS ftp sites? Thanks, David Hinz David.Hinz@mci.com
From: pemmerik@solair1.inter.NL.net (P.J.L.van Emmerik) Newsgroups: comp.sys.next.programmer Subject: Debugging multi threaded applications? Date: Fri, 13 Sep 1996 06:13:16 GMT Organization: NLnet Message-ID: <51au1t$3jh@news.NL.net> At the moment i am having problems with a multithreaded application. I am Using NS3.3 on Intel and HP-712. The app crashes with a bus error, but a can not pin down the problem to the thread that is cousing it. In an article "C Threads" by Cooper/Draves from Carnegy Mellon University (Draft 20 july 1987) i read that i can get some extra info by setting ctread_debug = 1. " 9.1 Low-Level Tracing " int cthread_debug " Setting this variable to 1 causes diagnostic information to be printed when each C " thread primitive is executed. Trace appears on stdout. Next defines this variable in mach/cthreads.h (if you define CTREADS_DEBUG) but then at link time you wil get an unresolved global symbol. Does NEXT support this feature? If so what to do to use it? How do a debug programs using ctread routines? Any hints of info about writing multi threaded applications? Pleace Email to: pemmerik@solair1.inter.NL.net P.J.L. van Emmerik Holec Projects B.V. Email: pemmerik@solair1.inter.NL.net PO.BOX 565, 7550 AN Hengelo Phone: +31 74 2558 688 The Netherlands --
From: Bernhard Scholz <scholz@informatik.tu-muenchen.de> Newsgroups: comp.sys.next.programmer Subject: Re: Console in PB 4.0 ? Date: Fri, 13 Sep 1996 11:34:44 +0200 Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <Pine.HPP.3.95.960913112659.6845B-100000@hphalle0.informatik.tu-muenchen.de> References: <518ike$a1i@lazar.select-tech.si> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <518ike$a1i@lazar.select-tech.si> On 12 Sep 1996, it was written: > > In 3.3, I could see the output of all the programs in building process, so > I could find the error or try to find a workaround. In 4.0, I'm left > clueless, just hoping that if I reboot the machine, somehow it will work. > Sometimes it does. Does this remind anybody of something (hint: WINDOZE)? > Never used NEXTSTEP too long, heh? Even in 3.3 you could enlarge the output (or shrink it) by using the split-bar between error messages and compiler output. In PB 4.0 the compiler output window isn't visible by default -- so just use the split-bar at the bottom to enlarge it! There are many things that are bad in OS4.0, but not everything is a fault of OS4.0! Just a few goodies: (E.g. anybody noticed that: NEXTIME is using a new play/stop mechanism, so you can't grab frames any longer? That the NEXTIME GUI is much more uglier than before? That you can use the new HeaderViewer even with 3.3? That e.g. the following apps weren't altered and continue to run with the 3.3 libraries (and in fact, do run with NS3.3: all NextAdmin apps, all NeXT apps, (Yes, Mail.app starts under 3.3 but fails with bundles) Most NeXTDeveloper/Demos .... try it out! Only a very few apps are OPENSTEPified already :( ) Greetings, Bernhard.
From: jenr@Eng.Sun.COM (Jennifer Rice) Newsgroups: comp.sys.next.programmer Subject: Lighthouse/SUN Date: 13 Sep 1996 21:43:36 GMT Organization: Sun Microsystems Inc. Distribution: usa Message-ID: <51cki8$mn2@engnews2.Eng.Sun.COM> All positions located in San Mateo, CA Lighthouse Design, a newly acquired Sun Microsystems, Inc. business, is a leading innovator in Internet/Intranet development tools and productivity applications. If you're interested in creating, marketing or selling next generation products and development tools for Javat, OpenStep and the Web, Lighthouse Design is at the forefront of this burgeoning marketplace. For more info on our technology, visit our Web site at: www.lighthouse.com. Java/OpenStep Application Engineer Responsible for OO programming, Obj-C/C++/Java, Solarisr/WinNT and NeXTSTEP. Requires experience in creating shipping products, and a taste for small, highly energized teams. Knowledge of productivity applications (as user or developer), 1+ years of experience and a BA/BSCS preferred. Job Code: JOAE Java/OpenStep Application Development Managers You will work with OO programming, Obj-C/C++/Java, Solaris and NeXTSTEP. Requires a minimum 2 years of experience managing a group of at least 4 people, experience in managing shipping products, and the ability to manage/motivate small teams. A BS/MSCS or equivalent is preferred, as is knowledge of productivity applications (as user or creator). Job Code: JOADM Software Quality Assurance Manager Qualifications include experience in testing, specifically on software for a shipping product, client/server development, test automation; the ability to manage, create and execute test plans and a minimum of 2 years of experience managing a group of at least 4 people. Requires solid software QA practice and communication skills. A BS/MSCS or equivalent is preferred. Job Code: SQAM Software Quality Assurance Engineer Requires experience with OO programming and C++/Java, plus solid software QA practices and solid communication skills. You must have the ability to create and execute test plans, and possess an aptitude for troubleshooting and working in a team environment. Experience with client/ server development and test automation is preferred, as is a BA/BSCS or equivalent. Job Code: SQAE Java Product Development Managers You will manage design/development of Java applications and components for a broad product line. You'll also have the opportunity to guide next generation Internet application development. Requires a BA/BSCS, a background with OO programming, Java/C++/Obj-C (architecture preferred), a minimum of 2 years' experience managing a group of at least 4 Engineers and creating/shipping products. Knowledge of productivity applications (as user or developer) is preferred. Job Code: JPDM System Administrator Assist in supporting the day-to-day operations of the company. This will include Web site maintenance, writing of tools, helping users find solutions to their problems, user accounts, back-up maintenance, installing new versions of software and FTP site maintenance. Requires a BS in a related field; 1-3 years of experience; strong skills in C/C++, OO technologies, UNIXr, HTML and web site maintenance. Experience in system admin., NT/Solaris/Java, PC hardware installation and OpenStep/NeXTSTEP a plus. Job Code: SA Technical Writer Primary responsibilities include documenting object-based software tools, creating whitepapers and other technical marketing materials. Requires 3+ years of relevant experience, software documenting experience, an understanding of OO technology (some programming experience with Java, C++, Obj- C, or SmallTalkr preferred), as well as excellent writing skills. Job Code: TW Sales Systems Engineer This position requires 3-5 years of relevant experience, OO programming experience, knowledge of software development tools and market, as well as Java, Obj-C or other OO languages. Job Code: SSE Sales Representative Requires knowledge of software industry trends, OO and Java development tools. Requirements also include 5+ years of relevant experience and advanced technical selling skills. Job Code: SR Graphic Designer This position requires Web design experience, user interface knowledge, experience with Adobe Photoshopr, Illustratorr or equivalent package, as well as a productivity software background. Human Computer Interaction (HCI) experience is a plus. Job Code: GD Play an important part in the development of Sun's OpenStep programming environment. Working with a small group, you will make strong contributions from working with the original NeXT source to designing new code and functionality. OpenStep Application Engineer Requires a BSCS or equivalent and OO programming, C++, Solaris and NeXTSTEP experience. Job Code: OAE OpenStep AppKit Engineer Requires a background in OO programming, ToolKit design, XWindows and NeXTSTEP and a MSCS or equivalent. Job Code: OAE2 OpenStep Compiler Engineer Requires an MSCS and Obj-C/C++ Compiler and Solaris experience. Job Code: OCE For consideration, please send your resume, INDICATING JOB CODE, to: Sun Microsystems, Inc., 2550 Garcia Ave., Dept. NSF0908AB/JR, M/S MPK16-203, Mountain View, CA 94043-1100; or email to staffing33@bruin.corp.sun.com or fax to (415) 786-9556. Sun is proud to ensure that equal talent always gets equal opportunity.
From: techbus@ix.netcom.com(Robin Owens-Wright) Newsgroups: comp.sys.next.programmer Subject: No VA Job: NeXTstep Developer Date: 14 Sep 1996 00:48:25 GMT Organization: Netcom Message-ID: <51cvcp$69m@dfw-ixnews2.ix.netcom.com> Northern Virginia based telecom company looking for a PERMANENT person with the following qualifications: · Be able to perform as Team Lead in a NeXTstep environment · Be able to do development in a NeXT enviroment · Objective-C a big plus · Be familiar with UNIX environment Company has an incredible bonus structure and growing rapidly. PRINCIPLES ONLY. NO CONTRACTING. Please fax resume to 301-937-7983 or call 301-937-4662 Or Email to techbus@ix.netcom.com as a FLAT FILE ONLY (cut an paste into email). Do not send in MIME or preformatted.
Newsgroups: comp.sys.next.programmer From: "Timothy J. Luoma" <luomat@nerc.com> Subject: trying to compile 'vrfy' Message-ID: <Pine.NXT.3.95.960914005601.6904F-100000@charisma> Date: Sat, 14 Sep 1996 00:57:54 -0400 Organization: Princeton Theological Seminary Return-Receipt-To: luomat@nerc.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I tried to compile this program and this was the output: /bin/cc -O -c main.c /bin/cc -O -c pars.c /bin/cc -O -c smtp.c /bin/cc -O -c conn.c /bin/cc -O -c stat.c /bin/cc -O -c mxrr.c /bin/cc -O -c util.c /bin/cc -O -c vers.c /bin/cc -o vrfy main.o pars.o smtp.o conn.o stat.o mxrr.o util.o vers.o -lresolv -lnet ld: Can't locate file for: -lresolv make: *** [vrfy] Error 1 Any chance I can hack around this? These are the only references from 'Makefile': Makefile:RES = -lresolv Makefile: lint $(DEFS) $(SRCS) -lresolv TjL
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: Can someone help with an inheritance puzzler? Date: 13 Sep 1996 00:07:03 GMT Organization: Genoa Software Systems Message-ID: <51a8j7$as@saturn.genoa.com> References: <slrn53086d.hf7.davet@Fast.thomas.home> <50ps4l$kqe@news.onramp.net> <x7bufijxqk.fsf@tom.es.ele.tue.nl> <50vidn$6v4@news.onramp.net> <510eti$gd@saturn.genoa.com> <516tmc$8g5@news.onramp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dekorte@suite.com Alex Blakemore wrote: > You need only implement the primitive methods [to subclass a class cluster] > NSArray has only two primitive methods for example: > count and objectAtIndex: Steve Dekorte wrote: > Unfortunately objectAtIndex: is the method you'll > probably be calling most in performance critical code. Why is this unfortunate with respect to performance? Since objectAtIndex: is provided by your concrete subclass, you have complete control to make it as fast [or slow] as possible. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: 1kyriaki@rzdspc1.informatik.uni-hamburg.de (Valentino Kyriakides) Newsgroups: comp.sys.next.programmer Subject: Tcl/Tk and NS dynamic loading... Date: 14 Sep 1996 15:31:45 GMT Organization: University of Hamburg -- Germany Message-ID: <51ej51$i3u@rzsun02.rrz.uni-hamburg.de> Can somebody help help we with the dynamic loading stuff for Tcl/Tk under NS 3.3? I´ve build Tcl7.6b1 and Tk4.2b2 for NS 3.3 and applied the NeXT patches from Scott Hess (these were mentioned in the Tcl porting notes) under Cub´X Windows. All runs well, but I´am not able to use the dynamic loading of packages via the tcl "load" command. If I try to load a tcl package (for example the Blt/blt_table stuff from ´SpecTcl´) I´ve always get an error message that the "Blt_Init" proc can´t be find: >tclsh %load Blt.so Blt can´t find Blt_Init.... However, Blt_Init is defined in the Blt.so object-library, but can´t be loaded. Now in general I would like to know how Tcl/Tk have to be compiled and linked, in order to use the dynamic loading stuff under NS and if packages (as Blt) have to be compiled/linked in a special manner, so they can be used. Does somebody managed these things to work and can send me his working Makefiles for Tcl/Tk? On the other side I would have a general interest in how to use dynamic loading under NS, so if there are any examples or papers about this theme, I would like to hear from you!!! Thanks in advance for help, Valentino -- Valentino Kyriakides Email: 1kyriaki@informatik.uni-hamburg.de Rugenbergener Str. 27a 25474 Ellerbek Tel.: 04101-35319
From: John Kheit <jkheit@cnj.digex.net> Newsgroups: comp.sys.next.programmer Subject: Re: Developing 3.x applications on OS4.0 Date: 14 Sep 1996 18:39:54 GMT Organization: monoChrome, Inc., NJ, USA Message-ID: <51eu5q$7jl@news4.digex.net> References: <9609141713.AA01307@zaphod> Christian Starkjohann <cs@hal.kph.tuwien.ac.at> wrote: > Well, that's not entirely true. There is one more strategy: both developer releases can be installed in separate directory trees and a set of links determines which developer package is used (3.2 Developer seems to run on OS4.0). Creating this setup by hand is a lot of work, so I decided to write a shell script to do it. I thought it might be useful for others, too. The script takes one parameter: either "install" or "remove". With "install" the link-setup is created, with "remove" the original setup is restored. Removing the link setup might be a wise idea before you attempt an upgrade. Wow, you're the MAN :) Now, will this work with NS Dev 3.3? Has anyone tried? -- Thanks, be well, take care, later, John Kheit )^> %^) =^) monoChrome, Inc. | New York Law School NEXTSTEP Developer | Opinions expressed represent me only MIME, SUN, & NeXTmail OK | mailto:jkheit@cnj.digex.net Telepathy...It's coming... | http://cnj.digex.net/~jkheit
From: Charles William Swiger <cs4w+@andrew.cmu.edu> Newsgroups: comp.sys.next.programmer Subject: Re: trying to compile 'vrfy' Date: Sat, 14 Sep 1996 12:27:47 -0400 Organization: Carnegie Mellon, Pittsburgh, PA Message-ID: <MmCho3u00WBO8141Av@andrew.cmu.edu> References: <Pine.NXT.3.95.960914005601.6904F-100000@charisma> In-Reply-To: <Pine.NXT.3.95.960914005601.6904F-100000@charisma> Excerpts from netnews.comp.sys.next.programmer: 14-Sep-96 trying to compile 'vrfy' by "Timothy J. Luoma"@nerc. > /bin/cc -o vrfy main.o pars.o smtp.o conn.o stat.o mxrr.o util.o > vers.o -lresolv -lnet > ld: Can't locate file for: -lresolv > make: *** [vrfy] Error 1 > > Any chance I can hack around this? These are the only references from > 'Makefile': > > Makefile:RES = -lresolv Sure. The resolver routines are already available in the default system libraries-- so don't specify -lresolv unless you've compiled your own version of the resolver libraries from the BIND-4.9.x sources. -Chuck Charles Swiger | cs4w@andrew.cmu.edu | standard disclaimer ----------------+---------------------+--------------------- I know you're an optimist if you think I'm a pessimist.
From: "Jonathan W. Hendry" <steeldrv@one.net> Newsgroups: comp.sys.next.programmer Subject: NT license & PDO heads up Date: Sat, 14 Sep 1996 16:45:23 -0400 Organization: Steel Driving Software, Inc. Message-ID: <323B1963.37DB@one.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit For anyone who hasn't heard, Microsoft has written a restriction into the NT 4 Workstation license which limits users to having no more than 10 inbound TCP/IP connections in 10 minutes. Seems like this might effect PDO/D'OLE applications, if multiple user applications talk to each other, rather than just to a process on a server machine. Or, if someone had planned on using an NT Workstation machine as a DO server (say, making an Excel spreadsheet available) this may not be possible any longer.
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <cs@hal.kph.tuwien.ac.at> Message-ID: <9609141713.AA01307@zaphod> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 4.0 v146.2) From: Christian Starkjohann <cs@hal.kph.tuwien.ac.at> Date: Sat, 14 Sep 96 19:13:34 +0200 Subject: Developing 3.x applications on OS4.0 Hi everyone, forgive me if this has been beaten to death here, but I have not read this group recently. I suppose you know the problem: after installing 4.0 you can't develop 3.x applications any more. I quote from the Release Notes: You can still develop and maintain NEXTSTEP 3.3 applications after upgrading to OPENSTEP 4.0 Developer. You can adopt two general stategies: NXHosting from a shared 3.3 machine and dual-booting. Well, that's not entirely true. There is one more strategy: both developer releases can be installed in separate directory trees and a set of links determines which developer package is used (3.2 Developer seems to run on OS4.0). Creating this setup by hand is a lot of work, so I decided to write a shell script to do it. I thought it might be useful for others, too. The script takes one parameter: either "install" or "remove". With "install" the link-setup is created, with "remove" the original setup is restored. Removing the link setup might be a wise idea before you attempt an upgrade. \begin{WARNING} Use at your own risk! This script might move all your files to /dev/null! Don't use it unless you understand how it works! I take absolutely no responsibility for whatever happens. \end{WARNING} --------------------------------- cut here --------------------------------- #!/bin/sh # Name: dev-setup # Description: Generates an environment for multiple developer packages. # This script installs or removes a setup where you can choose between # different developer software releases just by flipping a symbolic link. # Before you start the script, you must install OS4.0 Developer and unpack # the NS3.2 Developer packages into the directory /Dev-3.2. Unpacking can # be done with the command # # mkdir /Dev-3.2; cd /Dev-3.2 # zcat /NEXTSTEP_Dev_3.2/NextCD/Packages/XXX/XXX.tar.Z | \ # /NextAdmin/Installer.app/installer_bigtar xvf - # # XXX denotes the name of the package. # # Author: Christian Starkjohann <cs@hal.kph.tuwien.ac.at> # change this to 3.3 if you want to share 3.3 Developer with 4.0 Dev. OLD_DIR="/Dev-3.2" NEW_DIR="/Dev-4.0" if [ "$1" = "remove" ]; then install=no else if [ "$1" != "install" ]; then echo "usage: $0 <mode>" echo "where mode may be either install or remove" exit fi install=yes fi if [ -d $OLD_DIR ]; then cd $OLD_DIR FILES=`echo bin/* lib/* NextDeveloper usr/lib/* usr/ucb/*` else echo "fatal: You must install the old developer packages in $OLD_DIR" exit fi cd / if [ $install = "yes" -a -d $NEW_DIR ]; then echo "fatal: Dual developer mode has already been installed." exit fi if [ $install = "yes" ]; then mkdir $NEW_DIR mkdir $NEW_DIR/bin mkdir $NEW_DIR/lib mkdir $NEW_DIR/usr mkdir $NEW_DIR/usr/lib mkdir $NEW_DIR/usr/ucb chmod -R a+rX $NEW_DIR fi if [ -h /Dev-current ]; then echo "info: Current developer directory exists, leaving it alone." else rm -f /Dev-current ln -s $NEW_DIR /Dev-current fi for i in $FILES; do if [ $install = "yes" ]; then if [ -r "/$i" -o -h "/$i" ]; then mv "/$i" "$NEW_DIR/$i" else echo "info: ->/$i<- does not exist in Developer 4.0" fi ln -s "/Dev-current/$i" "/$i" else if [ -h "/$i" ]; then rm "/$i" if [ -r "$NEW_DIR/$i" -o -h "$NEW_DIR/$i" ]; then mv "$NEW_DIR/$i" "/$i" else echo "info: ->/$i<- does not exist in Developer 4.0" fi else echo "fatal: something must be wrong: /$i is not a link" fi fi done if [ $install != "yes" ]; then echo "please examine $NEW_DIR and delete the directory by hand." fi --------------------------------- cut here --------------------------------- I use this script to switch between releases: --------------------------------- cut here --------------------------------- #!/bin/sh # Name: develop # Description: switch to the specified developer version # if [ "$1" = "3.2" -o "$1" = "4.0" ]; then rm -f /Dev-current ln -s "/Dev-$1" /Dev-current else echo "usage: $0 <version>" echo "where <version> may be either 3.2 or 4.0" fi --------------------------------- cut here --------------------------------- Bye, Christian. -- Christian Starkjohann <cs@hal.kph.tuwien.ac.at> or <cs@ds1.kph.tuwien.ac.at>, finger for PGP Public Key. PGP fingerprint: DF FD 40 60 91 6A 14 1C CD 2C E9 07 38 AE CB 4E
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: Create views without using InterfaceBuilder ? Date: 15 Sep 1996 12:36:36 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <51gt8k$4s1@bignews.shef.ac.uk> Hi, Is there a way to create a view without using InterfaceBuilder ? Let me put it this way, normally to create a view on a window, we have to drag a view called "customView" from the palette and drop it onto the window. Next we change the class name of that view to our own class (inherited from View class or its subclass) in the Inspector. The above way of create a view since to be static. I was wondering whether I can create views (many of them) during runntime. I have created an interface that consists of a button and a view ---------------------------------------------------------------------------- | Test Program | |--------------------------------------------------------------------------| | | | | | ---------- ----------------------------------------------------- | | | | | | | | | Button | | | | | | | | | | | | | | MySuperView | | | ---------- | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------------------------------- | | | | | | | ---------------------------------------------------------------------------- What I want is whenever I click the button, a new view will appear inside the "MySuperView" view (the new view will become the subview of MySuperView). I have made MySuperView to be black and its subviews to be white in color. This is how the code looks like ----------------------------------------------------------------------------- // File MySuperView #import "MySuperView.h" @implementation id newSubView; - buttonClicked : sender { NXRect rect; [self getFrame: &rect]; // Make the size of the subview smaller rect.size.width = rect.size.width - 100; rect.size.height = rect.size.height - 200; newSubView = [[ MySubView alloc] initFrame:&rect]; [self addSubview: newSubView]; [self display]; // Will this cause all the subviews to draw themself ? return self; } - drawself: (const NXRect *)rect :(int) count { PSsetgray(NX_BLACK); NXRectFill(&bounds); return self; } ----------------------------------------------------------------------------- // File MySubView.h @interface MySubView : view - initFrame: (const NXRect *)frameRect; ----------------------------------------------------------------------------- #import "MySubView.h" IMPLEMENTATION - initFrame: (const NXRect *)frameRect { [super initFrame: frameRect]; [self drawInSuperview]; return self; } - drawSelf: (const NXRect *)rect :(int) count { PSsetgray(NX_WHITE); NXRectFill(&bounds); return self; } ------------------------------------------------------------------------------ Unforturnately, the above codes did not do what I wanted. If anyone know why, can you kindly tell me the reason ? Thank you in advance. And thank you for reading such a long messgae :) Cheers, C.Yap
From: Mark Onyschuk <Mark_Onyschuk@oaai.com> Newsgroups: comp.sys.next.programmer Subject: Re: OPENSTEP/Mach POSIX support (was OpenStep PPP) Date: 15 Sep 1996 12:28:09 GMT Organization: Computer Task Group Message-ID: <51gsop$l8l@gateway.ctg.com> References: <323507FA.26DD@oboe.aix.calpoly.edu> <Pine.HPP.3.95.960911175455.15681A-100000@hphalle0.informatik.tu-muenchen.de> <516r7m$15at@msunews.cl.msu.edu> <517tao$549@dfw-ixnews10.ix.netcom.com> aisbell@ix.netcom.com (Art Isbell) wrote: > Which begs the question - does OPENSTEP/Mach support POSIX? libposix.a > is no longer included and my attempt to build a mkfifo utility using the > POSIX mkfifo() function fails under OPENSTEP :-( Let me chime in with similar unhappiness. I was -><- this close to getting the most recent MIT Kerberos code to compile cleanly with -posix compiler setting until I hit several source files which relied on a handful of POSIX routines NeXT now seems to be missing. Disappointment -- what could have been trivial is now a hassle. Oh well, I suppose I'll be saying more and more of that as NeXT moves away from Unix towards NT. --Mark
From: aisbell@ix.netcom.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: NT license & PDO heads up Date: 15 Sep 1996 16:18:38 GMT Organization: Netcom Distribution: world Message-ID: <51ha8u$rqi@sjx-ixn3.ix.netcom.com> References: <323B1963.37DB@one.net> "Jonathan W. Hendry" <steeldrv@one.net> wrote: > For anyone who hasn't heard, Microsoft has written a restriction > into the NT 4 Workstation license which limits users to having > no more than 10 inbound TCP/IP connections in 10 minutes. > Seems like this might effect PDO/D'OLE applications, if > multiple user applications talk to each other, rather than > just to a process on a server machine. Or, if someone had > planned on using an NT Workstation machine as a DO server > (say, making an Excel spreadsheet available) this may > not be possible any longer. This restriction was enforced in code for some beta versions of NT 4, but due to complaints by potential customers with large networks of computers which communicate with one another, something that's apparently foreign to the Microsoft world, this restriction was removed from code, but remains in the license as you point out. Microsoft's solution is to license NT Server, a much more expensive product. Besides cost, the problem with this solution is that one is forced to pay for bundled apps like a Web server that aren't needed for NT Server to function and are apps that many users already have licensed from competing vendors. It turns out that NT Workstation and NT Server are identical except for 2 settings in the Registry (like NetInfo and defaults combined), so this is yet another example of Microsoft marketing at work to overrun the competition in the Web server market in particular. Because of this, I suppose many sites (e.g., universities) will ignore this unreasonable licensing restriction unless MS comes up with a more reasonable alternative. I'm not advocating license restriction violation, but when these restrictions are unreasonable, reasonable people sometimes do what's necessary... -- Art Isbell NeXT/MIME Mail: aisbell@ix.netcom.com Trego Systems Voice/Fax: +1 408 335 2515 CaseServ: OPENSTEP Voice Mail: +1 408 335 1154 managed care solutions US Mail: Felton, CA 95018-9442
From: aisbell@ix.netcom.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: OPENSTEP/Mach POSIX support (was OpenStep PPP) Date: 15 Sep 1996 16:22:32 GMT Organization: Netcom Distribution: world Message-ID: <51hag8$rqi@sjx-ixn3.ix.netcom.com> References: <323507FA.26DD@oboe.aix.calpoly.edu> <Pine.HPP.3.95.960911175455.15681A-100000@hphalle0.informatik.tu-muenchen.de> <516r7m$15at@msunews.cl.msu.edu> <517tao$549@dfw-ixnews10.ix.netcom.com> <51gsop$l8l@gateway.ctg.com> Mark Onyschuk <Mark_Onyschuk@oaai.com> wrote: > aisbell@ix.netcom.com (Art Isbell) wrote: > > Which begs the question - does OPENSTEP/Mach support POSIX? libposix.a > > is no longer included and my attempt to build a mkfifo utility using the > > POSIX mkfifo() function fails under OPENSTEP :-( > > Let me chime in with similar unhappiness. I was -><- this close to getting > the most recent MIT Kerberos code to compile cleanly with -posix compiler > setting until I hit several source files which relied on a handful of POSIX > routines NeXT now seems to be missing. What I was able to do to build my mkfifo utility under OS was to simply copy libposix.a from the patched NS 3.3 release into /usr/lib. The compiler still recognizes the -posix flag, although I may have had to specify -lposix instead - I can't recall. But this solution may not work for a more complex POSIX utility, and the bugs in libposix.a remain unfixed. -- Art Isbell NeXT/MIME Mail: aisbell@ix.netcom.com Trego Systems Voice/Fax: +1 408 335 2515 CaseServ: OPENSTEP Voice Mail: +1 408 335 1154 managed care solutions US Mail: Felton, CA 95018-9442
From: giddings@menominee.menominee.chem.wisc.edu (Michael Giddings) Newsgroups: comp.sys.next.programmer Subject: Re: One way to compile 3.3 source in 4.0 Date: 15 Sep 1996 22:24:11 GMT Organization: University of Wisconsin-Madison Distribution: world Message-ID: <51hvmb$2sse@news.doit.wisc.edu> References: <50peil$2ehu@news.doit.wisc.edu> <51261h$i9o@usenet.rpi.edu> Cc: gad@eclipse.its.rpi.edu In <51261h$i9o@usenet.rpi.edu> Garance A. Drosehn wrote: > After having done the following steps, you have a NS-3.3 app which > can run on your NS-4.0 machine, right? (with no major source-code > changes). But will the result be able to run on standard NS-3.3 > systems? > I would guess so - since it is linked against the 3.3 libraries. But I will have to try it to make sure. -- Michael Giddings giddings@chem.wisc.edu giddings@barbarian.com (608)258-1699 or (608) 692-2851
From: dennis.glatting@plaintalk.bellevue.wa.us Newsgroups: comp.sys.next.programmer Subject: DO problem under NEXTSTEP 3.3 "[NXConnection run] - tossing received reply msg" Date: 15 Sep 1996 22:23:08 GMT Organization: PlainTalk Distribution: world Message-ID: <51hvkc$fea@Holly.aa.net> I am working on a multi-threaded DO application under NEXTSTEP 3.3, m68k. I've incurred a problem where, occasionally, one application performs a method against the other and its run-time system prints the message "[NXConnection run] - tossing received reply msg". * Why would it "toss" a reply? * How well does DO work in threaded applications? * How do you debug this stuff? -dpg
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: Can someone help with an inheritance puzzler? Date: 16 Sep 1996 18:27:44 GMT Organization: OnRamp Technologies; ISP; Dallas/Ft Worth/Houston, TX USA Message-ID: <51k670$nbg@news.onramp.net> References: <slrn53086d.hf7.davet@Fast.thomas.home> <50ps4l$kqe@news.onramp.net> <x7bufijxqk.fsf@tom.es.ele.tue.nl> <50vidn$6v4@news.onramp.net> <510eti$gd@saturn.genoa.com> <516tmc$8g5@news.onramp.net> <51a8j7$as@saturn.genoa.com> Cc: alex@genoa.com > Alex Blakemore wrote: > You need only implement the primitive methods [to subclass a class cluster] > NSArray has only two primitive methods for example: > count and objectAtIndex: > > Steve Dekorte wrote: > Unfortunately objectAtIndex: is the method you'll > probably be calling most in performance critical code. > > Alex Blakemore wrote: > Why is this unfortunate with respect to performance? > > Since objectAtIndex: is provided by your concrete subclass, > you have complete control to make it as fast [or slow] as possible. It still involves an extra method call. -- Steve Dekorte - OpenStep Developer - Anaheim, CA "Fundamentalism isn't about religion. It's about power." - S. Rushdie
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.sys.next.programmer Subject: Re: Create views without using InterfaceBuilder ? Date: 16 Sep 1996 18:33:18 GMT Organization: OnRamp Technologies; ISP; Dallas/Ft Worth/Houston, TX USA Message-ID: <51k6he$nbg@news.onramp.net> References: <51gt8k$4s1@bignews.shef.ac.uk> Cc: cnyap@dcs.shef.ac.uk Chih Nam Yap wrote: > Is there a way to create a view without using InterfaceBuilder ? ... > I was wondering whether I can create views (many of them) during runntime. Yes. Just alloc and init them and send an -addSubview: message to the view you want to stick them in. See the TreeView.app example (available on one of the ftp sites). -- Steve Dekorte - OpenStep Developer - Anaheim, CA "Fundamentalism isn't about religion. It's about power." - S. Rushdie
From: dwy@walrus.com (David Young) Newsgroups: comp.sys.next.programmer Subject: Odd DNS flake Date: 16 Sep 1996 16:07:13 GMT Organization: Intellitech Corporation Message-ID: <51jtvh$e4@alice.walrus.com> I've noticed that some binaries I compile MAB behave differently on my mono slab than they do on my Pentium. Basically, ircII and ncftp are unable to resolve hostnames on the Pentium, but the same binary works flawlessly wrt DNS on the slab. Any ideas? --- . . . . .. david young / ace.net internet technologies // . . . . .. dwy@ace.net / 1.201.798.5217 / 1.917.923.6461 // . . . .. www.ace.net: a playground for the truly digital //
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer,comp.sys.next.misc,misc.jobs.contract Subject: NEXTSTEP/Contract/Long Term/Va + ILL Date: 16 Sep 1996 14:33:12 GMT Organization: Norden 1 Communications Message-ID: <51jof8$njf@tofu.alt.net> Programmer/analyst/developer NEXTSTEP Objective C EOF--A Plus Contract---Long Term AREAS------VA + ILL Must Be----US Citizen or Greencard Must Have --Good Communicatiuon Skills 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: maag@now.ch Newsgroups: comp.sys.next.programmer Subject: Text-objects - setTextFilter:(NXTextFilterFunc)aFunc, where under openstep? Date: Mon, 16 Sep 1996 12:25:21 GMT Organization: NOW GmbH, Baar, Switzerland Sender: news@now.ch Message-ID: <Dxtru9.98G.0.astra@now.ch> in an older nextstep application i used to change the textfilter function of a text object. i needed this to automatically uppercase the letters and filter out some special characters. in openstep i did not find similar methods to set a textfilter. how could i implement a text filtering function or method now? thanx Rolf
From: tseg@access2.digex.net (accounts) Newsgroups: dc.jobs,misc.jobs.contract,misc.jobs.offered,comp.sys.next.programmer,comp.sys.next.misc,comp.lang.objective-c,comp.lang.c++ Subject: US-WASH-DC; OOD/Local Telephone/NeXt/C++; TSEG, Ltd. Followup-To: poster Date: 16 Sep 1996 17:14:50 -0400 Organization: The Software Engineering Group, Ltd., Mt. Airy, MD USA. Distribution: usa Message-ID: <51kg0a$peu@access2.digex.net> Summary: Long term contract; excellent rates Keywords: Objective-C, DMS-100, EWSD, SONET, SS5 The Software Engineering Group, LTD (TSEG), has several openings for software professionals/consultants with following experiences: Required Desired -------------------------------------------------------------------- C++/SmallTalk Objective C/SmallTalk UNIX NeXTStep Moderate (5+ years) OOD experience Heavy (7+ years) OOD experience BS CS/Eng. MS CS/Eng. 6+ years commercial experience 9+ years commercial experience Big plus: Local Telephone Company experience Service supervisioning for class 5 (local) switch DMS-100 Sync Optical Network (SONET) Please fax your resumes to (800)567-TSEG or email text version of your resume to tseg@access.digex.net.
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.sys.pen,comp.sys.next.advocacy,comp.sys.next.programmer Subject: Pilot & NeXTstep Date: 16 Sep 1996 21:15:49 GMT Organization: OnRamp Technologies; ISP; Dallas/Ft Worth/Houston, TX USA Message-ID: <51kg25$pul@news.onramp.net> Any software out there for getting a Pilot PDA to talk to a machine running NeXTstep? I noticed the Pilot connects via a serial cable. Is the protocol public? Any hackers working on this? -- Steve Dekorte - OpenStep Developer - Anaheim, CA "Fundamentalism isn't about religion. It's about power." - S. Rushdie
From: tpayne@u.washington.edu (Thomas Payne) Newsgroups: comp.sys.next.programmer Subject: Books on Indexing Kit? Date: 16 Sep 1996 22:47:51 GMT Organization: University of Washington Message-ID: <51klen$nt8@nntp1.u.washington.edu> Summary: Where can I find self-teaching guide to Indexing Kit? Keywords: Indexing Kit Appkit books I'm trying to learn to use the Indexing Kit on my own. Books I've found thus far (Garfinkel and Mahoney, NS General Reference) and the online guides aren't very good self-teaching guides for this subject. Can anyone recommend a good plce to learn on your own? Tom Payne tpayne@u.washington.edu -- Thomas Payne, MD Clinical Computing Project Group Health Cooperative of Puget Sound, Seattle
From: apelt@rcs.urz.tu-dresden.de (Stefan Apelt) Newsgroups: comp.sys.next.programmer Subject: How do I run programs from my application? Date: 17 Sep 1996 10:28:12 GMT Organization: TU Dresden (URZ) Message-ID: <51lufs$arb@rks1.urz.tu-dresden.de> Hi, can somebody tell me please, how to start programs from my application. I have to connect to a database, retrieve e-mail adresses and the start NeXTMail by clicking on the adresses. Retrieving and showing the e-mail adresses functions fine but I cannot find out, how to start NeXTMail. If you have any ideas, suggestions etc. - you're welcome! Also, if you have any informations in general concerning the starting of applications (.APP files) via Project-Builder/Interface-Builder, plaese contact me! Thank you in advance! Stefan Apelt e-mail: apelt@rcs.urz.tu-dresden.de
From: maag@now.ch Newsgroups: comp.sys.next.programmer Subject: Re: How do I run programs from my application? Date: Tue, 17 Sep 1996 12:20:46 GMT Organization: NOW GmbH, Baar, Switzerland Sender: news@now.ch Message-ID: <DxvMAM.I9.0.astra@now.ch> References: <51lufs$arb@rks1.urz.tu-dresden.de> Cc: apelt@rcs.urz.tu-dresden.de In <51lufs$arb@rks1.urz.tu-dresden.de> Stefan Apelt wrote: > Hi, > > can somebody tell me please, how to start programs from my application. I > have to connect to a database, retrieve e-mail adresses and the start > NeXTMail by clicking on the adresses. > Retrieving and showing the e-mail adresses functions fine but I cannot find > out, how to start NeXTMail. > [[NSWorkspace sharedWorkspace] launchApplication:@"Application" showIcon:YES autolaunch:NO]; launches the application "Application".
From: edx@cc.usu.edu Newsgroups: comp.sys.next.programmer Subject: Re: Developing 3.x applications on OS4.0 Message-ID: <1996Sep17.120417.85069@cc.usu.edu> Date: 17 Sep 96 12:04:17 MDT References: <9609141713.AA01307@zaphod> <51eu5q$7jl@news4.digex.net> Organization: Utah State University In article <51eu5q$7jl@news4.digex.net>, John Kheit <jkheit@cnj.digex.net> writes: > Christian Starkjohann <cs@hal.kph.tuwien.ac.at> wrote: >> Well, that's not entirely true. There is one more strategy: both > developer releases can be installed in separate directory trees and a set > of links determines which developer package is used (3.2 Developer seems > to run on OS4.0). Creating this setup by hand is a lot of work, so I > decided to write a shell script to do it. I thought it might be useful for > others, too. The script takes one parameter: either "install" or "remove". > With "install" the link-setup is created, with "remove" the original setup > is restored. Removing the link setup might be a wise idea before you > attempt an upgrade. > > Wow, you're the MAN :) Now, will this work with NS Dev 3.3? Has anyone > tried? This script does -NOT- work with NS Dev 3.3 for the same reason you can't install 3.3 Developer directly on a 4.0 system. Notice that the real work is done in the "for i in $FILES" loop where the 4.0 working files are moved to a directory called /Dev-4.0. Now as soon as /usr/lib/dyld is moved, your machine is hosed. Half the binaries, especially things like mv, cp, rm, etc suddenly don't work anymore. I would highly advise not using this script on with a 3.3 Developer unless this is changed. - HRC -
From: rhennig@gpu5.srv.ualberta.ca (Ronald Hennig) Newsgroups: comp.sys.next.programmer Subject: Twinsock 2.0 for Next Date: 18 Sep 1996 01:17:30 GMT Organization: University of Alberta Message-ID: <51nija$mbc@pulp.ucs.ualberta.ca> Does anyone have a compiled version of Twinsock 2.0 for the Next? I cannot get the source code to compile. Ron Hennig hennig@raddi.uah.ualberta.ca
Newsgroups: comp.sys.next.programmer From: dfevans@bbcr.uwaterloo.ca (David Evans) Subject: Re: Create views without using InterfaceBuilder ? Sender: news@novice.uwaterloo.ca (Mr. News) Message-ID: <Dxvv7s.Cvo@novice.uwaterloo.ca> Date: Tue, 17 Sep 1996 15:33:28 GMT References: <51gt8k$4s1@bignews.shef.ac.uk> <51k6he$nbg@news.onramp.net> Organization: University of Waterloo In article <51k6he$nbg@news.onramp.net>, Steve Dekorte <dekorte@suite.com> wrote: > >Yes. Just alloc and init them and send an -addSubview: message to the >view >you want to stick them in. See the TreeView.app example (available on >one of >the ftp sites). > initFrame: is also your friend in these circumstances. -- 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: dhess@net.tamu.edu (Dave Hess) Newsgroups: comp.sys.pen,comp.sys.next.advocacy,comp.sys.next.programmer Subject: Re: Pilot & NeXTstep Date: 18 Sep 1996 05:13:36 GMT Organization: Texas A&M University, CIS Network Group Message-ID: <DHESS.96Sep18001336@net.tamu.edu> References: <51kg25$pul@news.onramp.net> In-reply-to: dekorte@suite.com's message of 16 Sep 1996 21:15:49 GMT In article <51kg25$pul@news.onramp.net> dekorte@suite.com (Steve Dekorte) writes: > Any software out there for getting a Pilot PDA to talk to a machine > running NeXTstep? > I noticed the Pilot connects via a serial cable. Is the protocol public? > Any hackers working on this? I actually managed to talk to some of their developers about this. They use some kind of hairy multilayer protocol stack on the serial cable and really discouraged me from trying to hack it. They haven't documented that part of it yet so they can't release any specs on it either. Also, the software "conduits" are apparently pretty complex and an integral part of the data transfer. However, all I really wanted to do was file transfer: download new apps and backup the databases. The guy I was talking to said the Pilot development kit actually gives you raw access to the modem port so I threw out the idea of porting zmodem to it and he said that was very possible. Now all I have to do is buy a Mac to get the development environment and get God to add another 8 hours to each day..... Dave -- David K. Hess Network Group Manager David-K-Hess@tamu.edu Computing and Information Services - Network Group (409) 845-0372 (work) Texas A&M University
From: emma@number_one.csse.swin.edu.au (Emma Beckett) Newsgroups: comp.sys.next.programmer Subject: Developer 4.0 Question Date: 17 Sep 1996 10:40:13 GMT Organization: Swinburne University of Technology Message-ID: <51lv6d$kbf@lucy.swin.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi everyone, Out of interest I was having a look at the developer tutorial and was trying to work my way through the CurrencyConverter project. Following all of the steps I reached the part where I was supposed to place the return key image onto my button. However looking in the area where the images were stored I had every image that was listed in the tutorial but I did not have the return key image. Can anyone help me with this? Please email me rather than post to this group. Thank you. Emma. emma@pedder.csse.swin.edu.au
Newsgroups: comp.sys.next.programmer Organization: Antigone Press gateway, San Francisco Return-Path: <cs@hal.kph.tuwien.ac.at> Message-ID: <9609181208.AA00715@zaphod> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 4.0 v146.2) From: Christian Starkjohann <cs@hal.kph.tuwien.ac.at> Date: Wed, 18 Sep 96 14:08:35 +0200 Subject: Re: Developing 3.x applications on OS4.0 In article <1996Sep17.120417.85069@cc.usu.edu> edx@cc.usu.edu writes: > [quoted stuff deleted] > This script does -NOT- work with NS Dev 3.3 for the same reason > you can't install 3.3 Developer directly on a 4.0 system. Notice > that the real work is done in the "for i in $FILES" loop where the > 4.0 working files are moved to a directory called /Dev-4.0. Now > as soon as /usr/lib/dyld is moved, your machine is hosed. Half > the binaries, especially things like mv, cp, rm, etc suddenly don't > work anymore. > > I would highly advise not using this script on with a 3.3 Developer > unless this is changed. I have never bought 3.3, so I can't comment on this. But: as I understand, the /usr/lib/dyld in 4.0 is compatible with 3.3 executables. The easiest workaround would be to delete /Dev-3.3/usr/lib/dyld before you run the script. This would leave the /usr/lib/dyld of 4.0 for both developer packages. I would like to hear about the results if anyone dares to try this. Bye, Christian. -- Christian Starkjohann <cs@hal.kph.tuwien.ac.at> or <cs@ds1.kph.tuwien.ac.at>, finger for PGP Public Key. PGP fingerprint: DF FD 40 60 91 6A 14 1C CD 2C E9 07 38 AE CB 4E
From: embuck@palmer.cca.rockwell.com (Erik M. Buck) Newsgroups: comp.sys.next.programmer Subject: Color palette for 8 bit color mode Date: 18 Sep 1996 17:02:26 GMT Organization: Rockwell Avionics - Collins Message-ID: <51p9v2$k5u@castor.cca.rockwell.com> References: <6GUyVWe5wmB@nuppy.harz.de> Cc: embuck@cca.rockwell.com I have a display device that is driven by the VESA connector on high end PCI graphics cards. The VESA connector is the rectangular pin field at the top of modern cards. It outputs a relatively standardized signal suitable for video mixing machines etc. I want to display NeXTSTep on my device, but I have color palette problems. I need definition of the 8 bit color palette used by NeXTStep. Any help or pointers appreciated! - Erik M. Buck
From: maag@now.ch Newsgroups: comp.sys.next.programmer Subject: FormCell: How to replace the title by a pop up? Date: Wed, 18 Sep 1996 08:20:42 GMT Organization: NOW GmbH, Zuerich, Switzerland Sender: news@now.ch Message-ID: <Dxx5uI.8xC.0.astra@now.ch> hi there i would like my formcell to display a popup menu instead of a simple title. is there an easy way to do this, or do i have to write my own Cell? Rolf
From: johnyreb@ix.netcom.com(Richard Elbert Davis) Newsgroups: comp.sys.next.programmer Subject: A rubix Cube in Pascal...HELP!!!! Date: 18 Sep 1996 20:46:18 GMT Organization: Netcom Message-ID: <51pn2q$4l7@dfw-ixnews10.ix.netcom.com> References: <Pine.NXT.3.95.960914005601.6904F-100000@charisma> <MmCho3u00WBO8141Av@andrew.cmu.edu> hello, In pascal class right now i have to make a Rubix cube with multi-dimensional arrays. Anyone have a sample of a prog I could use. Its got me stumped. Thanks alot -Jarrod
From: mpaque@pacbell.net (Mike Paquette) Newsgroups: comp.sys.next.programmer Subject: Re: DO problem under NEXTSTEP 3.3 "[NXConnection run] - tossing received reply msg" Date: Wed, 18 Sep 1996 21:22:40 GMT Organization: Electronics Service, Unit No. 16 Message-ID: <51ppc5$db4@news2.snfc21.pacbell.net> References: <51hvkc$fea@Holly.aa.net> dennis.glatting@plaintalk.bellevue.wa.us wrote: >I am working on a multi-threaded DO application under >NEXTSTEP 3.3, m68k. I've incurred a problem where, >occasionally, one application performs a method >against the other and its run-time system prints the >message "[NXConnection run] - tossing received reply >msg". >* Why would it "toss" a reply? >* How well does DO work in threaded applications? >* How do you debug this stuff? The "tossed" reply happens when an NXConnection receives a reply for a message it didn't originate. It may be that you've got two NXConnections set up but sharing the same reply port. (I've done this by accident and gotten exactly your results.) In a multithreaded environment, one trick I've used to set up connections with private per-thread NXPorts is to set up a delegate for the root NXConection object. In the delegate method 'connection:didConnect:' you get an opportunity to intercept and replace the new connection with one you create and return. I've used this trick in multithreaded servers that support connections to several apps at the same time. Mike Paquette I don't speak for my employer, and they don't speak for me. mpaque@pacbell.net Personal E-mail mpaque@next.com NeXT business mail only, please
From: dennis.glatting@cybersafe.com Newsgroups: comp.sys.next.programmer Subject: Re: OPENSTEP/Mach POSIX support (was OpenStep PPP) Date: 18 Sep 1996 23:42:53 GMT Organization: CyberSafe Corporation Message-ID: <51q1dt$ece@kerby.cybersafe.com> References: <323507FA.26DD@oboe.aix.calpoly.edu> <Pine.HPP.3.95.960911175455.15681A-100000@hphalle0.informatik.tu-muenchen.de> <516r7m$15at@msunews.cl.msu.edu> <517tao$549@dfw-ixnews10.ix.netcom.com> <51gsop$l8l@gateway.ctg.com> Cc: Mark_Onyschuk@oaai.com In <51gsop$l8l@gateway.ctg.com> Mark Onyschuk wrote: > aisbell@ix.netcom.com (Art Isbell) wrote: > > Which begs the question - does OPENSTEP/Mach support POSIX? libposix.a > > is no longer included and my attempt to build a mkfifo utility using the > > POSIX mkfifo() function fails under OPENSTEP :-( > > Let me chime in with similar unhappiness. I was -><- this close to getting > the most recent MIT Kerberos code to compile cleanly with -posix compiler > setting until I hit several source files which relied on a handful of POSIX > routines NeXT now seems to be missing. > Please elaborate. > Disappointment -- what could have been trivial is now a hassle. Oh well, I > suppose I'll be saying more and more of that as NeXT moves away from Unix > towards NT. > I have ported the Kerberos libraries to NEXTSTEP, but not the latest version of MIT code. The process hurts. -- Dennis P. Glatting / CyberSafe Corporation
From: ifeulner@xenon.cube.de (Ingo Feulner) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: Can someone help with an inheritance puzzler? Date: 18 Sep 1996 07:56:46 GMT Organization: Home, sweet home in Boeblingen, Germany Message-ID: <slrn53vapu.8bb.ifeulner@xenon.cube.de> References: <slrn53086d.hf7.davet@Fast.thomas.home> <50ps4l$kqe@news.onramp.net> <51k670$nbg@news.onramp.net> On 16 Sep 1996 18:27:44 GMT, Steve Dekorte <dekorte@suite.com> wrote: >> Steve Dekorte wrote: >> Unfortunately objectAtIndex: is the method you'll >> probably be calling most in performance critical code. >> >> Alex Blakemore wrote: >> Why is this unfortunate with respect to performance? >> >> Since objectAtIndex: is provided by your concrete subclass, >> you have complete control to make it as fast [or slow] as possible. > >It still involves an extra method call. But you've all the comfort that an object provides. For really per- formance critical thinks switch to plain C. There is always a cost, but I'll pay this for more comfort and consistence - Ingo. -- Smail: Ingo Feulner, Wolfacher Weg 19, 71034 Boeblingen, Germany Email: ifeulner@xenon.cube.de "You do not understand." - Kosh, Babylon 5, various episodes.
Newsgroups: comp.sys.next.programmer From: "Timothy J. Luoma" <luomat@nerc.com> Subject: Re: A rubix Cube in Pascal...HELP!!!! Message-ID: <Pine.NXT.3.95.960919021210.5816B-100000@charisma> Date: Thu, 19 Sep 1996 02:17:09 -0400 References: <Pine.NXT.3.95.960914005601.6904F-100000@charisma> <MmCho3u00WBO8141Av@andrew.cmu.edu> <51pn2q$4l7@dfw-ixnews10.ix.netcom.com> To: Richard Elbert Davis <johnyreb@ix.netcom.com> In-Reply-To: <51pn2q$4l7@dfw-ixnews10.ix.netcom.com> Organization: Princeton Theological Seminary Return-Receipt-To: luomat@nerc.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII <badmood> This is classic, a post about "pascal" in the "NeXT" programmer's group, by a guy asking for his homework to be done for him, posting under one name and signing with another name (and he doesn't know that "a lot" is not one word, but that's just a personal pet peeve). great job Richard/Jarrod.... why not forward one of those 'make money fast' posts while you're at it... </badmood> <try2help> Since I'd hate to be entirely bad tempered about it, why don't you try 'comp.lang.pascal' or 'comp.lang.pascal.misc' instead of this newsgroup. </try2help> On 18 Sep 1996, Richard Elbert Davis wrote: > Date: 18 Sep 1996 20:46:18 GMT > From: Richard Elbert Davis <johnyreb@ix.netcom.com> > Newsgroups: comp.sys.next.programmer > Subject: A rubix Cube in Pascal...HELP!!!! > > hello, > In pascal class right now i have to make a Rubix cube with > multi-dimensional arrays. Anyone have a sample of a prog I could use. > Its got me stumped. Thanks alot > > -Jarrod > > >
From: pcapitai@de.oracle.com (Pit Capitain) Newsgroups: comp.soft-sys.nextstep,comp.sys.next.marketplace,comp.sys.next.misc,comp.sys.next.programmer Subject: Looking for NeXTSTEP Projects Date: Thu, 19 Sep 1996 09:06:14 GMT Organization: Oracle Deutschland GmbH Distribution: inet Message-ID: <51r2iv$h7f@inet-nntp-gw-1.us.oracle.com> Hi all, I have about 20 hours per week free time (besides my job and my family) and would like to strengthen both my NeXTSTEP knowledge and my income, so I'm looking for the possibility to work on NeXT-/Open-/GNU-Step projects. Just a few details about myself: 35 years, married, 2 children 18 years Software-Engineering 10 years Objectoriented Techniques 6 years NeXTSTEP (at home) 5 years Project management, Consulting 4 years relational Databases 1 year WWW, HTML, CGI; Java (beginner) NeXT Cube with NS Developer 3.2, EOF, WebObjects available. Thanks in advance, Pit
From: pete@ohm.york.ac.uk (-bat.) Newsgroups: comp.sys.next.programmer Subject: Re: Developing 3.x applications on OS4.0 Date: 19 Sep 1996 11:48:22 GMT Organization: The University of York, UK Message-ID: <51rbu6$acg@netty.york.ac.uk> References: <1996Sep17.120417.85069@cc.usu.edu> edx@cc.usu.edu writes: > Now as soon as /usr/lib/dyld is moved, your machine is hosed. > Half the binaries, especially things like mv, cp, rm, etc suddenly > don't work anymore. Aha - but what you can do is then replace dyld with the original off the CD rom using Workspace. That then runs fine. I installed 3.3 developer directly onto 4.0 like this and it's quite happy. Only other thing I had to do was grab a copy of /usr/lib/arch_tool off a 3.3 machine to get FAT binaries to build properly. -bat.
From: edx@cc.usu.edu Newsgroups: comp.sys.next.programmer Subject: Re: Twinsock 2.0 for Next Message-ID: <1996Sep19.071817.85137@cc.usu.edu> Date: 19 Sep 96 07:18:17 MDT References: <51nija$mbc@pulp.ucs.ualberta.ca> Organization: Utah State University In article <51nija$mbc@pulp.ucs.ualberta.ca>, rhennig@gpu5.srv.ualberta.ca (Ronald Hennig) writes: > Does anyone have a compiled version of Twinsock 2.0 for the Next? > I cannot get the source code to compile. > Aaaaaaaaaaaaaaaaaaaaaaaaaaaah!
From: heisec@cs.tu-berlin.de (Christian Heise) Newsgroups: comp.sys.next.programmer Subject: DBKit does not work with RTFText-Objects, Help! Date: 19 Sep 1996 15:33:40 GMT Organization: Technical University of Berlin, Germany Message-ID: <51rp4k$cvl@news.cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello, I use SQLBase V5.1.1 for NEXTSTEP Intel' with the DB-Adaptor V 1.1 under NeXTStep 3.2 and 3.3 and the problem that I can't save Text-Objects to the database. The database contains an entity with a property of typ 'LONG VARCHAR'. In DBModeler the data typ is set to 'Object', the class to 'NXData' and the format to '*'. In the InterfaceBuilder the property appears with a RTF-Text Icon and is connected to the Text-View in a Scroll-View from the palette. Then I load some records from the database, enter some text in the text-view and all works fine. I can also select another record in the DBTableView, reselect the first record an the entered text reappears. But when I tries to save the changes, there is an error-message like "The record in the database has changed since the last call". But I am the only user logged in and the record hasn't changed! Thank you for answer Christian Heise e-mail: heisec@cs.tu-berlin.de
From: Josh Stella <jstella@okeefe.com> Newsgroups: comp.sys.next.programmer,comp.sys.next.marketplace Subject: OpenStep developers wanted Date: Thu, 19 Sep 1996 09:13:03 -0400 Organization: O'Keefe Interactive Message-ID: <324146DF.418A@okeefe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To work on WebObjects and leading-edge automated publishing systems. Fun and unique group with good pay and excellent benefits including flexible hours. Permanent positions in Richmond, VA area. Please email resume (NeXT Mail or MIME is fine) to jstella@okeefe.com. Job Requirements: - Demonstrated Objective C skills in the NeXTSTEP/OPENSTEP environments - A creative and aggressive approach to technology - Self-motivation and the ability to work in a dynamic, fast-paced environment - Sincerity and a willingness to stand behind one's assesments and opinions - Ability to absorb and utilize new technologies very quickly Josh Stella V.P. of Technology O'Keefe Marketing
From: ians@cam-ani.co.uk (Ian Stephenson) Newsgroups: comp.sys.next.programmer Subject: Re: cthreads, MiG, and NeXTStep 4 Date: Thu, 19 Sep 1996 15:28:53 GMT Organization: Cambridge Animation Systems Ltd Sender: news@cam-ani.co.uk Message-ID: <DxzKC6.4vL@cam-ani.co.uk> References: <51rm36$heo@solaris.cc.vt.edu> In article <51rm36$heo@solaris.cc.vt.edu> benjy@vt.edu (Ben E. Cline) writes: > We are purchasing an Intel system to run OpenStep/Mach 4.0 for an > application that relies heavily on cthreads and Mach messages. The > application does not use the appkit at all. > > I'd appreciate any information on the status of cthreads, Mach messages, > and MiG under 4.0. I'm no expert on MiG, but I ported some bits of an app which used it to OpenStep without much problem (at least the MiG bits weren't a problem). Only change required was that you can't register a port with the NSApp directly, you need to put an NSPort around it. The NSPort will send a message to it's delegate, which can then call the Mig service routines, pretty much as normal. If you're not using the appkit, then things should work as previously. There may be problems for more complex stuff, but I got this bit of the code converted in about half an hour, without any great previous experience of MiG, or the app I was porting. $an
Newsgroups: comp.lang.objective-c,comp.sys.next.programmer From: stes@cwi.nl (David Stes) Subject: Re: Can someone help with an inheritance puzzler? Message-ID: <DxzKru.C6n@cwi.nl> Sender: news@cwi.nl (The Daily Dross) Organization: CWI, Amsterdam References: <50ps4l$kqe@news.onramp.net> <51k670$nbg@news.onramp.net> <slrn53vapu.8bb.ifeulner@xenon.cube.de> Date: Thu, 19 Sep 1996 15:38:18 GMT In article <slrn53vapu.8bb.ifeulner@xenon.cube.de> ifeulner@xenon.cube.de (Ingo Feulner) writes: >There is always a cost, but I'll pay this for more comfort and >consistence It's not a performance issue; it's a design issue with dreadful performance as consequence. Using private internal classes is a very good idea: documenting that some public call is returning a private object is not. Either the object is private and then nobody should know about its existence, because it's a implementation issue then, or it's made public - and docuemneted as such. Actually we're having it backwards here : as far as I recall, the argument in favor of class clusters was supoosedly that it was more efficient, than having an object with an instance varaible that would tehn point to the internal object. (because you'd save a +new) David.
From: benjy@vt.edu (Ben E. Cline) Newsgroups: comp.sys.next.programmer Subject: cthreads, MiG, and NeXTStep 4 Date: 19 Sep 1996 14:41:42 GMT Organization: Virginia Tech, Blacksburg, Virginia Message-ID: <51rm36$heo@solaris.cc.vt.edu> We are purchasing an Intel system to run OpenStep/Mach 4.0 for an application that relies heavily on cthreads and Mach messages. The application does not use the appkit at all. I'd appreciate any information on the status of cthreads, Mach messages, and MiG under 4.0. -- Benjy Cline, AC4XO, Ph.D. Virginia Tech Computing Center benjy@benjy.cc.vt.edu http://benjy.cc.vt.edu:1951/~benjy/
From: maag@now.ch Newsgroups: comp.sys.next.programmer Subject: EOF Problem Date: Thu, 19 Sep 1996 14:27:39 GMT Organization: NOW GmbH, Zuerich, Switzerland Sender: news@now.ch Message-ID: <DxzHI4.79z.0.astra@now.ch> I am writing a very simple (seems TOO simple) database application. I have a few tables in my application, WITHOUT relations and absolutely now way to define a unique key (however i am sure that all the records are distinct :-)). My idea was to use a feature of my database (OpenBase), that creates unique values on its own (it's a table named _rowId). in my eomodel i have defined the _rowid attribute to be read_only and the primary key. now, this seems to work fine, the problem comes when i want to add my own records. i can do add at least one record, the DatabseDataSource does insert and save it, but after that, there seems to be a consistency problem :-((. Here is the code i wrote: newMessage=[messageSource createObject]; [newMessage setType:@"B10"]; [newMessage setSIC03:@"22"]; [newMessage setRowId:@"SIC000"]; ok= [messageSource insertObject:newMessage]; if (ok) NSLog(@"object inserted"); else NSLog(@"object not inserted"); [messageSource saveObjects]; if (ok) NSLog(@"object saved"); else NSLog(@"object not saved"); where messageSource is a EODatabaseDataSource and newMessage is a corrresponding EOObject. as i said before, this saves the created record once, but when i try to add another record the application crashes. how can i force the framework to forget about newMessage and refetch it with the correct _rowid? i know this is ugly, but the database tables are the way they are, i must not change them :-(. Regards Rolf
From: zander@conextions.com (Aleksey Sudakov) Newsgroups: comp.sys.next.programmer Subject: Re: EOF Problem Date: 19 Sep 1996 20:32:52 GMT Organization: The Internet Access Company, Inc. Message-ID: <51salk$96p@news-central.tiac.net> References: <DxzHI4.79z.0.astra@now.ch> maag@now.ch wrote: >My idea was to use a feature of my database (OpenBase), that creates unique >values on its own (it's a table named _rowId). > > <Snip, snup, snap> > >Here is the code i wrote: > > newMessage=[messageSource createObject]; > [newMessage setType:@"B10"]; > [newMessage setSIC03:@"22"]; > [newMessage setRowId:@"SIC000"]; > ok= [messageSource insertObject:newMessage]; > if (ok) NSLog(@"object inserted"); > else NSLog(@"object not inserted"); > [messageSource saveObjects]; > if (ok) NSLog(@"object saved"); > else NSLog(@"object not saved"); > Well, I couldn't see where in your code do you create the unique value for the _rowId. You gotta call some function from OpenBase Obj-C API (sorry, I don't remember the name and don't have example code handy) in order to actually create unique value for _rowId. Hopefuly this would help. Aleksey
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:27:21 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <32420109.F39C15A@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:29:05 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <32420171.2F51559D@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: mp Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:32:47 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <3242024F.34D2FCDB@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: mp Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:24:25 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <32420059.1DA9DD50@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:24:54 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <32420076.1C380FE5@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:25:33 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <3242009D.6191B969@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:26:32 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <324200D8.75124357@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:28:26 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <3242014A.7C9E5D2@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:31:04 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <324201E8.48A078F2@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: mp Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:33:27 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <32420277.14C0FF63@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: mp Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: transparent ButtonCell ? Date: Fri, 20 Sep 1996 02:35:35 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <324202F7.4819E8DC@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: mp Hallo, folks, is there anybody out there, who has an idea, if and how it may be possible to use ButtonCells, which have alpha in their icons, transparently, i.e. non-opaque pixels show the background. Thanks, Markus ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: housemary@aol.com (Nate Weaver) Newsgroups: comp.sys.next.programmer Subject: Help with PPP for 3.0 Date: 20 Sep 1996 10:13:33 GMT Organization: Poor Message-ID: <housemary-2009960511350001@xyplex3-5-10.ucs.indiana.edu> I am a NeXT newbie who needs help with getting PPP running on my slab. I have acquired ppp0.3 but the documentation is poor (to me anyways). If anybody can point me in the direction to a good FAQ (somebody told me they once saw step by step intructions in a FAQ somewhere), or help me directly, I would be greatly appreciative. Thanks, Nate -- "Love is a snowmobile racing across the tundra and then suddenly it flips over, pinning you underneath. At night, the ice weasels come."
From: Petr Novak <novak@microcomp.de> Newsgroups: comp.sys.next.programmer Subject: Master-detail Date: Fri, 20 Sep 1996 09:07:16 +0200 Organization: Microcomp GmbH , Cologne, Germany Message-ID: <324242A4.31D1@microcomp.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo , I have EOF problem under Openstep. When I connect 2 EOControllers in Interface Builder (master-detail), fetch in master doesn't select records in detail controller. Is it known bug or do I something wrong ? Thanks Petr Novak P.S. Is there some special newsgroup for discussing problems with conversion to Openstep ?
From: dave@Thomases.com (Dave Thomas) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: Can someone help with an inheritance puzzler? Date: 20 Sep 1996 13:25:23 GMT Organization: Thomas Consulting Message-ID: <slrn5456id.1jd.dave@Fast.thomases.com> References: <slrn53086d.hf7.davet@Fast.thomas.home> <50ps4l$kqe@news.onramp.net> <51k670$nbg@news.onramp.net> <slrn53vapu.8bb.ifeulner@xenon.cube.de> talking about class clusters... On 18 Sep 1996 07:56:46 GMT, Ingo Feulner <ifeulner@xenon.cube.de> wrote: > > But you've all the comfort that an object provides. For really per- > formance critical thinks switch to plain C. > There is always a cost, but I'll pay this for more comfort and > consistence > Consistence? That was my whole problem to start with! It isn't consistent at all if I ask NSString to allocate me a new object and I get back something totally spurious. It isn't consistent if the compiler lets me sub-class something (and the interfaces certainly lead me to believe I can) only to have it blow up at runtime because I've used an impostor. We aren't concerned with efficiency at this level. If we were, we'd write in assembler or C. We're concerned with expressive power, ease of development and ease of maintenance. I'm sorry - I'm new to all this, so I probably shouldn't be sounding off, but class clusters are ugly and dangerous. That's almost always the case when programmers try to do in source code what the compiler and runtime system should be doing internally. Dave -- _________________________________________________________________________ | Dave Thomas - Dave@Thomases.com - Unix and systems consultancy - Dallas | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: Markus Pilzecker <markus.pilzecker@rhein-neckar.netsurf.de> Newsgroups: comp.sys.next.programmer,de.comp.sys.next Subject: Re: transparent ButtonCell ? Date: Fri, 20 Sep 1996 13:16:03 +0000 Organization: GNI -- Internet fuer Odenwald, Rhein-Neckar, Karlsruhe, Kaiserslautern, Heilbronn und Pfaffenhofen Message-ID: <32429913.E4ED018@rhein-neckar.netsurf.de> References: <324202F7.4819E8DC@rhein-neckar.netsurf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry, my Netscape complained to be unable to deliver my posting, so I stopped and retried. I try to be more carefull next time. Bye, bye ------------------------------------------------------------------------------- Sackpost: Markus Pilzecker voice: +49 6251 39415 Am Wechsel 9a V34,V17: +49 6251 39575 D-64625 Bensheim email: markus.pilzecker@rhein-neckar.netsurf.de ------------------------------------------------------------------------------- This message is not licensed to be distributed over the Microsoft Network. Microsoft may buy a license to distribute this message over their network for 100 US$. Should anybody see this message on the MSN, then please send a small email to me and to postmaster@msn.com -------------------------------------------------------------------------------
From: kroussea@simplet6 (ROUSSEAU Karl) Newsgroups: comp.sys.next.programmer Subject: BUG in NeXT STEP 3.3 Application librarian help ?? Date: 20 Sep 1996 17:45:51 GMT Organization: Universite de La Rochelle Message-ID: <51ul8f$654@hpuniv.univ-lr.fr> Hi, I think this is not the first answer about this BUG but as I'm a beginner on NeXT programming, I'm asking you that. So when you launch Librarian and search for Application.rtf (Application Kit) you can find it but it contains the documentation for ActionCell !!!! If somebody know how to get an update (a patch), email me please. I want it for writing good applications ;) Best regards. NeXT rulez ;) KARL PS: if someone know where I can find NeXT stuff near FRANCE (mirror site) I would appreciate ;) ftp.informatik.uni-muenchen.de is too slow here :( Don't hesite to write me by Email. s too slow here :( Don't hesite to write me by Email. _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ ROUSSEAU Karl Student IUP3 (Institut Universitaire Professionalise) IUP Genie Mathematique & Informatique de LA ROCHELLE Email : kroussea@srvetud.univ-lr.fr NeXT & Mime Mail Ok Homep : http://srvetud.univ-lr.fr:1024/~kroussea _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
From: mpaque@pacbell.net (Mike Paquette) Newsgroups: comp.sys.next.programmer Subject: Re: A rubix Cube in Pascal...HELP!!!! Date: Fri, 20 Sep 1996 23:28:15 GMT Organization: Electronics Service, Unit No. 16 Message-ID: <51v9fv$nd3@news2.snfc21.pacbell.net> References: <Pine.NXT.3.95.960914005601.6904F-100000@charisma> <MmCho3u00WBO8141Av@andrew.cmu.edu> <51pn2q$4l7@dfw-ixnews10.ix.netcom.com> johnyreb@ix.netcom.com(Richard Elbert Davis) wrote: >hello, > In pascal class right now i have to make a Rubix cube with >multi-dimensional arrays. Anyone have a sample of a prog I could use. >Its got me stumped. Thanks alot Well, a Rubic's Cube is a cube with a 3x3 array of colors for each face, so the obvious internal representation would be to use a 8x3x3 array. The cube is logically divided into three planes perpendicular to each axis, with each plane capable of being rotated in 90 degree intervals. The decomposition is intuitively obvious even to the most casual observer. You'll need a way to initialize the state of the cube, methods or functions to select and rotate each plane, and a mechanism to report the current state. I'd use a set of NSArrays holding NSColors to initialize and report the state, or you might want ot consider using an NSEnumerator to dump the state out. A single rotate: method with the obvious parameterization should suffice for manupulating the state. Then again, perhaps it's not too late for you to put in a 'drop' card for the course. Ah, fall comes to USENET, and the smell of CS101 students is in the air... Mike Paquette -- I don't speak for my employer, and they don't speak for me. mpaque@pacbell.net
From: killeri@sun2.ruf.uni-freiburg.de (Ivo Killer) Newsgroups: comp.sys.next.programmer Subject: Re: NeXT-Intel PPro Configuratn: Hilfe! Date: 22 Sep 1996 10:25:01 GMT Organization: Rechenzentrum der Universitaet Freiburg, Germany Message-ID: <52345t$mfe@n.ruf.uni-freiburg.de> References: <5210dc$gcj@n.ruf.uni-freiburg.de> sorry for wasting your time, the article should have gone to the german next newsgroup... -ivo -- Ivo Killer, <killeri@ruf.uni-freiburg.de>
From: frank@cobra.smart.net (Frank Cobia) Sender: frank@cobra.smart.net (Frank Cobia) Newsgroups: comp.sys.next.programmer Date: 21 Sep 96 12:21:12 GMT Subject: cmsg cancel <5228sa$9ci@news.smart.net> Organization: Smartnet Internet Services [via news] Control: cancel <5228sa$9ci@news.smart.net> Message-ID: <cancel.5228sa$9ci@news.smart.net> These cancels are issued as a service to the Internet providers not wishing to carry articles from computer geeks and eggheads. Sites that do not wish to take advantage of this free service can easily can opt out of these cancels by "aliasing out" the geekcancel pseudosite.
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: Can someone help with an inheritance puzzler? Date: 19 Sep 1996 14:35:52 GMT Organization: Genoa Software Systems Message-ID: <51rlo8$91k@saturn.genoa.com> References: <slrn53086d.hf7.davet@Fast.thomas.home> <50ps4l$kqe@news.onramp.net> <51k670$nbg@news.onramp.net> <slrn53vapu.8bb.ifeulner@xenon.cube.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ifeulner@xenon.cube.de Steve Dekorte wrote: >>> Unfortunately objectAtIndex: is the method you'll >>> probably be calling most in performance critical code. Alex Blakemore wrote: >> Why is this unfortunate with respect to performance? >> Since objectAtIndex: is provided by your concrete subclass, >> you have complete control to make it as fast [or slow] as possible. Steve Dekorte wrote: > It still involves an extra method call. NeXT describes two ways to add a concrete subclass to a class cluster. They call them true subclasses, and composite objects [subclasses]. True subclasses provide their own storage. Composite objects embed an instance of the original superclass as an ivar. If you provide a true subclass of NSArray, then calling objectAtIndex: does NOT need to involve any other method calls. It can be even faster than the original, as in the month name example you posted. If instead your subclass is of the composite variety, there will be some overhead added to operations, but I'd make sure its significant before getting too upset. The whole design tradeoff with Objective-C is to trade some reasonable amount of performance, to receive much greater flexibility, and economy. Its usually worth it. Your point would be a lot stronger with some measurements behind it. Its amazing how often the real performance bottlenecks are completely different from where you'd expect. P.S. If your code calls objectAtIndex: more than once per loop iteration, then you'd be better off optimizing that than objectAtIndex: itself. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: "Stephen R. Anderson" <anderson@sapir.ling.yale.edu> Newsgroups: comp.sys.next.programmer Subject: Compiling emacs-4.2beta4 on OS 4.0 Date: 22 Sep 1996 02:10:54 GMT Organization: Dept. of Linguistics, Yale University Message-ID: <52277e$5rt@news.ycc.yale.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Has anyone managed to build the most recent version of emacs under OpenStep 4.0? Since I hadn't heard any horror stories, I assumed I'd be able to do that, and upgraded my machine from 3.3 to 4.0.....and now I can't rebuild emacs, and the 3.3 version dies on about every tenth keystroke. The first problem I encountered was the fact that various 3.3 headers aren't where they were expected. I managed to get the various NeXT-specific files to compile by adding another include (to get the 3.3 compatibility files) to the Makefile. But then the loader fails: /bin/ld: can't locate file for: -lNeXT_s What to do? I can't believe no one with 4.0 has tried to build emacs for it..... I tried messages to the emacs-for-ns-users list, but no answer yet, and I'm kind of desperate to get emacs back up. --Steve Anderson <anderson@sapir.ling.yale.edu>
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: How to move a subview within its superview ? Date: 22 Sep 1996 13:27:07 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <523erb$mf@bignews.shef.ac.uk> Hi there, Recently I have asked a question on creating subviews without using interface builder. Thank to everyone who has given me advice and suggestions. I have managed to make the creation of subviews works and would like to ask a few more questions about moving subviews within the superview. I have written some extra code and wish to move each individual subview within the superview. However, the code I added can only allow me 1. to move the very first subview I created but not those subsequent subviews, 2. to move the first subview from where it original created location. i.e., After I has moved the first subview and release my mouse (mouse_up), the subview cannot be moved from where it is now, I have to move my mouse to where it is first located and then I can move it again. This means that the cursor is not fall within the subview (This seems like I have only moved the image of that subview but not its instance variable "frame" and "bounds".) I have tried to use the debugger to see what the value of "frame" and "bounds" are, unfortunately, everytime I do it, the application went off without reason, I do not know what has happened to my debugger ? Listed are the user interface of the program and the source code. Is there anybody can tell me why the above situations can happen ? ---------------------------------------------------------------------------- | Test Program | |--------------------------------------------------------------------------| | | | | | ---------- ----------------------------------------------------- | | | | | | | | | Button | | | | | | | | | | | | | | MySuperView | | | ---------- | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------------------------------- | | | | | | | ---------------------------------------------------------------------------- ------------------------------------------------------------------- #import <appkit/appkit.h> @interface MySubView:View { } - drawSelf: (const NXRect *)rects :(int) count; - (BOOL)hit:(const NXPoint *)p; @end ------------------------------------------------------------------- #import "MySubView.h" @implementation MySubView - drawSelf: (const NXRect *)rects :(int) count { PSsetgray(NX_WHITE); NXRectFill(&bounds); PSsetalpha(1.0); PSsetgray(NX_BLACK); NXFrameRect(&rects[0]); return self; } - (BOOL)hit:(const NXPoint *)p { return (NXMouseInRect(p, &bounds, NO)); } @end ------------------------------------------------------------------- #import <appkit/appkit.h> #import "MySubView.h" @interface MySuperView:View { int offSet; } - buttonClicked:sender; - drawSelf: (const NXRect *)rects :(int) count; @end ------------------------------------------------------------------- #import "MySuperView.h" @implementation MySuperView - buttonClicked:sender { NXRect rect; id newSubView; [self getFrame: &rect]; rect.size.width = 20; rect.size.height = 10; rect.origin.x = offSet; rect.origin.y = offSet; newSubView = [[ MySubView alloc] initFrame:&rect]; [self addSubview: newSubView]; /* will the above two lines of codes create "Autonomous" subviews ??? */ [self display]; offSet = offSet + 15; return self; } - drawSelf: (const NXRect *)rects :(int) count { PSsetgray(NX_BLACK); NXRectFill(&bounds); return self; } - mouseDown:(NXEvent *)thisEvent { int shouldLoop = YES; int oldMask; NXEvent *nextEvent; NXPoint oldPoint, newPoint; id selview = nil; BOOL getit = FALSE; int i; double dx,dy; if ([window firstResponder] != self) { [window makeFirstResponder:self]; } oldMask = [window addToEventMask:NX_LMOUSEDRAGGEDMASK]; oldPoint = thisEvent->location; [self convertPoint: &oldPoint fromView: nil]; i = 0; while (!getit && (i < [subviews count])) { selview = [subviews objectAt:i++]; getit = [selview hit:&oldPoint]; } if (getit) { while (shouldLoop) { nextEvent = [NXApp getNextEvent:(NX_LMOUSEUPMASK | NX_LMOUSEDRAGGEDMASK)]; switch (nextEvent->type) { case NX_LMOUSEUP: shouldLoop = NO; break; case NX_LMOUSEDRAGGED: newPoint = nextEvent->location; [self convertPoint: &newPoint fromView: nil]; dx = newPoint.x - oldPoint.x; dy = newPoint.y - oldPoint.y; [selview moveBy: dx : dy]; [superview display]; break; } oldPoint = newPoint; } } [window setEventMask:oldMask]; return(self); } @end ------------------------------------------------------------------- Thanks in advance. c.Yap
Newsgroups: comp.sys.next.programmer From: Matt Jurcich <invisix@goldengate.net> Subject: Re: Help with PPP for 3.0 Message-ID: <32444B2F.773C@goldengate.net> Date: Sat, 21 Sep 1996 13:08:15 -0700 References: <housemary-2009960511350001@xyplex3-5-10.ucs.indiana.edu> Organization: transwarp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Nate Weaver wrote: > > I am a NeXT newbie who needs help with getting PPP running on my slab. > > I have acquired ppp0.3 but the documentation is poor (to me anyways). > > If anybody can point me in the direction to a good FAQ (somebody told > me they once saw step by step intructions in a FAQ somewhere), or help > me directly, I would be greatly appreciative. > Well, there's the PPP-2.2 for NeXTSTEP FAQ, http://www..thoughtport.com:8080/PPP/NeXT_PPP_FAQ.html ... Not sure if that's what you're looking for, but you can be the judge of that. > "Love is a snowmobile racing across the tundra and then suddenly it flips over, pinning you underneath. At night, the ice weasels come." > That's pretty funny. Anyway, later. -- // matt jurcich // transwarp // mailto:invisix@goldengate.net // \\ Silicon Graphics \\ Compaq \\ Novell \\ Netscape \\ NEC \\ // http://www.goldengate.net/~invisix // Redistribution of this message via the Microsoft Network is prohibited
From: "Stephen R. Anderson" <anderson@sapir.ling.yale.edu> Sender: "Stephen R. Anderson" <anderson@sapir.ling.yale.edu> Newsgroups: comp.sys.next.programmer Date: 21 Sep 96 12:21:12 GMT Subject: cmsg cancel <52277e$5rt@news.ycc.yale.edu> Organization: Dept. of Linguistics, Yale University Control: cancel <52277e$5rt@news.ycc.yale.edu> Message-ID: <cancel.52277e$5rt@news.ycc.yale.edu> These cancels are issued as a service to the Internet providers not wishing to carry articles from computer geeks and eggheads. Sites that do not wish to take advantage of this free service can easily can opt out of these cancels by "aliasing out" the geekcancel pseudosite.
From: pete@ohm.york.ac.uk (-bat.) Newsgroups: comp.sys.next.programmer Subject: Re: Compiling emacs-4.2beta4 on OS 4.0 Date: 23 Sep 1996 10:54:15 GMT Organization: The University of York, UK Message-ID: <525q8n$6kp@netty.york.ac.uk> References: <52277e$5rt@news.ycc.yale.edu> > The first problem I encountered was the fact that various 3.3 > headers aren't where they were expected. I managed to get the > various NeXT-specific files to compile by adding another > include (to get the 3.3 compatibility files) to the Makefile. > But then the loader fails: > > /bin/ld: can't locate file for: -lNeXT_s Hmmm - I've not done emacs, but I've done a lot of other command-line type stuff recently. It's won't work if you just point it at the 3.3 compatibility headers... what you need to do it to run the conversions scripts on the code. #!/bin/sh PATH=$PATH:/NextDeveloper/OpenStepConversion/UtilityScripts/shellscripts FILES= *.[chm] convert -preprocess $FILES convert -makescripts $FILES convert -all $FILES Then instead of the -lNeXT_s you add -framework AppKit which causes the appkit framework to be linked in. You may find that you get loads of errors when runnign the code due to the new autorelease stuff if you do this, buit at least it'll work. You can get round the autorelease stuff by creating an instance of NSAutoreleasePool right at the start of main, but if you don't send it release methodfs every so foten then I guess it'll cause horrible memory leaks. -bat. PS: I never would have managed the above without the help of $an who's got a lot more experience of this stuff than I have.
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: Re: How to move a subview within its superview ? Date: 23 Sep 1996 12:53:00 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <52617c$453@bignews.shef.ac.uk> References: <523erb$mf@bignews.shef.ac.uk> Chih Nam Yap (cnyap@dcs.shef.ac.uk) wrote: : Hi there, : Recently I have asked a question on creating subviews without using interface builder. : Thank to everyone who has given me advice and suggestions. I have managed to make the : creation of subviews works and would like to ask a few more questions about moving : subviews within the superview. I have solved the problem ! I changed the code from return (NXMouseInRect(p, &bounds, NO)); to return (NXMouseInRect(p, &frame, NO));
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer,misc.jobs.offered,misc.jobs.contract Subject: NEXTSTEP/Contract-Long & Short Term/Va & ILL Date: 23 Sep 1996 19:47:07 GMT Organization: Norden 1 Communications Message-ID: <526pfs$mq@tofu.alt.net> NEXTSTEP Objective C EOF---A Plus Contracts---Long & Short Term Areas----Va & ILL Commercial experience required Must Be --US Citizen or Greencard 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: randyj@lubra.sbs.ohio-state.edu (Randy Jackson) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: c++ help needed Date: 23 Sep 1996 19:06:28 GMT Organization: The Ohio State University Message-ID: <526n3k$7ci@charm.magnus.acs.ohio-state.edu> I have a C++ program I am trying to run with NS3.3 with the developer patch installed. When I make, I get the following: lubra> make cc -Wall -O -c sim.cc cc -Wall -O -c input.cc cc -Wall -O -c nrutils.cc cc -Wall -O -c initdata.cc cc -Wall -O -c rn.cc cc -Wall -O -c rfd.cc cc -Wall -O -c ry.cc cc -Wall -O -c rpop.cc cc -Wall -O -c rconout.cc cc -Wall -O -c west.cc cc -Wall -O -c wrap.cc cc -Wall -O -o model sim.o input.o nrutils.o initdata.o rn.o rfd.o ry.o rpop.o rconout.o west.o wrap.o -lg++ ld: Undefined symbols: __vt$3ios __vt$istream$3ios __vt$8ifstream$3ios *** Exit 1 Stop. lubra> my makefile load statement is: model: sim.o input.o nrutils.o initdata.o rn.o rfd.o ry.o rpop.o rconout.o west.o wrap.o sim.h cc -Wall -O -o model sim.o input.o nrutils.o initdata.o rn.o rfd.o ry.o rpop.o rconout.o west.o wrap.o -lg++ Meanwhile, I can compile and link a simple test program that reads from a file and writes to a file, using ios::in (which is used in the problem program also), using cc -Wall test.cc nrutils.cc -lg++. In the problem program, I do little more with io states than use ios::in and << and >> operators. I'm baffled Any help will be appreciated. -- Randy Jackson, Associate Professor ,_ o __o Geography, The Ohio State University / //\, _`\<,_ 1036 Derby Hall, 154 North Oval Mall \>> | (*)/ (*) Columbus OH 43210-1361 \\, FAX (614) 292 6213 randyj@lubra.sbs.ohio-state.edu
From: randyj@lubra.sbs.ohio-state.edu (Randy Jackson) Newsgroups: comp.sys.next.sysadmin,comp.sys.next.programmer Subject: Re: c++ help needed Date: 23 Sep 1996 19:57:10 GMT Organization: The Ohio State University Message-ID: <526q2m$80r@charm.magnus.acs.ohio-state.edu> References: <526n3k$7ci@charm.magnus.acs.ohio-state.edu> In-Reply-To: <526n3k$7ci@charm.magnus.acs.ohio-state.edu> On 09/23/96, Randy Jackson wrote: >I have a C++ program I am trying to run with NS3.3 with the developer patch >installed. When I make, I get the following: + It might also help to know that this program runs without problem on a NS3.3 for intel with the unpatched developer package. The problem machine is also Intel. Randy >-- > Randy Jackson, Associate Professor ,_ o > __o Geography, The Ohio State University / //\, > _`\<,_ 1036 Derby Hall, 154 North Oval Mall \>> | >(*)/ (*) Columbus OH 43210-1361 \\, > FAX (614) 292 6213 randyj@lubra.sbs.ohio-state.edu > -- Randy Jackson, Associate Professor ,_ o __o Geography, The Ohio State University / //\, _`\<,_ 1036 Derby Hall, 154 North Oval Mall \>> | (*)/ (*) Columbus OH 43210-1361 \\, FAX (614) 292 6213 randyj@lubra.sbs.ohio-state.edu
From: frank@cobra.smart.net (Frank Cobia) Newsgroups: comp.sys.next.programmer Subject: Debugging Libraries in OPENSTEP Date: 22 Sep 1996 02:39:06 GMT Organization: Smartnet Internet Services [via news] Message-ID: <R.5228sa$9ci@news.smart.net> Reposting article removed by rogue canceller. Has anyone had much luck with debugging libraries in NeXTSTEP 4.0. I have done as the documentation says. I launch the GDB window for the library, set the executable to some program that calls the library and I also add the directory of the executable. When I try to debug, GDB never finds the source for either the library or the program. Consequently, I can not set breakpoints or the breakpoints are marked as "unloaded" or defered. In either case the breakpoints never work. Thanks Frank
From: headi@now.ch (Daniel Scheidegger) Newsgroups: comp.sys.next.programmer Subject: Converting DPSAddFD() to OpenStep 4.0? Date: Mon, 23 Sep 1996 14:09:08 GMT Organization: NOW GmbH, Zuerich, Switzerland Message-ID: <Dy6vB8.1CB.0.astra@now.ch> Hi all, does anybody have an idea how to convert calls of DPSAddFD() to OS4.0? The ConversionGuide mentions NSRunLoop's addPosixFileDescriptor, which does only exist in the Conversion Frameworks. I needed the DPSAddFD to have asynchronous input from TCP/IP sockets... Any help is greatly appreciated Daniel -- Daniel Scheidegger Software Engineer, System Administrator NOW GmbH, Scheideggstr. 73, CH-8038 Zuerich ++41-1-2898025 / dscheide@now.ch
From: Donald Eaves <dse@nglobe1.ho.att.com> Newsgroups: comp.sys.next.programmer Subject: OPENSTEP version of Subprocess Date: Mon, 23 Sep 1996 21:03:53 -0400 Organization: AT&T Labs Message-ID: <32473379.550A@nglobe1.ho.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Does anyone know of an OPENSTEP version of the Subprocess class? I noticed a version in the Misckit for which the conversion scripts had been run against, but the incompatibilities were not fixed. Thanks, Don
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.lang.objective-c,comp.sys.next.programmer Subject: Re: Can someone help with an inheritance puzzler? Date: 23 Sep 1996 21:18:42 GMT Organization: OnRamp Technologies; ISP; Dallas/Ft Worth/Houston, TX USA Message-ID: <526uri$dh7@news.onramp.net> References: <slrn53086d.hf7.davet@Fast.thomas.home> <50ps4l$kqe@news.onramp.net> <51k670$nbg@news.onramp.net> <slrn53vapu.8bb.ifeulner@xenon.cube.de> <51rlo8$91k@saturn.genoa.com> Cc: alex@genoa.com Alex Blakemore wrote: > Your point would be a lot stronger with some measurements behind it. > Its amazing how often the real performance bottlenecks are completely > different from where you'd expect. Actually it's the ugly design and not the performance that bugs me. But performance rhetoric is usually more persuasive, since design remains something on which only intuition can currently decide. -- Steve Dekorte - OpenStep Developer - Anaheim, CA "Fundamentalism isn't about religion. It's about power." - S. Rushdie
From: giammarc@cs.unibo.it (Mario Giammarco) Newsgroups: comp.sys.next.programmer Subject: Book for nextstep3.3 Date: 23 Sep 1996 22:48:02 GMT Organization: Department of Computer Science, University of Bologna, Italy Message-ID: <527432$q62@sirio.cineca.it> Hello to everyone, I have read FAQ and I have read news; I have found some good books on Nextstep (Alex, Garfinekl, etc.) but I miss a point: there is some book specific to the 3.3 version of Nextstep? Reply and hints please to giammarc@cs.unibo.it Thank You in advance -- Mario Giammarco, via Calamandrei 5, 48022 Lugo (RA) ITALY Tel. 0545/22965 giammarc@cs.unibo.it
From: "Stephen R. Anderson" <anderson@sapir.ling.yale.edu> Newsgroups: comp.sys.next.programmer Subject: Compiling emacs-4.2beta4 on OS 4.0 Date: 22 Sep 1996 02:10:54 GMT Organization: Dept. of Linguistics, Yale University Message-ID: <R.52277e$5rt@news.ycc.yale.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reposting article removed by rogue canceller. Has anyone managed to build the most recent version of emacs under OpenStep 4.0? Since I hadn't heard any horror stories, I assumed I'd be able to do that, and upgraded my machine from 3.3 to 4.0.....and now I can't rebuild emacs, and the 3.3 version dies on about every tenth keystroke. The first problem I encountered was the fact that various 3.3 headers aren't where they were expected. I managed to get the various NeXT-specific files to compile by adding another include (to get the 3.3 compatibility files) to the Makefile. But then the loader fails: /bin/ld: can't locate file for: -lNeXT_s What to do? I can't believe no one with 4.0 has tried to build emacs for it..... I tried messages to the emacs-for-ns-users list, but no answer yet, and I'm kind of desperate to get emacs back up. --Steve Anderson <anderson@sapir.ling.yale.edu>
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.sys.next.programmer Subject: Re: Debugging Libraries in OPENSTEP Date: 24 Sep 1996 01:40:57 GMT Organization: OnRamp Technologies; ISP; Dallas/Ft Worth/Houston, TX USA Message-ID: <527e79$leg@news.onramp.net> References: <R.5228sa$9ci@news.smart.net> Cc: frank@cobra.smart.net Frank Cobia wrote: > Has anyone had much luck with debugging libraries in NeXTSTEP 4.0. I have > done as the documentation says... I'm doing the same thing and it works for me. Do you compile your libs with the -g option and are you using ProjectBuilder? -- Steve Dekorte - OpenStep Developer - Anaheim, CA "Fundamentalism isn't about religion. It's about power." - S. Rushdie
From: sanguish@digifix.com (Scott Anguish) Newsgroups: comp.sys.next.programmer Subject: Re: OPENSTEP version of Subprocess Date: 24 Sep 1996 02:47:59 GMT Organization: Digital Fix Development Message-ID: <527i4v$2so@news.digifix.com> References: <32473379.550A@nglobe1.ho.att.com> In-Reply-To: <32473379.550A@nglobe1.ho.att.com> On 09/23/96, Donald Eaves wrote: >Does anyone know of an OPENSTEP version of the Subprocess class? I >noticed a version in the Misckit for which the conversion >scripts had been run against, but the incompatibilities were not >fixed. > >Thanks, >Don > I did this last week, although I've not had the chance to test it yet. I guess I didn't OpenStep it, so much as I Foundationalized it. The changes were pretty trivial, and you are welcome to them especially if you let me know if it works! Email me for the code -- Scott Anguish DBS Online - http://www.dbs-online.com/DBS sanguish@digifix.com Stepwise OpenStep WWW - http://www.stepwise.com
From: jeff@tiag.com Newsgroups: comp.sys.next.programmer Subject: Rulebooks in Openstep 4.0 Date: 24 Sep 1996 13:47:12 GMT Organization: Told in a Garden Message-ID: <528op0$mln@noc1.biddeford.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello, I've read as much as I can find about how Openstep 4.0 for Mach handles glyphs and characters with the NSLayoutManager etc... But I don't think the Rulebooks/ (found in NextLibrary/) are currently documented anywhere. Am I correct or incorrect in thinking one should be able to create custom rulebooks for mapping glyphs from third party 8-bit fonts into their proper place in the Unicode 16-bit world so that if we are working with a file in, for example, TextEdit, and open it as "Unicode" encoding, we would see our glyphs from our own fonts mapped to Unicode space and displayed in NSTextView properly? The usefulness of this would be if you had your own fonts that had nice Math glyphs or other foreign language character sets and wanted them to start showing up in Unicode 16-bit files... It seems the Rulebooks/ are just screaming for a nice GUI app to create and edit them.... Does anybody know of any extra docs on the Rulebooks/ ? Are they taken from any other OS's system for handling 16-bit characters and glyphs? Thanks Jeff Jeff Adams jeff@tiag.com
From: 1kyriaki@swt1.informatik.uni-hamburg.de (Valentino Kyriakides) Newsgroups: comp.sys.next.programmer Subject: Help: lost in streams... Date: 24 Sep 1996 15:07:16 GMT Organization: University of Hamburg -- Germany Message-ID: <528tf4$2ut@rzsun02.rrz.uni-hamburg.de> Can somebody give me a hint with the following problem? I have two text scrollViews (say 'tex1' and 'text2') which contain formated text with various embeded graphics. I can save the contents of those in a serialized stream with [text1 writeRTFDTo: aStream]; [text2 writeRTFDTo: aStream]; however, if I try to load their saved contents back into the views with [text1 readRTFDFrom: aStream]; [text2 readRTFDFrom: aStream]; only the first text scrollView "text1" will show up his contents. Now if I use both scrollViews without graphics (graphics disabled) and save/load them to a stream as plain RichText [text1 writeRichText: aStream]; [text2 writeRichText: aStream]; ... [text1 readRichText: aStream]; [text2 readRichText: aStream]; it works fine, both views show their previously saved contents. It seems that plain RTF can be written and read continously in/from streams, where this isn't possible with RTFD! Now what's the correct way to save/load the contents of multiple textviews by using one stream into a file? Can this be done with NXStreams, or do I have to use TypedStreams and how has it to be done??? Thanks in advance Valentino -- Valentino Kyriakides Email: 1kyriaki@informatik.uni-hamburg.de
From: ehutch@hypnos.norden1.com (E. Hutchinson) Newsgroups: comp.sys.next.programmer,misc.jobs.contract,us.jobs.contract Subject: NEXTSTEP/Contract-Long term/Va Date: 24 Sep 1996 18:29:24 GMT Organization: Norden 1 Communications Message-ID: <5299a4$8hn@tofu.alt.net> Programmer/analyst/developer NEXTSTEP Objective C EOF---------A Plus Contract---Long term Area-------Virginia Start------October 1996 Must be----US Citizen or Greencard 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: "Stephen" <stephen@spots.ab.ca> Newsgroups: comp.sys.next.programmer Subject: JOB EMPLOYMENT for Game Programmer, Utility Programmer for Nintendo 64 and Sony Playstation Date: 24 Sep 1996 19:27:01 GMT Organization: xxx Message-ID: <529cm5$a2u@nr1.vancouver.istar.net> Looking for employment in the video-game industry? If so, and would like to join a team of individuals creating the coolest games, drop me some e-mail. If it doesn't interest you, though know of someone who is talented and wants to get in this industry, were offering a $500 finders fee for people we bring on board! The positions we have open are listed below. Pixelplay Interactive Inc. develops video-games for the next generation game consoles (Nintendo 64,Sony Playstation, etc.) Game Programmer: C, C++, Open GL, Assembly an asset. Will be responsible for programming on next generation game console hardware (Nintendo 64, Sony PSX, etc.). An Ability to learn new hardware extremely quick. A good understanding of the latest 3-D geometry techniques (Z-Buffering, Clipping, UV's texture mapping, etc.) Experience with game programming techniques, Audio, Artificial Intelligence, etc. with the ability to combine these routines together to form a game. Will be working on Silicon Graphics platforms. Utility Programmer: C, C++, Open GL and Motif a must. Will be working on API's for the latest high end graphic software (Alias/Wavefront, Softimage, etc.). Will need a strong understanding of 3-D geometry. Will program 3-D and Motion translators and in-house development programs. Will be working on Silicon Graphics and Alpha NT platforms. The final requirement is, not only do you like to play games but you love to make them! I would like to know which games you like to play. Please send your resume to stephen@spots.ab.ca All the best, Stephen Shatford President Pixelplay Interactive Inc.
From: Eric Jenkinson <ejenkins@mail.cswnet.com> Newsgroups: comp.sys.next.programmer Subject: New to NEXTSTEP Programming Date: Tue, 24 Sep 1996 22:22:29 -0500 Organization: Source Communications Message-ID: <3248A575.5CFC@mail.cswnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am new to the NEXTSTEP Operating system and need a nudge or kick in the right direction. I have NEXTSTEP 3.3 and Developer for Intel Processors. I tried the cc compiler to compile a simple hello world program in C++. #include <iostream.h> void main () { cout << "Hello!" << endl; } saved the file as hello.C I then executed the cc compiler and recieved the following errors. hello.C 4: warning: return type for 'main' changed to integer type ld: Undefinded symbols ostream::operator<<(char const * ) ostream::operator<<(ostream &(*)(ostream &)) cout endl(ostream &) Tryed a simular program in written in C instead #include <stdio.h> void main () { printf("Hello\n"); } saved the file a hello.c, compiled and executed with no errors. Is there something that Iam missing or not doing for the C++ program? Thank you in advance for your help. Eric Jenkinson ejenkins@cswnet.com Russellville, Arkansas
From: Mario Pacheco <pacheco@ix.netcom.com> Newsgroups: comp.sys.next.programmer Subject: GUI Front end for gdb? Date: Tue, 24 Sep 1996 23:54:19 -0700 Organization: Netcom Message-ID: <3248D71B.3CDE@ix.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Has anyone bothered writing a front end to gdb? I'm new to UNIX and NeXTSTEP, but I do know that through pseudo-terminals an X-Windows UI was written for gdb (xxgdb). My question is, has someone bothered doing the same for NeXTSTEP? Most of my experience is under NT and I'm used to having some sort of GUI when debugging. I was quite surprised to find that a UI hadn't been put up for gdb under NeXTSTEP (environment that comes out of the box). If you know of a sight where I can find such a front end, let me know. Thanks, Mario Pacheco PS: Is there anything about NeXTSTEP that would be prohibitive in porting the xxgdb source?
From: Bernhard Scholz <scholz@informatik.tu-muenchen.de> Newsgroups: comp.sys.next.programmer Subject: Re: GUI Front end for gdb? Date: Wed, 25 Sep 1996 11:22:08 +0200 Organization: Technische Universitaet Muenchen, Germany Distribution: world Message-ID: <Pine.HPP.3.95.960925112021.18580B-100000@hphalle0.informatik.tu-muenchen.de> References: <3248D71B.3CDE@ix.netcom.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <3248D71B.3CDE@ix.netcom.com> On Tue, 24 Sep 1996, Mario Pacheco wrote: > If you know of a sight where I can find such a front end, let me know. > Under NS3.3 the GUI is reachable through Edit.app _if_ the application is run using gdb. Either by typing the command in a Terminal window, or by usings PB's Debug button. In OS4.0 the GUI is integrated as a separate thread in the PB environment. Greetings, Bernhard.
From: krueger@bradley.dbag.ulm.DaimlerBenz.COM (Lars Krueger) Newsgroups: comp.sys.next.programmer Subject: Re: New to NEXTSTEP Programming Date: 25 Sep 1996 09:39:55 GMT Organization: debis Network Services GmbH Message-ID: <52aulb$rcd@news.sns-felb.debis.de> References: <3248A575.5CFC@mail.cswnet.com> Cc: ejenkins@mail.cswnet.com In <3248A575.5CFC@mail.cswnet.com> Eric Jenkinson wrote: > I am new to the NEXTSTEP Operating system and need a nudge or kick in the right > direction. I have NEXTSTEP 3.3 and Developer for Intel Processors. > > I tried the cc compiler to compile a simple hello world program in C++. > > #include <iostream.h> > > void main () int main() would be better, to avoid the warning and to make this program giving a result. > { > cout << "Hello!" << endl; > } > > saved the file as hello.C The usual extension for c++ programs is cc or cpp. If you name the file *.cc cc can find out that you want to compile a c++ program. Maybe that's the problem. The linker error ( "ld: ..." ) shows that the standard c++ library is not linked. First try the .cc extension then to put the -l switch with the correct library name in the makefile. > > I then executed the cc compiler and recieved the following errors. > > hello.C 4: warning: return type for 'main' changed to integer type > ld: Undefinded symbols > ostream::operator<<(char const * ) > ostream::operator<<(ostream &(*)(ostream &)) > cout > endl(ostream &) [snip] Hope this helps -- Lars Krueger mailto:ai108@rz.tu-ilmenau.de mailto:krueger@dbag.ulm.daimlerbenz.com URL: http://www.rz.tu-ilmenau.de/~ai108
From: embuck@palmer.cca.rockwell.com (Erik M. Buck) Newsgroups: comp.sys.next.programmer Subject: Re: JOB EMPLOYMENT for Game Programmer, Utility Programmer for Nintendo 64 and Sony Playstation Date: 24 Sep 1996 22:28:48 GMT Organization: Rockwell Avionics - Collins Message-ID: <529nb0$6v0@castor.cca.rockwell.com> References: <529cm5$a2u@nr1.vancouver.istar.net> EMB & Assoc. is also hiring game programmers and artists. We are particularly interested in candidates with NeXTstep experience. If you would like to live in a community with the following: the nation's best public schools all of the amenities of a big city a small town atmosphere the nation's lowest crime rate scenic rolling hills old growth oak forests Contact EMB & Assoc. fax (319) 294-0146
From: Georg Tuparev <georg_tuparev@ctp.com> Newsgroups: comp.sys.next.programmer Subject: Re: New to NEXTSTEP Programming Date: Wed, 25 Sep 1996 12:07:02 +0200 Organization: Cambridge Technology Partners Message-ID: <32490446.1DE8@ctp.com> References: <3248A575.5CFC@mail.cswnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Eric Jenkinson wrote: > I then executed the cc compiler and recieved the following errors. > > hello.C 4: warning: return type for 'main' changed to integer type > ld: Undefinded symbols > ostream::operator<<(char const * ) > ostream::operator<<(ostream &(*)(ostream &)) > cout > endl(ostream &) You should link your program with the C++ library (libg++). This should be includet in a FAQ.... -- Georg Tuparev Cambridge Technology Partners - BeNeLux Apollolaan 15, 1077 Amsterdam, The Netherlands Phone: +31 -(0)20 - 5750492 E-mail: Georg_Tuparev@ctp.com
From: Jean Philippe VIEGAS <viegas@aar.alcatel-alsthom.fr> Newsgroups: comp.sys.next.programmer Subject: Re: New to NEXTSTEP Programming Date: Wed, 25 Sep 1996 13:22:06 +0200 Organization: alcatel alsthom recherche Message-ID: <324915DE.15FB7483@aar.alcatel-alsthom.fr> References: <3248A575.5CFC@mail.cswnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, Eric Jenkinson wrote: > I have NEXTSTEP 3.3 and Developer for Intel Processors. > I use the same version on the same plateform > I tried the cc compiler to compile a simple hello world program in C++. > > #include <iostream.h> > > void main () > { > cout << "Hello!" << endl; > } > > saved the file as hello.C > > I then executed the cc compiler and recieved the following errors. > > hello.C 4: warning: return type for 'main' changed to integer type > ld: Undefinded symbols > ostream::operator<<(char const * ) > ostream::operator<<(ostream &(*)(ostream &)) > cout > endl(ostream &) > Well I think it's because you put "Hello!" instead of "Hello world !" after the cout.:-) More seriously, I think it's because the language used in NextStep application is Objective-C, another object-oriented language issued from C. You can write only C, that's why your C program works but not C++. I don't know if there is a C++ compiler for NextStep. Don't worry it's a very good language, better than C++(for me). Hope it's ok for your problem... -- ------------------------------------------------------ Jean Philippe VIEGAS alcatel alsthom recherche viegas@aar.alcatel-alsthom.fr ------------------------------------------------------
From: etienne@jupiter.univ-lr.fr (Etienne Gourdon) Newsgroups: comp.sys.next.programmer Subject: How to merge 2 Apps in one ? Date: 25 Sep 1996 12:00:51 GMT Organization: Universite de La Rochelle Message-ID: <52b6tj$rcn@hpuniv.univ-lr.fr> Hi everybody I want to "merge" 2 EOF applications in one. Both are working on the same EOF tables but with different relationships and flatten properties. I tryed to do it with the loadNibSection method, but I get the following errors: "Unable to create data source" for all EOF entities. It seems to be possible with Dynamically Loadable Classes But can someone tell me how to do it in a simple way (if it's possible) Thanks --------------------------------------------------------------- etienne@cri.univ-lr.fr (NeXT/MIME-mail are welcome !) ---------------------------------------------------------------
From: pjrose@pelican-consultants.co.uk (Paul J Rose) Newsgroups: comp.sys.next.programmer Subject: TOP JOBS AVAILABLE Date: Wed, 25 Sep 1996 13:39:34 GMT Organization: .netkonect (customer account) Message-ID: <52bcsm$4sk@infoserv.netkonect.net> If this is an inappropriate newsgroup for this type of posting, please accept my apologies. Pelican Consultants International Ltd are a search and selection agency who specialise in interactive entertainment - both hardware and software. Many of our clients have asked us to keep a constant stream of candidates coming through to them as they continue to expand. Throughout the whole of the UK, we have a need for programming talent. If not already experienced in the games industry, you will at least have a keen interest and will have suitable qualifications highlighting your abilities. We are particularly interested in people with programming skills in 3D graphics, artificial intelligence and networking, but we are not merely limiting ourselves to that. If you are working in the industry and looking for a move, or if you would like to enter an exciting and constantly changing marketplace, we can put you in touch with the right people. All applications are treatest with the upmost discretion and we will spend a lot of time finding out about the job that you want to do, rather than just sending your details to anyone we can think of. For an initial discussion, please send your details to me, Paul Rose, via private email or call me on 0181 423 3400. We look forward to hearing from you soon. Paul J Rose Pelican Consultants International Ltd http://www.pelican-consultants.co.uk/pelican
Newsgroups: comp.sys.next.programmer,comp.lang.objective-c From: benoit@quest.fdn.org (Benoit Marchant) Subject: measurement unit Class and framework Message-ID: <1996Sep25.160920.3936@quest.fdn.org> Keywords: measurement unit Class and framework Sender: news@quest.fdn.org Organization: Quest International / Unilever - Neuilly, France Date: Wed, 25 Sep 1996 16:09:20 GMT Hi, I'm looking for an Objective-C implementation of a measurement unit system which could allows to manipulate physical quantities (ex 7 m, 8 $, 15 feet). Multiply, divide convert etc physical quantities each others. I uderstood there is a PhysicalDimension entity:Length, Mass, Temperature etc ... For each PhysicalDimension, there is multiple UnitOfMeasure: - a standard unit (meter for Length). - and multiple UnitOfMeasure:mm, inch, km, yards etc .. each UnitOfMeasure can be converted in another one. a PhysicalQuantity is a number+a UnitOfMeasure. Should it be a subclass of NSDecimalNumber or an encapsulation of - a NSDecimalNumber and - a NSDecimalNumber I found something very interesting written in python at http://trek.eeel.nist.gov/oopcaf/SIunits/ and a Lisp stuff (I don't know Lisp !) at: http://www-ksl.stanford.edu/people/brauch/demo/standard-units/ Does anyone already did something like that and could send me sources ? Or maybe someone interested in building a good measurement unit framework could help me modelize it under OpenStep ? it might be interesting to include that in MiscKit ? Thanks in advance for answers Benoit benoit@quest.fdn.fr
Newsgroups: comp.sys.next.programmer,comp.lang.objective-c From: benoit@quest.fdn.org (Benoit Marchant) Subject: Unit Classes Message-ID: <1996Sep25.160140.3808@quest.fdn.org> Keywords: measurement unit Class and framework Sender: news@quest.fdn.org Organization: Quest International / Unilever - Neuilly, France Date: Wed, 25 Sep 1996 16:01:40 GMT Hi, I'm looking for an Objective-C implementation of a measurement unit system which could allows to manipulate physical quantities (ex 7 m, 8 $, 15 feet). Multiply, divide convert etc physical quantities each others. I uderstood there is a PhysicalDimension entity:Length, Mass, Temperature etc ... For each PhysicalDimension, there is multiple UnitOfMeasure: - a standard unit (meter for Length). - and multiple UnitOfMeasure:mm, inch, km, yards etc .. each UnitOfMeasure can be converted in another one. a PhysicalQuantity is a number+a UnitOfMeasure. Should it be a subclass of NSDecimalNumber or an encapsulation of - a NSDecimalNumber and - a NSDecimalNumber I found something very interesting written in python at http://trek.eeel.nist.gov/oopcaf/SIunits/ and a Lisp stuff (I don't know Lisp !) at: http://www-ksl.stanford.edu/people/brauch/demo/standard-units/ Does anyone already did something like that and could send me sources ? Or maybe someone interested in building a good measurement unit framework could help me modelize it under OpenStep ? it might be interesting to include that in MiscKit ? Thanks in advance for answers Benoit benoit@quest.fdn.fr
From: dennis.glatting@plaintalk.bellevue.wa.us Newsgroups: comp.sys.next.programmer Subject: Which GCC version under 4.0 Date: 25 Sep 1996 17:31:20 GMT Organization: PlainTalk Distribution: world Message-ID: <52bq99$ir9@Holly.aa.net> Which version of GCC is NeXT's compiler under NEXTSTEP 4.0? Is the source available? If so, has anyone tried to compile and use it under NEXTSTEP 3.3? -dpg
From: Myoung-Cheol Kim <mckim@online.ru> Newsgroups: comp.sys.next.programmer Subject: Please help me to find HELP window in Project Builder Date: Wed, 25 Sep 1996 19:46:24 +0400 Organization: Bauman Moscow State Technical University Message-ID: <324953D0.5D1D@online.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I use OPENSTEP 4.0 for Mach on my Intel PC. Every time I tried to use HELP in Project Builder and Interface Builder , Librarian window appears on screen, not Help window. In OS 4.0 release notes, it is needed to chang link to help files so I changed but still Help window doesn't appear. Is it problem with OS 4.0 or do I have to change other configurations? Please help me to make Help window works. Desperate. Myoung-Cheol Kim mckim@online.ru Moscow, Russia
From: aisbell@ix.netcom.com (Art Isbell) Newsgroups: comp.sys.next.programmer,comp.lang.objective-c Subject: Re: measurement unit Class and framework Date: 26 Sep 1996 02:47:41 GMT Organization: Netcom Distribution: world Message-ID: <52cqsd$mq4@dfw-ixnews8.ix.netcom.com> References: <1996Sep25.160920.3936@quest.fdn.org> benoit@quest.fdn.org (Benoit Marchant) wrote: > I'm looking for an Objective-C implementation of a measurement unit system > which could allows to manipulate physical quantities (ex 7 m, 8 $, 15 > feet). Multiply, divide convert etc physical quantities each others. I > uderstood there is a PhysicalDimension entity:Length, Mass, Temperature > etc ... > For each PhysicalDimension, there is multiple UnitOfMeasure: > - a standard unit (meter for Length). > - and multiple UnitOfMeasure:mm, inch, km, yards etc .. > each UnitOfMeasure can be converted in another one. > > a PhysicalQuantity is a number+a UnitOfMeasure. Should it be a subclass > of NSDecimalNumber or an encapsulation of > - a NSDecimalNumber and > - a NSDecimalNumber > Or > maybe someone interested in building a good measurement unit framework > could help me modelize it under OpenStep ? See Metsker, Steven J., "Object Weights and Measures", _Object Magazine_, April 1996, p. 83 for a discussion of such a framework. It should be easy to implement in Objective-C. -- Art Isbell NeXT/MIME Mail: aisbell@ix.netcom.com Trego Systems Voice/Fax: +1 408 335 2515 CaseServ: OPENSTEP Voice Mail: +1 408 335 1154 managed care solutions US Mail: Felton, CA 95018-9442
From: aisbell@ix.netcom.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Please help me to find HELP window in Project Builder Date: 26 Sep 1996 02:55:22 GMT Organization: Netcom Distribution: world Message-ID: <52craq$mq4@dfw-ixnews8.ix.netcom.com> References: <324953D0.5D1D@online.ru> Myoung-Cheol Kim <mckim@online.ru> wrote: > I use OPENSTEP 4.0 for Mach on my Intel PC. Every time I tried to use > HELP in Project Builder and Interface Builder , Librarian window appears > on screen, not Help window. In OS 4.0 release notes, it is needed to > chang link to help files so I changed but still Help window doesn't > appear. Is it problem with OS 4.0 or do I have to change other > configurations? Please help me to make Help window works. The NS Help system has been eliminated in OS, so the behavior you are experiencing is correct, although not as useful as the previous Help system. Because Windows NT has its own help system, OS has provided a front end to a generic help system that might be Librarian, a Web browser, etc. ProjectBuilder's capabilities can be learned by reading the on-line tutorial in /NextLibrary/Documentation/NextDev/TasksAndConcepts/DevEnvGuide. -- Art Isbell NeXT/MIME Mail: aisbell@ix.netcom.com Trego Systems Voice/Fax: +1 408 335 2515 CaseServ: OPENSTEP Voice Mail: +1 408 335 1154 managed care solutions US Mail: Felton, CA 95018-9442
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.sys.next.programmer Subject: Re: OPENSTEP version of Subprocess Date: 25 Sep 1996 03:16:27 GMT Organization: Genoa Software Systems Message-ID: <52a86b$2ni@saturn.genoa.com> References: <32473379.550A@nglobe1.ho.att.com> <527i4v$2so@news.digifix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Donald Eaves wrote: >Does anyone know of an OPENSTEP version of the Subprocess class? I >noticed a version in the Misckit for which the conversion >scripts had been run against, but the incompatibilities were not >fixed. OpenStep contains a few classes that serve similar purposes as Subprocess: NSTask, NSThread, and the various NS*Lock classes are worth examining. NSTask is probably the closest thing to Subprocess, though if a simple thread will do, then that might be preferable. If these meet your needs, I'd sure consider using them rather than porting and maintaining something similar. I can attest to the fact that NSTask works as advertised on Intel/Mach 4.0. I haven't tried it on NT yet. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: mmalcolm crawford <m.crawford@shef.ac.uk> Newsgroups: comp.sys.next.programmer Subject: Re: GUI Front end for gdb? Date: 26 Sep 1996 09:12:09 GMT Organization: University of Sheffield, UK Message-ID: <52dhd9$9en@bignews.shef.ac.uk> References: <3248D71B.3CDE@ix.netcom.com> In-Reply-To: <3248D71B.3CDE@ix.netcom.com> On 09/25/96, Mario Pacheco wrote: > Has anyone bothered writing a front end to gdb? I'm new to UNIX and > NeXTSTEP, but I do know that through pseudo-terminals an X-Windows UI > was written for gdb (xxgdb). > > My question is, has someone bothered doing the same for NeXTSTEP? Most > of my experience is under NT and I'm used to having some sort of GUI > when debugging. I was quite surprised to find that a UI hadn't been put > up for gdb under NeXTSTEP (environment that comes out of the box). > Umm, in gdb, type view and you get a GUI built into Edit.app ... Alternatively you can try SuperDebugger.app Best wishes, mmalc. --
From: William.Clocksin@CL.cam.ac.uk Newsgroups: comp.sys.next.programmer Subject: OOE Compliant Apps Date: 26 Sep 1996 10:36:43 GMT Organization: University of Cambridge, England Message-ID: <52dmbr$qcn@lyra.csx.cam.ac.uk> Can someone point me to documentation on how to write OOE-compliant applications? Thank you. W F Clocksin wfc@CL.cam.ac.uk
From: flight@mathi.uni-heidelberg.de (Gregor Hoffleit) Newsgroups: comp.sys.next.programmer Subject: Re: One way to compile 3.3 source in 4.0 Date: 26 Sep 1996 13:52:38 GMT Organization: University of Heidelberg, Germany Distribution: world Message-ID: <52e1r6$qkq@sun0.urz.uni-heidelberg.de> References: <9609052017.AA27090@basil.icce.rug.nl> <50peil$2ehu@news.doit.wisc.edu> Michael Giddings (giddings@fen.chem.wisc.edu) wrote: : 3. You will need to use the 3.3 version of crt0.o located in /lib for : linking. So rename /lib/crt0.o on your OpenStep machine to something else : temporarily, then copy /lib/crt0.o from a 3.3 machine. (WARNING: This or : other steps described here could have side effects I am not aware of so : proceed at your own risk!) : Does anyone know how to override the default use of /lib/crt0.o? That would : be a cleaner route. Well, I have not yet tried to mess around with this, but the crt file gets defined in /lib/ARCH/specs. This is how /lib/hppa/specs looks like in 3.3 (I have reformatted the stuff for better readability): *startfile: %{!posix*: %{pg:-lgcrt0.o} %{!pg: %{p:%e-p profiling is no longer supported. Use -pg instead.} %{!p:-lcrt0.o} } } %{posix*: %{pg:-lgposixcrt0.o} %{!pg: %{p:%e-p profiling is no longer supported. Use -pg instead.} %{!p:-lposixcrt0.o} } } No idea how this looks like in 4.0, given the fact the POSIX support has been removed. Anyway, to me this looks like one might change this structure and incorporate a new option to switch between, let's say crt0.o and 33crt0.o. Perhaps it would be necessary to hardcode a new switch in cc (like -33) and recompile it, which should be possible since NeXT has to provide the source. BTW, please someone put the source for the GNU stuff in 4.0 to a public ftp server. Gregor -- | Gregor Hoffleit Mathematisches Institut, Uni HD | | flight@mathi.uni-heidelberg.de INF 288, 69120 Heidelberg, Germany | | (NeXTmail, MIME) (49)6221 54-5771 fax 54-8312 | | PGP Key fingerprint = 23 8F B3 38 A3 39 A6 01 5B 99 91 D6 F2 AC CD C7 |
From: kfettes@ntsrv.com (KRISTIN FETTES) Newsgroups: comp.sys.next.programmer,comp.unix.programmer,comp.unix.sco.programmer Subject: PROGRAMMERS NEEDED!! Date: 26 Sep 1996 14:36:59 GMT Organization: Netserv, Inc. Message-ID: <52e4eb$ob9@mari.onr.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII Netserv is currently staffing up on programmers with 4+ years experience programming in any language. If you would be interested in working for a great company with challenging programming projects (contract and permanent positions available with competitive salaries/hourly rates), please e-mail (kfettes@ntsrv.com) or fax (512-453-9650) your resume to NETSERV asap!! Kristin K. Fettes Netserv kfettes@ntsrv.com
From: cnyap@dcs.shef.ac.uk (Chih Nam Yap) Newsgroups: comp.sys.next.programmer Subject: Drag and Drop Date: 26 Sep 1996 14:38:08 GMT Organization: Department of Computer Science, University of Sheffield Message-ID: <52e4gg$h31@bignews.shef.ac.uk> Hi there, Supposing I have a superview with 4 run-time subviews (created during run-time), Each subview are the destination of drag and drop operation. Currently, if I drag an icon from somewhere else and drop it in one of the subviews, it seeems that all the other three subviews also received the image. Is there a way to prevent the other three subviews from receiving the image ? Thank you for your help. c.Yap
From: deniseh@nntp.best.com (Denise Howard) Newsgroups: comp.sys.next.programmer Subject: Re: GUI Front end for gdb? Date: 26 Sep 1996 17:09:02 GMT Organization: Best Internet Communications Message-ID: <52edbe$iao@nntp1.best.com> References: <3248D71B.3CDE@ix.netcom.com> Mario Pacheco (pacheco@ix.netcom.com) wrote: : Has anyone bothered writing a front end to gdb? I'm new to UNIX and : NeXTSTEP, but I do know that through pseudo-terminals an X-Windows UI : was written for gdb (xxgdb). : My question is, has someone bothered doing the same for NeXTSTEP? Most : of my experience is under NT and I'm used to having some sort of GUI : when debugging. I was quite surprised to find that a UI hadn't been put : up for gdb under NeXTSTEP (environment that comes out of the box). SuperDebugger is a commercial app which is similar to xdbx, an X-Windows GUI for the dbx debugger. I have it on my home machine and it's very nice. Denise -- Denise Howard | PROGRAM, tr. v., An activity similar to Mountain View, CA | banging one's head against a wall, but deniseh@best.com | with fewer opportunities for reward. NeXTMail welcome! | http://www.best.com/~deniseh
From: dietzsch@rmhs2.urz.tu-dresden.de (Andreas Dietzsch) Newsgroups: comp.sys.next.programmer Subject: control a PopUpList Date: 26 Sep 1996 16:53:01 GMT Organization: TU Dresden (URZ) Message-ID: <52ecdd$24t@rks1.urz.tu-dresden.de> How can i setup the selected Cell of a PopUpList while Runtime. I try the "selectCellWithTag:x"-Message but it do not work. Thanks for every help Andreas
From: edx@cc.usu.edu Newsgroups: comp.sys.next.programmer Subject: Re: Which GCC version under 4.0 Message-ID: <1996Sep26.101005.85623@cc.usu.edu> Date: 26 Sep 96 10:10:05 MDT References: <52bq99$ir9@Holly.aa.net> Distribution: world Organization: Utah State University In article <52bq99$ir9@Holly.aa.net>, dennis.glatting@plaintalk.bellevue.wa.us writes: > Which version of GCC is NeXT's compiler under NEXTSTEP > 4.0? > > Is the source available? If so, has anyone tried to > compile and use it under NEXTSTEP 3.3? > The Release notes for 4.0 say that the compiler is based on gcc version 2.5.8 I guess NeXT isn't in the compiler business any more either.
Date: 26 Sep 1996 17:03:28 EST Newsgroups: comp.sys.next.programmer Message-ID: <cancel.52bcsm$4sk@infoserv.netkonect.net> Control: cancel <52bcsm$4sk@infoserv.netkonect.net> From: clewis@ferret.ocunix.on.ca Sender: pjrose@pelican-consultants.co.uk (Paul J Rose) Subject: cmsg cancel <52bcsm$4sk@infoserv.netkonect.net> EMP/ECP (aka SPAM) cancelled by clewis@ferret.ocunix.on.ca. See news.admin.net-abuse.announce, report 19960926.05 for further details
From: aisbell@ix.netcom.com (Art Isbell) Newsgroups: comp.sys.next.programmer Subject: Re: Which GCC version under 4.0 Date: 27 Sep 1996 02:46:48 GMT Organization: Netcom Distribution: world Message-ID: <52ff6o$srt@sjx-ixn2.ix.netcom.com> References: <52bq99$ir9@Holly.aa.net> <1996Sep26.101005.85623@cc.usu.edu> edx@cc.usu.edu wrote: > The Release notes for 4.0 say that the compiler is based > on gcc version 2.5.8 > I guess NeXT isn't in the compiler business any more either. Don't rush to any conclusions. The version of gcc included with the prelease version of OS/NT Developer is much more recent. I wouldn't be surprised to see a version as recent as 2.7.2 included in OS 4.1 which is rumored to be near release, but I have no inside knowledge about this and don't have a prerelease version. -- Art Isbell NeXT/MIME Mail: aisbell@ix.netcom.com Trego Systems Voice/Fax: +1 408 335 2515 CaseServ: OPENSTEP Voice Mail: +1 408 335 1154 managed care solutions US Mail: Felton, CA 95018-9442
From: mmalcolm crawford <m.crawford@shef.ac.uk> Newsgroups: comp.sys.next.programmer Subject: Re: OOE Compliant Apps Date: 27 Sep 1996 00:21:50 GMT Organization: University of Sheffield, UK Message-ID: <52f6mu$1r7@bignews.shef.ac.uk> References: <52dmbr$qcn@lyra.csx.cam.ac.uk> In-Reply-To: <52dmbr$qcn@lyra.csx.cam.ac.uk> On 09/26/96, William.Clocksin@CL.cam.ac.uk wrote: > Can someone point me to documentation on how to write OOE-compliant > applications? Thank you. > Ah, a challenge! :-) I suspect that you'd get the best answer from Lighthouse, who bought up Xanthus, failing that from Andrew Stone since Create etc. were made OOE- compliant... However, digging around in a musty box I found the Xanthus_2 CD, which includes documentation and exmaples; I've put the relevant stuff in: ftp://ftp.dcs.shef.ac.uk/home/malc/NEXTSTEP/Apps/OOE.tar.Z Best wishes, mmalc. --
From: dietzsch@rmhs2.urz.tu-dresden.de (Andreas Dietzsch) Newsgroups: comp.sys.next.programmer Subject: problems with EOController in an bundle Date: 27 Sep 1996 11:55:58 GMT Organization: TU Dresden (URZ) Message-ID: <52gfce$l98@rks1.urz.tu-dresden.de> I try to use a EOController for working with a table (insert, delete,...) in a bundle. For this I use code that works in an application but in the bundle it does not. Does anybody knows what the problem is? thank you Andreas
From: Donald Eaves <dse@nglobe1.ho.att.com> Newsgroups: comp.sys.next.programmer Subject: OATextField Palette and TextFilters for OPENSTEP Date: Fri, 27 Sep 1996 14:07:18 -0400 Organization: AT&T Labs Message-ID: <324C17D6.5625@nglobe1.ho.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Has anyone tried to convert the OATextField palette to OPENSTEP. In particular is there a way to do the equivalent of TextFilters in in OPENSTEP. I didn't see any way to set a TextFilter in the NSTextField class. Thanks, Don
From: 3wolff@rzdspc5.informatik.uni-hamburg.de (Eberhard Wolff) Newsgroups: comp.sys.next.programmer Subject: Re: Which GCC version under 4.0 Date: 27 Sep 1996 15:56:06 GMT Organization: University of Hamburg -- Germany Distribution: world Message-ID: <52gtem$1nh@rzsun02.rrz.uni-hamburg.de> References: <52bq99$ir9@Holly.aa.net> dennis.glatting@plaintalk.bellevue.wa.us wrote: : Which version of GCC is NeXT's compiler under NEXTSTEP : 4.0? As far as I know (this could be wrong) it is 2.5.8 but with some modifications by NeXT. Currently some guys from the GNUstep-Project are patching the gcc 2.7.2 to get these things in. I think most of the chances took place in the Objective C stuff. : Is the source available? If so, has anyone tried to : compile and use it under NEXTSTEP 3.3? The source is distributed with OS 4.0 Developer (as it must be due to the GNU Public License). I would suggest that you better get the 2.7.2 sources and try to compile these. After all there seem to be major changes in OS 4.0 so that gcc 2.7.2 won't compile on OS 4.0 so probably the OS 4.0 gcc 2.5.8 won't compile under 3.3 either. Eberhard
From: tom@basil.icce.rug.nl (Tom Hageman) Newsgroups: comp.sys.next.programmer Subject: Another way to compile 3.3 source in 4.0 Message-ID: <9609271332.AA16612@basil.icce.rug.nl> Date: 27 Sep 96 13:32:18 GMT Sender: tom@basil.icce.rug.nl MIME-Version: 1.0 (NeXT Mail 4.0 v146.2) Content-Type: text/plain Organization: Warty Wolfs Well, I think I may be on the right track with the following cc3 script. It allows me to compile 3.3 sources into 3.3 executables while running OPENSTEP. It has the distict advantage that the 3.3 developer stuff can be kept completely separate from 4.0 developer. I haven't tested it exhaustively, but it all seems to work... Here is its description: This script should allow you to compile pre-OPENSTEP source code on an OPENSTEP system, assuming a NS3.3 developer system is mounted somewhere. Note that you get a lot of warnings when you use this script with the original 3.3 precompiled headers. To remedy this you can either add the -traditional-cpp option (but this can be slow), or re-precompile the 3.3 headers using this script. (you must probably be root to be allowed to do that). usage: Put this script anywhere in your execution path. From ProjectBuilder (presumably the 3.x version) set: CC=cc3 in Arguments:, either in Builder [Options...] panel, or (just once) in PBs Preferences panel. From the commandline: make CC=cc3 ... IMPORTANT: some configuration is still necessary to adapt it to your local situation. The configuration section is clearly marked in the script. (As-is, it assumes that the NS3.3 partition is mounted on /NEXTSTEP.) Here it is: begin 775 cc3 M(R$@+V)I;B]S:`HC*RLK"B,@('1I=&QE.@EC8S,*(R`@86)S=')A8W0Z"5)U M;B!.15A44U1%4"`S+G@@8V]M<&EL97(@9G)O;2!/4$5.4U1%4"`T+G@N"B,@ M(&%U=&AO<CH)5&]M($AA9V5M86X@/'1O;4!B87-I;"YI8V-E+G)U9RYN;#X* M(R`@8W)E871E9#H)4V5P=&5M8F5R(#$Y.38*(R`@;6]D:69I960Z"B,@(&-O M<'EL969T.@HC"B,)"4-O<'ER:6=H="`H0RD@,3DY-B`@5&]M(%(N($AA9V5M M86XN"B,*(PE4:&ES(&ES(&9R964@<V]F='=A<F4[('EO=2!C86X@<F5D:7-T M<FEB=71E(&ET(&%N9"]O<B!M;V1I9GD*(PEI="!U;F1E<B!T:&4@=&5R;7,@ M;V8@=&AE($=.52!'96YE<F%L(%!U8FQI8R!,:6-E;G-E(&%S('!U8FQI<VAE M9"!B>0HC"71H92!&<F5E(%-O9G1W87)E($9O=6YD871I;VX[(&5I=&AE<B!V M97)S:6]N(#(@;V8@=&AE($QI8V5N<V4L(&]R"B,)*&%T('EO=7(@;W!T:6]N M*2!A;GD@;&%T97(@=F5R<VEO;BX*(PHC"51H:7,@<V]F='=A<F4@:7,@9&ES M=')I8G5T960@:6X@=&AE(&AO<&4@=&AA="!I="!W:6QL(&)E('5S969U;"P* M(PEB=70@5TE42$]55"!!3ED@5T%24D%.5%D[('=I=&AO=70@979E;B!T:&4@ M:6UP;&EE9"!W87)R86YT>2!O9@HC"4U%4D-(04Y404))3$E462!O<B!&251. M15-3($9/4B!!(%!!4E1)0U5,05(@4%524$]312X@(%-E92!T:&4*(PE'3E4@ M1V5N97)A;"!0=6)L:6,@3&EC96YS92!F;W(@;6]R92!D971A:6QS+@HC"B,) M66]U('-H;W5L9"!H879E(')E8V5I=F5D(&$@8V]P>2!O9B!T:&4@1TY5($=E M;F5R86P@4'5B;&EC($QI8V5N<V4*(PEA;&]N9R!W:71H('1H:7,@<V]F='=A M<F4[('-E92!T:&4@9FEL92!#3U!924Y'+B`@268@;F]T+"!W<FET92!T;PHC M"71H92!&<F5E(%-O9G1W87)E($9O=6YD871I;VXL(#4Y(%1E;7!L92!0;&%C M92`M(%-U:71E(#,S,"P*(PE";W-T;VXL($U!(#`R,3$Q+3$S,#<L(%5302X* M(PHC("!D97-C<FEP=&EO;CH*(PHC"51H:7,@<V-R:7!T('-H;W5L9"!A;&QO M=R!Y;W4@=&\@8V]M<&EL92!P<F4M3U!%3E-415`@<V]U<F-E(&-O9&4@;VX* M(PEA;B!/4$5.4U1%4"!S>7-T96TL(&%S<W5M:6YG(&$@3E,S+C,@9&5V96QO M<&5R('-Y<W1E;2!I<R!M;W5N=&5D"B,)<V]M97=H97)E+@HC"B,)3F]T92!T M:&%T('EO=2!G970@82!L;W0@;V8@=V%R;FEN9W,@=VAE;B!Y;W4@=7-E('1H M:7,@<V-R:7!T('=I=&@@=&AE"B,);W)I9VEN86P@,RXS('!R96-O;7!I;&5D M(&AE861E<G,N("!4;R!R96UE9'D@=&AI<R!Y;W4@8V%N(&5I=&AE<B!A9&0* M(PET:&4@+71R861I=&EO;F%L+6-P<"!O<'1I;VX@*&)U="!T:&ES(&-A;B!B M92!S;&]W*2P@;W(@<F4M<')E8V]M<&EL90HC"71H92`S+C,@:&5A9&5R<R!U M<VEN9R!T:&ES('-C<FEP="X@*'EO=2!M=7-T('!R;V)A8FQY(&)E(')O;W0@ M=&\*(PEB92!A;&QO=V5D('1O(&1O('1H870I+@HC"B,@('5S86=E.@HC"B,) M4'5T('1H:7,@<V-R:7!T(&%N>7=H97)E(&EN('EO=7(@97AE8W5T:6]N('!A M=&@N"B,*(PE&<F]M(%!R;VIE8W1"=6EL9&5R("AP<F5S=6UA8FQY('1H92`S M+G@@=F5R<VEO;BD@<V5T.@HC"B,)"4-#/6-C,PHC"B,):6X@07)G=6UE;G1S M.BP@96ET:&5R(&EN($)U:6QD97(@6T]P=&EO;G,N+BY=('!A;F5L+`HC"6]R M("AJ=7-T(&]N8V4I(&EN(%!"<R!0<F5F97)E;F-E<R!P86YE;"X*(PHC"49R M;VT@=&AE(&-O;6UA;F1L:6YE.@HC"B,)"6UA:V4@0T,]8V,S("XN+@HC"B,@ M(&)U9W,Z"B,*(PE);F1U8FET86)L>2X*(RTM+0H*(R,C('-T87)T(&]F(&-O M;F9I9W5R871I;VX@<V5C=&EO;B`C(R,*"B,C(%=H97)E('1O(&9I;F0@3E,S M+G@@9&5V96QO<&5R+@IN<S-D978](B].15A44U1%4"(*"B,C(%=H97)E('1O M(&9I;F0@3E,S+G@@+TQO8V%L1&5V96QO<&5R(&1I<F5C=&]R>2X*;G,S9&5V M7TQO8V%L1&5V96QO<&5R/2(D;G,S9&5V+TQO8V%L1&5V96QO<&5R(@HC;G,S M9&5V7TQO8V%L1&5V96QO<&5R/2(O3&]C86Q$979E;&]P97(B"@HC(R!7:&5R M92!T;R!F:6YD($Y3,RYX("]U<W(O;&]C86P@9&ER96-T;W)Y+@IN<S-D979? M=7-R7VQO8V%L/2(D;G,S9&5V+W5S<B]L;V-A;"(*(VYS,V1E=E]U<W)?;&]C M86P](B]U<W(O;&]C86PB"@HC(R!7:&EC:"!C;VUP:6QE<B!V97)S:6]N('1O M('5S92X*(R`H66]U(&QO<V4@=&AE(&%B:6QI='D@=&\@8V]M<&EL92!F;W(@ M:'!P82!I9B!Y;W4@8VAO;W-E('1H92`T+G@@8V]M<&EL97(N"B,@($]43T@@ M>6]U('5S92!A(&UO<F4@<F5C96YT('9E<G-I;VX@;V8@=&AE(&-O;7!I;&5R M('1O;VQS(&EF('EO=2!D;R!S;RXI"D-#/2(D;G,S9&5V+V)I;B]C8R`M0B1N M<S-D978O;&EB+R()(R!5<V4@3E,@,RYX(&-O;7!I;&5R"B-#0STB+V)I;B]C M8R`M<W1A=&EC(@D)"2,@57-E($]3(#0N>"!C;VUP:6QE<@H*(R,C(&5N9"!O M9B!C;VYF:6=U<F%T:6]N('-E8W1I;VX@(R,C"@H*0U!,55-)3D-,541%4ST* M8V%S92`B("0J("(@:6X*("`J7"`M3V)J0RLK7"`J('P@*EP@+7A<(&,K*UP@ M*B!\("I<("UX7"!O8FIE8W1I=F4M8RLK7"`J('P@7`H@("HN0UP@*B!\("HN M35P@*B!\("HN8V-<("H@?"`J+F-X>%P@*B`I"@E#4$Q54TE.0TQ51$53/2(M M22`D;G,S9&5V+TYE>'1$979E;&]P97(O2&5A9&5R<R]G*RLB"F5S86,*"F5X M96,@)$-#("UN;W-T9&EN8R`D>S$K(B1`(GT)"0E<"@DM3"1N<S-D978O=7-R M+VQI8@D)"5P*"2U,)&YS,V1E=B]U<W(O;&]C86PO;&EB"0D)7`H)+4PD;G,S M9&5V+VQI8@D)"0E<"@DD0U!,55-)3D-,541%4PD)"0E<"@DM22`D;G,S9&5V M7W5S<E]L;V-A;"]I;F-L=61E"0E<"@DM22`D;G,S9&5V+TYE>'1$979E;&]P M97(O2&5A9&5R<PE<"@DM22`D;G,S9&5V+TYE>'1$979E;&]P97(O2&5A9&5R M<R]A;G-I"5P*"2U)("1N<S-D978O3F5X=$1E=F5L;W!E<B](96%D97)S+V)S M9`E<"@DM22`D;G,S9&5V7TQO8V%L1&5V96QO<&5R+TAE861E<G,)7`H)+4D@ M)&YS,V1E=E],;V-A;$1E=F5L;W!E<B](96%D97)S+V%N<VD)7`H)+4D@)&YS M,V1E=E],;V-A;$1E=F5L;W!E<B](96%D97)S+V)S9`E<"@DM22`D;G,S9&5V D+TYE>'1$979E;&]P97(O,BXP0V]M<&%T:6)L94AE861E<G,* ` end Let me know what you think. -- __/__/__/__/ Tom Hageman <tom@basil.icce.rug.nl> [NeXTmail/Mime OK] __/ __/_/ IC Group <tom@icgned.nl> (work) __/__/__/ "Ed is the standard text editor" __/ _/_/ -- Unix Programmer's Manual
From: dekorte@suite.com (Steve Dekorte) Newsgroups: comp.sys.next.programmer Subject: OS4 Drag and Drop Date: 27 Sep 1996 18:01:54 GMT Organization: Suite Software Message-ID: <52h4qi$6di@news.onramp.net> Any examples out there? Steve
From: mpaque@pacbell.net (Mike Paquette) Newsgroups: comp.sys.next.programmer Subject: Re: Which GCC version under 4.0 Date: Fri, 27 Sep 1996 18:54:58 GMT Organization: Electronics Service, Unit No. 16 Message-ID: <52h84k$72o@news2.snfc21.pacbell.net> References: <52bq99$ir9@Holly.aa.net> <1996Sep26.101005.85623@cc.usu.edu> edx@cc.usu.edu wrote: >The Release notes for 4.0 say that the compiler is based >on gcc version 2.5.8 >I guess NeXT isn't in the compiler business any more either. Just as a point of information, if one were going to redo the code generator of a compiler, to , oh say, generate highly optimized position independent code for several architectures, and one knew that several million lines of code would have to be compiled correctly by that compiler, then one might want to stop adding random changes from third parties some time before the compiler was needed for production work, and concentrate on the tasks at hand. Another point: Just because the gcc version says 2.5.8 doesn't mean that later gcc bug fixes wouldn't be incorporated. Many fixes are incorporated where they make sense. One could always roll the latest Cool Tweaks into the front end later, after the major architectural changes have debugged and shipped in the initial product. Mike Paquette -- I don't speak for my employer, and they don't speak for me. mpaque@pacbell.net
From: anderson@sapir.ling.yale.edu (Stephen Anderson) Newsgroups: comp.sys.next.programmer Subject: Another 4.0 problem Date: 27 Sep 1996 18:55:35 GMT Organization: Yale University Message-ID: <52h7v7$9ki@news.ycc.yale.edu> In an attempt to get a real working version of emacs-19 that wouldn't crash all the time (the archive's 3.3 binary of emacs-4.12 comes close, but no cigar), I thought I'd try to build 19.34 from the FSF's sources. I have co-Xist on my system, so I thought I might be able to build it with X-support (even if I can't figure out how to make the NS/OS stuff work), or at worst, I could get something that would run reliably in a terminal window. When configured --with-gcc=no (it turns out I have an ancient version of gcc hanging around, which caused problems the first time I tried) and --with-x=no (presumably the most conservative situation), for m68k-next, I ran into two problems. First, etags.c wouldn't compile, and gave a bunch of messages about an array being provided where a scalar was required. Tracking down these instances, they're all cases where (a macro involving) strcmp or strncmp is comparing a string to a constant such as "-" or "main". You will see what a sophisticated programmer I am from the fact that I don't know offhand how to fix this....;-) But anyway, etags is no big deal, so I persevere (= "make -k"). And in fact everything in the src directory compiles without a hitch. But the loader is another story, and I get the following error messages: /bin/ld: warning /usr/lib/libm.a(fmod.o) has external relocation entries in non-writable section (__TEXT,__text) for symbols: _errno /bin/ld: warning /usr/lib/libm.a(asincos.o) has external relocation entries in non-writable section (__TEXT,__text) for symbols: _errno /bin/ld: warning /usr/lib/libm.a(exp.o) has external relocation entries in non-writable section (__TEXT,__text) for symbols: _errno /bin/ld: warning /usr/lib/libm.a(log.o) has external relocation entries in non-writable section (__TEXT,__text) for symbols: _errno /bin/ld: warning /usr/lib/libm.a(log10.o) has external relocation entries in non-writable section (__TEXT,__text) for symbols: _errno /bin/ld: warning /usr/lib/libm.a(pow.o) has external relocation entries in non-writable section (__TEXT,__text) for symbols: _errno /bin/ld: warning /usr/lib/libm.a(sqrt.o) has external relocation entries in non-writable section (__TEXT,__text) for symbols: _errno As a result (I suppose) of these problems, when it tries to load temacs to dump an emacs executable, I get the following: dyld: (null pointer) malformed executable: ./temacs (dynamic symbol table commandbut no __LINKEDITsegment) *** Exit 61 I imagine that what is going on here is due to some change in the philosophy of libraries, etc.., from 3.3 to 4.0, but I have no idea what that might be or how to fix it. If somebody with 4.0 experience sees this and can give me a (non-NULL :-) pointer, I'd be grateful. I really need a working version of emacs that's a bit more up to date than the 18.53 version NeXT provides on the 4.0 installation disc. Thanks in advance, --Stephen R. Anderson Dept. of Linguistics Yale University <anderson@sapir.ling.yale.edu>
From: Joakim Johansson <jocke@rat.se> Newsgroups: comp.sys.next.programmer Subject: Re: DO problem under NEXTSTEP 3.3 "[NXConnection run] - tossing received reply msg" Date: 26 Sep 1996 15:14:19 GMT Organization: Research & Trade AB Distribution: world Message-ID: <52e6kb$1uv@baldwin.rat.se> References: <51ppc5$db4@news2.snfc21.pacbell.net> Mike Paquette writes > dennis.glatting@plaintalk.bellevue.wa.us wrote: > > >I am working on a multi-threaded DO application under > >NEXTSTEP 3.3, m68k. I've incurred a problem where, > >occasionally, one application performs a method > >against the other and its run-time system prints the > >message "[NXConnection run] - tossing received reply > >msg". > > >* Why would it "toss" a reply? > >* How well does DO work in threaded applications? > >* How do you debug this stuff? > > The "tossed" reply happens when an NXConnection receives a reply for a > message it didn't originate. It may be that you've got two > NXConnections set up but sharing the same reply port. (I've done this > by accident and gotten exactly your results.) There is another possibility as well ... (I'm not sure this problem exists when you're running on a NEXSTEP system, but it definitely exists when you're running PDO (pick the architecture and PDO release of your choice :-( )): If you set up a protocol to use explicitly for the proxy using "setProtocolForProxy" (which is a good idea) and send an asynchronous (oneway void) message to it, you will get different behaviour depending on whether the receiver actually explictly conforms to the protocol in it's header file (!). If the receiver explicitly conforms to the protocol, the DO system will do the "right thing"; Namely nothing. (that is: "@interface X:Object <protocolXDO>") If you've forgotten to explicitly conform to the protocol, (that is: "@interface X:Object // <protocolXDO> oops!") the DO system will send a return message (as if the declaration in the protocol had been for a "normal" synchronous (void) message instead for an asynchronous one). This will make the sender to write out a warning message ("tossing received reply message") as it receives an answer to it's previously sent asynchronous message. YMMV I hope the explanation is not entirely to incoherent, but it's been a long night.... ;-) Joakim -- Joakim Johansson Software Developer, Research & Trade jocke@rat.se <NeXTmail, MIME> http://www.rat.se/
From: "Mark Bessey" <MaRK_BeSSeY@NeXT.CoM> Newsgroups: comp.sys.next.programmer Subject: Re: Which GCC version under 4.0 Date: 27 Sep 1996 22:01:55 GMT Organization: NeXT Software, Inc. Message-ID: <01bbacc0$eefa9b00$3e031281@bananajr> References: <52bq99$ir9@Holly.aa.net> <1996Sep26.101005.85623@cc.usu.edu> <52ff6o$srt@sjx-ixn2.ix.netcom.com> Art Isbell <aisbell@ix.netcom.com> wrote in article <52ff6o$srt@sjx-ixn2.ix.netcom.com>... > edx@cc.usu.edu wrote: > > > The Release notes for 4.0 say that the compiler is based > > on gcc version 2.5.8 > > > I guess NeXT isn't in the compiler business any more either. > > Don't rush to any conclusions. The version of gcc included with the > prelease version of OS/NT Developer is much more recent. I wouldn't be > surprised to see a version as recent as 2.7.2 included in OS 4.1 which is > rumored to be near release, but I have no inside knowledge about this and > don't have a prerelease version. > Well, the GCC from 4.1 reports: H:\>gcc -v Reading specs from C:/NeXT/NextDeveloper/Libraries/gcc-lib/i386-nextpdo-winnt3. \2.7.2\specs gcc version 2.7.2 for NeXT PDO Hope this helps. -Mark
From: vazquezr@physics.ucla.edu (Rick Vazquez) Newsgroups: comp.sys.next.programmer Subject: Screen Saver Date: 27 Sep 1996 22:56:35 GMT Organization: University of California, Los Angeles Message-ID: <52hm33$1ask@uni.library.ucla.edu> Can Someone please help me with the NeXT Built in Screen Saver. How do you change the time till ti comes up??? Rick UCLA Physics
From: clientserver@msn.com (Richard Goode) Subject: US-MD-N. VA <> Ob-C/WebObjects/ NeXTStep Date: 27 Sep 96 18:11:16 -0700 Message-ID: <00001c42+00000d52@msn.com> Newsgroups: comp.sys.next.programmer Organization: The Microsoft Network (msn.com) Client/Server Resources has cutting edge opportunities in the Washington DC Metro Area for: NeXTStep Developers Responsibilities include design and development of the common object model. Work with other project teams to solidify the design of the common object model through the following development cycles: Requirement Analysis Functional Design Technical Design Construction Application Testing Qualifications: Application of OO design techniques and methodologies 3+ yrs C++ and/or Objective C programming experience 1+ yr UNIX Operating System experience NeXTStep, OpenStep, and Windows NT Operating System experience a plus Knowledge of major RDBMS Experience and/or strong interest in WebObjects e-mail your resume TODAY!!!: clientserver@msn.com Fax: (301) 983-4728 Snail mail to: Client/Server Resources P.O. Box 61351 Potomac, Maryland 20859-1351 Tel: (301) 983-6942 Fax: (301) 983-4728 e-mail: clientserver@msn.com
From: cwolf@wolfware.com (Christopher Wolf) Newsgroups: comp.sys.next.programmer Subject: Re: OATextField Palette and TextFilters for OPENSTEP Date: 28 Sep 1996 04:27:03 GMT Organization: Best Internet Communications Message-ID: <52i9en$hks@nntp1.best.com> References: <324C17D6.5625@nglobe1.ho.att.com> In-Reply-To: <324C17D6.5625@nglobe1.ho.att.com> On 09/27/96, Donald Eaves wrote: >Has anyone tried to convert the OATextField palette >to OPENSTEP. In particular is there a way to do the >equivalent of TextFilters in in OPENSTEP. I didn't see any >way to set a TextFilter in the NSTextField class. > >Thanks, >Don For NSTextField input validation take a look at the NSFormatter class (and it's subclasses) and the setFormatter: method in Cell. - Chris --
From: Mark Onyschuk <Mark_Onyschuk@oaai.com> Newsgroups: comp.sys.next.programmer Subject: Re: OATextField Palette and TextFilters for OPENSTEP Date: 28 Sep 1996 13:30:03 GMT Organization: M. Onyschuk and Associates Inc. Message-ID: <52j98r$8a3@elausrv2.att.net.au> References: <324C17D6.5625@nglobe1.ho.att.com> <52i9en$hks@nntp1.best.com> cwolf@wolfware.com (Christopher Wolf) wrote: > On 09/27/96, Donald Eaves wrote: > >Has anyone tried to convert the OATextField palette > >to OPENSTEP. > > For NSTextField input validation take a look at the NSFormatter class > (and it's subclasses) and the setFormatter: method in Cell. > > - Chris I also recommend this: I've not ported OATextFields because a better option is now available within OpenStep itself. Regards, Mark M. Onyschuk and Associates Inc. 15 LaRose Ave, Unit 702 OPENSTEP Software Development Toronto CANADA, M9P1A7 (416)241-3076
From: arru@comi.inet.it (Gianni Arru) Newsgroups: comp.sys.next.programmer Subject: Infos on Mach/NeXTSTEP 3.0 filesystem Date: 28 Sep 1996 22:35:48 +0200 Organization: Com.i - Tecnologie per Internet e Sistemi Aperti Message-ID: <52k274$rm@buffer.comi.inet.it> I'm searching for infos on the NeXT filesystem. It seems to be a standard 4.3BSD UFS filesystem but it's not. Can someone give me infos on superblock, inodes, cilinder groups, block sizes, offsets, ecc. ecc. :) for this fs ? Thank you in advance for any help. Gianni Arru
From: Peter.Kretzschmar@efi-nms.de Newsgroups: comp.sys.next.programmer Subject: Re: OATextField Palette and TextFilters for OPENSTEP Date: 28 Sep 1996 21:36:56 GMT Organization: NetzService Nortorf Message-ID: <52k5po$50g@manhattan.netzservice.de> References: <324C17D6.5625@nglobe1.ho.att.com> <52i9en$hks@nntp1.best.com> >>to OPENSTEP. In particular is there a way to do the >>equivalent of TextFilters in in OPENSTEP. I didn't see any >>way to set a TextFilter in the NSTextField class. >> >>Thanks, >>Don > >For NSTextField input validation take a look at the NSFormatter class (and it's >subclasses) and the setFormatter: method in Cell. > NSFormatters are absolutely unuseable in this case. Try to use the NSTextStorage delegate methods, but avoid to confuse the cell logic. During the running event, you have to operate _only_ on the text storage. It works perfect fo us. At work, i have a piece of code. But the machine is down now, so i can't reach it to give you an simple example here... Peter
From: sams@best.com (Samuel G. Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: Infos on Mach/NeXTSTEP 3.0 filesystem Date: 28 Sep 1996 15:31:21 -0700 Organization: BEST Internet Communications Message-ID: <sams.843948713@shellx> References: <52k274$rm@buffer.comi.inet.it> arru@comi.inet.it (Gianni Arru) writes: >I'm searching for infos on the NeXT filesystem. >It seems to be a standard 4.3BSD UFS filesystem >but it's not. But it is. There are a few things you might find confusing. On black hardware, the default sector size is 1024 bytes, while on Intel hardware, the default sector size is 512 bytes. Also, all info on the disk is written in big-endian format, regardless of the endian-ness of the machine, so disks can be swapped between machines without problems. When the superblock or other structures are read into the kernel on a little endian machine, they will be swapped in memory so that the structure makes sense, but if you just read the disk by hand it will look pretty messed up - Remember short and long ints in the superblock stucture will look very odd when swapped. Finally, the Intel kernel recognizes MS-DOS style partitioning. A partition ID of 0xA7 indicates that the partition contains a NeXT version of the BSD 4.3 UFS; You can use the partition offsets to locate the disk's front porch, and the values in the superblock (whether at the beginning of the disk or the beginning of the partition) still reflect the absolute positions of the filesystems. One more thing, most NeXT BSD4.3 disks have 4 copies of the superblock, but the first one on Intel is always invalidated by the presence of the Intel booter. I don't remember what happens, but I bet the Intel kernel doesn't even write superblock copy #0. Hope this helps. I don't have any documentation but if you understand the above, then the standard docs apply. cheers -sam
From: sams@best.com (Samuel G. Streeper) Newsgroups: comp.sys.next.programmer Subject: Re: Infos on Mach/NeXTSTEP 3.0 filesystem Date: 28 Sep 1996 15:41:33 -0700 Organization: BEST Internet Communications Message-ID: <sams.843950128@shellx> References: <52k274$rm@buffer.comi.inet.it> <sams.843948713@shellx> In my last post I sometimes wrote "superblock" when I meant "disk label". Sorry! The first copy of the disk label is invalidated by the Intel booter and gets ignored. Both structures are always written to the disk in big-endian format. -sam
From: Alex Blakemore <alex@genoa.com> Newsgroups: comp.sys.next.programmer Subject: Re: BUG in NeXT STEP 3.3 Application librarian help ?? Date: 21 Sep 1996 21:03:42 GMT Organization: Genoa Software Systems Message-ID: <521l7e$84@saturn.genoa.com> References: <51ulfu$654@hpuniv.univ-lr.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: kroussea@simplet6 In <51ulfu$654@hpuniv.univ-lr.fr> ROUSSEAU Karl wrote: > So when you launch Librarian and search for Application.rtf (Application Kit) > you can find it but it contains the documentation for ActionCell !!!! its a bug in the documentation. The real Application.rtf can be found on the CD for the prior release 3.2. -- Alex Blakemore alex@genoa.com NeXT, MIME and ASCII mail accepted
From: toon@moene.indiv.nluug.nl (Toon Moene) Newsgroups: comp.sys.next.programmer,gnu.gdb Subject: gdb-4.16 for m68k-next-nextstep3 ? Message-ID: <184@moene.indiv.nluug.nl> Date: 29 Sep 96 13:27:08 GMT Sender: toon@moene.indiv.nluug.nl Followup-To: comp.sys.next.programmer Organization: Moene Computational Physics, Maartensdijk, The Netherlands Hi, The development of GNU Fortran (g77) has entered a stage where some serious testing of debugging info generated by the compiler has to be done by the alpha-testers. Unfortunately, I'm using NEXTSTEP 3.3 with NEXTSTEP Developer 3.2, whose gdb is based on 4.7 - too old to know about Fortran. So I hoped to be able to upgrade to 4.16; Alas, this draws a % ./configure Configuring for a m68k-next-nextstep3 host. Created "Makefile" in /Users/toon/Unix/compilers/gdb-4.16 *** BFD does not support target m68k-next-nextstep3. *** Look in bfd/config.bfd for supported targets. Configure in /Users/toon/Unix/compilers/gdb-4.16/opcodes failed, exiting. message. Is this The End, or is there a patch somewhere that makes bfd understand Mach-O executables ? TIA, -- Toon Moene (toon@moene.indiv.nluug.nl) Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Phone: +31 346 214290; Fax: +31 346 214286 URL: http://www.knmi.nl/hirlam
From: randyj@lubra.sbs.ohio-state.edu (Randy Jackson) Newsgroups: comp.sys.next.programmer Subject: C++ environment/configuration help Date: 29 Sep 1996 22:37:48 GMT Organization: The Ohio State University Message-ID: <52mtns$65n@charm.magnus.acs.ohio-state.edu> Hi, I am really hoping that some kind individual is out there who wouldn't mind to contacting me via email to help me get c++ up and running on an Intel running NS3.3. I have two of these platforms. On one, I am using Developer 3.2, with no problems -- except that it doesn't seem to support templates and therefore chokes on <iomanip.h>. On the other, I have installed the Developer patch. I no longer have any problem with iomanip.h, but when I try to link multi-source files, I get errors that I've been told are related to virtual tables not being generated, but I have no idea how to remedy this. I also tried to make the newest gcc on the machine that hasn't been patched, but although I can make the compiler successfully, the header files etc. aren't collected and transfered to the appropriate directories. Is there anyone out there willing to help me move all this in the right direction? I would really appreciate the assistance. Randy Note the need to reply to randyj@lubra.sbs.ohio.state.edu, not lowana.sbs.ohio-state.edu -- Randy Jackson, Associate Professor ,_ o __o Geography, The Ohio State University / //\, _`\<,_ 1036 Derby Hall, 154 North Oval Mall \>> | (*)/ (*) Columbus OH 43210-1361 \\, FAX (614) 292 6213 randyj@lubra.sbs.ohio-state.edu
From: vazquezr@physics.ucla.edu (Rick Vazquez) Newsgroups: comp.sys.next.programmer Subject: CD-Read-write Date: 29 Sep 1996 23:50:30 GMT Organization: University of California, Los Angeles Message-ID: <52n206$29bk@uni.library.ucla.edu> Does anyone know how to use a Read-write cd-rom with the NeXT System 3.3? Rick UCLA Physics
Newsgroups: comp.sys.next.programmer From: sysseh@devetir.qld.gov.au (Stephen Hocking) Subject: NeXTStep Libraries on top of X? Content-Type: text/plain Sender: usenet@devetir.qld.gov.au (Ogre Root) Organization: DTIR, QLD, AUSTRALIA Message-ID: <DyJ48L.9xM@devetir.qld.gov.au> Mime-Version: 1.0 Date: Mon, 30 Sep 1996 04:53:08 GMT I'm wondering if anyone has implementations (source, of course!) of NeXTStep lookalike libraries layered on X. I'm looking to make a quick & dirty port of id's Quake Editor - *blush* Stephen -- The views expressed above are not those of the Worker's Compensation Board of Queensland, Australia.
From: shill@iphysiol.unil.ch (Sean Hill) Newsgroups: comp.sys.next.programmer Subject: Palettes with OpenStep Date: 30 Sep 1996 10:32:17 GMT Organization: University of Lausanne CH (Switzerland) Message-ID: <52o7jh$1l3@cisun2000.unil.ch> I keep getting an NSArchiverArchiveInconsistency exception when I try to use my recently converted palette of a subclass of NSView with OPENSTEP 4.0/Mach. My code is really simple. It works as a palette under NEXTSTEP 3.3 (Of course using read:/write:). Thanks for any insight, advice, etc. Sean In my NSView subclass: - (void)encodeWithCoder:(NSCoder *)coder { [super encodeWithCoder:stream]; [coder encodeObject:plotData]; } - (id)initWithCoder:(NSCoder *)coder { [super encodeWithCoder:stream]; plotData = [[coder decodeObject] retain]; return self; } ------------- In my PlotData (subclass of NSObject) - (void)encodeWithCoder:(NSCoder *)coder { [coder encodeObject:aDictionary]; } - (id)initWithCoder:(NSCoder *)coder { aDictionary = [[coder decodeObject] retain]; return self; }
From: Dale Pippert <dpippert@taratec.com> Newsgroups: comp.sys.next.programmer Subject: gcc 2.7.2 binary for black NeXT 3.2 Date: 30 Sep 1996 12:10:52 GMT Organization: Taratec Development Corporation Message-ID: <52odcc$5qr@news.dca.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Can anyone point me towards a gcc 2.7.2 binary (preferred) distribution that will run on NeXT 3.2 black? Much thanks for your help. Dale
From: Constantin Szallies <szallies@energotec.de> Newsgroups: comp.sys.next.programmer Subject: Re: DO problem under NEXTSTEP 3.3 "[NXConnection run] - tossing received reply msg" Date: 30 Sep 1996 16:38:46 GMT Organization: Tech Net GmbH Message-ID: <52ot2m$gb1@ddfservb.technet.net> References: <51ppc5$db4@news2.snfc21.pacbell.net> <52e6kb$1uv@baldwin.rat.se> Joakim Johansson <jocke@rat.se> wrote: >If you set up a protocol to use explicitly for the proxy >using "setProtocolForProxy" (which is a good idea) and >send an asynchronous (oneway void) message to it, you will get different >behaviour depending on whether the receiver actually explictly >conforms to the protocol in it's header file (!). > >If the receiver explicitly conforms to the protocol, the DO >system will do the "right thing"; Namely nothing. >(that is: "@interface X:Object <protocolXDO>") > >If you've forgotten to explicitly conform to the protocol, >(that is: "@interface X:Object // <protocolXDO> oops!") >the DO system will send a return message >(as if the declaration in the protocol had been for a >"normal" synchronous (void) message instead for an asynchronous >one). This will make the sender to write out a warning message >("tossing received reply message") as it receives an answer to >it's previously sent asynchronous message. YMMV Looks like the PDO system doesn't add a flag to each request if the message is oneway or not. So the server thinks it's a syncrounious message and sends back a reply. What happens if you send a message and the sender wants a proxy and the server returns a copy (or the other way around)? I guess one should view >(that is: "@interface X:Object // <protocolXDO> oops!") as a bug in the application program. -- Constantin Szallies, Energotec GmbH szallies@energotec.de 49211-9144018
From: Georg Tuparev <georg_tuparev@ctp.com> Newsgroups: comp.sys.next.programmer Subject: Re: Palettes with OpenStep Date: Mon, 30 Sep 1996 18:42:05 +0200 Organization: Cambridge Technology Partners Message-ID: <324FF85D.907@ctp.com> References: <52o7jh$1l3@cisun2000.unil.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit No wonder brother ;-) > In my NSView subclass: > [...] > - (id)initWithCoder:(NSCoder *)coder > { > [super encodeWithCoder:stream]; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ super = [super initWithCoder:coder]; > plotData = [[coder decodeObject] retain]; > return self; > } > ------------- > > In my PlotData (subclass of NSObject) > - (void)encodeWithCoder:(NSCoder *)coder > { you need a call to super encodeWithCoder (just to get the id .......... > [coder encodeObject:aDictionary]; > } > > - (id)initWithCoder:(NSCoder *)coder > { and agai ... self = [super initWith.... > aDictionary = [[coder decodeObject] retain]; > return self; > }
From: randyj@lubra.sbs.ohio-state.edu (Randy Jackson) Newsgroups: comp.sys.next.programmer Subject: Re: C++ environment/configuration help - partial solution Date: 30 Sep 1996 17:01:02 GMT Organization: The Ohio State University Message-ID: <52ouce$2o3@charm.magnus.acs.ohio-state.edu> References: <52mtns$65n@charm.magnus.acs.ohio-state.edu> In-Reply-To: <52mtns$65n@charm.magnus.acs.ohio-state.edu> Although no one replied to the newsgroup, I thought someone might find my experience helpful. I had been getting errors of the __vt::ios type, which I assume to be related to the absence of the appropriate virtual tables being generated. I was able to circumvent the problem by using the -fno-default-inline compiler directive. I may well encounter virtual table problems in the future, but for now, the work-around is adequate. Hope someone benefits from this. Randy On 09/29/96, I wrote : >Hi, > >I am really hoping that some kind individual is out there who >wouldn't mind to contacting me via email to help me get c++ up and >running on an Intel running NS3.3. > >I have two of these platforms. On one, I am using Developer 3.2, >with no problems -- except that it doesn't seem to support templates >and therefore chokes on <iomanip.h>. On the other, I have installed >the Developer patch. I no longer have any problem with iomanip.h, >but when I try to link multi-source files, I get errors that I've >been told are related to virtual tables not being generated, but I >have no idea how to remedy this. > >I also tried to make the newest gcc on the machine that hasn't been >patched, but although I can make the compiler successfully, the >header files etc. aren't collected and transfered to the appropriate >directories. > >Is there anyone out there willing to help me move all this in the >right direction? I would really appreciate the assistance. > >Randy > -- Randy Jackson, Associate Professor ,_ o __o Geography, The Ohio State University / //\, _`\<,_ 1036 Derby Hall, 154 North Oval Mall \>> | (*)/ (*) Columbus OH 43210-1361 \\, FAX (614) 292 6213 randyj@lubra.sbs.ohio-state.edu
From: Adam Fedor <fedor@boulder.colorado.edu> Newsgroups: comp.sys.next.programmer Subject: Libraries and Frameworks Date: Mon, 30 Sep 1996 12:00:46 -0600 Organization: Optoelectronic Computing Systems Center Message-ID: <32500ACE.2FFA@boulder.colorado.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm trying to compile an OpenStep application which uses some of my own (static) libraries. The only odd and unfortunate problem is the in ProjectBuilder makefiles, libraries are linked AFTER frameworks. Is there any way around this, particularly since my libraries use he Foundation framework classes? -- --- Adam Fedor. CU, Boulder | fedor@colorado.edu (MIME) | "If force doesn't work, adam@rmnug.org (NeXTMail) | your not using enough."
From: eric@skatter.USask.Ca Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs Subject: Printf %g format still broken in OPENSTEP 4.0 Date: 30 Sep 1996 19:10:49 GMT Organization: University of Saskatchewan Message-ID: <52p5vp$1sq@tribune.usask.ca> I just upgraded my machine (486DX2/66) to OPENSTEP 4.0. One of the first things I tried was my printf `%g' format test program: #include <stdio.h> int main (int argc, char **argv) { printf ("Expect 0.00123: %.3g\n", 0.001234567); printf ("Expect 123: %.3g\n", 123.4567); printf ("Expect 123.5: %.4g\n", 123.4567); printf ("Expect 1e+03: %.3g\n", 999.6); return 0; } Here's the output after compiling the program on NEXTSTEP 4.0: Expect 0.00123: 0.001 Expect 123: 123.457 Expect 123.5: 123.4567 Expect 1e+03: 999.6 I can hardly believe this. It is now *SEVEN YEARS* since I first reported this bug (in NextStep 1.0). I have reported this error in every subsequent release up to and including NEXTSTEP 3.3. In May, 1994 I received mail from NeXT saying that this would be fixed in 4.0. Looks like they missed it again. Every other time I have posted an article about this bug I have received mail saying that the behaviour of the NeXT printf is correct. To try and forestall these replies I include the following: The ANSI standard (X3.159-1989) says (Section 4.9.6.1, page 134, line 33): g,G The double argument is converted in style f or e (or in style E in the case of a G conversion specifier), with the precision specifying the number of significant digits. If the precision is zero, it is taken as 1. The style used depends on the value converted; style e (or E) will be use only if the exponent resulting from the conversion is less than -4 or greater than or equal to the precision. Trailing zeros are removed from the fractional portion of the result; a decimal-point character appears only if it is followed by a digit. *** NOTE THE WORDS `significant digits'. *** Let's have a look at the examples from the test program: >> >> format "%.3g" .001234567 >> >> ==== Result was: >> 0.001 >> ---- Result should have been: >> 0.00123 The zero's in 0.00123 are *not* significant. Score 1 against NeXT. >> >> format "%.3g" 999.6 >> >> ==== Result was: >> 999.6 >> ---- Result should have been: >> 1e+03 >> The format calls for 3 SIGNIFICANT DIGITS. Rounding 999.6 to three significant digits leaves 1000, which has an exponent equal to the precision and therefore should be printed in e format. Score 2 against NeXT. -- 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: killeri@sun23.ruf.uni-freiburg.de (Ivo Killer) Newsgroups: comp.sys.next.programmer Subject: Adaptec 2940 UW oder nur U??? Date: 30 Sep 1996 19:34:21 GMT Organization: Rechenzentrum der Universitaet Freiburg, Germany Message-ID: <52p7bt$i4d@n.ruf.uni-freiburg.de> Hallo zusammen, Laeuft der Adaptec 2940 UW nun oder nicht? Angeblich gaebe es einen Treiber von NeXT der behauptet das Teil zu unterstuetzen, es aber dann doch nicht tut. Nun habe ich aber von jemand erfahren dass er doch funktioniert!! Ich bin voellig Konfus! Hat das Ding jemand unter Wide-SCSI laufen? Ich stelle mir gerade eine Intel-Box zusammen und wuerde mir gerne den UW reinhaengen. Danke schon mal... -ivo -- Ivo Killer, <killeri@ruf.uni-freiburg.de>
From: killeri@sun23.ruf.uni-freiburg.de (Ivo Killer) Newsgroups: comp.sys.next.programmer Subject: Re: Adaptec 2940 UW oder nur U??? Date: 30 Sep 1996 19:36:05 GMT Organization: Rechenzentrum der Universitaet Freiburg, Germany Message-ID: <52p7f5$i4d@n.ruf.uni-freiburg.de> References: <52p7bt$i4d@n.ruf.uni-freiburg.de> Sorry that was the wrong newsgroup.... it should have gone to the germans sorry for wasting your time -ivo -- Ivo Killer, <killeri@ruf.uni-freiburg.de>
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.